Fix tst-memstream3 build failure
[glibc.git] / ChangeLog
blobac585578e8a72a57350a1223d9a5f780693b6585
1 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * libio/tst-memstream3.c: Include string.h.
5 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7         [BZ #18241]
8         [BZ #20181]
9         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
10         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
11         write position is at the end the buffer.
12         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
13         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
14         (_IO_str_seekoff): Set correct offset from negative displacement and
15         set EINVAL for invalid ones.
16         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
17         buffer length.
18         (_IO_wstr_switch_to_get_mode): New function.
19         (_IO_wstr_seekoff): Set correct offset from negative displacement and
20         set EINVAL for invalid ones.
21         * libio/tst-memstream3.c: New file.
22         * libio/tst-wmemstream3.c: Likewise.
23         * manual/examples/memstrm.c: Remove warning when priting size_t.
25 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
27         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
28         macro to use __builtin_fma.
29         * sysdeps/x86_64/fpu/dla.h: Remove file.
31         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
32         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
33         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
35 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
37         [BZ #20292]
38         * elf/Makefile (routines): Add dl-addr-obj.
39         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
40         tst-_dl_addr_inside_object.
41         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
42         [ifeq (yesyes,$(have-fpie)$(build-shared))]
43         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
44         [ifeq (yesyes,$(have-fpie)$(build-shared))]
45         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
46         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
47         * elf/dl-open.c: Likewise.
48         * elf/dl-addr-obj.c: New file.
49         * elf/tst-_dl_addr_inside_object.c: New file.
51 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
53         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
54         <bits/iscanonical.h>.
55         * bits/iscanonical.h: New file.
56         * math/s_iscanonicall.c: Likewise.
57         * math/Versions (__iscanonicall): New libm symbol at version
58         GLIBC_2.25.
59         * math/libm-test.inc (iscanonical_test_data): New array.
60         (iscanonical_test): New function.
61         (main): Call iscanonical_test.
62         * math/Makefile (headers): Add bits/iscanonical.h.
63         (type-ldouble-routines): Add s_iscanonicall.
64         * manual/arith.texi (Floating Point Classes): Document
65         iscanonical.
66         * manual/libm-err-tab.pl: Update comment on interfaces without
67         ulps tabulated.
68         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
69         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
70         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
71         Likewise.
72         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
73         test-iscanonical-ldbl-128ibm.
74         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
75         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
76         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
77         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
78         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
79         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
80         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
81         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
82         Likewise.
83         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
84         Likewise.
85         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
86         Likewise.
87         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
88         Likewise.
89         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
90         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
92 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
94         * string/bits/string3.h: Remove C++ style comments.
96 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
98         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
99         instead of ternary condition.
100         (do_sincos_2): Likewise.
101         (__sin): Likewise.
102         (__cos): Likewise.
103         (slow): Likewise.
104         (sloww): Likewise.
105         (sloww1): Likewise.
106         (bsloww): Likewise.
107         (bsloww1): Likewise.
109         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
110         instead of ternary condition.
111         (do_sin_slow): Likewise.
112         (do_sincos_1): Likewise.
113         (do_sincos_2): Likewise.
114         (__cos): Likewise.
115         (sloww): Likewise.
116         (sloww1): Likewise.
117         (sloww2): Likewise.
118         (bsloww): Likewise.
119         (bsloww1): Likewise.
120         (bsloww2): Likewise.
122         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
123         check from here...
124         (slow2): ... and here...
125         (__sin): ... to here.
127 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
129         * math/math.h
130         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
131         Cast argument to its own type.
132         * math/test-iszero-excess-precision.c: New file.
133         * math/Makefile (tests): Add test-iszero-excess-precision.
134         (CFLAGS-test-iszero-excess-precision.c): New variable.
136 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
138         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
139         field, add err field.
140         (__spawni_child): Report error through err member instead of pipe.
141         (__spawnix): Likewise.
143 2016-09-28  Zack Weinberg  <zackw@panix.com>
145         * scripts/check-installed-headers.sh: Generalize treatment of
146         sys/elf.h to all target architectures.
148         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
149         deleted typedef ucontext_t.
151 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
153         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
154         (__INTERNAL_SYSCALL1): Likewise.
155         (__INTERNAL_SYSCALL2): Likewise.
156         (__INTERNAL_SYSCALL3): Likewise.
157         (__INTERNAL_SYSCALL4): Likewise.
158         (__INTERNAL_SYSCALL5): Likewise.
159         (__INTERNAL_SYSCALL6): Likewise.
160         (__INTERNAL_SYSCALL7): Likewise.
161         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
162         (__INTERNAL_SYSCALL_NARGS): Likewise.
163         (__INTERNAL_SYSCALL_DISP): Likewise.
164         (INTERNAL_SYSCALL_CALL): Likewise.
165         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
166         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
167         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
168         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
169         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
170         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
171         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
172         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
173         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
174         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
175         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
176         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
177         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
179 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
181         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
182         macro.
183         * math/libm-test.inc (iszero_test_data): New array.
184         (iszero_test): New function.
185         (main): Call iszero_test.
186         * manual/arith.texi (Floating Point Classes): Document iszero.
187         * manual/libm-err-tab.pl: Update comment on interfaces without
188         ulps tabulated.
190 2016-09-23  Zack Weinberg  <zackw@panix.com>
192         * scripts/check-installed-headers.sh: New script.
193         * Rules: In each directory that defines header files to be installed,
194         run check-installed-headers.sh on them as a special test.
195         * Makefile: Likewise for the headers installed at top level.
197         * include/aliases.h, include/alloca.h, include/argz.h
198         * include/arpa/nameser.h, include/arpa/nameser_compat.h
199         * include/elf.h, include/envz.h, include/err.h
200         * include/execinfo.h, include/fpu_control.h, include/getopt.h
201         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
202         * include/link.h, include/malloc.h, include/mcheck.h
203         * include/mntent.h, include/netinet/ether.h
204         * include/nss.h, include/obstack.h, include/printf.h
205         * include/pty.h, include/resolv.h, include/rpc/auth.h
206         * include/rpc/auth_des.h, include/rpc/auth_unix.h
207         * include/rpc/clnt.h, include/rpc/des_crypt.h
208         * include/rpc/key_prot.h, include/rpc/netdb.h
209         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
210         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
211         * include/rpc/rpc_msg.h, include/rpc/svc.h
212         * include/rpc/svc_auth.h, include/rpc/xdr.h
213         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
214         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
215         * include/rpcsvc/ypupd.h, include/shadow.h
216         * include/stdio_ext.h, include/sys/epoll.h
217         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
218         * include/sys/prctl.h, include/sys/profil.h
219         * include/sys/statfs.h, include/sys/sysctl.h
220         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
221         * sysdeps/arm/nacl/include/bits/setjmp.h
222         * sysdeps/mips/include/sys/asm.h
223         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
224         * sysdeps/unix/sysv/linux/include/sys/timex.h
225         * sysdeps/x86/fpu/include/bits/fenv.h:
226         Add #ifndef _ISOMAC guard around internal declarations.
227         Add multiple-inclusion guard if not already present.
229 2016-09-23  Zack Weinberg  <zackw@panix.com>
231         * sysdeps/generic/sys/ucontext.h
232         * sysdeps/arm/sys/ucontext.h
233         * sysdeps/i386/sys/ucontext.h
234         * sysdeps/m68k/sys/ucontext.h
235         * sysdeps/mips/sys/ucontext.h
236         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
237         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
238         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
239         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
240         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
241         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
242         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
243         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
244         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
245         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
246         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
247         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
248         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
249         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
250         Include both bits/sigcontext.h and bits/sigstack.h.
251         Fix grammar error in comment, if present.
253         * bits/sigstack.h
254         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
255         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
256         * sysdeps/unix/sysv/linux/bits/sigstack.h
257         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
258         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
259         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
260         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
261         * bits/sigcontext.h
262         * sysdeps/mach/hurd/i386/bits/sigcontext.h
263         * sysdeps/unix/sysv/linux/bits/sigcontext.h
264         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
265         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
266         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
267         as well as signal.h, if this was not already allowed.  Request
268         definition of size_t if necessary.  Minimize semantically-null
269         differences across files.
271 2016-09-23  Zack Weinberg  <zackw@panix.com>
273         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
274         Remove all logic conditional on __need macros.  Move all the
275         conditionally defined types to their own headers...
276         * time/bits/types/clock_t.h: Define clock_t here.
277         * time/bits/types/clockid_t.h: Define clockid_t here.
278         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
279         * time/bits/types/struct_timespec.h: Define struct timespec here.
280         * time/bits/types/struct_timeval.h: Define struct timeval here.
281         * time/bits/types/struct_tm.h: Define struct tm here.
282         * time/bits/types/time_t.h: Define time_t here.
283         * time/bits/types/timer_t.h: Define timer_t here.
284         * time/Makefile: Install the new headers.
286         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
287         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
288         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
289         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
290         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
291         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
292         * sysdeps/unix/sysv/linux/bits/resource.h
293         * sysdeps/unix/sysv/linux/bits/timex.h
294         * sysdeps/unix/sysv/linux/mips/bits/resource.h
295         * sysdeps/unix/sysv/linux/net/ppp_defs.h
296         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
297         * sysdeps/unix/sysv/linux/sys/acct.h
298         * sysdeps/unix/sysv/linux/sys/timerfd.h
299         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
300         * time/sys/time.h, time/sys/timeb.h
301         Use the new bits/types headers.
303         * include/time.h: Remove __need logic.
304         * include/bits/time.h
305         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
306         * include/bits/types/time_t.h, include/bits/types/timer_t.h
307         * include/bits/types/struct_itimerspec.h
308         * include/bits/types/struct_timespec.h
309         * include/bits/types/struct_timeval.h
310         * include/bits/types/struct_tm.h:
311         New wrapper headers.
313 2016-09-23  Zack Weinberg  <zackw@panix.com>
315         * sysdeps/mach/hurd/net/if_ppp.h
316         * sysdeps/unix/sysv/linux/net/if_ppp.h:
317         Only define struct ifpppstatsreq and struct ifpppcstatsreq
318         if __USE_MISC is defined, to ensure struct ifreq is declared.
320         * inet/netinet/ether.h: Condition all function prototypes
321         on __USE_MISC, to ensure struct ether_addr is declared.
323         * socket/bits/types/struct_osockaddr.h: New header.
324         * include/bits/types/struct_osockaddr.h: New wrapper.
325         * socket/Makefile: Install the new header.
326         * socket/sys/socket.h, inet/protocols/talkd.h:
327         Refer to bits/types/struct_osockaddr.h for the definition of
328         struct osockaddr.
330 2016-09-23  Zack Weinberg  <zackw@panix.com>
332         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
333         * inet/protocols/routed.h, inet/protocols/talkd.h
334         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
335         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
336         * sysdeps/generic/netinet/if_ether.h
337         * sysdeps/generic/netinet/in_systm.h
338         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
339         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
340         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
341         * sysdeps/mach/hurd/net/if_arp.h
342         * sysdeps/mach/hurd/net/if_ppp.h
343         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
344         * sysdeps/unix/sysv/linux/bits/in.h
345         * sysdeps/unix/sysv/linux/net/ethernet.h
346         * sysdeps/unix/sysv/linux/net/if_arp.h
347         * sysdeps/unix/sysv/linux/net/if_ppp.h
348         * sysdeps/unix/sysv/linux/net/if_shaper.h
349         * sysdeps/unix/sysv/linux/net/route.h
350         * sysdeps/unix/sysv/linux/netinet/if_ether.h
351         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
352         * sysdeps/unix/sysv/linux/netinet/if_tr.h
353         * sysdeps/unix/sysv/linux/netipx/ipx.h
354         * sysdeps/unix/sysv/linux/sys/acct.h
355         * include/arpa/nameser.h, include/resolv.h:
356         Change all uses of u_char to unsigned char,
357         u_short and ushort to unsigned short, u_int and uint to unsigned int,
358         u_long and ulong to unsigned long, u_int8_t to uint8_t,
359         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
360         and u_int64_t and u_quad_t to uint64_t.
362         * mach/sys/reboot.h: Remove two casts of integer literals
363         to the types they already have.
365         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
366         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
367         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
368         from referring to 'unsigned char' to 'uint8_t' for consistency with
369         the macro definition below.
371         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
372         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
373         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
374         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
375         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
376         * sysdeps/unix/sysv/linux/sys/acct.h
377         * include/arpa/nameser.h, include/resolv.h:
378         Fix indentation disrupted by mechanical edits.
380         * inet/protocols/talkd.h, resolv/arpa/nameser.h
381         * sysdeps/generic/netinet/in_systm.h
382         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
383         * sysdeps/gnu/netinet/udp.h
384         * sysdeps/unix/sysv/linux/net/ethernet.h
385         * sysdeps/unix/sysv/linux/net/if_arp.h
386         * sysdeps/unix/sysv/linux/net/if_ppp.h
387         * sysdeps/unix/sysv/linux/net/if_shaper.h
388         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
389         * sysdeps/unix/sysv/linux/netinet/if_tr.h
390         * sysdeps/unix/sysv/linux/netipx/ipx.h
391         * sysdeps/unix/sysv/linux/sys/acct.h
392         Include stdint.h for uintNN_t definitions.
393         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
395 2016-09-23  Zack Weinberg  <zackw@panix.com>
397         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
398         * sysdeps/unix/sysv/linux/netrose/rose.h:
399         Include sys/socket.h and netax25/ax25.h.
401         * inet/netinet/icmp6.h, inet/netinet/ip6.h
402         * resolv/arpa/nameser_compat.h:
403         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
405         * sysdeps/unix/sysv/linux/sys/quota.h:
406         Use __caddr_t instead of caddr_t.
407         * sysdeps/unix/sysv/linux/sys/timerfd.h:
408         Use __clockid_t instead of clockid_t.
410         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
412         * argp/argp.h: Check whether _LIBC is defined before expanding it.
413         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
414         expanding it.
416         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
417         Define __glibc_c99_flexarr_available to 1 when the compiler
418         supports C99-compatible flexible array members, 0 otherwise.
419         * sysdeps/unix/sysv/linux/bits/socket.h
420         * sysdeps/mach/hurd/bits/socket.h
421         * bits/socket.h: Use __glibc_c99_flexarr_available in
422         definitions of struct cmsghdr and CMSG_DATA.
424 2016-09-23  Florian Weimer  <fweimer@redhat.com>
426         * manual/nss.texi (NSS Modules Interface): Adjust function return
427         type to enum nss_status.  Document errnop argument.  Clarify
428         h_errnop semantics.  Fix cross-reference formatting.
429         (NSS Module Function Internals): Mention that *errnop needs to be
430         set on failure, but not to zero.
432 2016-09-23  Florian Weimer  <fweimer@redhat.com>
434         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
435         (get_random_name): New functions.
436         (check_wrapper_flags_mode): Use linkat to give the new file a name
437         determined by get_random_name.
438         (do_test): Add calls to test open64 and openat64.
440 2016-09-23  Florian Weimer  <fweimer@redhat.com>
442         * test-skeleton.c: Remove #include <stdarg.h>.
444 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
446         [BZ #19826]
447         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
448         initialization of static TLS entries.
449         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
450         * nptl/allocatestack.c (init_one_static_tls): Likewise.
452 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
454         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
455         _hurd_malloc_fork_prepare.
456         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
457         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
458         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
459         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
460         (_hurd_fork_child_hook): Drop malloc_fork_child.
461         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
462         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
463         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
464         after locking locks (notably hurd_dtable_lock). Call
465         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
466         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
467         __malloc_fork_unlock_child.
468         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
470 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
472         * soft-fp/extendhftf2.c: New.
473         * soft-fp/fixhfti.c: Likewise.
474         * soft-fp/fixunshfti.c: Likewise.
475         * soft-fp/floattihf.c: Likewise.
476         * soft-fp/floatuntihf.c: Likewise.
477         * soft-fp/half.h: Likewise.
478         * soft-fp/trunctfhf2.c: Likewise.
480 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
482         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
483         macro.
484         * math/libm-test.inc (issubnormal_test_data): New array.
485         (issubnormal_test): New function.
486         * manual/arith.texi (Floating Point Classes): Document
487         issubnormal.
488         * manual/libm-err-tab.pl: Update comment on interfaces without
489         ulps tabulated.
491         * sysdeps/generic/stdint.h: Define
492         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
493         <bits/libc-header-start.h> instead of including <features.h>.
494         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
496         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
497         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
512         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
517         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
520         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
521         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
523         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
527         * manual/arith.texi (Integers): Document these macros for types
528         specified by width properties.
529         * manual/lang.texi (Width of Type): Document these macros for
530         other standard typedefs.
531         * stdlib/tst-width-stdint.c: New file.
532         * stdlib/Makefile (tests): Add tst-width-stdint.
534 2016-09-21  Florian Weimer  <fweimer@redhat.com>
536         [BZ #20016]
537         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
538         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
539         Move ...
540         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
541         ... here, as compatibility symbols in a new file.
542         * resolv/Makefile (libresolv-routines): Add compat-hooks.
543         * resolv/res_init.c (__res_vinit): Adjust member names.
544         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
545         * resolv/resolv.h (res_sendhookact, res_send_qhook)
546         (res_send_rhook): Remove.
547         (struct __res_state): Rename qhook, rhook members.
549 2016-09-21  Florian Weimer  <fweimer@redhat.com>
551         malloc: Use __libc_lock wrappers.
552         * malloc/arena.c (list_lock, free_list_lock): Define using
553         __libc_lock_define_initialized.
554         (arena_lock): Adjust formatting.
555         * malloc/malloc.c (struct malloc_state): Define mutex using
556         __libc_lock_define.
557         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
558         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
559         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
560         (mutex_unlock, mutex_trylock): Remove.
561         (__pthread_initialize): Remove unused macro.
562         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
563         (mutex_unlock, mutex_trylock): Remove.
565 2016-09-21  Florian Weimer  <fweimer@redhat.com>
567         [BZ #20592]
568         Remove RR type classification macros.
569         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
570         (ns_t_udp_p, ns_t_xfr_p): Remove.
572 2016-09-21  Florian Weimer  <fweimer@redhat.com>
574         Remove misleading version information.
575         * resolv/arpa/nameser.h (__NAMESER): Remove.
576         * resolv/arpa/nameser_compat.h (__BIND): Remove.
578 2016-09-21  Florian Weimer  <fweimer@redhat.com>
580         Remove the always-defined BIND_4_COMPAT macro.
581         * resolv/arpa/nameser.h: Unconditionally include
582         <arpa/nameser_compat.h>.
583         (BIND_4_COMPAT): Remove.
584         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
586 2016-09-21  Florian Weimer  <fweimer@redhat.com>
588         [BZ #20591]
589         Remove obsolete DNSSEC support.
590         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
591         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
592         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
593         (ns_verify_tcp, ns_verify_tcp_init): Remove.
594         (ns_cert_types): Add comment.
595         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
596         separately.
597         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
598         (dst_s_dns_key_id): Remove.
599         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
600         variables.
602 2016-09-21  Florian Weimer  <fweimer@redhat.com>
604         [BZ #20524]
605         * manual/string.texi (String/Array Comparison): Clarify the
606         strverscmp behavior.
608 2016-09-21  Florian Weimer  <fweimer@redhat.com>
610         * test-skeleton.c (xasprintf): Add function.
611         * io/tst-open-tmpfile.c: New test.
612         * io/Makefile (tests): Add it.
614 2016-09-21  Florian Weimer  <fweimer@redhat.com>
616         Avoid running $(CXX) during build to obtain header file paths.
617         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
618         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
619         * Makerules (cstdlib, cmath): Remove variables.  Use
620         $(c++-cstdlib-header), $(c++-cmath-header) instead.
621         * configure: Regenerate.
623 2016-09-21  Florian Weimer  <fweimer@redhat.com>
625         * Makeconfig (all-object-suffixes): Include .op only if
626         $(build-profile).
628 2016-09-21  Florian Weimer  <fweimer@redhat.com>
630         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
631         conditionals.  Do not define PATH_MAX.
633 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
635         * posix/Makefile (tests): Add tst-spawn3.
636         * posix/tst-spawn3.c: New file.
637         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
638         if it is already opened for open action.
640         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
641         all signals when executing the clone vfork child.
642         (SIGALL_SET): Remove macro.
644         * nptl/Makefile (tests): Add tst-exec5.
645         * nptl/tst-exec5.c: New file.
646         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
647         asynchronous cancellation.
649 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
651         * hurd/exc2signal.c: #include <hurd/signal.h>
652         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
653         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
654         accordingly.
655         * mach/mach_error.c (mach_error): Fix old-style function definition.
656         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
658 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
660         * math/Makefile (libm-calls): Remove s_nanF.
661         (gen-libm-calls): Add s_nanF.
663         * math/s_nan.c: Refactor into ...
664         * math/s_nan_template.c: New file.
666         * math/s_nanf.c: Removed.
667         * math/s_nanl.c: Removed.
668         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
669         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
671         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
672         (LDOUBLE_nanl_libm_version): New macro.
674         * sysdeps/generic/math-type-macros-double.h:
675         (M_STRTO_NAN): New macro.
676         * sysdeps/generic/math-type-macros-float.h: Likewise.
677         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
679         * sysdeps/generic/math-type-macros.h: Document
680         M_STRTO_NAN.
682 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
684         * math/s_nanf.c: Remove __nanf undef.
685         * math/s_nan.c: Remove __nan undef.
686         * math/s_nanl.c: Remove __nanl undef.
688         * sysdeps/generic/math_private.h (__nan): Remove macro
689         override.
690         (__nanf): Likewise.
691         (__nanl): Likewise.
693 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
695         * math/Makefile (gen-all-calls): New variable.
696         (generated): Replace gen-libm-calls with gen-all-calls.
697         (gen-libm-templates.stmp): Likewise.  Also, ensure
698         the output directory exists or is created and add
699         dependency on the Makefile.
700         (calls): Move s_ldexpF into gen-calls.
701         (gen-calls): New variable.
703         * math/s_ldexpf.c: Removed.
704         * math/s_ldexpl.c: Removed.
705         * math/s_ldexp.c: Refactored into ...
706         * math/s_ldexp_template.c: New file.
708         * sysdeps/generic/math-type-macros-double.h: Remove
709         redundant fall-through definition of declare_mgen_alias.
710         (declare_mgen_alias_2): New macro.
712         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
713         New macro for function aliased to two exported symbols.
715         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
716         new template file.
717         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
719 2016-09-20  Florian Weimer  <fweimer@redhat.com>
721         * Makeconfig (all-object-suffixes): Remove .og.
722         * Makerules (elide-routines.og): Remove.
723         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
724         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
725         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
727 2016-09-20  Florian Weimer  <fweimer@redhat.com>
729         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
730         .os objects.
732 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
734         [BZ #20615]
735         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
736         fpu directory by non-fpu.
737         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
738         on non-fpu directory from a fpu directory.
740 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
742         * include/limits.h: Define
743         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
744         <bits/libc-header-start.h> instead of including <features.h>.
745         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
746         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
748         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
751         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
752         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
753         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
754         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
755         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
756         * manual/lang.texi (Width of Type): Document these macros.
757         * stdlib/tst-width.c: New file.
758         * stdlib/Makefile (tests): Add tst-width.
760 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
762         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
763         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
765 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
767         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
768         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
769         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
771 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
773         [BZ #18243]
774         * rt/Makefile (test): Add tst-shm-cancel.
775         * rt/tst-shm-cancel.c: New file.
776         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
778         [BZ #18243]
779         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
780         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
781         definition.
782         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
783         uncontended case.
784         * nptl/sem_wait.c (__new_sem_wait): Likewise.
785         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
786         (tf): Fix check for uncontended case.
787         (do_test): Likewise.
788         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
789         (tf): Fix check for uncontended case.
790         (do_test): Likewise.
791         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
792         (tf): Fix check for uncontended case.
793         (do_test): Likewise.
794         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
795         (tf): Fix check for uncontended case.
796         (do_test): Likewise.
798         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
799         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
801         [BZ #15765]
802         * nptl/Makefile (tests): Add tst-sem16.
803         * nptl/tst-sem16.c: New file.
804         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
806         * nptl/sem_open.c (sem_open): Init pad value to 0.
807         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
808         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
810 2016-09-15  Florian Weimer  <fweimer@redhat.com>
812         [BZ #20611]
813         * inet/Makefile (routines): Add inet6_scopeid_pton.
814         (tests): Add tst-inet6_scopeid_pton.
815         * inet/inet6_scopeid_pton.c: New file.
816         * inet/net-internal.h: Likewise.
817         * inet/tst-inet6_scopeid_pton.c: New test.
818         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
819         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
822 2016-09-14  Florian Weimer  <fweimer@redhat.com>
824         Remove support for compiling wrappers with PTW.
825         * sysdeps/nptl/Makeconfig: Drop ptw- support.
826         * nptl/Makefile (pthread-compat-wrappers): Define.
827         (libpthread-routines): Use pthread-compat-wrappers.
828         * sysdeps/unix/sysv/linux/alpha/Makefile
829         (libpthread-routines, libpthread-shared-only-routines): Remove
830         ptw- prefix.
831         * sysdeps/s390/nptl/Makefile
832         (libpthread-routines, libpthread-shared-only-routines): Likewise.
833         * sysdeps/ia64/nptl/Makefile
834         (libpthread-routines, libpthread-shared-only-routines): Likewise.
835         * sysdeps/nacl/Makefile (libpthread-routines): Use
836         pthread-compat-wrappers to filter the routines list instead of the
837         ptw- prefix.
839 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
841         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
842         with L() and remove explicit suffix, convert real literals
843         which can be equivalentally substituted with integers, and
844         transform -L(x) to L(-x).
846         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
847         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
848         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
849         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
850         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
851         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
852         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
853         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
854         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
855         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
856         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
857         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
858         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
859         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
860         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
861         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
862         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
863         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
864         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
865         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
866         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
867         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
868         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
869         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
870         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
871         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
872         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
873         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
874         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
875         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
876         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
877         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
878         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
879         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
880         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
881         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
882         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
883         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
884         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
885         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
886         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
887         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
888         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
889         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
890         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
891         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
892         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
893         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
894         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
895         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
897 2016-09-13  Florian Weimer  <fweimer@redhat.com>
899         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
901 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
903         * malloc/Makefile (tests): Remove individual static test names
904         and just add all of tests-static.
906         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
908 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
910         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
911         file.
913         * sysdeps/sparc/fpu/fegetmode.c: New file.
914         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
916         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
917         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
919         * sysdeps/s390/fpu/fegetmode.c: New file.
920         * sysdeps/s390/fpu/fesetmode.c: Likewise.
922         * sysdeps/powerpc/fpu/fegetmode.c: New file.
923         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
924         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
925         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
926         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
927         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
929         * sysdeps/mips/fpu/fegetmode.c: New file.
930         * sysdeps/mips/fpu/fesetmode.c: Likewise.
932         * sysdeps/m68k/fpu/fegetmode.c: New file.
933         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
935         * sysdeps/ia64/fpu/fegetmode.c: New file.
936         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
938         * sysdeps/hppa/fpu/fegetmode.c: New file.
939         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
941         * sysdeps/arm/fegetmode.c: New file.
942         * sysdeps/arm/fesetmode.c: Likewise.
944         * sysdeps/alpha/fpu/fegetmode.c: New file.
945         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
947         * sysdeps/aarch64/fpu/fegetmode.c: New file.
948         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
950         * math/fegetmode.c: New file.
951         * math/fesetmode.c: Likewise.
952         * sysdeps/i386/fpu/fegetmode.c: Likewise.
953         * sysdeps/i386/fpu/fesetmode.c: Likewise.
954         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
955         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
956         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
957         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
958         declaration.
959         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
960         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
961         typedef.
962         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
963         * sysdeps/aarch64/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/alpha/fpu/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 macro.
969         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
970         (femode_t): New typedef.
971         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
972         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
973         (femode_t): New typedef.
974         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
975         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
976         (femode_t): New typedef.
977         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
978         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
979         (femode_t): New typedef.
980         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
981         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
982         (femode_t): New typedef.
983         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
984         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
985         (femode_t): New typedef.
986         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
987         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
988         (femode_t): New typedef.
989         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
990         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
991         (femode_t): New typedef.
992         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
993         declaration.
994         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
995         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
996         (femode_t): New typedef.
997         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
998         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
999         (femode_t): New typedef.
1000         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1001         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1002         (femode_t): New typedef.
1003         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1004         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1005         (femode_t): New typedef.
1006         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1007         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1008         (femode_t): New typedef.
1009         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1010         * manual/arith.texi (FE_DFL_MODE): Document macro.
1011         (fegetmode): Document function.
1012         (fesetmode): Likewise.
1013         * math/Versions (fegetmode): New libm symbol at version
1014         GLIBC_2.25.
1015         (fesetmode): Likewise.
1016         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1017         (tests): Add test-femode and test-femode-traps.
1018         * math/test-femode-traps.c: New file.
1019         * math/test-femode.c: Likewise.
1020         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1021         alias for __fe_dfl_env.
1022         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1023         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1024         (__fe_dfl_mode): Likewise.
1025         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1026         version GLIBC_2.25.
1027         * sysdeps/nacl/libm.abilist: Update.
1028         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1029         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1030         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1031         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1032         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1033         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1034         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1035         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1036         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1037         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1038         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1039         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1041         Likewise.
1042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1043         Likewise.
1044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1045         Likewise.
1046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1047         Likewise.
1048         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1049         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1050         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1051         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1052         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1054         Likewise.
1055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1056         Likewise.
1057         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1058         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1059         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1061 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1063         [BZ #20495]
1064         [BZ #20508]
1065         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1066         processors, set Use_dl_runtime_resolve_slow and set
1067         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1068         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1069         New.
1070         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1071         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1072         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1073         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1074         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1075         if Use_dl_runtime_resolve_opt is set.  Use
1076         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1077         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1078         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1079         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1080         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1081         New.
1082         (_dl_runtime_resolve_opt): Likewise.
1083         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1084         defined.
1086 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1088         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1089         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1091 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1093         Convert malloc to __libc_lock.  Automated part, using this Perl
1094         s/// command:
1095           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1096             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1097         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1098         conversion.
1100 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1102         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1103         (linknamespace-symlists-tests): Likewise.
1104         (linknamespace-header-tests): Likewise.
1106 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1108         [BZ #19810]
1109         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1110         * elf/tst-noload.c: New test case.
1111         * elf/Makefile (tests): Add tst-noload.
1113 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1115         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1117         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1118         not any more.
1120         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1122 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1124         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1125         (do_cos_slow): Likewise.
1126         (do_sin): Likewise.
1127         (do_sin_slow): Likewise.
1128         (slow): Likewise.
1129         (slow1): Likewise.
1130         (slow2): Likewise.
1131         (sloww): Likewise.
1132         (sloww1): Likewise.
1133         (sloww2): Likewise.
1134         (bsloww): Likewise.
1135         (bsloww1): Likewise.
1136         (bsloww2): Likewise.
1137         (cslow2): Likewise.
1139         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1141         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1142         arguments.  Consolidate input partitioning from callers here.
1143         (do_cos_slow): Likewise.
1144         (do_sin): Likewise.
1145         (do_sin_slow): Likewise.
1146         (do_sincos_1): Remove the no longer necessary input partitioning.
1147         (do_sincos_2): Likewise.
1148         (__sin): Likewise.
1149         (__cos): Likewise.
1150         (slow1): Likewise.
1151         (slow2): Likewise.
1152         (sloww1): Likewise.
1153         (sloww2): Likewise.
1154         (bsloww1): Likewise.
1155         (bsloww2): Likewise.
1156         (cslow2): Likewise.
1158 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1160         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1161         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1162         outside of allocated array.
1164 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1166         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1167         instead of MB_CUR_MAX to avoid variable-length array.
1169 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1171         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1172         (type-double-routines): Add k_rem_pio2.
1173         (type-float-routines): Add k_rem_pio2f.
1175         * sysdeps/generic/math_private.h:
1176         (__kernel_rem_pio2l): Removed.
1178         * math/k_rem_pio2l.c: Removed.
1179         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1180         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1181         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1182         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1184 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1186         * math/Makefile (gen-libm-calls): Add s_fmin
1187         (libm-calls): Remove above.
1189         * math/s_fmin.c: Refactor into ...
1190         * math/s_fmin_template.c: New file.
1192         * math/s_fminf.c: Removed.
1193         * math/s_fminl.c: Removed.
1194         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1195         (LDOUBLE_fmin_libm_version): New macro.
1197         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1198         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1200 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1202         * math/Makefile: (gen-libm-calls): Add s_fmax.
1203         (libm-calls): Remove above.
1205         * math/s_fmax.c: Refactor into ...
1206         * math/s_fmax_template.c: New file.
1207         * math/s_fmaxf.c: Removed.
1208         * math/s_fmaxl.c: Removed.
1210         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1211         (LDOUBLE_fmaxl_libm_version): New macro.
1213         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1214         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1216         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1217         s_fmin.c to pick the aarch64 version of the file.
1218         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1219         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1221 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1223         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1224         (libm-calls): Remove above.
1226         * math/s_nextdown.c: Refactor into ...
1227         * math/s_nextdown_template.c: New file.
1228         * math/s_nextdownf.c: Removed.
1229         * math/s_nextdownl.c: Removed.
1231         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1233 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1235         * math/Makefile (gen-libm-calls): Add s_fdim.
1236         (libm-calls): Move to above.
1238         * math/s_fdim.c: Renamed and refactored into to ...
1239         * math/s_fdim_template.c: New file.
1240         * math/s_fdiml.c: Removed.
1241         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1242         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1244         * sysdeps/generic/math-type-macros-double.h:
1245         (declare_mgen_alias): Don't declare if already declared.
1246         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1247         Likewise.
1249         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1250         (declare_mgen_alias): Don't declare if already declared.
1251         (M_LIBM_NEED_COMPAT): Likewise.
1252         (declare_mgen_libm_compat): Likewise.
1253         (LDOUBLE_fdiml_libm_version): New macro.
1255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1256         Include math/s_fdim.c now that ldbl-opt version is not needed.
1257         (declare_mgen_alias): New macro to disable aliasing.
1259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1260         (declare_mgen_alias): Likewise.
1261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1262         (declare_mgen_alias): Likewise.
1263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1264         (declare_mgen_alias): Likewise.
1265         (M_LIBM_NEED_COMPAT): Likewise.
1267 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1269         [BZ #20525]
1270         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1271         Include <linux/quota.h>.
1272         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1273         and btodb.
1274         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1275         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1276         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1277         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1278         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1279         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1280         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1281         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1282         types.
1283         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1284         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1286 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1288         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1289         (gammal_positive): Fix spacing.
1290         (__ieee754_gammal_r): Likewise.
1292 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1294         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1295         (_Float128): Define as long double, always.
1296         (L): Apply long double type suffix, always.
1298         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1299         _Float128, excepting comments.
1301         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1302         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1303         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1304         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1305         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1306         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1307         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1308         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1309         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1310         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1311         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1312         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1313         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1314         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1315         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1316         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1317         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1318         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1319         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1320         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1321         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1322         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1323         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1324         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1325         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1326         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1327         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1328         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1329         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1330         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1331         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1332         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1333         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1334         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1335         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1336         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1337         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1338         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1339         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1340         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1341         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1342         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1343         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1344         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1345         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1346         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1347         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1348         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1349         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1350         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1351         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1352         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1353         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1354         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1355         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1356         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1357         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1358         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1359         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1360         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1361         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1362         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1363         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1364         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1365         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1366         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1367         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1368         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1370         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1371         _Float128, and include math_private.h.
1372         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1374         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1375         long double semantics.
1376         (_Float128): Likewise.
1377         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1378         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1379         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1380         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1382 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1384         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1385         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1386         * sysdeps/s390/configure: Regenerated.
1387         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1388         instruction for raising over-/underflow if z196 zarch is supported
1389         by default.
1390         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1392 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1394         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1395         it point to a dumb buffer for RPC to fill it.
1397 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1399         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1400         instead of if/else.
1401         (do_sin_slow): Likewise.
1402         (do_sincos_1): Use fabs instead of if/else.
1403         (do_sincos_2): Likewise.
1404         (__sin): Likewise.
1405         (__cos): Likewise.
1406         (slow2): Likewise.
1407         (sloww): Likewise.
1408         (sloww1): Likewise.  Drop argument M.
1409         (sloww2): Use fabs instead of if/else.
1410         (bsloww): Likewise.
1411         (bsloww1): Likewise.
1412         (bsloww2): Likewise.
1414         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1415         fall through comment.
1416         (do_sincos_1): Likewise.
1418         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1419         Consolidate switch cases 0 and 2.
1421 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1423         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1424         (libm-calls): Remove the above.
1426         * math/s_cexp_template.c: Update using type-generic macros.
1427         * math/s_clog10_template.c: Likewise.
1428         * math/s_cpow_template.c: Likewise.
1429         * math/s_clog_template.c: Likewise.
1430         * math/s_cproj_template.c: Likewise.
1431         * math/s_csqrt_template.c: Likewise.
1433         * math/s_cexp.c: Removed.
1434         * math/s_cexpf.c: Removed.
1435         * math/s_cexpl.c: Removed.
1436         * math/s_clog10.c: Removed.
1437         * math/s_clog10f.c: Removed.
1438         * math/s_clog10l.c: Removed.
1439         * math/s_cpow.c: Removed.
1440         * math/s_cpowf.c: Removed.
1441         * math/s_cpowl.c: Removed.
1442         * math/s_clog.c: Removed.
1443         * math/s_clogf.c: Removed.
1444         * math/s_clogl.c: Removed.
1445         * math/s_cproj.c: Removed.
1446         * math/s_cprojf.c: Removed.
1447         * math/s_cprojl.c: Removed.
1448         * math/s_csqrt.c: Removed.
1449         * math/s_csqrtf.c: Removed.
1450         * math/s_csqrtl.c: Removed.
1452         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1453         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1454         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1455         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1456         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1457         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1459         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1460         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1461         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1462         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1463         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1464         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1465         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1466         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1467         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1468         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1469         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1471         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1472         version.
1474         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1475         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1476         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1477         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1479 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1481         * s_cexp_template.c: Copy of s_cexp.c.
1482         * s_clog_template.c: Copy of s_clog.c.
1483         * s_clog10_template.c: Copy of s_clog10.c.
1484         * s_cpow_template.c: Copy of s_cpow.c.
1485         * s_cproj_template.c: Copy of s_cproj.c.
1486         * s_csqrt_template.c: Copy of s_csqrt.c.
1488 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1490         [BZ #20517]
1491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1492         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1493         exported.
1495 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1497         * math/fetestexceptflag.c: New file.
1498         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1499         Stefan Liebler.
1500         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1501         (fetestexceptflag): New function declaration.
1502         * manual/arith.texi (fetestexceptflag): Document function.
1503         * math/Versions (fetestexceptflag): New libm symbol at version
1504         GLIBC_2.25.
1505         * math/Makefile (libm-support): Add fetestexceptflag.
1506         (tests): Add test-fetestexceptflag.
1507         * math/test-fetestexceptflag.c: New file.
1508         * sysdeps/nacl/libm.abilist: Update.
1509         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1510         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1511         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1512         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1513         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1514         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1515         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1516         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1517         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1518         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1519         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1520         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1522         Likewise.
1523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1524         Likewise.
1525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1526         Likewise.
1527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1528         Likewise.
1529         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1530         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1531         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1532         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1533         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1535         Likewise.
1536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1537         Likewise.
1538         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1539         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1540         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1542 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1544         [BZ #20432]
1545         Avoid strong references to malloc-internal symbols when linking
1546         statically, to support statically interposed mallocs.
1547         * include/libc-symbols.h (call_function_static_weak): New macro.
1548         * malloc/Makefile (tests): Add tst-interpose-nothread,
1549         tst-interpose-thread, tst-interpose-static-nothread,
1550         tst-interpose-static-thread.
1551         (tests-static): Add tst-interpose-static-nothread,
1552         tst-interpose-static-thread.
1553         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1554         tst-interpose-aux-thread.o.
1555         (test-extras): Add tst-interpose-aux-nothread,
1556         tst-interpose-aux-thread.
1557         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1558         tst-interpose-aux-nothread.o.
1559         (tst-interpose-thread, tst-interpose-static-thread): Link with
1560         tst-interpose-aux-thread.o and libthread.
1561         * malloc/tst-interpose-aux-nothread.c: New file.
1562         * malloc/tst-interpose-aux-thread.c: Likewise.
1563         * malloc/tst-interpose-aux.c: Likewise.
1564         * malloc/tst-interpose-aux.h: Likewise.
1565         * malloc/tst-interpose-nothread.c: Likewise.
1566         * malloc/tst-interpose-skeleton.c: Likewise.
1567         * malloc/tst-interpose-static-nothread.c: Likewise.
1568         * malloc/tst-interpose-static-thread.c: Likewise.
1569         * malloc/tst-interpose-thread.c: Likewise.
1570         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1571         * sysdeps/mach/hurd/fork.c (__fork): Only call
1572         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1573         __malloc_fork_unlock_child if defined.
1574         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1576 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1578         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1579         timespec C99 designated initialization.
1581 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1583         [BZ #19946]
1584         Avoid expected SIGALRM signals.
1585         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1586         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1587         (xpthread_create, xpthread_detach, xpthread_join)
1588         (delayed_exit_thread, delayed_exit): New functions.
1589         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1590         (tf): Use xpthread_cond_wait.
1591         (do_test): Likewise.  Replace alarm with delayed_exit.
1592         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1593         (do_test): Call delayed_exit.  Report failure.
1594         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1595         (do_test): Call delayed_exit.
1596         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1597         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1598         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1599         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1600         error.
1601         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1602         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1603         error.
1604         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1605         (do_test): Call delayed_exit.
1606         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1607         (do_test): Call delayed_exit.
1608         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1609         (do_test): Call delayed_exit instead of alarm.  Use
1610         xpthread_mutex_lock.
1611         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1612         (do_test): Call delayed_exit instead of alarm.  Use
1613         xpthread_mutex_lock.
1614         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1615         (do_test): Call delayed_exit instead of alarm.
1616         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1617         (do_test): Call delayed_exit instead of alarm.  Use
1618         xpthread_spin_lock.
1619         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1620         (do_test): Call delayed_exit instead of alarm.  Use
1621         xpthread_join.
1623 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1625         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1626         adjust CFA when allocating register save area on re-aligned
1627         stack.
1629 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1631         * string/tst-cmp.c: New test.
1632         * string/Makefile (tests): Add it.
1634 2016-08-25  Mark Wielaard  <mark@klomp.org>
1636         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1637         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1638         (check_tree_recurse): Use newly defined accessors.
1639         (check_tree): Likewise.
1640         (maybe_split_for_insert): Likewise.
1641         (__tfind): Likewise.
1642         (__tdelete): Likewise.
1643         (trecurse): Likewise.
1644         (tdestroy_recurse): Likewise.
1645         (__tsearch): Likewise. And add asserts for malloc alignment.
1646         (__twalk): Cast root to node in case CHECK_TREE is defined.
1648 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1650         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1652 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1654         * math/Makefile (libm-gen-calls): Add
1655         catan, catanh, ctan, ctanh.
1656         (libm-calls): Remove the above.
1658         * math/s_catan_template.c: Update using type-generic macros.
1659         * math/s_catanh_template.c: Likewise.
1660         * math/s_ctan_template.c: Likewise.
1661         * math/s_ctanh_template.c: Likewise.
1663         * math/s_catanf.c: Removed.
1664         * math/s_catan.c: Removed.
1665         * math/s_catanl.c: Removed.
1666         * math/s_catanhf.c: Removed.
1667         * math/s_catanh.c: Removed.
1668         * math/s_catanhl.c: Removed.
1669         * math/s_ctanf.c: Removed.
1670         * math/s_ctan.c: Removed.
1671         * math/s_ctanl.c: Removed.
1672         * math/s_ctanhf.c: Removed.
1673         * math/s_ctanh.c: Removed.
1674         * math/s_ctanhl.c: Removed.
1676         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1677         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1678         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1679         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1680         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1681         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1683         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1684         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1685         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1686         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1688 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1690         * s_catan_template.c: Copy of s_catan.c.
1691         * s_catanh_template.c: Copy of s_catanh.c.
1692         * s_ctan_template.c: Copy of s_ctan.c.
1693         * s_ctanh_template.c: Copy of s_ctanh.c.
1695 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1697         * math/Makefile (gen-libm-calls): Move
1698         casin, casinh, csin, csinh here.
1699         (libm-calls): Remove the above.
1701         * math/s_casin_template.c: Update using type-generic macros.
1702         * math/s_casinh_template.c: Likewise.
1703         * math/s_csin_template.c: Likewise.
1704         * math/s_csinh_template.c: Likewise.
1705         * math/k_casinh_template.c: Likewise.
1707         * math/s_casinf.c: Removed.
1708         * math/s_casin.c: Removed.
1709         * math/s_casinl.c: Removed.
1710         * math/s_casinh.c: Removed.
1711         * math/s_casinhf.c: Removed.
1712         * math/s_casinhl.c: Removed.
1713         * math/s_csin.c: Removed.
1714         * math/s_csinf.c: Removed.
1715         * math/s_csinl.c: Removed.
1716         * math/s_csinh.c: Removed.
1717         * math/s_csinhf.c: Removed.
1718         * math/s_csinhl.c: Removed.
1719         * math/k_casinh.c: Removed.
1720         * math/k_casinhf.c: Removed.
1721         * math/k_casinhl.c: Removed.
1723         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1724         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1725         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1726         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1728         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1729         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1730         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1731         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1732         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1733         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1734         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1735         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1737         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1738         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1739         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1740         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1742         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1743         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1744         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1745         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1747 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1749         * s_casin_template.c: Copy of s_casin.c.
1750         * s_casinh_template.c: Copy of s_casinh.c.
1751         * s_csin_template.c: Copy of s_csin.c.
1752         * s_csinh_template.c: Copy of s_csinh.c.
1753         * k_casinh_template.c: Copy of k_casinh.c.
1755 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1757         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1759 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1761         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1762         (mul_split) Remove, rename as mul_splitl, remove
1763         redundant float.h include, and include via mul_splitl.h
1765         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1766         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1767         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1768         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1769         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1771         * math/mul_splitl.h: New file.
1773         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1774         Move into mul_split.h, and remove redundant float.h include.
1776         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1777         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1778         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1779         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1781         * math/mul_split.h: New file.
1783 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1785         * math/Makefile (libm-gen-calls): Move
1786         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1787         (libm-calls): Remove above.
1789         * math/s_cacos_template.c: Update using type-generic macros.
1790         * math/s_cacosh_template.c: Likewise.
1791         * math/s_ccos_template.c: Likewise.
1792         * math/s_ccosh_template.c: Likwise.
1794         * math/s_cacosf.c: Removed.
1795         * math/s_cacos.c: Removed.
1796         * math/s_cacosl.c: Removed.
1797         * math/s_cacoshf.c: Removed.
1798         * math/s_cacosh.c: Removed.
1799         * math/s_cacoshl.c: Removed.
1800         * math/s_ccosf.c: Removed.
1801         * math/s_ccos.c: Removed.
1802         * math/s_ccosl.c: Removed.
1803         * math/s_ccoshf.c: Removed.
1804         * math/s_ccosh.c: Removed.
1805         * math/s_ccoshl.c: Removed.
1807         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1808         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1809         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1810         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1811         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1812         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1814         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1815         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1816         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1817         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1819         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1820         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1821         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1822         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1824 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1826         * s_cacos_template.c: Copy of s_cacos.c.
1827         * s_cacosh_template.c: Copy of s_cacosh.c.
1828         * s_ccos_template.c: Copy of s_ccos.c.
1829         * s_ccosh_template.c: Copy of s_ccosh.c.
1831 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1833         * stdlib/tst-strtod-round-skeleton.c:
1834         Refactored from tst-strtod-round.c.
1836         (L_): New macro to apply literal modifier.
1837         (FNPFX): New macro to select str or wcs prefix.
1838         (CHAR): New macro to choose wchar_t or char.
1839         (STRM): New macro to choose printf for tested character type.
1841         (STRTO): New macro to choose appropriate string -> real function.
1842         (FNPFXS): Stringitized version of FNPFX.
1843         (STR): Support for above macro.
1844         (STRX): Likewise.
1846         (TEST): Update with above macros.
1847         (test): Likewise.
1848         (GEN_ONE_TEST): Likewise.
1849         (test_in_one_mode): Likewise.
1851         * stdlib/tst-strtod-round.c: New file.
1852         * wcsmbs/tst-wcstod-round.c: New file.
1854         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1855         (tst-wcstod-round): Add libm depencency for fesetround.
1857 2016-08-19  Zack Weinberg  <zackw@panix.com>
1859         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1861 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1863         [BZ #20477]
1864         * resolv/res_hconf.c (do_init): Use atomic access.
1865         * resolv/res_hconf.h: Add comments.
1866         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1867         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1868         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1870 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1872         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1873         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1874         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1875         Likewise.
1877 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1879         [BZ #16907]
1880         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1881         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1882         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1883         (__attribute__): Remove definition.
1885 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1887         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1888         Remove unused sqrtl declaration.
1890 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1892         * math/Makefile: (gen-libm-templates.stmp): New rule.
1893         (libm-calls): Move carg conj cimag and cabs into ...
1894         (gen-libm-calls): New variable.
1895         (generated): Inform Make objects from gen-libm-calls
1896         may be generated.
1898         * sysdeps/generic/math-type-macros.h: New file.
1899         * sysdeps/generic/math-type-macros-float.h: Likewise.
1900         * sysdeps/generic/math-type-macros-double.h: Likewise.
1901         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1902         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1903         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1905         * math/cabs.c: Refactor into
1906         * math/cabs_template.c: new file.
1907         * math/cabsf.c: Removed.
1908         * math/cabsl.c: Removed.
1909         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1910         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1912         * math/carg.c: Refactor into
1913         * math/carg_template.c: new file.
1914         * math/cargf.c: Removed.
1915         * math/cargl.c: Removed.
1916         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1917         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1919         * math/conj.c: Refactor into
1920         * math/conj_template.c: new file.
1921         * math/conjf.c: Removed.
1922         * math/conjl.c: Removed.
1923         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1924         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1926         * math/cimag.c: Refactor into
1927         * math/cimag_template.c: new file.
1928         * math/cimagf.c: Removed.
1929         * math/cimagl.c: Removed.
1930         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1931         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1933         * math/cimag.c: Refactor into
1934         * math/cimag_template.c: new file.
1935         * math/cimagf.c: Removed.
1936         * math/cimagl.c: Removed.
1937         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1938         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1940 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1942         Reduce time to expected nptl/tst-once5 failure.
1943         * nptl/tst-once5.cc (TIMEOUT): Define.
1945 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1947         [BZ #20452]
1948         Avoid additional copies of objects in libc.a in static libraries.
1949         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1950         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1951         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1952         rt-sysdep.
1953         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1954         Add nptl-sysdep.
1955         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1956         Add ptw-sysdep.
1957         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1958         rt-sysdep.
1959         * sysdeps/unix/sysv/linux/alpha/Makefile
1960         (libpthread-shared-only-routines): Add ptw-sysdep,
1961         ptw-sigprocmask, ptw-rt_sigaction.
1962         * sysdeps/unix/sysv/linux/ia64/Makefile
1963         (librt-shared-only-routines): Add rt-sysdep.
1964         * sysdeps/unix/sysv/linux/i386/Makefile
1965         (libpthread-shared-only-routines): Add libc-do-syscall.
1966         * sysdeps/unix/sysv/linux/microblaze/Makefile
1967         (libpthread-shared-only-routines): Add sysdep.
1968         * sysdeps/unix/sysv/linux/powerpc/Makefile
1969         (librt-shared-only-routines): Add rt-sysdep.
1970         (libpthread-shared-only-routines): Add sysdep.
1971         * sysdeps/unix/sysv/linux/s390/Makefile
1972         (librt-shared-only-routines): Add rt-sysdep.
1973         * sysdeps/unix/sysv/linux/sparc/Makefile
1974         (librt-shared-only-routines): Add rt-sysdep.
1975         (libpthread-shared-only-routines): Add sysdep.
1976         * sysdeps/unix/sysv/linux/tile/Makefile
1977         (libpthread-shared-only-routines): Likewise.
1979 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1981         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1982         Mask implicit bit out of unpacked value.
1983         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1984         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1985         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1987         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1989         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1991         * sysdeps/s390/fpu/fesetexcept.c: New file.
1993         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1994         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1995         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1997         * sysdeps/mips/fpu/fesetexcept.c: New file.
1999         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2001         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2003         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2005         * sysdeps/arm/fesetexcept.c: New file.
2007         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2009         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2011         * math/fesetexcept.c: New file.
2012         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2013         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2014         * math/fenv.h: Define
2015         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2016         <bits/libc-header-start.h> instead of including <features.h>.
2017         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2018         declaration.
2019         * manual/arith.texi (fesetexcept): Document function.
2020         * math/Versions (fesetexcept): New libm symbol at version
2021         GLIBC_2.25.
2022         * math/Makefile (libm-support): Add fesetexcept.
2023         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2024         * math/test-fesetexcept.c: New file.
2025         * math/test-fesetexcept-traps.c: Likewise.
2026         * sysdeps/nacl/libm.abilist: Update.
2027         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2028         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2029         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2030         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2031         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2032         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2033         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2034         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2035         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2036         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2037         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2038         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2040         Likewise.
2041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2042         Likewise.
2043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2044         Likewise.
2045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2046         Likewise.
2047         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2048         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2049         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2050         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2051         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2053         Likewise.
2054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2055         Likewise.
2056         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2057         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2058         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2060 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2062         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2063         New.
2064         (do_test): Apply default_stack_size_in_mb if not set.
2065         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2067 2016-08-15  Andreas Schwab  <schwab@suse.de>
2069         [BZ #20435]
2070         CVE-2016-6323
2071         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2072         as .cantunwind.
2074 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2076         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2077         comment from fraiseexcpt.c.
2079         * math/test-fexcept.c (feraiseexcept_exact): New function.
2080         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2081         (test_except): Likewise.
2083 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2085         [BZ #20455]
2086         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2087         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2088         to be restored.
2090         * math/test-fexcept-traps.c: New file.
2091         * math/test-fexcept.c: Likewise.
2092         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2093         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2094         macro.
2095         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2096         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2098 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2100         * include/atomic.h (atomic_fetch_and_relaxed,
2101         atomic_fetch_and_release, atomic_fetch_or_release,
2102         atomic_fetch_xor_release): New.
2104 2016-08-06  Christian Seiler  <christian@iwakd.de>
2106         [BZ #20444]
2107         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2108         MACH_PORT_NULL.
2110 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2112         * math/s_fdim.c: Avoid alias renamed.
2113         * math/s_fdimf.c: Likewise.
2114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2115         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2116         Add s_fdimf-vis3, s_fdim-vis3.
2117         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2118         (CFLAGS-s_fdim-vis3.c): Likewise.
2119         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2120         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2122 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2125         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2126         Remove s_fdimf-vis3, s_fdim-vis3.
2127         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2128         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2135         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2136         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2138 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2140         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2141         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2142         -Wa,-Av9a -mvis.
2144 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2146         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2147         LIT() to individual constants in simple expressions
2148         after splitting on spaces.
2149         (_apply_lit): Rename replaced version, and use it to
2150         apply to what appears to be a token.
2152         * math/libm-test.inc: Fix many, many issues with
2153         spacing.
2155 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2157         * math/math.h: Move comment about <bits/mathdef.h> definitions
2158         above inclusion of <bits/mathdef.h>.  Do not mention
2159         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2161 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2163         * include/atomic.h (atomic_exchange_relaxed): New.
2165 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2167         * math/e_scalb.c: Do not include <fenv.h>.
2168         (invalid_fn): Do calculation resulting in NaN instead of raising
2169         FE_INVALID and returning a NaN explicitly.
2170         * math/e_scalbf.c: Do not include <fenv.h>.
2171         (invalid_fn): Do calculation resulting in NaN instead of raising
2172         FE_INVALID and returning a NaN explicitly.
2173         * math/e_scalbl.c: Do not include <fenv.h>.
2174         (invalid_fn): Do calculation resulting in NaN instead of raising
2175         FE_INVALID and returning a NaN explicitly.
2177 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2179         * po/de.po: Updated from Translation Project.
2180         * po/fi.po: Likewise.
2181         * po/sv.po: Likewise.
2183 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2185         [BZ #20452]
2186         Use sysdep.o from libc.a in static libraries.
2187         * sysdeps/unix/sysv/linux/i386/Makefile
2188         (libpthread-shared-only-routines): Add sysdep.
2189         (librt-shared-only-routines): Likewise.
2191 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2193         * math/tgmath.h (nextdown): Define if
2194         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2195         (nextup): Likewise.
2197         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2198         macro.
2199         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2200         Document.
2201         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2202         Document macro.
2203         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2204         (exp10f): Likewise.
2205         (exp10l): Likewise.
2206         * math/bits/mathcalls.h (exp10): Declare if
2207         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2209         * manual/arith.texi (nextup): Fix typo in last change.
2211 2016-08-03  Zack Weinberg  <zackw@panix.com>
2213         [BZ #19239]
2214         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2215         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2216         define major, minor, and makedev to issue deprecation warnings on use.
2217         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2218         previously-activated deprecation warnings for these macros and prevent
2219         subsequent inclusions of this header from having any effect.
2220         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2221         including <sys/sysmacros.h>, and undefine it again afterward.
2223 2016-08-03  Zack Weinberg  <zackw@panix.com>
2225         * sysdeps/generic/sys/sysmacros.h: Delete file.
2226         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2227         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2228         * bits/sysmacros.h: ... here; this encoding is now the generic
2229         encoding.  Now defines only the following macros:
2230         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2231         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2232         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2234         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2235         bits/sysmacros.h and the above new macros to generate the
2236         public implementations of major, minor, and makedev.
2237         * misc/tst-makedev.c: New test.
2238         * include/sys/sysmacros.h: New wrapper.
2240         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2241         (routines): Add makedev.
2242         (tests): Add tst-makedev.
2243         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2244         gnu_dev_makedev.
2245         * posix/Makefile (headers): Remove sys/sysmacros.h.
2246         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2248         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2249         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2250         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2251         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2252         * sysdeps/unix/sysv/linux/arm/libc.abilist
2253         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2254         * sysdeps/unix/sysv/linux/i386/libc.abilist
2255         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2256         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2257         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2258         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2259         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2260         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2261         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2262         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2263         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2268         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2269         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2270         * sysdeps/unix/sysv/linux/sh/libc.abilist
2271         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2272         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2275         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2276         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2277         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2278         Add GLIBC_2.25.
2280         * include/features.h (__glibc_clang_prereq): New macro.
2281         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2282         (__attribute_deprecated_msg__): New macros.
2284 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2286         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2287         macro.
2288         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2289         * manual/arith.texi (issignaling): Document as ISO from TS
2290         18661-1:2014.
2291         (nextup): Likewise.
2292         (nextupf): Likewise.
2293         (nextupl): Likewise.
2294         (nextdown): Likewise.
2295         (nextdownf): Likewise.
2296         (nextdownl): Likewise.
2297         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2298         macro.
2299         * math/math.h: Define
2300         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2301         <bits/libc-header-start.h> instead of including <features.h>.
2302         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2303         [__USE_GNU].
2304         * math/bits/mathcalls.h (nextdown): Declare if
2305         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2306         (nextup): Likewise.
2307         (__issignaling): Likewise.
2309 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2311         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2312         check, and remove __glibc_likely hint
2313         from FP_INFINITE check.
2314         * s_csinhf.c (__csinhf): Likewise.
2316         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2317         hint from FP_INFINITE check.
2318         * s_csinhl.c (__csinhl): Likewise.
2320 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2322         * math/Makefile (libm-calls): Insert F placeholder into
2323         object names.  Move w_lgamma_compat* routines into
2324         (libm-compat-calls): New variable.
2325         (libm-compat-calls-ldouble-yes): New variable.
2326         (calls): Insert F placeholder.
2327         (generated): Redefine using new type-foreach macro call.
2328         (routines): Likewise.
2330         (types): New variable to hold a list of symbolic names
2331         for each type supported by the target machine.
2332         (libm-routines): Redefine using new types variable.
2333         (type-foreach): macro to replace fooF with the
2334         appropriately suffixed foo for each types.
2336         (type-ldouble-suffix): New variable.
2337         (type-ldouble-routines): Likewise.
2338         (type-ldouble-yes): Likewise.
2339         (type-double-suffix): Likewise.
2340         (type-double-routines): Likewise.
2341         (type-float-suffix): Likewise.
2342         (type-float-routines): Likewise.
2344         (dbl-only-routines): Remove.
2345         (long-c-yes): Likewise.
2346         (long-m-routines): Likewise.
2347         (long-m-support): Likewise.
2348         (long-m-yes): Likewise.
2349         (test-longdouble-yes): Likewise.
2351         (test-float.o): Simplify by increasing the scope of the
2352         recipe which adds libm-test.stmp to the vector types.
2353         (test-ifloat.o): Likewise.
2354         (test-float-finite.o): Likewise.
2355         (test-double.o): Likewise
2356         (test-idouble.o): Likewise.
2357         (test-double-finite.o): Likewise.
2358         (test-ldouble.o): Likewise
2359         (test-ildoubl.o): Likewise.
2360         (test-ldouble-finite.o): Likewise.
2362         (libm-tests): Redefine type tests using foreach and the
2363         list of types in types.
2365         (CPPFLAGS-test-ildoubl.c): Rename to
2366         (CPPFLAGS-test-ildouble.c): New variable
2368         * math/test-ildoubl.c: Rename to
2369         * math/test-ildouble.c: New file.
2371 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2373         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2374         Use fabsl instead of fabs.
2375         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2376         Likewise.
2377         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2378         Add long double suffix to constant to ensure proper
2379         promotion to long double.
2381 2016-08-03  Tom Tromey  <tom@tromey.com>
2383         [BZ #20311]
2384         * nptl_db/Makefile (headers): Add proc_service.h.
2385         * nptl_db/proc_service.h: Add include guard.  Use
2386         __BEGIN/__END_DECLS.
2387         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2388         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2389         arguments.
2392 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2394         [BZ #17730]
2395         Avoid using memalign for TCB allocations.
2396         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2397         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2398         Avoid alignment gap in the TLS_DTV_AT_TP case.
2399         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2400         determine the pointer to free.
2401         * nptl/tst-tls3-malloc.c: New test.
2402         * nptl/Makefile (tests): Add it.
2403         (tst-tls3-malloc): Link with libdl, libpthread.
2404         (LDFLAGS-tst-tls3-malloc): Set.
2405         (tst-tls3-malloc.out): Depend on DSO used in test.
2407 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2409         [BZ #17730]
2410         Avoid using memalign for TLS allocations.
2411         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2412         is_static member with to_free member.
2413         (union dtv): Use struct dtv_pointer.
2414         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2415         dtv_pointer instead of is_static.
2416         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2417         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2418         instead of val.
2419         (allocate_dtv_entry): New function.
2420         (allocate_and_init): Return struct dtv_pointer.  Call
2421         allocate_dtv_entry instead of __libc_memalign.
2422         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2423         instead of val.
2424         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2425         instead of is_static.  Adjust call to allocate_and_init.
2426         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2427         struct dtv_pointer instead of val.
2429 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2431         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2432         (MALLOC_ALIGN_MASK): Move ...
2433         * malloc/malloc-internal.h: ... to here.
2434         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2436 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2438         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2439         (UDP_ENCAP_GTP1U): Likewise.
2441         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2442         (PF_MAX): Update value.
2443         (AF_QIPCRTR): New macro.
2445 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2447         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2448         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2449         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2450         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2451         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2452         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2453         s_truncf-vis3, s_trunc-vis3.
2454         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2455         (CFLAGS-s_ceil-vis3.c): Likewise.
2456         (CFLAGS-s_floorf-vis3.c): Likewise.
2457         (CFLAGS-s_floor-vis3.c): Likewise.
2458         (CFLAGS-s_truncf-vis3.c): Likewise.
2459         (CFLAGS-s_trunc-vis3.c): Likewise.
2460         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2461         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2462         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2463         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2464         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2465         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2468         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2469         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2470         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2471         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2473 2016-08-02  David S. Miller  <davem@davemloft.net>
2475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2476         (__nearbyint_vis3): Don't check for sNaN before float register is
2477         loaded with the incoming argument.
2478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2479         (__nearbyintf_vis3): Likewise.
2480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2481         Likewise.
2482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2483         Likewise.
2485         * string/test-strncmp.c (do_test_limit): Make sure the test data
2486         stream is aligned as required for the type "CHAR".
2487         (do_test): Likewise.
2489 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2491         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2492         by beq instructions jumping to the end of the function.
2493         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2494         clobber list. Use "i" constraint instead of "X".
2495         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2496         of "X".
2498 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2500         * bits/libc-header-start.h: New file.
2501         * Makefile (headers): Add bits/libc-header-start.h.
2502         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2503         (__GLIBC_USE): New macro.
2504         * libio/stdio.h: Define
2505         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2506         <bits/libc-header-start.h> instead of including <features.h>.
2507         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2508         (open_memstream): Likewise.
2509         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2510         (__asprintf): Likewise.
2511         (asprintf): Likewise.
2512         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2513         (getdelim): Likewise.
2514         (getline): Likewise.
2515         * string/string.h: Define
2516         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2517         <bits/libc-header-start.h> instead of including <features.h>.
2518         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2519         (strndup): Likewise.
2520         * wcsmbs/wchar.h: Define
2521         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2522         <bits/libc-header-start.h> instead of including <features.h>.
2523         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2524         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2526 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2528         Support linking against compatibility symbols, for use in tests.
2529         * include/libc-symbols.h (symbol_version_reference): New macro.
2530         (symbol_version): Use it.
2531         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2532         (compat_symbol): Use compat_symbol_reference.
2533         (compat_symbol_1, compat_symbol_2): Remove.
2534         (compat_symbol_reference, compat_symbol_reference_1)
2535         (compat_symbol_reference_2): New macro.  Use
2536         symbol_version_reference.
2538 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2540         [BZ #19469]
2541         * malloc/Makefile (CPPFLAGS): Compile tests with
2542         -DTEST_NO_MALLOPT.
2543         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2545 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2547         [BZ #20033]
2548         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2549         finite version.
2550         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2551         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2552         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2553         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2554         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2555         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2556         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2557         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2558         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2559         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2560         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2561         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2562         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2563         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2564         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2565         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2566         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2567         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2568         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2569         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2570         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2571         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2572         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2573         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2574         in zero power.
2576 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2578         [BZ #20370]
2579         * malloc/arena.c (get_free_list): Update comment.  Assert that
2580         arenas on the free list have no attached threads.
2581         (remove_from_free_list): New function.
2582         (reused_arena): Call it.
2584 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2586         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2587         when it is a NaN.
2588         [_IEEE_FP_INEXACT] Remove.
2589         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2590         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2591         when it is a NaN.
2592         [_IEEE_FP_INEXACT] Remove.
2593         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2594         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2595         when it is a NaN.
2596         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2597         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2598         when its absolute value is greater than 0x1.0p52.
2599         [_IEEE_FP_INEXACT] Remove.
2600         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2601         when its absolute value is greater than 0x1.0p23.
2602         [_IEEE_FP_INEXACT] Remove.
2604 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2606         * version.h (RELEASE): Set to "development"
2607         (VERSION): Set to 2.24.90.
2608         * NEWS: Add 2.25 section.
2610         * version.h (RELEASE): Set to "stable"
2611         (VERSION): Set to 2.24.
2612         * include/features.h (__GLIBC_MINOR__): Set to 24.
2614         * NEWS: Add 2.24 fixed bugs.
2615         * po/libc.pot: Regenerate.
2617 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2620         [$(subdir) = math] (libm-sysdep_routines): Remove.
2621         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2622         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2623         s_truncf-vis3, s_trunc-vis3.
2624         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2626         file.
2627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2648         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2649         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2650         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2651         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2652         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2653         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2655         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2656         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2657         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2658         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2659         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2660         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2661         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2662         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2663         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2664         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2665         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2666         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2667         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2668         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2669         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2671 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2673         [BZ #20384]
2674         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2675         test-double-libmvec-sincos-avx-main.o,
2676         test-double-libmvec-sincos-avx2-main.o,
2677         test-double-libmvec-sincos-main.o,
2678         test-float-libmvec-sincosf-avx-main.o,
2679         test-float-libmvec-sincosf-avx2-main.o and
2680         test-float-libmvec-sincosf-main.o.
2681         test-float-libmvec-sincosf-avx512-main.o.
2682         ($(objpfx)test-double-libmvec-sincos): Also link with
2683         $(objpfx)test-double-libmvec-sincos-main.o.
2684         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2685         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2686         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2687         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2688         ($(objpfx)test-float-libmvec-sincosf): Also link with
2689         $(objpfx)test-float-libmvec-sincosf-main.o.
2690         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2691         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2692         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2693         test-double-libmvec-sincos-avx512-main.o and
2694         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2695         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2696         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2697         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2698         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2699         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2700         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2701         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2702         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2703         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2704         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2705         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2706         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2707         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2708         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2709         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2710         -DREQUIRE_AVX2.
2711         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2712         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2713         -DREQUIRE_AVX512F.
2714         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2715         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2716         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2717         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2718         file.
2719         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2720         Likewise.
2721         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2722         Likewise.
2723         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2724         Likewise.
2725         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2726         Likewise.
2727         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2728         Likewise.
2729         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2730         Likewise.
2731         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2732         Likewise.
2734 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2736         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2738 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2740         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2741         and typo in a comment about AT_HWCAP entry.
2743 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2745         * sysdeps/aarch64/libm-test-ulps: Updated.
2747 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2749         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2750         of r13 as it is not restored in mvcle case.
2752 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2754         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2755         Rename "ret" to "__ret".
2756         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2757         inline_syscall5, inline_syscall6): Likewise.
2759 2016-07-19   Will Newton  <will.newton@gmail.com>
2761         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2762         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2763         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2764         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2765         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2767 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2769         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2770         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2771         -mfpmath=387 with $(rtld-CFLAGS).
2772         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2773         $(rtld-CFLAGS).
2775 2016-07-18   Ross Burton  <ross.burton@intel.com>
2776              Khem Raj  <raj.khem@gmail.com>
2778         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2779         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2780         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2781         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2782         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2783         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2784         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2785         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2786         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2787         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2788         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2789         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2790         R_METAG_TLS_DTPOFF): New.
2792 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2793             Matt Clay  <mclay@lycos.com>
2795         [BZ #20357]
2796         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2797         to call __mpsin/__mpcos and to negate values.
2798         * math/auto-libm-test-in: Add test.
2799         * math/auto-libm-test-out: Regenerate.
2801 2016-07-18  Zack Weinberg  <zackw@panix.com>
2803         * grp/Makefile: Don't install the internal header grp-merge.h.
2805 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2807         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2809 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2811         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2813 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2815         [BZ #15368]
2816         * sysdeps/unix/sysv/linux/nptl-signals.h
2817         (__nptl_clear_internal_signals): New function.
2818         (__libc_signal_block_all): Likewise.
2819         (__libc_signal_block_app): Likewise.
2820         (__libc_signal_restore_set): Likewise.
2821         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2822         implementation.
2823         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2824         the cached pid/tid value in pthread structure.
2826 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2828         [BZ #20347]
2829         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2831 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2833         [BZ #20348]
2834         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2835         preadv64, pwrite64 and pwritev64.
2837 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2839         [BZ #20350]
2840         * posix/tst-preadwrite.c: Renamed to ...
2841         * posix/tst-preadwrite-common.c: This.
2842         (PREAD): Removed.
2843         (PWRITE): Likewise.
2844         (STRINGIFY): Likewise.
2845         (STRINGIFY2): Likewise.
2846         (do_prepare): Make it static and remove function arguments.
2847         (do_test): Likewise.
2848         (PREPARE): Updated.
2849         (TEST_FUNCTION): New.
2850         (name): Make it static.
2851         (fd): Likewise.
2852         (do_prepare): Use create_temp_file.
2853         (do_test): Renamed to ...
2854         (do_test_with_offset): This.  Make it static and accept offset.
2855         Properly check return value of PWRITE and PREAD.  Return bytes
2856         read.  Don't close fd nor unlink name.
2857         * posix/tst-preadwrite.c: Rewrite.
2858         * posix/tst-preadwrite64.c: Likewise.
2860 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2862         [BZ #20309]
2863         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2864         -mtls-dialect=gnu2 works.
2865         * configure: Regenerated.
2866         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2867         (tests): Add tst-gnu2-tls1.
2868         (modules-names): Add tst-gnu2-tls1mod.
2869         ($(objpfx)tst-gnu2-tls1): New.
2870         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2871         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2872         * elf/tst-gnu2-tls1.c: New file.
2873         * elf/tst-gnu2-tls1mod.c: Likewise.
2874         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2875         bytes for push in the PLT entry to align the stack.
2877 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2879         [BZ #20349]
2880         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2882 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2884         [BZ #18707]
2885         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2886         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2888 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2890         * sysdeps/unix/sysv/linux/sysdep.h
2891         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2892         guards.
2893         * misc/tst-preadvwritev-common.c: New file.
2894         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2895         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2896         a check for files larger than 2GB.
2898         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2899         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2900         * sysdeps/unix/sysv/linux/pread.c
2901         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2902         __OFF_T_MATCHES_OFF64_T.
2903         * sysdeps/unix/sysv/linux/pread64.c
2904         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2905         * sysdeps/unix/sysv/linux/preadv.c
2906         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2907         * sysdeps/unix/sysv/linux/preadv64.c
2908         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2909         * sysdeps/unix/sysv/linux/pwrite.c
2910         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2911         * sysdeps/unix/sysv/linux/pwrite64.c
2912         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2913         * sysdeps/unix/sysv/linux/pwritev.c
2914         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2915         * sysdeps/unix/sysv/linux/pwritev64.c
2916         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2918 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2920         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2921         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2923 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2925         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2927 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2929         [BZ #20240]
2930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2931         (CFLAGS-s_modf-ppc32.c): New variable.
2932         (CFLAGS-s_modff-ppc32.c): Likewise.
2933         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2934         (CFLAGS-s_modf-ppc64.c): Likewise.
2935         (CFLAGS-s_modff-ppc64.c): Likewise.
2937 2016-07-07  Andreas Schwab  <schwab@suse.de>
2939         [BZ #20263]
2940         * nptl/tst-robust10.c: New test.
2941         * nptl/Makefile (tests): Add tst-robust10.
2943 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2945         [BZ #20263]
2946         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2948 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2950         * sysdeps/s390/linkmap.h (struct link_map_machine):
2951         Remove member gotplt and add member jmprel.
2952         * sysdeps/s390/s390-32/dl-machine.h
2953         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2954         instead of gotplt with &got[3].
2955         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2956         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2958 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2960         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2962 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2964         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2965         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2966         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2967         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2968         * libio/vtables.c (_IO_vtable_check)
2969         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2970         * libio/libioP.h (IO_set_accept_foreign_vtables)
2971         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2973 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2975         [BZ #20314]
2976         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2977         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2978         $(common-objpfx)cmath.
2979         ($(common-objpfx)cstdlib): New target.
2980         ($(common-objpfx)cmath): Likewise.
2982 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2984         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2986 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2988         [BZ #20327]
2989         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2990         are not part of the string.
2992 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2994         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2995         * nptl/tst-cancel4-common.h (fifoname): New variable.
2996         (fifofd): Likewise.
2997         (cl_fifo): New function.
2998         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2999         SIGINT.
3000         (tf_open): Add early cancel test.
3002 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3004         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3006 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3008         * sysdeps/generic/ldsodefs.h
3009         (dl_symbol_visibility_binds_local_p): New inline function.
3010         * elf/dl-addr.c (determine_info): Treat hidden and internal
3011         symbols as local.
3012         * elf/dl-lookup.c (do_lookup_x): Likewise.
3013         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3015 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3017         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3018         invalid exception for a sNaN input.
3019         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3020         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3021         (__nearbyint_vis3): Likewise
3022         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3023         (__nearbyintf_vis3): Likewise
3024         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3025         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3026         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3027         Likewise.
3028         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3029         Likewise.
3031 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3033         [BZ #20139]
3034         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3035         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3036         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3037         2.24 or above.
3038         (HAVE_AVX512_ASM_SUPPORT): Removed.
3039         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3040         * sysdeps/x86_64/configure: Regenerated.
3041         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3042         check unconditional.
3043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3044         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3045         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3046         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3047         Likewise.
3048         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3049         Likewise.
3050         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3051         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3052         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3053         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3054         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3055         Likewise.
3056         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3057         Likewise.
3058         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3059         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3060         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3061         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3062         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3063         Likewise.
3064         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3065         Likewise.
3066         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3067         Likewise.
3068         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3069         Likewise.
3070         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3071         Likewise.
3072         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3073         Likewise.
3074         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3075         Likewise.
3076         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3077         Likewise.
3078         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3079         Likewise.
3080         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3081         Likewise.
3082         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3083         Likewise.
3085 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3087         [BZ #20024]
3088         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3089         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3090         of this implementation of vector function.
3091         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3092         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3093         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3094         Likewise.
3095         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3096         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3097         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3098         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3099         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3100         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3101         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3102         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3103         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3104         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3105         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3106         for testing vector sincos with fixed ABI.
3107         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3108         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3109         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3110         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3111         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3112         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3113         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3114         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3115         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3116         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3117         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3118         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3119         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3120         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3121         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3122         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3124 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3126         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3128 2016-06-30  Anton Blanchard  <anton@samba.org>
3130         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3131         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3132         s_sinf-ppc64.
3133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3136         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3138 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3141         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3142         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3143         e_expf-ppc64.
3144         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3145         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3146         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3147         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3149 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3151         [BZ #20277]
3152         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3153         when SHARED is defined.
3155 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3157         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3158         (index_arch_Prefer_ERMS): Likewise.
3159         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3160         __memcpy_erms for Prefer_ERMS.
3161         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3162         (__memmove_erms): Enabled for libc.a.
3163         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3164         __memmove_erms or Prefer_ERMS.
3165         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3166         __mempcpy_erms for Prefer_ERMS.
3167         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3168         __memset_erms for Prefer_ERMS.
3170 2016-06-30  Andreas Schwab  <schwab@suse.de>
3172         [BZ #20262]
3173         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3174         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3175         of memory.
3177 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3179         [BZ #18645]
3180         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3181         (test-extras): Add tst-cleanupx4aux.
3182         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3183         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3184         tst-cleanupx4aux.o.
3185         * nptl/tst-cleanupx4aux.c: New file.
3187 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3189         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3191 2016-06-29  Andreas Schwab  <schwab@suse.de>
3193         [BZ #20260]
3194         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3195         address before the beginning of the string as an integer to avoid
3196         array-bounds warning.
3198 2016-06-28  Richard Henderson  <rth@redhat.com>
3200         * elf/elf.h (EM_BPF): New.
3201         (EM_NUM): Update.
3202         (R_BPF_NONE, R_BPF_MAP_FD): New.
3204         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3205         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3206         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3207         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3208         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3209         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3210         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3211         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3212         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3213         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3214         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3215         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3216         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3217         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3218         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3219         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3220         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3221         (EM_NUM): Update.
3223 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3225         [BZ #18960]
3226         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3227         Set _nl_current_LC_CATEGORY_used to two instead of one.
3229 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3231         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3232         (do_test): ... this.
3233         (TEST_FUNCTION): New macro.
3234          Include test-skeleton.c.
3235         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3236         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3238 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3240         [BZ #15479]
3241         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3242         floating-point environment rather than just control word.
3243         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3244         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3245         floating-point environment, with "invalid" exceptions merged in,
3246         rather than just control word.
3247         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3248         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3249         "inexact" exceptions.
3251         [BZ #15479]
3252         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3253         floating-point environment rather than just control word.
3254         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3255         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3256         floating-point environment, with "invalid" exceptions merged in,
3257         rather than just control word.
3258         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3259         * math/libm-test.inc (floor_test_data): Do not allow spurious
3260         "inexact" exceptions.
3262         [BZ #15479]
3263         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3264         floating-point environment rather than just control word.
3265         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3266         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3267         floating-point environment, with "invalid" exceptions merged in,
3268         rather than just control word.
3269         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3270         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3271         "inexact" exceptions.
3273 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3275         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3276         __libc_vfork.
3277         (__vfork) [IS_IN (libc)]: Remove alias.
3278         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3279         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3280         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3282 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3284         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3285         of atomic_compare_and_exchange_bool_rel.
3286         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3287         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3288         catomic_compare_and_exchange_bool_rel): Remove.
3289         * sysdeps/aarch64/atomic-machine.h
3290         (atomic_compare_and_exchange_bool_rel): Likewise.
3291         * sysdeps/alpha/atomic-machine.h
3292         (atomic_compare_and_exchange_bool_rel): Likewise.
3293         * sysdeps/arm/atomic-machine.h
3294         (atomic_compare_and_exchange_bool_rel): Likewise.
3295         * sysdeps/mips/atomic-machine.h
3296         (atomic_compare_and_exchange_bool_rel): Likewise.
3297         * sysdeps/microblaze/atomic-machine.h
3298         ( __arch_compare_and_exchange_bool_8_rel,
3299         __arch_compare_and_exchange_bool_16_rel): Likewise.
3300         * sysdeps/powerpc/atomic-machine.h
3301         ( __arch_compare_and_exchange_bool_8_rel,
3302         __arch_compare_and_exchange_bool_16_rel): Likewise.
3303         * sysdeps/powerpc/powerpc32/atomic-machine.h
3304         ( __arch_compare_and_exchange_bool_32_rel,
3305         __arch_compare_and_exchange_bool_64_rel): Likewise.
3306         * sysdeps/powerpc/powerpc64/atomic-machine.h
3307         ( __arch_compare_and_exchange_bool_32_rel,
3308         __arch_compare_and_exchange_bool_64_rel): Likewise.
3309         * sysdeps/tile/atomic-machine.h
3310         (atomic_compare_and_exchange_bool_rel): Likewise.
3312 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3314         [BZ #20296]
3315         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3316         when either argument is a NaN.
3317         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3318         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3320         * math/libm-test.inc (snan_value_ld): New macro.
3321         (isgreater_test_data): Add sNaN tests.
3322         (isgreaterequal_test_data): Likewise.
3323         (isless_test_data): Likewise.
3324         (islessequal_test_data): Likewise.
3325         (islessgreater_test_data): Likewise.
3326         (isunordered_test_data): Likewise.
3327         (nextafter_test_data): Likewise.
3328         (nexttoward_test_data): Likewise.
3329         (remainder_test_data): Likewise.
3330         (remquo_test_data): Likewise.
3331         (significand_test_data): Likewise.
3332         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3334 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3336         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3337         environment macros are defined.
3338         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3340 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3342         [BZ #20191]
3343         Implement vtable verification in libio.
3344         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3345         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3346         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3347         _IO_new_file_init_internal instead of _IO_file_init.
3348         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3349         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3350         * libio/Makefile (routines): Add vtables.
3351         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3352         (_IO_init): Remove, not for internal use.
3353         (_IO_init_internal): Declare, internal replacement for _IO_init.
3354         (_IO_file_init): Remove, not for internal use.
3355         (_IO_new_file_init): Remove, not for internal use.
3356         (_IO_new_file_init_internal): Declare, internal replacement for
3357         _IO_new_file_init.
3358         (_IO_old_file_init): Remove, not for internal use.
3359         (_IO_old_file_init_internal): Declare, internal replacement for
3360         _IO_old_file_init.
3361         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3362         internal use.
3363         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3364         Declare.
3365         (libio_vtable): New macro.
3366         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3367         functions.
3368         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3369         _IO_new_file_init.
3370         (_IO_new_file_init): New externally visible wrapper which disables
3371         vtable verification.
3372         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3373         Define as vtables.
3374         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3375         (_IO_init): New externally visible wrapper which disables
3376         vtable verification.
3377         * libio/iofdopen.c (_IO_new_fdopen): Call
3378         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3379         comment.
3380         * libio/iofopen.c (__fopen_internal): Call
3381         _IO_new_file_init_internal instead of _IO_file_init.
3382         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3383         Define as vtables.
3384         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3385         _IO_new_file_init_internal instead of _IO_file_init.
3386         * libio/iopopen.c (_IO_new_popen): Likewise.
3387         (_IO_proc_jumps): Define as vtable.
3388         * libio/iovdprintf.c (_IO_vdprintf): Call
3389         _IO_new_file_init_internal instead of _IO_file_init.
3390         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3391         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3392         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3393         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3394         _IO_old_file_init.
3395         (_IO_old_file_init): New externally visible wrapper which disables
3396         vtable verification.
3397         (_IO_old_file_jumps): Define as vtable.
3398         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3399         _IO_old_file_init_internal instead of _IO_old_file_init.
3400         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3401         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3402         (_IO_old_proc_jumps): Define as vtable.
3403         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3404         Define as vtables.
3405         * libio/vtables.c: New file.
3406         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3407         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3408         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3409         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3410         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3411         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3412         instead of _IO_init.
3414 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3416         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3418 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3420         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3421         potentially unused.
3423 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3425         * test-skeleton.c (write_message): New function.
3426         * malloc/tst-mallocfork2.c (write_message): Remove.
3427         * debug/tst-longjmp_chk2.c (write_indented): New function.
3428         (write_message): Remove.
3429         (stackoverflow_handler): Call write_indented.
3431 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3433         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3434         "inexact" exceptions after fnstenv.
3435         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3436         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3437         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3439 2015-06-22  Zack Weinberg  <zackw@panix.com>
3441         * sysdeps/generic/bits/hwcap.h: Moved to ...
3442         * bits/hwcap.h: Here.
3444 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3446         * sysdeps/aarch64/memcpy.S (memcpy):
3447         Further tuning for performance.
3449 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3451         [BZ #20284]
3452         * malloc/arena.c (reused_arena): Do not return NULL if we start
3453         out with a non-corrupted arena.
3455 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3457         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3458         * misc/tst-preadvwritev.c: New file.
3459         * misc/tst-preadvwritev64.c: Likewise.
3460         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3461         usage.
3462         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3463         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3464         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3465         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3467 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3469         [BZ #19654]
3470         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3471         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3472         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3473         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3474         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3475         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3476         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3477         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3478         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3479         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3480         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3481         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3482         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3483         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3484         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3485         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3486         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3487         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3488         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3489         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3490         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3491         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3492         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3493         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3494         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3495         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3497 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3499         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3500         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3502 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3504         * sysdeps/aarch64/memcpy.S (memcpy):
3505         Rewrite of optimized memcpy and memmove.
3506         * sysdeps/aarch64/memmove.S (memmove): Remove
3507         memmove code (merged into memcpy.S).
3509 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3511         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3512         * sysdeps/generic/dl-dtv.h: New file.
3513         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3514         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3515         (dtv_t): Remove.
3516         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3517         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3518         (dtv_t): Remove.
3519         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3520         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3521         (dtv_t): Remove.
3522         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3523         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3524         (dtv_t): Remove.
3525         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3526         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3527         (dtv_t): Remove.
3528         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3529         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3530         (dtv_t): Remove.
3531         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3532         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3533         (dtv_t): Remove.
3534         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3535         (dtv_t): Remove.
3536         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3537         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3538         (dtv_t): Remove.
3539         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3540         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3541         (dtv_t): Remove.
3542         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3543         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3544         (dtv_t): Remove.
3545         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3546         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3547         (dtv_t): Remove.
3548         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3549         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3550         (dtv_t): Remove.
3551         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3552         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3553         (dtv_t): Remove.
3554         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3555         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3556         (dtv_t): Remove.
3557         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3558         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3559         (dtv_t): Remove.
3561 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3563         Revert symbol poisoning of  __malloc_initialize_hook.
3564         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3565         poisoning.
3566         * malloc/Makefile: Remove un-poisoning.
3567         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3568         instead of old__malloc_initialize_hook.
3569         * malloc/malloc-hooks.h: Likewise.
3570         * malloc/malloc.c: Likewise.
3571         * malloc/mcheck-init.c: Likewise.
3573 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3575         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3577 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3579         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3580         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3581         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3582         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3584 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3586         * NEWS: Mention addition of nextup and nextdown.
3587         * manual/arith.texi: Document nextup and nextdown.
3588         * manual/libm-err-tab.pl: Add nextup and nextdown.
3589         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3590         * math/Versions (libm): Add GLIBC_2.24.
3591         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3592         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3593         Add new test.
3594         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3595         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3596         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3597         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3598         (nextup_test_data): Likewise.
3599         (nextdown_test_data): Likewise.
3600         * math/s_nextdown.c: New file.
3601         * math/s_nextdownf.c: Likewise.
3602         * math/s_nextdownl.c: Likewise.
3603         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3604         F(nextup): New function.
3605         F(nextdown): Likewise.
3606         * math/tgmath.h: Add nextup and nextdown.
3607         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3608         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3609         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3610         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3611         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3612         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3613         Add nextup and nextdown.
3614         (CFLAGS-nldbl-nextup.c): New variable.
3615         (CFLAGS-nldbl-nextdown.c): Likewise.
3616         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3617         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3618         * sysdeps/nacl/libm.abilist: Update.
3619         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3620         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3621         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3622         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3623         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3624         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3625         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3626         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3627         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3628         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3629         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3630         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3633         Likewise.
3634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3636         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3637         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3638         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3639         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3640         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3643         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3644         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3645         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3646         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3648 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3650         * manual/pattern.texi: Fix typos & grammar errors.
3652 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3654         * manual/search.texi: Fix typos & grammar errors.
3656 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3658         * manual/message.texi: Fix typos & grammar errors.
3660 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3662         * manual/contrib.texi: Fix spelling typos.
3663         * manual/crypt.texi: Likewise.
3664         * manual/filesys.texi: Likewise.
3665         * manual/locale.texi: Likewise.
3666         * manual/message.texi: Likewise.
3667         * manual/nss.texi: Likewise.
3668         * manual/string.texi: Likewise.
3670 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3672         * manual/locale.texi: Fix typos & grammar errors.
3674 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3676         * manual/charset.texi: Fix typos & grammar errors.
3678 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3680         * manual/string.texi: Fix typos.
3682 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3684         * manual/ctype.texi: Fix typos.
3686 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3688         * manual/memory.texi: Fix various typos & grammar errors.
3690 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3692         [BZ #20255]
3693         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3694         * math/libm-test.inc (fdim_test_data): Add another test.
3696         [BZ #6796]
3697         [BZ #20255]
3698         [BZ #20256]
3699         * math/s_fdim.c: Include <math_private.h>.
3700         (__fdim): Use math_narrow_eval on result.
3701         * math/s_fdimf.c: Include <math_private.h>.
3702         (__fdimf): Use math_narrow_eval on result.
3703         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3704         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3705         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3706         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3707         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3708         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3709         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3710         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3711         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3712         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3713         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3714         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3715         overflow.  Add sNaN tests.
3717         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3718         fpclassify.
3719         * math/s_fdimf.c (__fdimf): Likewise.
3720         * math/s_fdiml.c (__fdiml): Likewise.
3722 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3724         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3725         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3727         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3728         ifunc'ed strcasecmp/strncasecmp.
3729         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3730         [EALIGN]: Removed.
3731         [END]: Likewise.
3732         [__strcasecmp]: Define instead of the above to control symbol name.
3733         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3734         for __strcasecmp_power8.
3735         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3736         for __strncasecmp_power8.
3737         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3738         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3739         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3740         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3741         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3742         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3744 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3746         [BZ #20252]
3747         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3748         arguments when second argument is a NaN.
3749         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3750         qNaN tests.
3752         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3753         (conj_test_data): Likewise.
3754         (copysign_test_data): Likewise.
3755         (creal_test_data): Likewise.
3756         (fma_test_data): Likewise.
3757         (fmod_test_data): Likewise.
3759         [BZ #20250]
3760         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3761         itself.
3762         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3763         zero input to itself.
3764         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3765         Likewise.
3766         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3767         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3768         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3769         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3770         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3772 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3774         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3775         * nptl/tst-cancel4-common.c: New file.
3776         * nptl/tst-cancel4-common.h: Likewise.
3777         * nptl/tst-cancel4.c: Move common definitions to
3778         tst-cancel4-common.{c,h} file.
3779         * nptl/tst-cancel4_1.c: New test.
3780         * nptl/tst-cancel4_2.c: New test.
3782 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3784         [BZ #20248]
3785         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3786         (write_message): New function.
3787         (stackoverflow_handler): Call it instead of printf, to avoid
3788         excessive stack usage by printf.
3789         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3791 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3793         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3794         (prio_inherit_missing): Remove define.
3795         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3796         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3797         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3798         Likewise.
3799         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3800         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3801         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3802         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3803         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3804         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3806 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3808         [BZ #19670]
3809         [BZ #19672]
3811         * io/test-lfs.c (do_prepare): Use xmalloc.
3812         * io/tst-fcntl.c (do_prepare): Likewise.
3813         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3814         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3815         * login/tst-utmp.c (do_prepare): Likewise.
3816         * posix/tst-exec.c (do_prepare): Likewise.
3817         * posix/tst-pathconf.c (prepare): Likewise.
3818         * posix/tst-spawn.c (do_prepare): Likewise.
3819         * posix/tst-truncate.c (do_prepare): Likewise.
3820         * rt/tst-aio.c (do_prepare): Likewise.
3821         * rt/tst-aio64.c (do_prepare): Likewise.
3823 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3825         [BZ #20237]
3826         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3827         (get*ent): Set entidx to NULL during initialization.  If entidx is
3828         NULL, start iteration from the beginning.
3830 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3832         * malloc/malloc.c (musable): Return correct size for dumped fake
3833         mmapped chunk.
3835 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3837         [BZ #20222]
3838         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3839         (_IO_cookie_write): Likewise.
3840         (_IO_cookie_seek): Likewise.
3841         (_IO_cookie_close): Likewise.
3842         (_IO_old_cookie_seek): Likewise.
3843         (set_callbacks): New function.
3844         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3846 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3848         * locale/programs/localedef.c (oldstyle_tables): Remove.
3849         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3851 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3853         [BZ #20240]
3854         * math/Makefile (CFLAGS-s_modf.c): New variable.
3855         (CFLAGS-s_modff.c): Likewise.
3856         (CFLAGS-s_modfl.c): Likewise.
3857         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3859 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3861         [BZ #20215]
3862         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3863         [!__GNUC_PREREQ (3,2)]: Likewise.
3865 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3867         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3868         (msghdr.msg_controllen): Likewise.
3869         (cmsghdr.cmsg_len): Likewise.
3870         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3871         ptw-oldsendmsg.
3872         (CFLAGS-oldrecvmsg.c): Remove rule.
3873         (CFLAGS-oldsendmsg.c): Likewise.
3874         (CFLAGS-recvmsg.c): Add rule.
3875         (CFLAGS-sendmsg.c): Likewise.
3876         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3877         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3878         (CFLAGS-recvmsg.c): Remove rule.
3879         (CFLAGS-sendmsg.c): Likewise.
3880         (CFLAGS-oldrecvmsg.c): Likewise.
3881         (CFLAGS-oldsendmsg.c): Likewise.
3882         (CFLAGS-recvmmsg.c): Likewise.
3883         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3884         to kernel defined interfaces.
3885         (msghdr.msg_controllen): Likewise.
3886         (cmsghdr.cmsg_len): Likewise.
3887         (msghdr.__glibc_reserved1): Remove member.
3888         (msghdr.__glibc_reserved2): Likewise.
3889         (cmsghdr.__glibc_reserved1): Likewise.
3890         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3891         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3892         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3893         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3894         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3895         version.
3896         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3897         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3898         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3899         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3900         Remove recvmsg and sendmsg.
3901         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3902         Likewise.
3903         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3904         Likewise.
3905         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3906         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3907         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3908         Likewise.
3909         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3910         Likewise.
3911         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3912         [libc] (GLIBC_2.24): Likewise.
3913         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3914         Likewise.
3915         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3916         Likewise.
3917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3918         [libc] (GLIBC_2.24): Likewise.
3919         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3920         Likewise.
3921         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3922         Likewise.
3923         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3924         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3925         Likewise.
3926         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3927         Likewise.
3928         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3929         Likewise.
3930         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3931         Likewise.
3932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3933         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3934         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3935         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3936         version for {recv,send,recm,sendm}msg.
3937         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3938         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3939         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3940         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3941         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3942         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3943         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3944         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3945         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3946         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3947         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3948         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3950         Likewise.
3951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3952         Likewise.
3953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3955         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3956         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3957         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3958         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3959         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3960         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3963         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3964         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3965         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3967 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3969         [BZ #19564]
3970         Remove __malloc_initialize_hook from the API.
3971         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3972         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3973         #pragma GCC poison.
3974         * malloc/malloc-hooks.h: New file.
3975         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3976         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3977         (old__malloc_initialize_hook): Rename from
3978         __malloc_initialize_hook to evade poisoning.  Turn into compat
3979         symbol.
3980         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3981         __malloc_initialize_hook.
3982         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3983         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3984         * manual/memory.texi (Hooks for Malloc): Remove
3985         __malloc_initialize_hook.  Adjust hook example.
3987 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3989         [BZ #20235]
3990         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3991         itself.
3992         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3993         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3995         [BZ #20234]
3996         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3997         infinity or NaN input to itself.
3999         [BZ #20233]
4000         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4001         to itself.
4003         [BZ #20232]
4004         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4005         itself.
4007 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4009         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4010         __libc_start_main via GOT.
4012 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4014         * sysdeps/x86_64/memcopy.h: New file.
4015         * sysdeps/x86_64/wordcopy.c: Likewise.
4017 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4019         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4020         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4021         <cstdlib>.
4022         (optimization_barrier): New.
4023         (do_test): Use it.  Call quick_exit in the global namespace.
4024         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4025         instead of <cstdlib>, <thread>.
4026         (optimization_barrier): New.
4027         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4028         Call quick_exit in the global namespace.
4029         (do_test): Call optimization_barrier.  Use pthread_create,
4030         pthread_join instead of std::thread.
4032 2016-06-09  Andreas Schwab  <schwab@suse.de>
4034         [BZ #19755]
4035         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4036         new entries in auto-propagate mode.
4037         * nscd/grpcache.c (cache_addgr): Likewise.
4039 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4041         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4042         New functions.
4043         (add_temp_file): Use them.
4045 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4047         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4049 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4051         [BZ #20229]
4052         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4053         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4054         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4056         [BZ #20228]
4057         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4058         itself.
4059         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4060         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4062         [BZ #20227]
4063         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4064         itself.
4065         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4066         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4067         * math/libm-test.inc (log_test_data): Add sNaN tests.
4069         [BZ #20226]
4070         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4071         itself.
4072         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4073         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4074         (exp10_test_data): Likewise.
4075         (expm1_test_data): Likewise.
4077         [BZ #20225]
4078         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4079         itself.
4080         * math/s_ldexpf.c (__ldexpf): Likewise.
4081         * math/s_ldexpl.c (__ldexpl): Likewise.
4082         * math/w_scalbln.c (__w_scalbln): Likewise.
4083         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4084         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4085         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4086         (scalbln_test_data): Likewise.
4088         [BZ #20224]
4089         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4090         argument to itself.
4091         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4093 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4095         [BZ #19776]
4096         * sysdeps/x86_64/memcpy.S: Make it dummy.
4097         * sysdeps/x86_64/mempcpy.S: Likewise.
4098         * sysdeps/x86_64/memmove.S: New file.
4099         * sysdeps/x86_64/memmove_chk.S: Likewise.
4100         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4101         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4102         * sysdeps/x86_64/memmove.c: Removed.
4103         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4104         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4105         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4106         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4107         Likewise.
4108         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4109         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4111         memcpy-sse2-unaligned, memmove-avx-unaligned,
4112         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4113         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4114         (__libc_ifunc_impl_list): Replace
4115         __memmove_chk_avx512_unaligned_2 with
4116         __memmove_chk_avx512_unaligned.  Remove
4117         __memmove_chk_avx_unaligned_2.  Replace
4118         __memmove_chk_sse2_unaligned_2 with
4119         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4120         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4121         with __memmove_avx512_unaligned.  Replace
4122         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4123         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4124         with __memcpy_chk_avx512_unaligned.  Remove
4125         __memcpy_chk_avx_unaligned_2.  Replace
4126         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4127         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4128         Replace __memcpy_avx512_unaligned_2 with
4129         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4130         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4131         with __mempcpy_chk_avx512_unaligned.  Remove
4132         __mempcpy_chk_avx_unaligned_2.  Replace
4133         __mempcpy_chk_sse2_unaligned_2 with
4134         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4135         Replace __mempcpy_avx512_unaligned_2 with
4136         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4137         Replace __mempcpy_sse2_unaligned_2 with
4138         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4139         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4140         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4141         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4142         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4143         (ENTRY): Removed.
4144         (END): Likewise.
4145         (ENTRY_CHK): Likewise.
4146         (libc_hidden_builtin_def): Likewise.
4147         Don't include ../memcpy.S.
4148         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4149         __memcpy_chk_avx512_unaligned_erms and
4150         __memcpy_chk_avx512_unaligned.  Use
4151         __memcpy_chk_avx_unaligned_erms and
4152         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4153         Default to __memcpy_chk_sse2_unaligned.
4154         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4155         Change function suffix from unaligned_2 to unaligned.
4156         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4157         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4158         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4159         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4160         (ENTRY): Removed.
4161         (END): Likewise.
4162         (ENTRY_CHK): Likewise.
4163         (libc_hidden_builtin_def): Likewise.
4164         Don't include ../mempcpy.S.
4165         (mempcpy): New.  Add a weak alias.
4166         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4167         __mempcpy_chk_avx512_unaligned_erms and
4168         __mempcpy_chk_avx512_unaligned.  Use
4169         __mempcpy_chk_avx_unaligned_erms and
4170         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4171         Default to __mempcpy_chk_sse2_unaligned.
4173 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4175         [BZ #19881]
4176         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4177         into ...
4178         * sysdeps/x86_64/memset.S: This.
4179         (__bzero): Removed.
4180         (__memset_tail): Likewise.
4181         (__memset_chk): Likewise.
4182         (memset): Likewise.
4183         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4184         defined.
4185         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4186         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4187         (__memset_zero_constant_len_parameter): Check SHARED instead of
4188         PIC.
4189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4190         memset-avx2 and memset-sse2-unaligned-erms.
4191         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4192         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4193         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4194         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4195         (__bzero): Enabled.
4196         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4197         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4198         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4199         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4200         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4201         (memset): Removed.
4202         (__memset_chk): Likewise.
4203         (MEMSET_SYMBOL): New.
4204         (libc_hidden_builtin_def): Replace __memset_sse2 with
4205         __memset_sse2_unaligned.
4206         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4207         __memset_chk_sse2 and __memset_chk_avx2 with
4208         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4209         Use __memset_chk_sse2_unaligned_erms or
4210         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4211         __memset_chk_avx512_unaligned_erms and
4212         __memset_chk_avx512_unaligned.
4214 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4216         * math/gen-auto-libm-test.c (fp_format_desc): remove
4217         suffix member.
4218         (output_generic_value): Remove usage of suffix member,
4219         and the resulting unuse of the fp_format argument.
4220         (output_for_one_input_case): Remove unused fp_format
4221         parameter.
4223         * math/auto-libm-test-out: Regenerate.
4225         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4226         usage with TEST_COND_ibm128.
4227         (TEST_COND_flt_32): Remove.
4228         (TEST_COND_dbl_64): Remove.
4229         (TEST_COND_ldbl_96_intel): Remove.
4230         (TEST_COND_ldbl_96_m68k): Remove.
4231         (TEST_COND_ldbl_128): Remove.
4233 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4235         * auto-libm-test-in:
4236         Replace flt-32 usage with binary32.
4237         Replace dbl-64 usage with binary64.
4238         Replace ldbl-intel-96 usage with intel96.
4239         Replace ldbl-m68k-96 usage with m68k96.
4240         Replace ldbl-128ibm usage with ibm128.
4241         Replace ldbl-128 usage with binary128.
4243         * auto-libm-test-out: Regenerate.
4245 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4247         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4248         (parse_ulps): Dynamically generate type name matching
4249         string from all_floats.
4250         (get_ulps): Generate the ulps as an array instead.
4251         (output_ulps): Dynamically compose the type based
4252         on the number of supported formats, and print
4253         the indices as type specific helper macros.
4255         * math/libm-test.inc: Remove comment about CHOOSE.
4256         (ulp_data): Generate the type in libm-test-ulps.h.
4257         (ULP_IDX): New macro.
4258         (find_ulps): Update usage of max_ulp.
4260         * math/test-double-vlen2.h (CHOOSE): Remove.
4261         * math/test-double-vlen4.h (CHOOSE): Likewise.
4262         * math/test-double-vlen8.h (CHOOSE): Likewise.
4263         * math/test-float.c (CHOOSE): Likewise.
4264         * math/test-float-finite.c (CHOOSE): Likewise.
4265         * math/test-double.c (CHOOSE): Likewise.
4266         * math/test-double-finite.c (CHOOSE): Likewise.
4267         * math/test-idouble.c (CHOOSE): Likewise.
4268         * math/test-ifloat.c (CHOOSE): Likewise.
4269         * math/test-ildoubl.c (CHOOSE): Likewise.
4270         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4271         * math/test-ldouble.c (CHOOSE): Likewise.
4273         * math/test-float.h (TEST_FLOAT): Remove.
4274         * math/test-double.h (TEST_DOUBLE): Likewise.
4275         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4277 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4279         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4280         (parse_args): Strip C suffix from floating point literals
4281         typed with 'f' and wrap them with LIT().
4283         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4284         (test_ff_f_data_nexttoward): Rename to
4285         (test_fj_f_data): New struct.
4286         (nexttoward_test_data): Relabel tests as
4287         TEST_fj_f instead of TEST_ff_f.
4289 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4291         Emacs bug 23726.
4292         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4293         (__libc_realloc): Correct size computation for dumped fake mmapped
4294         chunks.
4296 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4298         [BZ #20219]
4299         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4300         to itself.
4301         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4303         [BZ #20218]
4304         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4305         to itself.
4306         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4308 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4310         [BZ #20195]
4311         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4312         check to ...
4313         (init_cpu_features): Here.
4315 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4317         [BZ #20214]
4318         * sysdeps/unix/sysv/linux/bits/in.h
4319         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4320          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4321         Define to 1.
4322         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4323          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4324         Define to 0.
4325         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4326         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4328 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4330         [BZ #20198]
4331         * stdlib/Makefile (tests): Add tst-quick_exit, and
4332         tst-thread-quick_exit.
4333         [ifeq ($(have-cxx-thread_local),yes)]
4334         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4335         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4336         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4337         (LDLIBS-tst-thread-quick_exit): Likewise.
4338         [ifneq ($(have-cxx-thread_local),yes)]
4339         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4340         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4341         If run_dtors is true call __call_tls_dtors.
4342         (exit): Call __run_exit_handlers with run_dtors set to true.
4343         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4344         definition.
4345         * stdlib/quick_exit.c (quick_exit): Remove function.
4346         (__new_quick_exit): New function.
4347         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4348         function.
4349         * stdlib/tst-quick_exit.cc: New file.
4350         * stdlib/tst-thread-quick_exit.cc: New file.
4351         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4352         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4353         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4354         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4355         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4356         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4357         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4358         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4359         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4360         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4361         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4362         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4363         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4364         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4365         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4366         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4371         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4372         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4373         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4374         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4375         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4378         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4379         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4380         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4382 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4384         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4385         a typo in comments.
4387 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4389         [BZ #20213]
4390         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4391         argument to itself.
4392         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4394 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4396         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4397         required flags.
4398         (CFLAGS-pwritev64.c): Likewise.
4399         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4400         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4401         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4402         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4403         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4404         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4405         syscall from auto-generation.
4406         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4407         [WORDSIZE == 64] (pwritev64): Remove macro.
4408         [!PWRITEV] (PWRITEV): Likewise.
4409         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4410         [!PWRITEV] (PWRITE): Likewise.
4411         [!PWRITEV] (OFF_T): Likewise.
4412         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4413         (LO_HI_LONG): Remove macro.
4414         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4415         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4416         (PWRITEV): Remove macro.
4417         (PWRITEV_REPLACEMENTE): Likewise.
4418         (PWRITE): Likewise.
4419         (OFF_T): Likewise.
4420         (pwritev64): New function.
4421         * nptl/tst-cancel4.c (tf_writev): Add test.
4423         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4424         required flags.
4425         (CFLAGS-preadv64.c): Likewise.
4426         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4427         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4428         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4429         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4430         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4431         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4432         syscall from auto-generation.
4433         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4434         [WORDSIZE == 64] (preadv64): Remove macro.
4435         [!PREADV] (PREADV): Likewise.
4436         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4437         [!PREADV] (PREAD): Likewise.
4438         [!PREADV] (OFF_T): Likewise.
4439         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4440         (LO_HI_LONG): Remove macro.
4441         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4442         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4443         (PREADV): Remove macro.
4444         (PREADV_REPLACEMENTE): Likewise.
4445         (PREAD): Likewise.
4446         (OFF_T): Likewise.
4447         (preadv64): New function.
4448         * nptl/tst-cancel4.c (tf_preadv): Add test.
4450 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4452         [BZ #20212]
4453         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4454         argument to itself.
4455         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4457 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4459         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4460         New symbol defined as libc_hidden_def.
4461         (strcasestr): Became a weak alias to __strcasestr.
4462         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4463         according to multi-arch support.  Move __stpncpy hidden
4464         definition from here to...
4465         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4466         symbol stpncpy.
4467         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4468         libc_hidden_builtin_def.
4469         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4470         memset symbol to use when multi-arch support is available.
4472 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4474         * dlfcn/tst-rec-dlopen.c: Include string.h.
4476 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4478         * manual/install.texi: Remove mention of --without-tls
4479         * INSTALL: Regenerate.
4481 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4483         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4484         Remove.
4485         (call_function, interposed_malloc_called): New variables.
4486         (malloc): New function.
4487         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4488         and clear call_function as needed.
4490 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4492         * include/wchar.h (__wmemset): Use __typeof.
4494 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4496         * include/wchar.h (__wmemset): Declare function without typeof.
4498 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4500         [BZ #20205]
4501         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4502         exponent when incrementing negative subnormal with low mantissa
4503         word zero.
4504         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4505         Add another test.
4507 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4509         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4510         __wmemset instead of wmemset.
4512 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4514         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4515         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4516         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4517         __USE_KERNEL_IPV6_DEFS to 0.
4518         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4519         Update comment.
4521 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4523         [BZ #19861]
4524         Do not use IFUNC resolver with potentially unrelocated symbol.
4525         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4526         (DEFINE_FORK): Remove macro and inline definition.
4527         (fork_alias): Renamed from fork_ifunc.
4528         (__fork_alias): Renamed from __fork_ifunc.
4530 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4532         [BZ 19653]
4533         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4534         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4536 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4538         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4539         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4540         i386-linux-gnu).
4541         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4542         Set to no.
4543         * sysdeps/mach/hurd/configure: Refresh.
4545 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4547         [BZ #20178]
4548         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4549         on failure instead of exit.
4551 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4553         [BZ #3629]
4554         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4555         of POSIX.1-2008.
4557 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4559         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4560           Use PLT entry for calling _hurd_self_sigstate.
4562 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4564         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4565         available logical processors with SMT level type sharing L2
4566         cache for Intel processors.
4568 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4570         [BZ #20160]
4571         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4572         argument to itself before returning the result.
4573         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4574         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4575         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4576         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4577         Likewise.
4578         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4579         Likewise.
4580         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4581         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4582         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4583         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4584         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4585         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4587         [BZ #20160]
4588         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4589         argument to itself before returning the result.
4590         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4591         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4592         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4593         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4594         Likewise.
4595         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4596         Likewise.
4597         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4598         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4599         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4600         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4601         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4602         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4604 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4606         * libm-test.inc: Replace usage of M_El with
4607         (lit_e): New macro.
4609 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4611         * libm-test.inc: Replace usage of M_PI_4l with
4612         (lit_pi_4_d): New macro.
4614 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4616         * libm-test.inc: Replace usage of M_PIl with
4617         (lit_pi): New macro.
4619 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4621         * libm-test.inc: Replace usage of M_PI2l with
4622         (lit_pi_2_d): New macro.
4624         * math/test-double.h (LITM): New macro.
4625         * math/test-float.h (LITM): Likewise.
4626         * math/test-ldouble.h (LITM): Likewise.
4628 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4630         * libm-test.inc (M_PI_34l): Rename to
4631         (lit_pi_3_m_4_d): New Macro.
4632         (M_PI_34_LOG10El): Rename to
4633         (lit_pi_3_m_4_ln10_m_d): New Macro.
4634         (M_PI2_LOG10El): Rename to
4635         (lit_pi_2_ln10_m_d):  New Macro.
4636         (M_PI4_LOG10El): Rename to
4637         (lit_pi_4_ln10_m_d):  New Macro.
4638         (M_PI_LOG10El): Rename to
4639         (lit_pi_ln10_d):  New Macro.
4641 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4643         [BZ #20157]
4644         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4645         determine whether to negate low half if [_ARCH_PPCGR], and integer
4646         comparison otherwise.
4647         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4648         determine whether to negate low half.
4650         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4651         (NO_TEST_INLINE_DOUBLE): Likewise.
4652         (TEST_COND_x86_64): Likewise.
4653         (TEST_COND_x86): Likewise.
4654         (M_PI_6l): Likewise.
4656 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4658         * math/libm-test.inc:
4659         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4660         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4661         (TEST_LDOUBLE): Update usage to evaluate as true if
4662         the guarded tests match the property being tested.
4663         (LDBL_MAX_EXP): Change to MAX_EXP.
4664         (LDBL_MIN_EXP): Change to MIN_EXP.
4665         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4666         nexttoward tests.
4668 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4670         * math/libm-test.inc:
4671         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4672         (TYPE_MIN): Likewise.
4673         (TYPE_TRUE_MIN): Likewise.
4674         (TYPE_MAX): Likewise.
4675         (MIN_EXP): Likewise.
4676         (MAX_EXP): Likewise.
4677         (MANT_DIG): Likewise.
4679         (FSTR_MAX): New macro.
4680         (__CONCATX): Likewise.
4681         (QTYPE_STR): Likewise.
4682         (TEST_COND_binary32): Likewise.
4683         (TEST_COND_binary64): Likewise.
4684         (TEST_COND_binary128): Likewise.
4685         (TEST_COND_ibm128): Likewise.
4686         (TEST_COND_intel96): Likewise.
4687         (TEST_COND_m68k96): Likewise.
4689         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4690         (TEST_COND_dbl_64): Likewise.
4691         (TEST_COND_ldbl_96_intel): Likewise.
4692         (TEST_COND_ldbl_96_m68k): Likewise.
4693         (TEST_COND_ldbl_128): Likewise.
4694         (TEST_COND_ldbl_128ibm): Likewise.
4696         (plus_zero): Redefine using LIT macro.
4697         (minus_zero): Likewise.
4698         (plus_infty): Redefine as (INF).
4699         (minux_infty): Redefine as (-INF).
4700         (max_value): Redefine as TYPE_MAX.
4701         (min_value): Redefine as TYPE_MIN.
4702         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4704         (print_float): Refactor to use snprintf to convert FLOAT values
4705         to string. This brings it closer to dropin replacement of strtof
4706         for the TS 18661 defined types.
4707         (update_stats): Likewise.
4708         (print_complex_function_ulps): Likewise.
4709         (print_max_error): Likewise.
4710         (print_complex_max_error): Likewise.
4711         (check_float_internal): Likewise.
4713         * math/test-float.h (PREFIX): New macro.
4714         (LIT): Likewise.
4715         (TYPE_STR): Likewise.
4716         (FTOSTR): Likewise.
4718         * math/test-double.h (PREFIX): New macro.
4719         (LIT): Likewise.
4720         (TYPE_STR): Likewise.
4721         (FTOSTR): Likewise.
4723         * math/test-ldouble.h (PREFIX): New macro.
4724         (LIT): Likewise.
4725         (TYPE_STR): Likewise.
4726         (FTOSTR): Likewise.
4728 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4730         [BZ #20156]
4731         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4732         to itself when zero or not finite.
4733         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4734         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4735         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4736         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4738 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4740         [BZ #20153]
4741         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4742         x * x + x for infinities and NaNs.
4744         [BZ #20151]
4745         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4746         argument to itself before returning result.
4747         (__ieee754_y0l): Likewise.
4748         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4749         (__ieee754_y1l).
4751         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4752         (atan_test_data): Likewise.
4753         (ceil_test_data): Likewise.
4754         (cos_test_data): Likewise.
4755         (cosh_test_data): Likewise.
4756         (erf_test_data): Likewise.
4757         (exp2_test_data): Likewise.
4758         (fabs_test_data): Likewise.
4759         (floor_test_data): Likewise.
4760         (ilogb_test_data): Likewise.
4761         (j0_test_data): Likewise.
4762         (j1_test_data): Likewise.
4763         (jn_test_data): Likewise.
4764         (lgamma_test_data): Likewise.
4765         (lrint_test_data): Likewise.
4766         (llrint_test_data): Likewise.
4767         (logb_test_data): Likewise.
4768         (lround_test_data): Likewise.
4769         (llround_test_data): Likewise.
4770         (nearbyint_test_data): Likewise.
4771         (rint_test_data): Likewise.
4772         (round_test_data): Likewise.
4773         (sin_test_data): Likewise.
4774         (sincos_test_data): Likewise.
4775         (sinh_test_data): Likewise.
4776         (sqrt_test_data): Likewise.
4777         (tan_test_data): Likewise.
4778         (tanh_test_data): Likewise.
4779         (tgamma_test_data): Likewise.
4780         (trunc_test_data): Likewise.
4781         (y0_test_data): Likewise.
4782         (y1_test_data): Likewise.
4783         (yn_test_data): Likewise.
4785         * math/libm-test.inc: Update comment about NaN testing.
4786         (TEST_SNAN): New macro.
4787         (snan_value): Likewise.
4788         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4789         (fpclassify_test_data): Add sNaN tests.
4790         (isfinite_test_data): Likewise.
4791         (isinf_test_data): Likewise.
4792         (isnan_test_data): Likewise.
4793         (isnormal_test_data): Likewise.
4794         (issignaling_test_data): Likewise.
4795         (signbit_test_data): Likewise.
4796         * math/gen-libm-test.pl (%beautify): Add snan_value.
4797         (show_exceptions): Add argument $test_snan.
4798         (parse_args): Handle snan_value as non-finite.  Update call to
4799         show_exceptions.
4800         * math/Makefile (libm-test-no-inline-cflags): Add
4801         -fsignaling-nans.
4803 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4805         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4806         (CFLAGS-oldsendmsg.c): Add rule.
4807         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4808         Correct recvmsg symbol name.
4809         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4810         Likewise.
4812 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4814         * sysdeps/unix/sysv/linux/Makefile
4815         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4816         oldsendmmsg.
4817         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4818         sendmmsg.
4819         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4820         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4821         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4822         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4824         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4825         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4827         Likewise.
4828         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4829         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4830         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4831         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4832         iovlen and controllen fields to adjust to POSIX specification.
4833         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4835         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4836         and change to correct expected type.
4837         (msghdr.msg_controllen): Likewise.
4838         (cmsghdr.cmsg_len): Likewise.
4839         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4840         expected POSIX assumption about the size.
4841         (msghdr.msg_controllen): Likewise.
4842         (msghdr.__glibc_reserved1): Likewise.
4843         (msghdr.__glibc_reserved2): Likewise.
4844         (cmsghdr.cmsg_len): Likewise.
4845         (cmsghdr.__glibc_reserved1): Likewise.
4846         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4847         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4848         (CFLAGS-sendmsg.c): Remove rule.
4849         (CFLAGS-recvmsg.c): Likewise.
4850         (CFLAGS-oldsendmsg.c): Add rule.
4851         (CFLAGS-oldrecvmsg.c): Likewise.
4852         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4853         recvmsg and sendmsg.
4854         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4855         Likewise.
4856         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4857         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4858         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4859         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4860         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4861         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4862         Likewise.
4863         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4864         Likewise.
4865         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4866         Likewise.
4867         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4868         Likewise.
4869         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4870         Likewise.
4871         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4872         Likewise.
4873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4874         (GLIBC_2.24): Likewise.
4875         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4876         Likewise.
4877         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4878         Likewise.
4879         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4880         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4881         Likewise.
4882         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4883         Likewise.
4884         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4885         Likewise.
4886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4887         (GLIBC_2.24): Likewise.
4888         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4889         Likewise.
4890         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4891         Likewise.
4892         * sysdeps/unix/sysv/linux/Makefile
4893         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4894         (CFLAGS-sendmsg.c): Add rule.
4895         (CFLAGS-recvmsg.c): Likewise.
4896         (CFLAGS-oldsendmsg.c): Likewise.
4897         (CFLAGS-oldrecvmsg.c): Likewise.
4898         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4899         initialization.
4900         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4901         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4902         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4903         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4904         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4905         iovlen and controllen fields to adjust to POSIX specification.
4906         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4907         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4908         added recvmsg and sendmsg.
4909         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4910         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4911         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4912         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4913         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4914         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4915         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4916         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4917         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4918         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4919         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4920         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4922         Likewise.
4923         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4925         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4926         Likewise.
4927         Likewise.
4928         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4929         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4930         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4931         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4932         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4933         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4935         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4937         Likewise.
4938         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4939         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4941         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4942         from auto-generation.
4943         (sendmsg): Likewise.
4944         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4945         (sendmsg): Likewise.
4946         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4947         (sendmsg): Likewise.
4948         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4949         (sendmsg): Likewise.
4950         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4951         (sendmsg): Likewise.
4952         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4953         (sendmsg): Likewise.
4954         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4955         Likewise.
4956         (sendmsg): Likewise.
4957         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4958         (sendmsg): Likewise.
4959         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4960         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4961         Remove.
4962         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4963         Likewise.
4964         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4965         Undefine.
4966         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4967         Likewise.
4968         * sysdeps/unix/sysv/linux/kernel-features.h
4969         (__ASSUME_SENDMSG_SYSCALL): Define.
4970         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4971         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4972         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4973         Remove.
4974         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4975         Likewise.
4976         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4977         Undefine.
4978         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4979         Likewise.
4980         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4981         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4982         Remove.
4983         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4984         Likewise.
4985         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4986         Undefine.
4987         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4988         Likewise.
4989         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4990         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4991         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4992         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4993         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4994         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4995         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4996         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4997         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4999 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5001         * stdlib/gen-tst-strtod-round.c: Add backslash to
5002         compile command in comment.
5003         (printfp): Remove the literal suffix, and define an infinite
5004         value as INF to avoid expansion clash with INFINITY.
5005         (round_str): Remove the literal suffix.
5006         (round_for_all): Likewise, remove the now duplicate ldbl-64
5007         entry, and remove some magic constants.
5009         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5010         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5011         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5012         (_CONCAT): New macro.
5013         (CONCAT): Likewise.
5014         (CHOOSE_ld): Likewise.
5015         (CHOOSE_f): Likewise.
5016         (CHOOSE_d): Likewise.
5017         (FTYPE_MEMBER): Likewise.
5018         (BOOL_MEMBER): Likewise.
5019         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5020         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5021         (_XNTRY): Likewise.
5022         (XNTRY): Likewise.
5023         (_ENTRY): Likewise.
5024         (ENTRY): Likewise.
5025         (test_exactness): Generate members via macro.
5026         (test_results): Likewise.
5027         (test): Update members.
5028         (TEST): Redefine using new macros.
5029         (INF): New macro.
5030         (fetestmodes): New structure.
5031         (do_test): Refactor to be type generic.
5032         (test_in_one_mode): Refactor duplicate code into
5033         (GEN_ONE_TEST): New macro.
5035         * stdlib/tst-strtod-round-data.h: Regenerate.
5037         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5038         Extend to pass additional arbitrary parameters to
5039         generators.
5041 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5043         [BZ #15479]
5044         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5045         floating-point state after first floating-point operation on
5046         input.  Restore full floating-point state instead of just rounding
5047         mode.
5048         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5049         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5050         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5051         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5052         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5054         [BZ #15479]
5055         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5056         floating-point state after first floating-point operation on
5057         input.  Restore full floating-point state instead of just rounding
5058         mode.
5059         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5060         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5061         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5062         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5063         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5065 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5067         [BZ #19727]
5068         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5069         valid high surrogate.
5070         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5071         of an utf16 surrogate.
5072         * iconv/gconv_simple.c (BODY): Likewise.
5073         * iconvdata/bug-iconv12.c: New file.
5074         * iconvdata/Makefile (tests): Add bug-iconv12.
5076 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5078         [BZ #19726]
5079         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5080         outptrp in case of an illegal input.
5081         * iconv/tst-iconv6.c: New file.
5082         * iconv/Makefile (tests): Add tst-iconv6.
5084 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5086         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5087         an error in case of a value in range of an utf16 low surrogate.
5089 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5091         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5092         an error in case of a value in range of an utf16 low surrogate.
5094 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5096         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5097         Move to ...
5098         * sysdeps/s390/Makefile: ... here.
5099         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5100         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5101         (BRANCH_ON_COUNT): New define.
5102         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5103         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5104         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5105         run on s390-32, too.
5106         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5107         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5108         run on s390-32, too.
5109         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5110         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5111         run on s390-32, too.
5113 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5115         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5116         etf3eh or new vector loop-variant.
5118 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5120         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5121         etf3eh or new vector loop-variant.
5123 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5125         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5126         or new vector loop-variant.
5128 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5130         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5131         Rename to TR_LOOP and usage of tr instead of troo instruction.
5133 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5135         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5136         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5138 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5140         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5141         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5142         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5143         New override define.
5144         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5146 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5148         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5149         * sysdeps/s390/configure.ac: Add test for S390 vector register
5150         support in gcc.
5151         * sysdeps/s390/configure: Regenerated.
5153 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5155         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5156         Install file from $(objpfx)gconv-modules.
5157         ($(objpfx)gconv-modules): Concatenate architecture specific file
5158         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5159         * sysdeps/s390/gconv-modules: New file.
5160         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5161         Deleted.
5162         ($(objpfx)gconv-modules-s390): Deleted.
5163         (sysdeps-gconv-modules): New variable.
5165 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5167         [BZ #15479]
5168         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5169         of immediate operand to rounding instruction.
5170         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5171         Likewise.
5172         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5173         Likewise.
5174         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5175         Likewise.
5177 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5179         * math/libm-test.inc (MIN_EXP): Directly define as
5180         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5182 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5184         * math/libm-test.inc (MANT_DIG): Directly define as
5185         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5187 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5189         * stdlib/gen-tst-strtod-round.c (main):
5190           Change usage to more closely match the generated
5191           output.  Add usage and compilation instructions.
5192           (string_to_fp): Add and use FILE* parameter as
5193           output target.
5194           (print_fp): Likewise.
5195           (round_str): Likewise.
5196           (round_for_all): Likewise.
5197         * stdlib/tst-strtod-round.c (tests): Move into
5198         * stdlib/tst-strtod-round-data.h: New file.
5200 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5202         [BZ #15479]
5203         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5204         (__round): Do not force "inexact" exception.
5205         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5206         variable.
5207         (__round): Do not force "inexact" exception.
5208         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5209         (__roundf): Do not force "inexact" exception.
5210         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5211         (__roundl): Do not force "inexact" exception.
5212         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5213         (__roundl): Do not force "inexact" exception.
5214         * math/libm-test.inc (round_test_data): Do not allow spurious
5215         "inexact" exceptions.
5217         [BZ #15479]
5218         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5219         exception in comment.
5220         (huge): Remove variable.
5221         (__floor): Do not force "inexact" exception.
5222         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5223         "inexact" exception in comment.
5224         (huge): Remove variable.
5225         (__floor): Do not force "inexact" exception.
5226         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5227         exception in comment.
5228         (huge): Remove variable.
5229         (__floorf): Do not force "inexact" exception.
5230         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5231         exception in comment.
5232         (huge): Remove variable.
5233         (__floorl): Do not force "inexact" exception.
5235         [BZ #15479]
5236         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5237         exception in comment.
5238         (huge): Remove variable.
5239         (__ceil): Do not force "inexact" exception.
5240         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5241         "inexact" exception in comment.
5242         (huge): Remove variable.
5243         (__ceil): Do not force "inexact" exception.
5244         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5245         (__ceilf): Do not force "inexact" exception.
5246         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5247         exception in comment.
5248         (huge): Remove variable.
5249         (__ceill): Do not force "inexact" exception.
5251 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5253         * config.h.in (BIND_NOW): New.
5254         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5255         * configure: Regenerated.
5256         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5257         indirect branch via the GOT slot.
5259 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5261         [BZ #19765]
5262         * sysdeps/s390/mempcpy.S: New File.
5263         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5264         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5265         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5266         Add mempcpy variants.
5267         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5268         (memcpy): Adjust to be usable from mempcpy entry point.
5269         (__memcpy_mvcle): Likewise.
5270         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5271         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5272         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5273         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5274         (__memcpy_z10): Likewise.
5275         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5277 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5279         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5280         Remove __GI_ symbol.
5281         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5282         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5283         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5284         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5285         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5286         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5288 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5290         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5291         Use cghi instead of chi to compare 64bit value.
5293 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5295         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5296         Jump to 1MB check before executing mvc-loop.
5298 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5300         [BZ #6527]
5301         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5302         unconditionally.
5303         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5305 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5307         * stdlib/tst-strtod6.c (do_test): Use new type generic
5308         invocation of the test function.
5309         (test): Refactor into ...
5310         (TEST_STRTOD): New macro base function.
5312 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5314         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5315         (TEST_STRTOD): New macro.
5316         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5318 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5320         * stdlib/tst-strtod6.c (do_test): Use new type generic
5321         invocation of the test function.
5322         (test): Refactor into ...
5323         (TEST_STRTOD): New macro base function.
5325 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5327         CVE-2016-4429
5328         [BZ #20112]
5329         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5330         payload.
5332 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5334         [BZ #20111]
5335         * bits/sockaddr.h (_SS_SIZE): Define.
5336         * bits/socket.h (_SS_SIZE): Remove.
5337         (_SS_PADSIZE): Adjust to account for all padding.
5338         (struct sockaddr_storage): Update comment.  Avoid implicit
5339         padding.
5340         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5341         (_SS_PADSIZE): Adjust to account for all padding.
5342         (struct sockaddr_storage): Update comment.  Avoid implicit
5343         padding.
5344         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5345         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5346         (_SS_PADSIZE): Adjust to account for all padding.
5347         (struct sockaddr_storage): Update comment.  Avoid implicit
5348         padding.
5349         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5350         __SS_SIZE is 126 in this version.
5351         * inet/tst-sockaddr.c: New file.
5352         * inet/Makefile (tests): Add tst-sockaddr.c
5353         (tst-sockaddr.c): Compile with non-strict aliasing.
5355 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5357         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5358         [XPG3 || XPG4].
5359         (NL_ARGMAX): Also expect for [XPG3].
5360         (NL_LANGMAX): Likewise.
5361         (NL_MSGMAX): Likewise.
5362         (NL_NMAX): Likewise.
5363         (NL_SETMAX): Likewise.
5364         (NL_TEXTMAX): Likewise.
5365         (NZERO): Likewise.
5366         (TMP_MAX): Likewise.
5367         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5368         variable.
5370         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5371         (PF_MAX): Update value.
5372         (AF_KCM): New macro.
5373         (SOL_NETBEUI): Likewise.
5374         (SOL_LLC): Likewise.
5375         (SOL_DCCP): Likewise.
5376         (SOL_NETLINK): Likewise.
5377         (SOL_TIPC): Likewise.
5378         (SOL_RXRPC): Likewise.
5379         (SOL_PPPOL2TP): Likewise.
5380         (SOL_BLUETOOTH): Likewise.
5381         (SOL_PNPIPE): Likewise.
5382         (SOL_RDS): Likewise.
5383         (SOL_IUCV): Likewise.
5384         (SOL_CAIF): Likewise.
5385         (SOL_ALG): Likewise.
5386         (SOL_NFC): Likewise.
5387         (SOL_KCM): Likewise.
5388         (MSG_BATCH): New enum value and macro.
5390 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5392         [BZ #18185]
5393         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5394         sharing L2 cache to 2 for Knights Landing.
5396 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5398         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5399         (FTW_DP): Do not expect for [XPG3 || XPG4].
5400         (FTW_SL): Do not expect for [XPG3].
5401         (FTW_SLN): Likewise.
5402         (FTW_PHYS): Likewise.
5403         (FTW_MOUNT): Likewise.
5404         (FTW_DEPTH): Likewise.
5405         (FTW_CHDIR): Likewise.
5406         (nftw): Likewise.
5407         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5408         variable.
5410 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5412         * manual/errno.texi: Fix various typos & grammar errors.
5414 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5416         * manual/intro.texi: Fix duplicated typo.
5418 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5420         [BZ #13304]
5421         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5422         <float.h>, <math_private.h> and <stdlib.h>.
5423         (add_split): New function.
5424         (mul_split): Likewise.
5425         (ext_val): New typedef.
5426         (store_ext_val): New function.
5427         (mul_ext_val): New function.
5428         (compare): New function.
5429         (add_split_ext): New function.
5430         (__fmal): After checking for Inf, NaN and zero, compute result as
5431         an exact sum of scaled double values in round-to-nearest before
5432         adding those up and adjusting for other rounding modes.
5433         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5434         tests of fma.
5435         * math/auto-libm-test-out: Regenerated.
5437 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5439         [BZ #20119]
5440         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5441         processor level type mask for CPUID with EAX == 11.
5443 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5445         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5446         logical threads if the HTT bit is 0.
5447         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5448         (index_cpu_HTT): Likewise.
5449         (reg_HTT): Likewise.
5451 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5453         [BZ #20115]
5454         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5455         Remove alignments on jump targets.
5457 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5459         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5460         (getpwent): Likewise.
5461         (setpwent): Likewise.
5462         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5463         variable.
5465         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5466         (remque): Likewise.
5467         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5468         variable.
5470 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5472         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5473         not being tested.
5475 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5477         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5478         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5479         call.
5480         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5481         (__condvar_cleanup1): Likewise.
5483 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5485         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5486         New
5487         (__pthread_unwind): Renamed to ...
5488         (PTHREAD_UNWIND): This.
5489         (__pthread_enable_asynccancel): Replace
5490         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5492 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5494         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5495         (CLONE_NEWCGROUP): New macro.
5497         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5498         (Q_GETNEXTQUOTA): New macro.
5500 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5502         [BZ #19907]
5503         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5504         buffer updated by the previous run.
5505         * string/test-memcpy.c (do_one_test): Likewise.
5506         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5507         * string/test-memmove.c (do_one_test): Likewise.
5509 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5511         [BZ #20094]
5512         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5513         not [__USE_XOPEN].
5514         (unlockpt): Likewise.
5515         (ptsname): Likewise.
5516         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5517         variable.
5519         [BZ #20076]
5520         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5521         instead of [__USE_UNIX98].
5522         (S_ISSOCK): Likewise.
5523         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5524         variable.
5526         [BZ #20074]
5527         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5528         [__USE_POSIX].
5529         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5530         variable.
5532         [BZ #20051]
5533         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5534         (ttyslot): Do not declare.
5535         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5536         (ttyslot): New prototype.
5537         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5538         variable.
5539         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5541 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5543         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5545 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5547         Fix race condition in tst-mallocfork2, use fewer resources.
5548         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5549         to current process group.
5550         (signal_sender): Yield in the non-sleeping case.
5552 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5554         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5555         (ecvt): Likewise.
5556         (fcvt): Likewise.
5557         (gcvt): Likewise.
5558         (getsubopt): Likewise.
5559         (grantpt): Likewise.
5560         (initstate): Likewise.
5561         (l64a): Likewise.
5562         (mktemp): Likewise.
5563         (mkstemp): Likewise.
5564         (ptsname): Likewise.
5565         (random): Likewise.
5566         (realpath): Likewise.
5567         (setstate): Likewise.
5568         (srandom): Likewise.
5569         (ttyslot): Likewise.
5570         (unlockpt): Likewise.
5571         (valloc): Likewise.
5573         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5574         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5575         variable.
5577 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5579         [BZ #20072]
5580         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5581         init_cpu_features only if SHARED is defined.
5582         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5584 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5586         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5587         non-inclusive caches on Intel processors.
5589 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5591         * malloc/malloc.c (dumped_main_arena_start)
5592         (dumped_main_arena_end): New variables.
5593         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5594         (do_check_chunk): Skip dumped fake mmapped chunks.
5595         (munmap_chunk): Likewise.
5596         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5597         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5598         mmapped chunks.
5599         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5600         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5601         and dumped_main_arena_end to cover the dumped heap.
5603 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5605         * conform/data/time.h-data (getdate_err): Do not expect for
5606         [XPG3].
5607         (getdate): Likewise.
5608         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5609         variable.
5611         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5612         (F_ULOCK): Likewise.
5613         (F_TEST): Likewise.
5614         (F_TLOCK): Likewise.
5615         (useconds_t): Likewise.
5616         (intptr_t): Do not expect for [XPG3] or [XPG4].
5617         (brk): Do not expect for [XPG3]
5618         (fchown): Likewise.
5619         (fchdir): Likewise.
5620         (ftruncate): Likewise.
5621         (getdtablesize): Likewise.
5622         (gethostid): Likewise.
5623         (getpagesize): Likewise.
5624         (getpgid): Likewise.
5625         (getsid): Likewise.
5626         (getwd): Likewise.
5627         (lchown): Likewise.
5628         (lockf): Likewise.
5629         (readlink): Likewise.
5630         (sbrk): Likewise.
5631         (setpgrp): Likewise.
5632         (setregid): Likewise.
5633         (setreuid): Likewise.
5634         (symlink): Likewise.
5635         (sync): Likewise.
5636         (truncate): Likewise.
5637         (ualarm): Likewise.
5638         (usleep): Likewise.
5639         (vfork): Likewise.
5640         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5641         variable.
5643         [BZ #20054]
5644         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5645         not [__USE_UNIX98].
5646         * conform/data/unistd.h-data (gethostname): Do not expect for
5647         [XPG3].
5649         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5650         [!POSIX] (S_IFBLK): Likewise.
5651         [!POSIX] (S_IFCHR): Likewise.
5652         [!POSIX] (S_IFIFO): Likewise.
5653         [!POSIX] (S_IFREG): Likewise.
5654         [!POSIX] (S_IFDIR): Likewise.
5655         [!POSIX] (S_IFLNK): Likewise.
5656         [!POSIX] (S_IFSOCK): Likewise.
5657         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5658         variable.
5659         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5661 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5663         * sysdeps/aarch64/memset.S (__memset):
5664         Rewrite of optimized memset.
5666 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5668         [BZ #19703]
5669         Partially async-signal-safe fork for single-threaded processes.
5670         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5671         variable.  Do not acquire and reset/release malloc and libio locks
5672         in single-threaded processes.
5673         * malloc/tst-mallocfork2.c: New file.
5674         * malloc/Makefile (tests): Add it.
5676 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5678         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5679         argument.  Use scratch buffer instead of extend_alloca.
5680         (gethosts): Use scratch buffer instead of extend_alloca.
5681         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5682         extend_alloca.
5683         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5685 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5687         [BZ #20055]
5688         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5689         instead of [__USE_UNIX98].
5690         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5691         [__USE_UNIX98].
5692         * conform/data/termios.h-data (tcgetsid): Do not expect for
5693         [XPG3].
5694         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5695         variable.
5696         (test-xfail-XPG4/termios.h/conform): Likewise.
5698 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5700         Do not use mcheck in localedef.
5701         * locale/programs/localedef.c (turn_on_mcheck)
5702         (__malloc_initialize_hook): Remove.
5704 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5706         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5707         * sysdeps/s390/s390-64/Makefile: Likewise.
5709 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5711         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5712         Remove ifunc-defines.sym.
5713         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5714         Likewise.
5715         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5716         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5717         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5718         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5719         rtld-global-offsets.sym.
5720         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5721         * sysdeps/x86/cpu-features-offsets.sym: This.
5722         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5723         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5725 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5727         [BZ #20073]
5728         * io/sys/stat.h (fchmod): Declare for
5729         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5730         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5731         variable.
5733         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5734         [XPG3] (S_IFSOCK): Likewise.
5735         [XPG3] (S_ISVTX): Likewise.
5736         [XPG3] (S_ISLNK): Likewise.
5737         [XPG3] (S_ISSOCK): Likewise.
5738         [XPG3] (fchmod): Likewise.
5739         [XPG3] (lstat): Likewise.
5740         [XPG3] (mknod): Likewise.
5742         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5743         [XPG3].  Expect type long and XFAIL for [XPG4].
5744         (st_blocks): Likewise.
5746         [BZ #20044]
5747         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5748         (pthread_atfork): New prototype.
5749         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5750         variable.
5752         [BZ #20043]
5753         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5754         prototype.
5756 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5758         [BZ #20017]
5759         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5760         gmtime.
5762 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5764         [BZ #19994]
5765         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5766         flag in _res.options.
5768 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5770         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5771         [XPG3 || XPG4].
5772         (blksize_t): Likewise.
5773         (clockid_t): Likewise.
5774         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5775         variable.
5776         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5778 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5780         * sysdeps/unix/sysv/linux/s390/init-first.c:
5781         Add VDSO_SYMBOL(getcpu).
5782         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5783         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5784         Add VDSO_SYMBOL(getcpu).
5785         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5786         New define HAVE_GETCPU_VSYSCALL.
5787         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5789 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5791         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5792         instead of <sysdeps/x86_64/cacheinfo.c>.
5793         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5794         * sysdeps/x86/cacheinfo.c: Here.
5796 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5798         * malloc/malloc-internal.h: Adjust header file guard.
5800 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5802         [BZ #19787]
5803         * inet/getnameinfo.c (check_sprintf_result): New function.
5804         (CHECKED_SNPRINTF): New macro.
5805         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5806         to the host buffer.
5807         (gni_host_local): Use checked_copy to copy the host name.
5808         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5809         (gni_serv_local): Use checked_copy to copy the service name.
5810         (getnameinfo): Remove unnecessary truncation of result buffers.
5812 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5814         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5815         in case of inet_ntop failure.
5817 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5819         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5820         avoid long lines.
5821         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5822         variables.
5823         (gni_host_inet, gni_host_local): Add comment.
5824         (gni_host): Add comment.  Use temporary to avoid long lines.
5826 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5828         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5829         registers specifiers where general purpose registers specifiers should
5830         have been used.
5832 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5834         [BZ #19779]
5835         CVE-2016-1234
5836         Avoid copying names of directory entries.
5837         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5838         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5839         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5840         (struct readdir_result): New type.
5841         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5842         (GL_READDIR): New macros.
5843         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5844         (convert_dirent, convert_dirent64): New functions.
5845         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5846         convert_dirent64.  Adjust references to the readdir result.
5847         * sysdeps/unix/sysv/linux/i386/glob64.c:
5848         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5849         * posix/bug-glob2.c (LONG_NAME): Define.
5850         (filesystem): Add LONG_NAME.
5851         (my_DIR): Increase the size of room_for_dirent.
5853 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5855         [BZ #20041]
5856         * misc/sys/select.h (__need_timespec): Only define if
5857         [__USE_XOPEN2K].
5858         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5859         variable.
5860         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5861         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5862         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5864 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5865             Segher Boessenkool  <segher@gcc.gnu.org>
5867         [BZ #20004]
5868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5869         (__novec_swapcontext): Add missing load.
5871 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5873         [BZ #20023]
5874         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5875         <time.h>.
5876         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5877         variable.
5878         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5880 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5883         flags CLONE_VM compare.
5885 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5887         [BZ #20031]
5888         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5889         completely empty.
5891 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5893         [BZ #19573]
5894         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5895         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5896         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5897         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5898         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5899         (hesiod_free_list): Mark as hidden.
5900         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5901         res_set, res_get.
5902         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5903         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5904         (hesiod_init): Remove obsolete res_ninit call.
5905         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5906         (hesiod_bind): Do not call init.
5907         (get_txt_records): Use res_mkquery, res_send instead of
5908         res_nmkquery, res_nsend.
5909         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5910         instead of _nss_hesiod_init.
5911         (_nss_hesiod_initgroups_dyn): Likewise.
5912         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5913         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5914         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5916 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5918         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5919         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5921 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5923         * hesiod/hesiod.h: Remove RCS keyword.
5924         * hesiod/hesiod_p.h: Likewise.
5926         * hesiod/hesiod.c: Likewise.
5928 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5930         [BZ #12450]
5931         * locale/iso-639.def: Add Samogitian/sgs.
5933 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5935         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5937         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5939 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5940             Carlos O'Donell  <carlos@redhat.com>
5942         [BZ #19072]
5943         * grp/Makefile (headers): Add grp-merge.h
5944         (routines): Add grp-merge.
5945         * grp/getgrgid_r.c: Include grp-merge.h.
5946         (DEEPCOPY_FN): Define.
5947         (MERGE_FN): Define.
5948         * grp/getgrname_r.c: Include grp-merge.h.
5949         (DEEPCOPY_FN): Define.
5950         (MERGE_FN): Define.
5951         * grp/grp-merge.c: New file.
5952         * grp/grp-merge.h: New file.
5953         * include/grp-merge.h: New file.
5954         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5955         __copy_grp@GLIBC_PRIVATE.
5956         * manual/nss.texi (Actions in the NSS configuration): Describe
5957         return, continue, and merge.
5958         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5959         (DEEPCOPY_FN): Define.
5960         (MERGE_FN): Define.
5961         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5962         (DEEPCOPY_FN): Define.
5963         (MERGE_FN): Define.
5964         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5965         [!MERGE_FN]: Define __merge_einval.
5966         (CHECK_MERGE): Define.
5967         (REENTRANT_NAME): Process merge if do_merge is true.
5968         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5969         (__nss_getent_r): Likewise.
5970         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5971         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5973 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5975         [BZ #20012]
5976         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5977         length to calculate the buffer to read.
5978         (fmemopen_write): Set the buffer position based on bytes written.
5979         (fmemopen_seek): Return EINVAL for invalid whence modes.
5981         [BZ #19957]
5982         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5983         tst-getpid2.
5984         (test): Add tst-clone2.
5985         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5986         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5987         pid/tid fields for CLONE_VM.
5988         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5989         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5990         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5991         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5992         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5993         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5994         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5995         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5997         Likewise.
5998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5999         Likewise.
6000         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6001         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6002         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6003         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6004         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6005         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6006         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6007         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6009 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6011         [BZ #19642]
6012         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6013         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6014         (gni_serv_local, gni_serv): New functions extracted from
6015         getnameinfo.
6016         (getnameinfo): Call gni_host and gni_serv to perform the
6017         processing.  Always free scratch buffer.
6019 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6021         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6022         remaining bytes in the dest string, with zeros.
6024 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6026         [BZ #20010]
6027         CVE-2016-3706
6028         * sysdeps/posix/getaddrinfo.c
6029         (convert_hostent_to_gaih_addrtuple): New function.
6030         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6031         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6032         AF_INET data.
6034 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6036         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6037         callback function gl_readdir.
6038         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6039         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6040         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6041         memcpy to copy the name.
6042         * manual/pattern.texi (Calling Glob): Document requirements for
6043         implementations of the gl_readdir callback function.
6044         * manual/examples/mkdirent.c: New example.
6045         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6046         per the manual guidance.
6047         * posix/tst-gnuglob.c (my_readdir): Likewise.
6049 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6051         [BZ #20014]
6052         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6053         not [__USE_POSIX].
6054         (getchar_unlocked): Likewise.
6055         (putc_unlocked): Likewise.
6056         (putchar_unlocked): Likewise.
6057         (flockfile): Likewise.
6058         (ftrylockfile): Likewise.
6059         (funlockfile): Likewise.
6060         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6061         variable.
6062         (test-xfail-XPG4/stdio.h/conform): Likewise.
6064         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6065         Expect constant.
6066         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6067         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6068         variable.
6069         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6070         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6072         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6073         [__USE_LARGEFILE64] (off64_t): Likewise.
6074         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6075         variable.
6077 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6079         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6081 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6083         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6084         * resolv/res_init.c: Likewise.
6085         * resolv/res_mkquery.c: Likewise.
6087 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6089         * resolv/res_init.c (isascii): Do not define.  Use definition in
6090         <ctype.h>.
6091         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6092         (LOG_AUTH): Remove.
6093         (SPRINTF): Remove, adjust caller.
6094         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6096 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6098         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6099         SUNSECURITY conditional.
6100         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6102 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6104         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6105         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6106         Remove BSD-related preprocessor conditionals.
6107         * conf/portability.h: Remove.
6109 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6111         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6112         * resolv/res_data.c: Likewise.
6114 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6116         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6117         * resolv/res_data.c: Remove code conditional on ultrix.
6119 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6121         * resolv/res_init.c (RFC1535): Do not define.  Remove
6122         RFC1535 preprocessor conditionals.
6123         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6124         because there configuration options which make the resolver
6125         behavior different.
6127 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6129         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6130         RESOLVSORT preprocessor conditionals.
6131         * resolv/nss_dns/dns-host.c: Likewise.
6132         * resolv/res_init.c: Likewise.
6134 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6136         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6137         is never defined.
6139 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6141         * inet/inet_lnaof.c: Remove SCSS keyword.
6142         * inet/inet_mkadr.c: Likewise.
6143         * inet/inet_net.c: Likewise.
6144         * inet/inet_netof.c: Likewise.
6145         * inet/rcmd.c: Likewise.
6146         * inet/rexec.c: Likewise.
6147         * inet/ruserpass.c: Likewise.
6149 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6151         * resolv/inet_addr.c: Remove _LIBC conditionals.
6152         * resolv/res_data.c: Likewise.
6153         * resolv/res_init.c: Likewise.
6154         * resolv/res_mkquery.c: Likewise.
6155         * resolv/res_libc.c: Update comment.
6156         * resolv/README: Update.
6158 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6160         * resolv/gethnamaddr.c: Remove SCSS keyword.
6161         * resolv/herror.c: Likewise.
6162         * resolv/inet_addr.c: Likewise.
6163         * resolv/inet_net_ntop.c: Likewise.
6164         * resolv/inet_net_pton.c: Likewise.
6165         * resolv/inet_neta.c: Likewise.
6166         * resolv/inet_ntop.c: Likewise.
6167         * resolv/inet_pton.c: Likewise.
6168         * resolv/ns_date.c: Remove RCS keyword.
6169         * resolv/ns_name.c: Likewise.
6170         * resolv/ns_netint.c: Likewise.
6171         * resolv/ns_parse.c: Likewise.
6172         * resolv/ns_print.c: Likewise.
6173         * resolv/ns_samedomain.c: Likewise.
6174         * resolv/ns_ttl.c: Likewise.
6175         * resolv/nsap_addr.c: Likewise.
6176         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6177         * resolv/res_data.c: Remove RCS keyword.
6178         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6179         * resolv/res_init.c: Likewise.
6180         * resolv/res_mkquery.c: Likewise.
6181         * resolv/res_query.c: Likewise.
6182         * resolv/res_send.c: Likewise.
6184 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6186         * conform/data/stdio.h-data (fdopen): Expect also for
6187         [XPG3 || XPG4].
6189         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6190         (fseeko): Likewise.
6191         (ftello): Likewise.
6192         (ftrylockfile): Likewise.
6193         (funlockfile): Likewise.
6194         (getc_unlocked): Likewise.
6195         (getchar_unlocked): Likewise.
6196         (putc_unlocked): Likewise.
6197         (putchar_unlocked): Likewise.
6199 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6201         [BZ #19868]
6202         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6203         DNS packet syntax checks (which were not needed before).  Skip
6204         over non-PTR records.
6206 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6208         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6209         definition.  Include <stddef.h> instead.
6211 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6213         [BZ #19831]
6214         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6215         function.
6216         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6217         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6219 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6221         [BZ #19862]
6222         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6223         (getanswer_r): Do not call syslog.
6224         (gaih_getanswer_slice): Likewise.
6225         * resolv/gethnamaddr.c (AskedForGot): Remove.
6226         (getanswer): Do not call syslog.
6227         (gethostbyaddr): Likewise.
6229 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6231         * conform/data/signal.h-data (union sigval): Expect also if
6232         [XOPEN2K].
6233         (struct sigevent): Likewise.
6234         (SIGEV_NONE): Likewise.
6235         (SIGEV_SIGNAL): Likewise.
6236         (SIGEV_THREAD): Likewise.
6237         (SIGRTMIN): Likewise.
6238         (SIGRTMAX): Likewise.
6239         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6240         variable.
6241         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6243 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6245         [BZ #19830]
6246         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6247         (gaih_getanswer_slice): Likewise.
6248         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6249         Also check for availability of RR metadata.
6251 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6253         [BZ #19825]
6254         * resolv/res_send.c (send_vc): Remove early *resplen2
6255         initialization.  Set *resplen2 on socket error.  Call
6256         close_and_return_error for other errors.
6258 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6260         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6261         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6262         (SCM_IUCV_TRGCLS): New define.
6264 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6266         [BZ #20005]
6267         * libio/fmemopen.c (fmemopen_write): Update internal position after
6268         write.
6269         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6270         * stdio-common/tst-fmemopen4.c: New file..
6272 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6274         [BZ #19996]
6275         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6276         not [__USE_XOPEN2K].
6277         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6278         variable.
6280         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6281         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6282         variable.
6284         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6285         [__USE_XOPEN2K8].
6286         [__USE_LARGEFILE64] (off64_t): Likewise.
6287         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6288         variable.
6290 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6292         [BZ #19989]
6293         * libio/stdio.h (cuserid): Do not declare if
6294         [__USE_XOPEN2K && !__USE_GNU].
6295         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6296         variable.
6298 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6300         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6301         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6303         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6304         ifunc'ed strcspn.
6305         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6306         [EALIGN]: Removed.
6307         [END]: Likewise
6308         [STRSPN]: Define instead of the above to control symbol name.
6309         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6310         New file.
6311         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6312         Likewise.
6313         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6314         Likewise.
6315         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6316         Likewise.
6317         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6318         [INITIAL_MASK]: New macro.
6319         [STRCSPN]: Likewise.
6320         [UPDATE_MASK]: Likewise.
6321         [USE_AS_STRCSPN]: Lisewise.
6323 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6325         [BZ #19931]
6326         * stdio-common/tst-vfprintf-width-prec.c: New file.
6327         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6328         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6329         (generated): Add mtrace-related files.
6330         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6331         (tst-%-mem.out): New pattern rule, replaces
6332         tst-printf-bz18872-mem.out.
6333         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6334         specifier, deallocate any previously allocated work buffer.
6336 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6338         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6339         Add nop before __startcontext, add explaining comments.
6341 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6343         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6344         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6345         completely different API.
6347         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6348         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6349         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6350         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6351         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6352         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6353         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6354         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6355         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6356         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6358 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6360         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6362 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6364         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6365         when it is the default of 0.
6367 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6369         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6370         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6371         (sysdep_routines): Add new strcasestr targets.
6372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6373         (__libc_ifunc_impl_list): Likewise.
6374         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6375         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6376         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6377         * sysdeps/powerpc/powerpc64/power8/Makefile:
6378         New file to add strcasestr-ppc64 to sysdep_routines.
6379         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6380         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6382 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6384         * benchtests/Makefile (wcsmbs-benchset): Include only for
6385         native builds and runs.
6386         (LOCALES): Likewise.
6387         (bench-build): Build timing-type here instead of the bench
6388         target.  Generate locale only for native builds.
6389         * benchtests/README: Add note for cross-building.
6391         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6393         * benchtests/README: Update README to include instructions on
6394         using bench-build.
6396         * Makefile.in (bench-build): New target.
6397         * Rules (PHONY): Add bench-build target.
6398         * benchtests/Makefile (bench): Depend on bench-build.
6399         (bench-build): New target.
6401 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6403         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6404         profil_reply_port.
6405         (profile_waiter): Do not initialize profil_reply_port.
6406         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6407         frequency instead of tick length in us.
6409 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6411         [BZ #18712]
6412         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6413         (__old_mempcpy_small): Likewise.
6414         (__old_strcpy_small): Likewise.
6415         (__old_stpcpy_small): Likewise.
6416         (__old_strpbrk_c2): Fix compat symbol name.
6417         (__old_strpbrk_c3): Likewise.
6418         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6419         (__mempcpy_small): Remove.
6420         (__strcpy_small): Remove.
6421         (__stpcpy_small): Remove.
6423 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6425         [BZ #19400]
6426         * locale/iso-639.def: Add the Talossan/tzl language.
6428 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6430         [BZ #16983]
6431         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6432         comment.  Add "ln" to strchr check on postal_fmt.
6434 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6436         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6437         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6438         tel_dom_fmt.
6440 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6442         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6443         (sysdep_routines): Added __strlen_power8.
6444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6445         __strlen_power8 entry.
6446         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6447         Implementation for POWER8.
6448         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6449         for __strlen_power8.
6450         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6451         Implementation for POWER8.
6453 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6455         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6457 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6459         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6460         Goldmont and Airmont processors.
6462 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6464         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6465         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6466         (__STRING2_SMALL_GET32): Remove.
6467         (memset): Remove.
6468         (__memset_1): Remove.
6469         (__memset_gc): Remove.
6470         (__mempcpy): Remove.
6471         (mempcpy): Remove.
6472         (__mempcpy_args): Remove.
6473         (strchr): Remove.
6474         (strcpy): Remove.
6475         (strcpy_args): Remove.
6476         (__stpcpy_args): Remove.
6477         (__strcmp_cc): Remove.
6478         (__strcmp_gc): Remove.
6479         (strstr): Remove.
6481 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6483         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6484         * nis/nis_call.c (nis_server_cache_add): Likewise.
6486 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6488         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6490 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6492         * malloc/arena.c (__malloc_fork_lock_parent)
6493         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6494         internal_function attribute.
6496 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6498         * stdio-common/printf_fp.c (__printf_fp_l):
6499         Rename ___printf_fp_l to __printf_fp_l and
6500         remove strong alias. Use libc_hidden_def instead
6501         of ldbl_hidden_def macro.
6503 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6505         Remove malloc hooks from fork handler.  They are no longer needed
6506         because malloc runs right before fork, and no malloc calls from
6507         other fork handlers are not possible anymore.
6508         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6509         declarations.
6510         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6511         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6512         (atfork_recursive_cntr): Remove.
6513         (__malloc_fork_lock_parent): Do not override malloc hooks and
6514         thread_arena.
6515         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6516         thread_arena.
6517         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6518         thread_arena instead of save_arena.
6520 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6522         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6523         (thread_atfork, thread_atfork_static): Remove.
6524         * sysdeps/mach/hurd/malloc-machine.h:
6525         (thread_atfork, thread_atfork_static): Remove.
6527 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6529         [BZ #19431]
6530         Run the malloc fork handler as late as possible to avoid deadlocks.
6531         * malloc/malloc-internal.h: New file.
6532         * malloc/malloc.c: Include it.
6533         * malloc/arena.c (ATFORK_MEM): Remove.
6534         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6535         Update comment.
6536         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6537         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6538         Remove outdated comment.
6539         (ptmalloc_init): Do not call thread_atfork.  Remove
6540         thread_atfork_static.
6541         * malloc/tst-malloc-fork-deadlock.c: New file.
6542         * Makefile (tests): Add tst-malloc-fork-deadlock.
6543         (tst-malloc-fork-deadlock): Link against libpthread.
6544         * manual/memory.texi (Aligned Memory Blocks): Update safety
6545         annotation comments.
6546         * sysdeps/nptl/fork.c (__libc_fork): Call
6547         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6548         __malloc_fork_unlock_child.
6549         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6551 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6553         [BZ #19613]
6554         Remove union wait.
6555         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6556         (w_stopsig, w_stopval): Remove.
6557         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6558         stat_loc argument.
6559         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6560         (__WAIT_STATUS_DEFN): Remove.
6561         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6562         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6563         (wait, wait3, wait4): Use int * for the stat_loc argument.
6564         * posix/wait.c (__wait): Likewise.
6565         * posix/wait3.c (__wait3): Likewise.
6566         * posix/wait4.c (__wait4): Likewise.
6567         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6568         (__WAIT_STATUS_DEFN): Remove.
6569         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6570         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6571         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6572         argument.
6573         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6574         * sysdeps/posix/wait3.c (__wait3): Likewise.
6575         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6576         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6577         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6578         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6579         stat_loc argument.
6580         * manual/process.texi (BSD Wait Functions): Remove union wait.
6582 2016-04-13  Andreas Schwab  <schwab@suse.de>
6584         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6585         (test-extras): Add tst-tlsalign-vars.
6586         * math/Makefile: Wrap long lines.
6587         (libm-vec-test-wrappers): Define.
6588         (test-extras): Add $(libm-vec-test-wrappers).
6589         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6590         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6591         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6592         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6593         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6594         (extra-test-objs): Add corresponding objects.
6596 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6598         [BZ #19928]
6599         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6600         New.
6601         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6602         times of shared cache size.
6603         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6604         (VMOVNT): New.
6605         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6606         (VMOVNT): Likewise.
6607         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6608         (VMOVNT): Likewise.
6609         (VMOVU): Changed to movups for smaller code sizes.
6610         (VMOVA): Changed to movaps for smaller code sizes.
6611         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6612         comments.
6613         (PREFETCH): New.
6614         (PREFETCH_SIZE): Likewise.
6615         (PREFETCHED_LOAD_SIZE): Likewise.
6616         (PREFETCH_ONE_SET): Likewise.
6617         Rewrite to use forward and backward loops, which move 4 vector
6618         registers at a time, to support overlapping addresses and use
6619         non temporal store if size is above the threshold and there is
6620         no overlap between destination and source.
6622 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6624         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6625         Include dl-vdso.
6626         * sysdeps/unix/sysv/linux/mips/Versions: Add
6627         __vdso_clock_gettime.
6628         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6629         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6630         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6631         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6632         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6633         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6634         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6635         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6636         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6638 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6640         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6641         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6642         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6643         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6644         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6645         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6648         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6649         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6650         syscalls generation.
6651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6652         [__NR_pwrite64] (__NR_write): Remove define.
6653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6654         [__NR_pwrite64] (__NR_write): Remove define.
6655         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6656         Remove define.
6657         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6658         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6659         Remove define.
6660         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6661         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6662         Linux implementation as base.
6663         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6665         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6666         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6667         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6668         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6671         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6672         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6673         syscall generation.
6674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6675         [__NR_pread64] (__NR_pread): Remove define.
6676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6677         [__NR_pread64] (__NR_pread): Likewise.
6678         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6679         define.
6680         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6681         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6682         Remove define.
6683         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6684         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6685         Linux implementation as base.
6686         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6687         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6688         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6690         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6691         definition.
6692         (__ALIGNMENT_COUNT): Likewise.
6693         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6694         (__ALIGNMENT_COUNT): Likewise.
6695         (SYSCALL_LL): New define.
6696         (SYSCALL_LL64): Likewise.
6697         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6698         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6699         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6700         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6702         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6703         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6704         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6705         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6706         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6707         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6709 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6711         [BZ #19865]
6712         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6713         original buffer before retry.
6715 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6717         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6718         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6719         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6720         GLRO(dl_auxv) list.
6721         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6722         including <ldsodefs.h>.
6723         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6725 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6727         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6728         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6729         $(CPPFLAGS).
6731 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6733         [BZ #17950]
6734         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6735         Add -mfpmath=387.
6737 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6739         * sysdeps/i386/configure.ac: Change == to = when calling test.
6740         * sysdeps/x86_64/configure.ac: Likewise.
6741         * sysdeps/i386/configure: Regenerated.
6742         * sysdeps/x86_64/configure: Likewise.
6744 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6746         [BZ #16137]
6747         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6748         * benchtests/bench-strcoll.c (input_files): Likewise.
6749         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6750         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6751         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6753 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6755         [BZ #19929]
6756         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6757         [__USE_XOPEN2K8 && !__USE_GNU].
6758         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6759         variable.
6761         [BZ #19925]
6762         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6763         define if [!__USE_MISC && __USE_XOPEN2K].
6764         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6765         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6766         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6767         Likewise.
6768         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6769         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6770         variable.
6771         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6773 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6775         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6776         (sysdep_routines): Add new strspn targets.
6777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6778         (__libc_ifunc_impl_list): Add strspn.
6779         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6780         New file.
6781         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6782         Likewise.
6783         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6784         Likewise.
6785         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6786         Likewise.
6788 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6790         * misc/hsearch_r.c: Include <limits.h>.
6792 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6794         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6796 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6798         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6799         (MEMCPY_SYMBOL): New.
6800         (MEMPCPY_SYMBOL): Likewise.
6801         (MEMMOVE_CHK_SYMBOL): Likewise.
6802         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6803         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6804         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6805         Provide alias for memcpy in libc.a and ld.so.
6807 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6809         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6810         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6811         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6812         Disabled fro now.
6813         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6814         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6816 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6818         * benchtests/Makefile (string-benchset): Add memcpy-large,
6819         memmove-large and memset-large.
6820         * benchtests/bench-memcpy-large.c: New file.
6821         * benchtests/bench-memmove-large.c: Likewise.
6822         * benchtests/bench-memmove-large.c: Likewise.
6823         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6825 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6827         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6828         32-bit displacement to avoid long nop between instructions.
6830 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6832         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6833         a comment on VMOVU and VMOVA.
6835 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6837         [BZ #19633]
6838         Use specified locale for number formatting in strfmon_l.
6839         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6840         (__nl_lookup_word): New inline functions.
6841         * include/printf.h (__print_fp_l): Declare.
6842         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6843         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6844         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6845         (___printf_fp): New function.
6846         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6847         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6848         * stdlib/tst-strfmon_l.c (do_test): New test.
6849         * stdlib/Makefile (tests): Add kt.
6850         (LOCALES): Build additional locales.
6851         (tst-strfmon_l.out): Require locales.
6853 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6855         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6856         if not in libc.
6857         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6858         Likewise.
6859         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6860         Likewise.
6861         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6862         Likewise.
6864 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6866         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6867         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6868         with unaligned_erms.
6869         (__memmove_erms): Skip if source == destination.
6870         (__memmove_unaligned_erms): Don't check source == destination
6871         first.
6873 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6875         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6876         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6878 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6880         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6881         * string/strspn.c (strspn): Likewise.
6883 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6885         * benchtests/bench-memset.c (do_test): Support 64-byte
6886         alignment.
6887         (test_main): Test 64-byte alignment.
6889 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6891         * benchtests/bench-memmove.c (test_main): Test 64-byte
6892         alignment.
6894 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6896         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6898 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6900         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6901         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6902         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6904         * string/strpbrk.c (strpbrk): Rewrite function.
6905         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6906         (__strpbrk_c2): Likewise.
6907         (__strpbrk_c3): Likewise.
6908         * string/string-inlines.c
6909         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6910         Likewise.
6911         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6912         Likewise.
6914         * string/strspn.c (strcspn): Rewrite function.
6915         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6916         (__strspn_c1): Remove inline function.
6917         (__strspn_c2): Likewise.
6918         (__strspn_c3): Likewise.
6919         * string/string-inlines.c
6920         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6921         compatibility symbol.
6922         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6923         Likewise.
6924         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6925         Likewise.
6926         * string/string-inlines.c: Include generic version.
6928 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6929             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6931         * string/Version (libc): Add GLIBC_2.24.
6932         * string/strcspn.c (strcspn): Rewrite function.
6933         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6934         (__strcspn_c1): Remove inline function.
6935         (__strcspn_c2): Likewise.
6936         (__strcspn_c3): Likewise.
6937         * string/string-inline.c
6938         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6939         compatibility symbol.
6940         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6941         Likewise.
6942         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6943         Likewise.
6944         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6946 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6948         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6949         Use ahi instead of aghi to adjust stack pointer.
6951 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6953         [BZ #19853]
6954         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6955         TEST to take significant digits as second parameter.
6956         [TEST]: Redefine in terms of TEST_N taking 30
6957         significant digits.
6958         (do_test): Add test case to demonstrate precision
6959         failure in the ldbl-128ibm printf.
6960         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6961         (__mpn_extract_long_double): Carry 7 extra intermediate
6962         bits of precision to aide computing difference when
6963         signs differ.
6965 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6967         [BZ #19881]
6968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6969         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6970         memset-avx512-unaligned-erms.
6971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6972         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6973         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6974         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6975         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6976         __memset_sse2_unaligned_erms, __memset_erms,
6977         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6978         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6979         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6980         file.
6981         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6982         Likewise.
6983         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6984         Likewise.
6985         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6986         Likewise.
6988 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6990         [BZ #19776]
6991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6992         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6993         memmove-avx512-unaligned-erms.
6994         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6995         (__libc_ifunc_impl_list): Test
6996         __memmove_chk_avx512_unaligned_2,
6997         __memmove_chk_avx512_unaligned_erms,
6998         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6999         __memmove_chk_sse2_unaligned_2,
7000         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7001         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7002         __memmove_avx512_unaligned_erms, __memmove_erms,
7003         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7004         __memcpy_chk_avx512_unaligned_2,
7005         __memcpy_chk_avx512_unaligned_erms,
7006         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7007         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7008         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7009         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7010         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7011         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7012         __mempcpy_chk_avx512_unaligned_erms,
7013         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7014         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7015         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7016         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7017         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7018         __mempcpy_erms.
7019         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7020         file.
7021         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7022         Likwise.
7023         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7024         Likwise.
7025         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7026         Likwise.
7028 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7030         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7031         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7032         (La_s390_64_regs): Likewise.
7033         (La_s390_32_retval): Append vector register lrv_v24.
7034         (La_s390_64_retval): Likeweise.
7035         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7036         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7037         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7038         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7040 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7042         [BZ #19916]
7043         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7044         to create a non-vector/vector version for _dl_runtime_resolve and
7045         _dl_runtime_profile. Move implementation to ...
7046         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7047         (_dl_runtime_resolve) Save and restore fpr/vrs.
7048         (_dl_runtime_profile) Save and restore vrs and fix some issues
7049         if _dl_call_pltexit is called.
7050         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7051         Choose the correct resolver function if running on a machine with vx.
7052         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7053         to create a non-vector/vector version for _dl_runtime_resolve and
7054         _dl_runtime_profile. Move implementation to ...
7055         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7056         (_dl_runtime_resolve) Save and restore fpr/vrs.
7057         (_dl_runtime_profile) Save and restore vrs and fix some issues
7058         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7059         Choose the correct resolver function if running on a machine with vx.
7061 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7063         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7065 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7067         [BZ #19509]
7068         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7069         skip_map != NULL.
7070         * elf/tst-dlsym-error.c: New file.
7071         * elf/Makefile (tests): Add tst-dlsym-error.
7072         (tst-dlsym-error): Link against libdl.
7074 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7076         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7077         (__ASSUME_FUTIMESAT): Remove macro.
7078         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7080 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7082         [BZ #19879]
7083         CVE-2016-3075
7084         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7085         copy name.
7087 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7089         [BZ #19837]
7090         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7091         error if parse_line fails.
7093 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7095         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7096         (index_cpu_ERMS): Likewise.
7097         (reg_ERMS): Likewise.
7099 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7101         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7102         PER_LINUX_FDPIC): Add.
7104 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7107         memcpy-avx512-no-vzeroupper.
7108         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7109         to ...
7110         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7111         (MEMCPY): Don't define.
7112         (MEMCPY_CHK): Likewise.
7113         (MEMPCPY): Likewise.
7114         (MEMPCPY_CHK): Likewise.
7115         (MEMPCPY_CHK): Renamed to ...
7116         (__mempcpy_chk_avx512_no_vzeroupper): This.
7117         (MEMPCPY_CHK): Renamed to ...
7118         (__mempcpy_chk_avx512_no_vzeroupper): This.
7119         (MEMCPY_CHK): Renamed to ...
7120         (__memmove_chk_avx512_no_vzeroupper): This.
7121         (MEMCPY): Renamed to ...
7122         (__memmove_avx512_no_vzeroupper): This.
7123         (__memcpy_avx512_no_vzeroupper): New alias.
7124         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7126 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7128         [BZ #18858]
7129         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7130         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7131         and mempcpy-avx512-no-vzeroupper.
7132         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7133         New.
7134         (MEMPCPY): Likewise.
7135         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7136         (MEMPCPY_CHK): New.
7137         (MEMPCPY): Likewise.
7138         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7139         (MEMPCPY): Likewise.
7140         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7141         (MEMPCPY): Likewise.
7142         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7143         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7144         Likewise.
7145         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7146         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7148 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7149              Amit Pawar  <Amit.Pawar@amd.com>
7151         [BZ #19583]
7152         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7153         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7154         processors.  Set Fast_Copy_Backward for AMD Excavator
7155         processors.
7156         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7157         New.
7158         (index_arch_Fast_Unaligned_Copy): Likewise.
7159         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7160         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7162 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7164         [BZ #19791]
7165         * resolv/res_send.c (close_and_return_error): New function.
7166         (send_dg): Initialize *resplen2 after reopen failure.  Call
7167         close_and_return_error for error returns.  On error paths without
7168         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7169         successful return.
7171 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7173         [BZ# 19860]
7174         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7175         zero if the compiler does not provide the AVX512F bit.
7177 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7179         [BZ #19848]
7180         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7181         from 8 to 4.
7182         (__ieee754_powl): Compare integer exponent against 4 not 8.
7183         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7184         from 8 to 4.
7185         (__ieee754_powl): Compare integer exponent against 4 not 8.
7186         * math/auto-libm-test-in: Add more tests of pow.
7187         * math/auto-libm-test-out: Regenerated.
7188         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7191 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7193         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7194         Make code unconditional.
7195         [!__NR_utimensat]: Remove conditional code.
7196         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7197         Make code unconditional.
7198         [!__NR_utimensat]: Remove conditional code.
7199         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7200         Make code unconditional.
7201         [!__NR_utimensat]: Remove conditional code.
7203 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7205         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7206         Make code unconditional.
7208 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7210         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7211         call-clobbered %eax on retry path.
7212         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7214 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7216         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7217         Don't set %rcx twice before "rep movsb".
7219 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7221         [BZ #19583]
7222         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7223         inline.  Check family before setting family, model and
7224         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7225         bits here.
7226         (init_cpu_features): Replace HAS_CPU_FEATURE and
7227         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7228         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7229         for Intel processors with usable AVX2.  Call get_common_indeces
7230         for other processors with family == NULL.
7231         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7232         (CPU_FEATURES_ARCH_P): Likewise.
7233         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7234         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7236 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7238         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7239         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7240         $(shared-thread-library) instead of hardcoding the path to libpthread.
7242 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7244         * sysdeps/unix/sysv/linux/kernel-features.h
7245         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7246         * sysdeps/unix/sysv/linux/getdents.c
7247         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7248         [!have_no_getdents64_defined]: Likewise.
7249         (__GETDENTS): Remove __have_no_getdents64 conditional.
7251 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7253         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7254         Remove macro.
7255         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7256         <kernel-features.h>.
7257         (signalfd) [__NR_signalfd4]: Make code unconditional.
7258         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7260 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7262         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7263         style.
7265 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7267         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7268         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7269         __pthread_unwind.
7270         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7271         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7272         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7273         (__condvar_cleanup1): Likewise.
7275 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7277         [BZ #19822]
7278         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7279         move it to the final $@ location.
7281 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7283         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7284         access where posix_spawn success and pid argument is null.
7285         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7286         success case.
7288 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7290         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7292         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7294         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7295         and __fcntl.
7296         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7297         __fcntl only.
7298         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7299         adding attribute_hidden to __open and __fcntl.
7301         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7302         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7303         depend on libc-modules.h,
7304         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7306 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7308         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7309         Remove macro.
7310         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7311         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7312         entry.
7314         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7315         Remove macro.
7316         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7317         include <kernel-features.h>.
7318         [!__ASSUME_FALLOCATE]: Remove conditional code.
7319         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7321 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7323         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7324         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7325         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7326         (_ZGVdN4v_cos_avx2): Likewise.
7327         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7328         (_ZGVdN4v_cos): Likewise.
7329         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7330         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7331         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7332         (_ZGVdN4v_exp_avx2): Likewise.
7333         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7334         (_ZGVdN4v_exp): Likewise.
7335         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7336         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7337         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7338         (_ZGVdN4v_log_avx2): Likewise.
7339         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7340         (_ZGVdN4v_log): Likewise.
7341         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7342         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7343         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7344         (_ZGVdN4vv_pow_avx2): Likewise.
7345         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7346         (_ZGVdN4vv_pow): Likewise.
7347         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7348         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7349         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7350         (_ZGVdN4v_sin_avx2): Likewise.
7351         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7352         (_ZGVdN4v_sin): Likewise.
7353         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7354         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7355         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7356         (_ZGVdN4vvv_sincos_avx2): Likewise.
7357         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7358         (_ZGVdN4vvv_sincos): Likewise.
7359         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7360         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7361         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7362         (_ZGVbN4v_cosf_sse4): Likewise.
7363         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7364         (_ZGVdN8v_cosf_avx2): Likewise.
7365         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7366         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7367         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7368         (_ZGVbN4v_expf_sse4): Likewise.
7369         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7370         (_ZGVdN8v_expf_avx2): Likewise.
7371         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7372         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7373         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7374         (_ZGVbN4v_logf_sse4): Likewise.
7375         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7376         (_ZGVdN8v_logf_avx2): Likewise.
7377         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7378         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7379         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7380         (_ZGVbN4vv_powf_sse4): Likewise.
7381         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7382         (_ZGVdN8vv_powf_avx2): Likewise.
7383         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7384         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7385         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7386         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7387         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7388         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7389         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7390         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7391         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7392         (_ZGVbN4v_sinf_sse4): Likewise.
7393         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7394         (_ZGVdN8v_sinf_avx2): Likewise.
7395         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7396         Use JUMPTARGET to call callee.
7397         (WRAPPER_IMPL_SSE2_ff): Likewise.
7398         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7399         (WRAPPER_IMPL_AVX): Likewise.
7400         (WRAPPER_IMPL_AVX_ff): Likewise.
7401         (WRAPPER_IMPL_AVX_fFF): Likewise.
7402         (WRAPPER_IMPL_AVX512): Likewise.
7403         (WRAPPER_IMPL_AVX512_ff): Likewise.
7404         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7405         Likewise.
7406         (WRAPPER_IMPL_SSE2_ff): Likewise.
7407         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7408         (WRAPPER_IMPL_AVX): Likewise.
7409         (WRAPPER_IMPL_AVX_ff): Likewise.
7410         (WRAPPER_IMPL_AVX_fFF): Likewise.
7411         (WRAPPER_IMPL_AVX512): Likewise.
7412         (WRAPPER_IMPL_AVX512_ff): Likewise.
7413         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7415 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7417         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7418         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7419         qualifier.
7420         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7421         internal_function qualifiers.
7423 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7425         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7426         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7427         * math/atest-exp.c (exp_mpn): Mark chk unused.
7428         * math/atest-exp2.c (exp_mpn): Likwise.
7429         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7430         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7432 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7434         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7435         Remove macro.
7436         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7437         <kernel-features.h>.
7438         [__NR_ppoll]: Make code unconditional.
7439         [!__ASSUME_PPOLL]: Remove conditional code.
7441         * sysdeps/unix/sysv/linux/kernel-features.h
7442         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7443         (__ASSUME_ACCEPT4): Likewise.
7444         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7445         Define.
7446         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7447         Likewise.
7448         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7449         Likewise.
7450         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7451         Likewise.
7452         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7453         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7454         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7455         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7456         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7457         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7458         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7459         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7460         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7461         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7462         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7463         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7464         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7465         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7466         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7467         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7468         Likewise.
7469         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7470         Likewise.
7471         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7472         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7473         0x040300].
7474         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7475         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7476         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7477         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7478         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7479         0x030300].
7480         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7481         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7482         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7483         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7484         0x040300].
7485         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7486         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7487         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7488         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7489         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7490         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7491         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7492         0x030300].
7493         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7494         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7495         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7496         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7497         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7498         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7499         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7500         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7501         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7502         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7503         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7504         0x040300].
7505         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7506         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7507         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7508         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7509         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7510         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7511         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7512         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7513         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7514         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7515         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7516         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7517         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7518         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7519         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7520         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7521         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7522         Likewise.
7523         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7524         Likewise.
7526 2016-03-15  Andreas Schwab  <schwab@suse.de>
7528         [BZ #19257]
7529         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7530         statp->_u._ext.nscount as loop count.
7532 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7534         * math/test-signgam-finite-c99.c: Also #undef
7535         __LIBC_INTERNAL_MATH_INLINES.
7536         * math/test-signgam-main.c: Likewise.
7538 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7540         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7541         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7542         (MADV_FREE): Likewise.
7543         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7544         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7545         EPOLLEXCLUSIVE.
7547 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7549         * timezone/README: Remove mention of checktab.awk. Mention wiki
7550         SharedSourceFiles.
7552 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7554         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7555         WUNTRACED.
7557 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7559         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7560         order to match the type of p when calling atomic_exchange_acq().
7562 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7564         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7565         cfi_offset calls.
7566         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7567         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7568         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7569         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7570         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7572 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7574         * timezone/checktab.awk: Removed.
7576 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7578         * manual/math.texi (Errors in Math Functions): Document relaxed
7579         accuracy goals for IBM long double.
7580         * math/libm-test.inc (test_exceptions): Always allow spurious
7581         "underflow" and "inexact" exceptions for IBM long double.
7583 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7585         [BZ #19762]
7586         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7587         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7588         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7589         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7590         (bit_arch_*): This for feature array.
7591         (bit_*): Renamed to ...
7592         (bit_cpu_*): This for cpu array.
7593         (index_*): Renamed to ...
7594         (index_arch_*): This for feature array.
7595         (index_*): Renamed to ...
7596         (index_cpu_*): This for cpu array.
7597         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7598         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7599         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7600         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7601         bit_##name with index_cpu_##name and bit_cpu_##name.
7602         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7603         bit_##name with index_arch_##name and bit_arch_##name.
7605 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7607         [BZ #19792]
7608         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7609         Terminate FDE before return label.
7611 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7613         [BZ #19790]
7614         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7615         (rintl): Define as macro.
7616         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7617         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7618         of fesetround.  Ensure results are evaluated before end of scope.
7619         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7620         USE_AS_NEARBYINTL and include s_rintl.c.
7621         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7622         Disable exception traps in new environment.
7623         (libc_feholdsetround_ppc_ctx): Likewise.
7625 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7627         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7628         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7629         (tst_audit10_aux) [__AVX512F__]: ... here.
7631 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7633         * include/sys/auxv.h: New file.
7635 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7637         [BZ #19759]
7638         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7640 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7642         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7643         operand modifier.
7644         (feclearexcept): Likewise.
7646 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7648         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7649         to reflect the entire 32-bit HWCAP.
7650         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7651         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7653 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7655         [BZ #19783]
7656         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7657         $(test-via-rtld-prefix).
7658         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7660 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7662         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7663         union wait.  Report any non-zero exit status as error.
7665 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7667         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7668         configured with --enable-hardcoded-path-in-tests.
7670 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7672         [BZ #19677]
7673         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7674         (__ieee754_remainderl): Put zero low parts in canonical form.
7675         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7676         file.  Based on
7677         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7678         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7679         with wrapper round test-fmodrem-ldbl-128ibm.c.
7680         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7681         file.
7682         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7683         Likewise.
7684         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7685         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7687 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7689         [BZ #19610]
7690         * elf/ldconfig.c (opt_link): Update comment.
7691         (options): Update help string for option -X.
7692         (search_dir): Unlink stale symbolic link only if updating symbolic
7693         links.
7694         * elf/tst-ldconfig-X.sh: New file.
7695         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7696         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7698 2016-03-07  Andreas Schwab  <schwab@suse.de>
7700         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7701         needed arguments.
7703 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7705         [BZ #15333]
7706         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7707         to lstat64.
7709 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7711         * libio/filedoalloc.c (isatty): Remove.
7712         (local_isatty): Add comment.  Call __isatty directly.
7713         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7714         * libio/wfiledoalloc.c (isatty): Remove.
7715         (_IO_wfile_doallocate): Update comment.
7717 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7719         [BZ #19269]
7720         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7721         tst-audit4-aux.o.
7722         (tst-audit10): Depend on tst-audit10-aux.o.
7723         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7724         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7725         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7726         instead of inline AVX code.
7727         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7728         instead of inline AVX512 code.
7729         * sysdeps/x86_64/tst-audit4-aux.c: New file
7730         * sysdeps/x86_64/tst-audit10-aux.c: New file
7732         [BZ #19648]
7733         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7735 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7737         [BZ #14750]
7738         [BZ #10354]
7739         [BZ #18433]
7740         * include/sched.h (__clone): Add hidden prototype.
7741         (__clone2): Likewise.
7742         * include/unistd.h (__dup): Likewise.
7743         * posix/Makefile (tests): Add tst-spawn2.
7744         * posix/tst-spawn2.c: New file.
7745         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7746         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7747         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7748         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7749         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7750         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7751         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7752         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7753         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7754         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7755         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7757         Likewise.
7758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7759         Likewise.
7760         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7761         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7762         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7763         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7764         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7765         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7766         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7767         * sysdeps/unix/sysv/linux/nptl-signals.h
7768         (____nptl_is_internal_signal): New function.
7769         * sysdeps/unix/sysv/linux/spawni.c: New file.
7771         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7772         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7773         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7774         * posix/tst-execvp2.c (do_test): Likewise.
7775         * posix/tst-execvp3.c (do_test): Likewise.
7776         * posix/tst-execvp4.c (do_test): Likewise.
7777         * posix/tst-execvpe1.c: New file.
7778         * posix/tst-execvpe2.c: Likewise.
7779         * posix/tst-execvpe3.c: Likewise.
7780         * posix/tst-execvpe4.c: Likewise.
7781         * posix/tst-execvpe5.c: Likewise.
7782         * posix/tst-execvpe6.c: Likewise.
7784         [BZ #19534]
7785         * posix/execl.c (execl): Remove dynamic memory allocation.
7786         * posix/execle.c (execle): Likewise.
7787         * posix/execlp.c (execlp): Likewise.
7789 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7791         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7792         Replace .text with .text.avx512.
7793         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7794         Likewise.
7796 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7798         * sysdeps/generic/libnsl.abilist: New file.
7799         * sysdeps/generic/libutil.abilist: New file.
7801 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7803         [BZ #19762]
7804         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7805         HAS_ARCH_FEATURE with Fast_Rep_String.
7806         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7807         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7808         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7809         Likewise.
7810         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7811         Likewise.
7812         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7813         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7814         Likewise.
7815         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7816         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7817         Likewise.
7819 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7821         [BZ #19745]
7822         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7823         with *%rax in call.
7825 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7827         [BZ #19745]
7828         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7829         with *__libc_start_main@GOTPCREL(%rip) in call.
7831 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7833         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7834         inside conditional for nonempty $(CXX).
7836         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7837         nonempty.
7839         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7840         to test for empty $(CXX) rather than $(CXX) of "no".
7842 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7844         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7846 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7847             H.J. Lu  <hongjiu.lu@intel.com>
7849         [BZ #18880]
7850         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7851         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7852         enable __memcpy_ssse3_back.
7854 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7856         [BZ #19758]
7857         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7858         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7860 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7862         [BZ #19490]
7863         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7864         (__fentry__): Likewise.
7866 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7868         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7869         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7871 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7873         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7874         __mcount_internal directly.
7875         (C_LABEL(__fentry__)): Likewise.
7876         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7877         directly.
7879 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7881         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7882         (__start_context): Call __setcontext directly.
7884 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7886         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7887         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7888         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7889         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7890         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7891         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7892         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7893         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7894         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7895         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7896         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7897         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7898         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7899         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7900         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7901         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7902         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7903         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7904         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7905         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7906         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7907         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7908         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7909         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7910         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7911         Remove conditional code.
7912         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7913         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7914         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7915         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7916         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7917         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7918         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7919         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7920         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7921         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7922         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7923         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7925 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7927         * NEWS (2.23): Fix typo in bug 19048 text.
7929 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7931         [BZ #14259]
7932         * Makeconfig: Rename msgcatdir to localedir.
7933         Rename inst_msgcatdir to inst_localedir.
7934         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7935         * config.make.in: Add localedir.
7936         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7937         (ldd-rewrite): Likewise.
7938         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7939         (install-others): Use inst_localedir.
7940         (CPPFLAGS): Use localedir.
7941         * locale/Makefile (locale-CPPFLAGS): Likewise.
7942         * po/Makefile (mo-installed): Use inst_localedir.
7944         [BZ #19575]
7945         * localedata/charmaps/GB18030: Update comments regarding PAU to
7946         non-PUA mappings.
7948 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7950         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7951         test for header.
7952         * sysdeps/unix/sysv/linux/configure: Regenerated.
7953         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7954         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7955         Remove conditional code.
7956         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7958         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7959         Define to 3.2.0.
7960         (arch_minimum_kernel): Likewise.
7961         * sysdeps/unix/sysv/linux/configure: Regenerated.
7962         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7963         Define to 2.6.32.
7964         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7965         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7966         (arch_minimum_kernel): Define to 2.6.32.
7967         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7968         * README: Document Linux 3.2 requirement.
7969         * manual/install.texi (Linux): Document Linux 3.2 headers
7970         requirement.
7971         * INSTALL: Regenerated.
7973 2016-02-24  Andreas Schwab  <schwab@suse.de>
7975         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7976         if !NO_LONG_DOUBLE.
7978 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7980         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7981         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7983 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7985         [BZ #19512]
7986         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7988 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7990         * posix/tst-dir.c: Include libc-internal.h.
7992 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7994         [BZ #19056]
7995         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7996         * manual/filesys.texi (Reading/Closing Directory): Mention
7997         deprecaion.
7998         * posix/tst-dir.c (main): Disable deprecation warning in test.
8000 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8002         [BZ #19679]
8003         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8004         Renamed to ...
8005         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8006         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8007         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8008         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8009         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8010         * sysdeps/x86_64/dl-trampoline.h
8011         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8012         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8014 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8016         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8018 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8020         * elf/elf.h (R_386_GOT32X): New.
8021         (R_386_NUM): Update.
8022         (R_X86_64_GOTPCRELX: New.
8023         (R_X86_64_REX_GOTPCRELX): New.
8024         (R_X86_64_NUM): Update.
8026 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8028         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8030 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8032         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8033         assign attr->stackaddr to it, and adjust it down when
8034         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8035         [_STACK_GROWS_UP]: Delete assert.
8036         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8037         Implement stack grows up logic.
8038         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8039         stack grows up logic.
8041 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8043         * NEWS: Update with 2.24 template.
8045 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8047         [BZ #19678]
8048         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8049         Ensure +0.0 is returned when taking the next value below the least
8050         positive value.
8052 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8054         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8055         available.  Do not define NO_THREADS.
8056         * malloc/malloc.c: Do not check NO_THREADS.
8057         * malloc/arena.c: Likewise.
8059 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8061         * malloc/malloc.c (__libc_mallinfo): Update comment.
8062         (struct malloc_par): Remove max_total_mem member, it was always 0.
8063         (int_mallinfo): Store 0 into usmblks (no functional change).
8064         * malloc/hooks.c (struct malloc_state): Document that
8065         max_total_mem is always 0.
8066         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8067         always 0.
8068         * manual/memory.texi (Statistics of Malloc): Likewise.
8070 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8072         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8073         * malloc/arena.c (arena_max): Remove.
8074         (heap_trim, _int_new_arena): Do not update arena_max.
8076 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8078         * resolv/res_init.c (res_ninit): Update comment.
8080 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8082         [BZ #19505]
8083         * posix/spawn_int.h: Add headers and include guard.
8084         (__spawn_valid_fd): New function.
8085         * posix/spawn_faction_addopen.c
8086         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8087         * posix/spawn_faction_addclose.c
8088         (posix_spawn_file_actions_addclose): Likewise.
8089         * posix/spawn_faction_adddup2.c
8090         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8091         second file descriptor.
8092         * posix/spawn_valid_fd.c: New file.
8093         * posix/tst-posix_spawn-fd.c: New file.
8094         * posix/Makefile (routines): Add spawn_valid_fd.
8095         (tests): Add tst-posix_spawn-fd.
8097 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8099         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8100         (do_test): Limit the number of arenas, so that we can use fewer
8101         outer threads.  Limit timeout to 3 seconds, in preparation for a
8102         larger TIMEOUT value.
8104 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8106         [BZ #19674]
8107         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8108         sign in overflowing and underflowing results when overflow or
8109         underflow is detected early.  Include sign in result before rather
8110         than after scaling.
8112         [BZ #19603]
8113         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8114         (__ieee754_remainderl): Adjust sign of integer version of low part
8115         when taking absolute value of high part.
8116         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8117         * math/libm-test.inc (remainder_test_data): Add another test.
8118         (remquo_test_data): Likewise.
8120 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8122         [BZ #19602]
8123         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8124         equal high parts and both low parts zero specially.
8125         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8126         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8127         Add test-fmodl-ldbl-128ibm.
8129         [BZ #19595]
8130         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8131         common logic for all cases of shifting subnormal results.  Do not
8132         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8133         exponent to ldbl_insert_mantissa in subnormal case.
8135         [BZ #19594]
8136         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8137         on high and low parts then adjust result and use
8138         ldbl_canonicalize_int if needed.
8140         [BZ #19593]
8141         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8142         on high part and __floor or __ceil on low part then use
8143         ldbl_canonicalize_int if needed.
8145         [BZ #19592]
8146         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8147         high and low parts then use ldbl_canonicalize_int if needed.
8149         [BZ #17899]
8150         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8151         New function.
8152         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8153         on high and low parts then use ldbl_canonicalize_int if needed.
8155 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8157         * configure: Regenerated.
8159         * po/libc.pot: Regenerated.
8161         * po/be.po: Updated translation.
8162         * po/bg.po: Likewise.
8163         * po/ca.po: Likewise.
8164         * po/cs.po: Likewise.
8165         * po/da.po: Likewise.
8166         * po/el.po: Likewise.
8167         * po/eo.po: Likewise.
8168         * po/es.po: Likewise.
8169         * po/fi.po: Likewise.
8170         * po/fr.po: Likewise.
8171         * po/gl.po: Likewise.
8172         * po/hr.po: Likewise.
8173         * po/hu.po: Likewise.
8174         * po/ia.po: Likewise.
8175         * po/id.po: Likewise.
8176         * po/it.po: Likewise.
8177         * po/ja.po: Likewise.
8178         * po/lt.po: Likewise.
8179         * po/nb.po: Likewise.
8180         * po/nl.po: Likewise.
8181         * po/pt_BR.po: Likewise.
8182         * po/rw.po: Likewise.
8183         * po/sk.po: Likewise.
8184         * po/sl.po: Likewise.
8185         * po/sv.po: Likewise.
8186         * po/tr.po: Likewise.
8187         * po/zh_CN.po: Likewise.
8188         * po/zh_TW.po: Likewise.
8190         * version.h (RELEAES): Set to "development".
8191         (VERSION): Set to 2.23.90.
8193         * version.h (RELEASE): Set to "stable".
8194         (VERSION): Set to 2.23.
8195         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8197         * NEWS: Updated fixed bugs.
8199 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8200             Wilco Dijkstra  <wdijkstr@arm.com>
8202         [BZ #19462]
8203         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8204         (_STRING_INLINE_unaligned): This.
8205         * include/string.h: Include <string_private.h>.
8206         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8207         _STRING_INLINE_unaligned.
8208         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8209         (_STRING_INLINE_unaligned): New.
8210         * sysdeps/aarch64/string_private.h: New file.
8211         * sysdeps/generic/string_private.h: Likewise.
8212         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8213         * sysdeps/s390/string_private.h: Likewise.
8214         * sysdeps/x86/string_private.h: Likewise.
8215         * sysdeps/m68k/m680x0/m68020/bits/string.h
8216         (_STRING_ARCH_unaligned): Renamed to ...
8217         (_STRING_INLINE_unaligned): This.
8218         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8219         to ...
8220         (_STRING_INLINE_unaligned): This.
8221         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8222         to ...
8223         (_STRING_INLINE_unaligned): This.
8224         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8225         to ...
8226         (_STRING_INLINE_unaligned): This.
8228 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8229             H.J. Lu  <hongjiu.lu@intel.com>
8231         [BZ #19590]
8232         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8233         relocation.
8235 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8237         [BZ #18665]
8238         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8239         *herrno_p.
8240         (gaih_getanswer): Document functional behviour. Return tryagain
8241         if any result is tryagain.
8242         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8243         when freed.
8244         * resolv/res_send.c: Add copyright text.
8245         (__libc_res_nsend): Document that MAXPACKET is expected.
8246         (send_vc): Document. Remove buffer reuse.
8247         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8248         size of the buffer. Add Dprint for truncated UDP buffer.
8250 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8252         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8253         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8254         * INSTALL: Regenerate.
8256 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8257             Jonathan Wakely  <jwakely@redhat.com>
8258             Carlos O'Donell  <carlos@redhat.com>
8260         [BZ 19439]
8261         * math/Makefile (tests): Add test-math-isinff.
8262         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8263         * math/bits/mathcalls.h [__USE_MISC]: Use
8264         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8265         functions not in C++11 and which don't conflict e.g. isinff,
8266         isinfl etc.
8267         * math/test-math-isinff.cc: New file.
8269 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8271         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8273 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8275         [BZ #19529]
8276         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8278 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8280         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8282 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8284         [BZ #19550]
8285         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8286         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8287         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8288         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8289         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8290         New syscall entry.
8291         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8292         New syscall entry.
8293         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8294         syscall entry.
8296 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8298         [BZ #18240]
8299         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8300         unsigned int wraparound.
8302 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8304         [BZ #18240]
8305         * misc/bug18240.c: New test.
8306         * misc/Makefile (tests): Add it.
8308 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8309             Joseph Myers  <joseph@codesourcery.com>
8311         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8312         load in branch delay slot when less than a word of input left.
8314 2016-01-27  Andreas Schwab  <schwab@suse.de>
8316         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8317         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8318         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8319         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8321 2016-01-26  David S. Miller  <davem@davemloft.net>
8323         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8325 2016-01-25  David S. Miller  <davem@davemloft.net>
8327         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8328         __sqrtl_finite.
8329         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8330         instead using versioned_symbol.
8331         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8332         of entries.
8334         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8335         __sqrtl_finite to GLIBC_2.23
8337 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8339         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8341 2016-01-25  Andreas Schwab  <schwab@suse.de>
8343         [BZ #17514]
8344         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8345         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8346         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8347         * nptl/tst-mutex-errorcheck.c: New file.
8349 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8351         [BZ #18560]
8352         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8353         (IPCOP_semop): Likewise.
8354         (IPCOP_semget): Likewise.
8355         (IPCOP_semctl): Likewise.
8356         (IPCOP_msgsnd): Likewise.
8357         (IPCOP_msgrcv): Likewise.
8358         (IPCOP_msgget): Likewise.
8359         (IPCOP_msgctl): Likewise.
8360         (IPCOP_shmat): Likewise.
8361         (IPCOP_shmdt): Likewise.
8362         (IPCOP_shmget): Likewise.
8363         (IPCOP_shmctl): Likewise.
8365 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8367         * string/tst-endian.c: Include <libc-internal.h>.
8368         (do_test): Ignore tautological-compare warnings around
8369         "htobeXX (beXXtoh (i)) != i" and
8370         "htoleXX (leXXtoh (i)) != i" if-statements.
8372 2016-01-24  David S. Miller  <davem@davemloft.net>
8374         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8375         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8376         alias.
8377         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8378         __sqrtl_finite.
8380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8382 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8384         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8385         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8386         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8388 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8390         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8391         (thread_func): Use new function to simplify barrier check.
8392         (do_test): Use new function to simplify checking barrier exit
8393         code, and actually join the child thread.
8395 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8397         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8398         semicolon.
8399         (__libc_tend): Likewise.
8400         (__libc_tabort): Likewise.
8402 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8404         * sysdeps/nios2/libm-test-ulps: Update.
8405         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8406         (__gtsf2): Likewise.
8407         (__unorddf2): Likewise.
8408         (__unordsf2): Likewise.
8409         (__ledf2): Likewise.
8411 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8413         * nis/nis_table.c (__follow_path): Disable diagnostic for
8414         uninitialized variable that is a false positive for gcc 4.7.
8415         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8417 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8419         * sysdeps/nacl/lowlevellock-futex.h
8420         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8421         Always evaluate PRIVATE argument.
8423 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8425         [BZ #19490]
8426         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8427         (pthread_cond_broadcast): Use ENTRY/END
8428         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8429         (pthread_cond_signal): Likewise.
8430         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8431         Likewise.
8432         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8433         Likewise.
8434         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8435         Likewise.
8437 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8439         * sysdeps/ieee754/dbl-64/s_finite.c
8440         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8441         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8442         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8443         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8444         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8447         (__gtsf2): Add as optional for libc.so.
8448         (__unordsf2): Likewise.
8449         (__signbit): Remove for libc.so.
8450         (__signbitl): Likewise.
8452 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8454         * iconvdata/bug-iconv11.c (test_ibm93x):
8455         Use %zu printf format specifier for size_t argument.
8457 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8459         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8460         already-recorded ulps.
8461         * sysdeps/arm/libm-test-ulps: Regenerated.
8462         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8463         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8464         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8466 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8467             Paul Pluzhnikov  <ppluzhnikov@google.com>
8469         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8470         assembler not supporting AVX-512.
8472 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8474         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8476 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8478         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8479         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8481         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8483         * sysdeps/arm/libm-test-ulps: Regenerated.
8485 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8487         [BZ #19451]
8488         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8490 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8492         [BZ #19486]
8493         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8494         * sysdeps/generic/fix-fp-int-convert-overflow.h
8495         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8496         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8497         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8498         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8499         Likewise.
8500         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8501         Avoid conversions to long int where inexact exceptions
8502         could be raised.
8503         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8504         Likewise.
8505         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8506         Avoid conversions to long long int where inexact exceptions
8507         could be raised.
8508         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8509         Likewise.
8511 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8513         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8514         * configure: Regenerated.
8516 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8518         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8520 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8522         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8523         outside of comment.
8525 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8527         * nptl/tst-barrier1.c: Add description on first line.
8528         * nptl/tst-barrier2.c: Likewise.
8529         * nptl/tst-barrier3.c: Likewise.
8530         * nptl/tst-barrier4.c: Likewise.
8531         * nptl/tst-barrier5.c: Likewise.
8533 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8535         [BZ #18868]
8536         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8538 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8540         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8542         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8543         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8544         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8545         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8546         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8547         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8548         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8549         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8550         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8552 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8554         [BZ #13065]
8555         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8556         new implementation.
8557         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8558         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8559         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8560         (BARRIER_IN_THRESHOLD): New macro.
8561         * nptl/pthread_barrierattr_setpshared.c
8562         (pthread_barrierattr_setpshared): Clean up.
8563         * nptl/tst-barrier4.c: Correct comment.
8564         * nptl/tst-barrier5.c: New file.
8565         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8566         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8567         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8568         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8569         * nptl/lowlevelbarrier.sym: Remove.
8570         * nptl/DESIGN-barrier.txt: Remove.
8571         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8572         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8573         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8574         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8575         error.
8576         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8577         implementation.
8579 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8581         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8582         (do_child): Mask SIGRTMIN while thr is running.
8584 2016-01-15  Martin Sebor  <msebor@redhat.com>
8586         [BZ #19432]
8587         * iconvdata/Makefile: Add bug-iconv11.
8588         * iconvdata/bug-iconv11.c: New test.
8589         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8590         * iconvdata/ibm933.c: Same.
8591         * iconvdata/ibm935.c: Same.
8592         * iconvdata/ibm937.c: Same.
8593         * iconvdata/ibm939.c: Same.
8595 2016-01-15  Martin Sebor  <msebor@redhat.com>
8597         [BZ #19443]
8598         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8599         [DEBUG] (_ufc_set_bits): Declare used.
8600         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8601         [DEBUG] (print_all): Declare used.
8602         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8603         operands of the ternary ?: expression to target type.
8604         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8605         calling the undeclared abort.
8606         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8608 2016-01-15  Martin Sebor  <msebor@redhat.com>
8610         [BZ #18755]
8611         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8612         warnings.
8613         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8614         (__gai_create_helper_thread): Same.
8615         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8616         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8617         to suppress -Wmaybe-uninitialized warnings.
8619 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8621         [BZ #19465]
8622         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8623         inside if.
8624         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8625         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8626         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8628 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8630         [BZ #19466]
8631         * time/tst-mktime2.c (time_t_max): Removed.
8632         (time_t_min): Likewise.
8633         (TYPE_SIGNED): New.
8634         (TYPE_MINIMUM): Likewise.
8635         (TYPE_MAXIMUM): Likewise.
8636         (TIME_T_MIN): Likewise.
8637         (TIME_T_MAX): Likewise.
8638         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8639         and TIME_T_MIN.
8640         (do_test): Likewise.
8642 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8644         [BZ #19467]
8645         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8646         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8648 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8650         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8652 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8654         * benchtests/Makefile (PYTHON): Define.
8655         (bench-func): Use $(PYTHON) to run python scripts.
8656         ($(objpfx)bench-%.c): Likewise.
8658 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8660         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8661         leading slash when `file_name' is "/".
8663 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8665         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8666         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8667         Likewise.
8668         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8669         Likewise.
8670         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8671         Likewise.
8672         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8673         enum constant and macro.
8674         (PTRACE_SETSIGMASK): Likewise.
8675         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8676         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8677         (PTRACE_GETSIGMASK): Likewise.
8678         (PTRACE_SETSIGMASK): Likewise.
8679         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8680         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8681         Likewise.
8682         (PTRACE_SETSIGMASK): Likewise.
8683         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8684         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8685         (PTRACE_GETSIGMASK): Likewise.
8686         (PTRACE_SETSIGMASK): Likewise.
8687         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8688         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8689         Likewise.
8690         (PTRACE_SETSIGMASK): Likewise.
8691         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8692         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8693         Likewise.
8694         (PTRACE_SETSIGMASK): Likewise.
8695         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8696         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8697         Likewise.
8698         (PTRACE_SETSIGMASK): Likewise.
8699         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8701 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8702             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8704         [BZ #19439]
8705         * math/bits/mathcalls.h
8706         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8707         prototype.
8708         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8710 2016-01-11  Andreas Schwab  <schwab@suse.de>
8712         [BZ #19253]
8713         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8714         cache when TZDEFRULES was used.
8715         * time/tst-tzname.c: New file.
8716         * time/Makefile (test): Add tst-tzname.
8717         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8718         * timezone/Makefile (test-zones): Add $(posixrules-file).
8719         ($(testdata)/$(posixrules-file)): New rule.
8721 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8723         Fix doc quoting problems with Texinfo 5
8724         Without this change, in the info file output, Texinfo 5 quotes code
8725         in text with undirected single quotes 'like this' and generates
8726         code examples that with many PDF readers cannot be cut out of PDFs
8727         and pasted into code.
8728         * manual/libc.texinfo: Configure the libc manual like the GNU
8729         Emacs manual, by using @documentencoding and setting
8730         txicodequoteundirected and txicodequotebacktick.  This way,
8731         Texinfo 5 quotes code in text with directed single quotes ‘like
8732         this’ and produces examples that can be cut out of PDFs.  This
8733         change causes Texinfo 5 to generate info files that contain UTF-8
8734         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8735         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8737 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8739         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8740         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8741         barriers to their respective compiler built-ins.
8742         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8743         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8744         * sysdeps/powerpc/sysdep.h: Likewise.
8745         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8746         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8747         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8749 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8751         * scripts/config.guess: Revert previous shebang change.
8752         * scripts/config.sub: Likewise.
8753         * scripts/mkinstalldirs: Likewise.
8755 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8757         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8758         PPC_FEATURE2_HAS_IEEE128.
8759         * sysdeps/powerpc/dl-procinfo.c:
8760         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8762 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8764         [BZ #19415]
8765         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8766         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8767         (_dl_lookup_address): Rewrite using function resolver trampoline.
8768         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8769         two bits in address.
8771 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8773         * longlong.h: Change !__SHMEDIA__ to
8774         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8775         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8777 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8778             Joseph Myers  <joseph@codesourcery.com>
8779             Mark Shinwell  <shinwell@codesourcery.com>
8780             Andrew Stubbs  <ams@codesourcery.com>
8781             Rich Felker <dalias@libc.org>
8783         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8785 2016-01-07  Richard Henderson  <rth@redhat.com>
8787         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8789 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8791         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8792         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8793         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8794         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8795         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8797 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8798             Joseph Myers  <joseph@codesourcery.com>
8800         * timezone/private.h: Update from tzcode 2015g.
8801         * timezone/tzfile.h: Likewise.
8802         * timezone/tzselect.ksh: Likewise.
8803         * timezone/zdump.c: Likewise.
8804         * timezone/zic.c: Likewise.
8805         * timezone/ialloc.c: Remove file.
8806         * timezone/scheck.c: Likewise.
8807         * timezone/Makefile (extra-objs): Remove variable.
8808         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8809         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8810         -Wno-maybe-uninitialized.
8811         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8812         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8813         (CFLAGS-ialloc.c): Remove variable.
8814         (CFLAGS-scheck.c): Likewise.
8815         * timezone/README: Update list of files from tzcode.
8817 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8819         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8820         instead of __fxprintf when _LIBC is undefined.
8822 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8824         * catgets/test-gencat.sh: Remove space after shebang.
8825         * conform/GlibcConform.pm: Likewise.
8826         * conform/check-header-lists.sh: Likewise.
8827         * conform/conformtest.pl: Likewise.
8828         * conform/linknamespace.pl: Likewise.
8829         * conform/list-header-symbols.pl: Likewise.
8830         * debug/catchsegv.sh: Likewise.
8831         * elf/genrtldtbl.awk: Likewise.
8832         * elf/tst-pathopt.sh: Likewise.
8833         * elf/tst-rtld-load-self.sh: Likewise.
8834         * grp/tst_fgetgrent.sh: Likewise.
8835         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8836         * iconvdata/gen-8bit-gap.sh: Likewise.
8837         * iconvdata/gen-8bit.sh: Likewise.
8838         * iconvdata/run-iconv-test.sh: Likewise.
8839         * intl/tst-gettext.sh: Likewise.
8840         * intl/tst-gettext2.sh: Likewise.
8841         * intl/tst-gettext4.sh: Likewise.
8842         * intl/tst-gettext6.sh: Likewise.
8843         * intl/tst-translit.sh: Likewise.
8844         * io/ftwtest-sh: Likewise.
8845         * libio/test-freopen.sh: Likewise.
8846         * locale/gen-translit.pl: Likewise.
8847         * malloc/tst-mtrace.sh: Likewise.
8848         * manual/check-safety.sh: Likewise.
8849         * manual/libc-texinfo.sh: Likewise.
8850         * manual/tsort.awk: Likewise.
8851         * manual/xtract-typefun.awk: Likewise.
8852         * nptl/tst-cancel-wrappers.sh: Likewise.
8853         * nptl/tst-tls6.sh: Likewise.
8854         * posix/globtest.sh: Likewise.
8855         * posix/tst-getconf.sh: Likewise.
8856         * posix/wordexp-tst.sh: Likewise.
8857         * scripts/check-c++-types.sh: Likewise.
8858         * scripts/check-local-headers.sh: Likewise.
8859         * scripts/config.guess: Likewise.
8860         * scripts/config.sub: Likewise.
8861         * scripts/cpp: Likewise.
8862         * scripts/cross-test-ssh.sh: Likewise.
8863         * scripts/documented.sh: Likewise.
8864         * scripts/evaluate-test.sh: Likewise.
8865         * scripts/gen-libc-abis: Likewise.
8866         * scripts/gen-sorted.awk: Likewise.
8867         * scripts/list-fixed-bugs.py: Likewise.
8868         * scripts/merge-test-results.sh: Likewise.
8869         * scripts/mkinstalldirs: Likewise.
8870         * scripts/rellns-sh: Likewise.
8871         * scripts/test-installation.pl: Likewise.
8872         * scripts/update-copyrights: Likewise.
8873         * stdio-common/tst-printf.sh: Likewise.
8874         * stdio-common/tst-unbputc.sh: Likewise.
8875         * stdlib/tst-fmtmsg.sh: Likewise.
8876         * stdlib/tst-setcontext3.sh: Likewise.
8877         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8878         * sysdeps/unix/make-syscalls.sh: Likewise.
8880 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8882         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8883         asm stw with atomic_exchange_rel.  Add explanatory comment.
8884         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8885         Likewise.
8887 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8889         [BZ #19122]
8890         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8891         * sysdeps/generic/dl-unistd.h: New file.
8892         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8894 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8896          [BZ #19122]
8897          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8898          * sysdeps/generic/dl-mman.h: New file.
8899          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8901 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8903         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8904         trailing whitespace removed.
8905         * scripts/config.guess: Update to version 2016-01-01.
8906         * scripts/config.sub: Update to version 2016-01-01.
8907         * scripts/move-if-change: Update from gnulib.
8909 2016-01-04  Anton Blanchard  <anton@samba.org>
8911         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8912         for array indices.
8913         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8915 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8917         * NEWS: Update copyright dates.
8918         * catgets/gencat.c (print_version): Likewise.
8919         * csu/version.c (banner): Likewise.
8920         * debug/catchsegv.sh: Likewise.
8921         * debug/pcprofiledump.c (print_version): Likewise.
8922         * debug/xtrace.sh (do_version): Likewise.
8923         * elf/ldconfig.c (print_version): Likewise.
8924         * elf/ldd.bash.in: Likewise.
8925         * elf/pldd.c (print_version): Likewise.
8926         * elf/sotruss.sh: Likewise.
8927         * elf/sprof.c (print_version): Likewise.
8928         * iconv/iconv_prog.c (print_version): Likewise.
8929         * iconv/iconvconfig.c (print_version): Likewise.
8930         * locale/programs/locale.c (print_version): Likewise.
8931         * locale/programs/localedef.c (print_version): Likewise.
8932         * login/programs/pt_chown.c (print_version): Likewise.
8933         * malloc/memusage.sh (do_version): Likewise.
8934         * malloc/memusagestat.c (print_version): Likewise.
8935         * malloc/mtrace.pl: Likewise.
8936         * manual/libc.texinfo: Likewise.
8937         * nptl/version.c (banner): Likewise.
8938         * nscd/nscd.c (print_version): Likewise.
8939         * nss/getent.c (print_version): Likewise.
8940         * nss/makedb.c (print_version): Likewise.
8941         * posix/getconf.c (main): Likewise.
8942         * scripts/test-installation.pl: Likewise.
8943         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8945         * All files with FSF copyright notices: Update copyright dates
8946         using scripts/update-copyrights.
8947         * intl/plural.c: Regenerated.
8948         * locale/programs/charmap-kw.h: Likewise.
8949         * locale/programs/locfile-kw.h: Likewise.
8951 2016-01-02  Helge Deller  <deller@gmx.de>
8953         [BZ #19285]
8954         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8955         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8956         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8957         (MADV_xxK_PAGES): Remove.
8959 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8961         [BZ #15421]
8962         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8963         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8964         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8965         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8967 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8969         [BZ #19408]
8970         * sysdeps/unix/sysv/linux/personality.c: New file.
8971         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8972         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8973         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8974         (sysdep_routines): Add personality.
8975         (tests): Add tst-personality.
8976         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8977         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8978         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8979         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8980         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8981         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8982         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8983         Likewise.
8984         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8985         Likewise.
8986         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8987         Likewise.
8988         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8989         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8990         Likewise.
8992 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8994         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8995         (PATH_ARM_SYSTYPE): Remove.
8996         (PATH_CPUINFO): Likewise.
8997         (IO_BASE_FOOTBRIDGE): Likewise.
8998         (IO_SHIFT_FOOTBRIDGE): Likewise.
8999         (struct platform): Likewise.
9000         (init_iosys): Remove compatibility code for 2.4 kernels.
9001         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9003 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9005         * malloc/tst-malloc-thread-fail.c: New file.
9006         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9007         (tst-malloc-thread-fail): Link against libpthread.
9009 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9011         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9012         (get_parser): New function.
9013         (main): New function.
9015 2015-12-29  Rob Wu  <rob@robwu.nl>
9017         [BZ #19369]
9018         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9020 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9022         [BZ #19270]
9023         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9025 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9027         [BZ #15421]
9028         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9030 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9032         [BZ #13690]
9033         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9034         after releasing it.
9035         (__lll_robust_unlock): Likewise.
9036         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9037         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9038         (lll_robust_unlock): Likewise.
9039         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9040         Prevent warnings in callers.
9042 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9044         * malloc/arena.c (list_lock): Update comment.
9046 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9048         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9049         __parse_hwcap_and_convert_at_platform to libc.a.
9051 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9053         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9054         platform and feature support for POWER9.
9055         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9056         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9057         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9058         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9059         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9060         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9061         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9062         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9064 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9066         Harmonize generic stdio-lock support with nptl
9068         This fixes build when _IO_funlockfile is a macro, fixes build where
9069         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9070         stack unwind.
9072         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9073         _IO_release_lock ): Use cleanup attribute on new
9074         _IO_acquire_lock_file variable instead of assuming that
9075         _IO_release_lock will be called.
9076         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9077         _IO_acquire_lock_needs_exceptions_enabled.
9078         (_IO_acquire_lock_clear_flags2): New macro.
9080 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9082         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9084 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9086         [BZ #19182]
9087         * malloc/arena.c (list_lock): Document lock ordering requirements.
9088         (free_list_lock): New lock.
9089         (ptmalloc_lock_all): Comment on free_list_lock.
9090         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9091         (detach_arena): Update comment.  free_list_lock is now needed.
9092         (_int_new_arena): Use free_list_lock around detach_arena call.
9093         Acquire arena lock after list_lock.  Add comment, including FIXME
9094         about incorrect synchronization.
9095         (get_free_list): Switch to free_list_lock.
9096         (reused_arena): Acquire free_list_lock around detach_arena call
9097         and attached threads counter update.  Add two FIXMEs about
9098         incorrect synchronization.
9099         (arena_thread_freeres): Switch to free_list_lock.
9100         * malloc/malloc.c (struct malloc_state): Update comments to
9101         mention free_list_lock.
9103 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9105         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9106         Remove functions.
9107         (sloww, sloww1): Accept argument to offset quadrant.
9108         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9109         quadrant.
9110         (__sin, __cos): Consolidate common code into new functions.
9111         (reduce_sincos_1, do_sincos_1): New functions.
9112         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9114         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9115         code to new functions.
9116         (reduce_sincos_2, do_sincos_2): New functions.
9117         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9119         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9120         common code for sincos.
9121         (__cos) [!IN_SINCOS]: Likewise.
9122         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9123         New function.
9124         (__sincos): Use it.
9126 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9128         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9129         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9130         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9132 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9134         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9137         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9138         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9139         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9140         index_Prefer_No_VZEROUPPER): New feature.
9141         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9142         Prefer_No_VZEROUPPER for Knights Landing.
9144 015-12-18  Torvald Riegel  <triegel@redhat.com>
9146         * math/atest-exp2.c (mp_exp_m1): Remove.
9148 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9150         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9151         syscalls.
9152         (__SYSCALL0): New macro.
9153         (__SYSCALL1): Likewise.
9154         (__SYSCALL2): Likewise.
9155         (__SYSCALL3): Likewise.
9156         (__SYSCALL4): Likewise.
9157         (__SYSCALL5): Likewise.
9158         (__SYSCALL6): Likewise.
9159         (__SYSCALL_CONCAT_X): Likewise.
9160         (__SYSCALL_CONCAT): Likewise.
9161         (__SYSCALL_DIST): Likewise.
9162         (__SYSCALL_CALL): Likewise.
9164 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9166         [BZ #19363]
9167         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9169 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9171         [BZ #19375]
9172         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9173         negative subnormals.
9175 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9178         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9179         (INTERNAL_SYSCALL_NCS): Use it.
9180         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9182 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9184         [BZ #19243]
9185         * malloc/arena.c (get_free_list): Remove assert and adjust
9186         reference count handling.  Add comment about reused_arena
9187         interaction.
9188         (reused_arena): Add comments abount get_free_list interaction.
9189         * malloc/tst-malloc-thread-exit.c: New file.
9190         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9191         (tst-malloc-thread-exit): Link against libpthread.
9193 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9195         [BZ #19367]
9196         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9197         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9198         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9199         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9200         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9202 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9204         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9205         Silvermont optimizations for Knights Landing.
9207 2015-12-15  Andreas Schwab  <schwab@suse.de>
9209         [BZ #17197]
9210         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9211         immediately after emitting SI.
9212         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9213         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9214         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9215         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9216         * iconvdata/bug-iconv10.c: New file.
9217         * iconvdata/Makefile (tests): Add bug-iconv10.
9218         ($(objpfx)bug-iconv10.out): New rule.
9220 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9222         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9223         aliasing violation.
9225 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9227         [BZ #18472]
9228         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9229         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9230         conditionals for them.
9231         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9232         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9233         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9234         sys/kdaemon.h.
9235         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9236         compat-only syscall, obsoleted in glibc 2.23.
9237         (create_module): Likewise.
9238         (get_kernel_syms): Likewise.
9239         (query_module): Likewise.
9240         (uselib): Likewise.
9241         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9243 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9245         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9246         <linux/version.h>.
9247         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9248         conditional code.
9249         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9250         and ioshift_name initialization.
9252 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9254         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9255         Fix indentation.
9257 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9259         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9261 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9263         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9265 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9266             Jakub Wilk  <jwilk@debian.org>
9268         [BZ #19347]
9269         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9270         to change the group of the device to the tty group.
9272 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9274         Split large string section; add truncation advice
9275         * manual/examples/strncat.c: Remove.
9276         This example was misleading, as the code would have undefined
9277         behavior if "hello" was longer than SIZE.  Anyway, the manual
9278         shouldn't encourage strncpy+strncat for this sort of thing.
9279         * manual/string.texi (Copying Strings and Arrays): Split into
9280         three sections Copying Strings and Arrays, Concatenating Strings,
9281         and Truncating Strings, as this section was way too long.  All
9282         cross-referenced changed.  Add advice about string-truncation
9283         functions.  Remove misleading strncat example.
9285 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9287         * manual/nss.texi (NSS Modules Interface): Document
9288         NSS_STATUS_NOTFOUND and SUCCESS.
9290 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9292         [BZ 18568]
9293         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9294         201505L, for Unicode 8.
9296 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9298         * locale/C-translit.h: Regenerate.
9300 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9302         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9303         and U+0153.
9305 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9307         [BZ #19351]
9308         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9309         expanding log(1+z), compare z rather than its square with epsilon
9310         to determine when to avoid evaluating the expansion.
9312         [BZ #19350]
9313         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9314         Increase overflow threshold.
9316         [BZ #19349]
9317         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9318         when small.
9320         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9321         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9322         New macro.
9323         [__LINUX_KERNEL_VERSION >= 0x040300]
9324         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9325         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9326         Likewise.
9327         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9328         Likewise.
9329         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9330         Likewise.
9331         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9332         Likewise.
9333         [__LINUX_KERNEL_VERSION >= 0x040300]
9334         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9335         [__LINUX_KERNEL_VERSION >= 0x040300]
9336         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9337         [__LINUX_KERNEL_VERSION >= 0x040300]
9338         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9339         [__LINUX_KERNEL_VERSION >= 0x040300]
9340         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9341         [__LINUX_KERNEL_VERSION >= 0x040300]
9342         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9343         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9344         Likewise.
9345         [__LINUX_KERNEL_VERSION >= 0x040300]
9346         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9347         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9348         Likewise.
9349         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9350         Likewise.
9351         [__LINUX_KERNEL_VERSION >= 0x040300]
9352         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9353         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9354         Likewise.
9355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9356         Likewise.
9357         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9358         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9359         Likewise.
9360         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9361         Likewise.
9362         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9363         Likewise.
9364         [__LINUX_KERNEL_VERSION >= 0x040300]
9365         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9366         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9367         Likewise.
9368         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9369         Likewise.
9370         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9371         Likewise.
9372         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9373         Likewise.
9374         [__LINUX_KERNEL_VERSION >= 0x040300]
9375         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9376         [__LINUX_KERNEL_VERSION >= 0x040300]
9377         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9378         [__LINUX_KERNEL_VERSION >= 0x040300]
9379         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9380         [__LINUX_KERNEL_VERSION >= 0x040300]
9381         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9382         [__LINUX_KERNEL_VERSION >= 0x040300]
9383         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9384         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9385         Likewise.
9386         [__LINUX_KERNEL_VERSION >= 0x040300]
9387         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9388         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9389         Likewise.
9390         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9391         Likewise.
9392         [__LINUX_KERNEL_VERSION >= 0x040300]
9393         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9394         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9395         Likewise.
9396         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9397         Likewise.
9398         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9399         (__ASSUME_SOCKET_SYSCALL): Likewise.
9400         (__ASSUME_BIND_SYSCALL): Likewise.
9401         (__ASSUME_CONNECT_SYSCALL): Likewise.
9402         (__ASSUME_LISTEN_SYSCALL): Likewise.
9403         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9404         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9405         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9406         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9407         (__ASSUME_SEND_SYSCALL): Likewise.
9408         (__ASSUME_SENDTO_SYSCALL): Likewise.
9409         (__ASSUME_RECV_SYSCALL): Likewise.
9410         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9411         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9412         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9413         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9414         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9415         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9416         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9417         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9418         Likewise.
9419         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9420         Likewise.
9421         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9422         Likewise.
9423         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9424         Likewise.
9425         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9426         Likewise.
9427         [__LINUX_KERNEL_VERSION >= 0x020625]
9428         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9429         [__LINUX_KERNEL_VERSION >= 0x020625]
9430         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9431         [__LINUX_KERNEL_VERSION >= 0x020625]
9432         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9433         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9434         Likewise.
9435         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9436         Likewise.
9437         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9438         Likewise.
9439         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9440         Likewise.
9441         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9442         Likewise.
9443         [__LINUX_KERNEL_VERSION >= 0x020625]
9444         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9445         [__LINUX_KERNEL_VERSION >= 0x020625]
9446         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9447         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9448         Likewise.
9449         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9450         Likewise.
9452 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9454         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9455         record the current if the current ABI and CPU support the FP64
9456         extension.
9457         (has-modd-spreg): Define to record the current if the current ABI and
9458         CPU support 32-bit floating point values in odd FPU registers.
9459         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9460         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9461         $(has-modd-spreg) equals yes.
9462         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9463         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9464         $(has-modd-spreg) equal yes.
9466 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9468         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9469         basename.
9471 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9473         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9474         (bench-string): ... here.
9475         (bench): Add bench-string.
9476         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9477         to *-benchset to reflect what they are.
9478         (benchset): Adjust.
9480         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9481         cos-inputs.
9483 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9485         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9486         __attribute__ ((__simd__)) for vector math function declarations.
9488 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9490         Fix typo in strncat, wcsncat manual entries
9491         * manual/string.texi (Copying and Concatenation): Fix typos in
9492         sample implementations of strncat and wcsncat, by having them use
9493         the old value of the destination length, not the new one.
9495 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9497         [BZ #16961]
9498         [BZ #16962]
9499         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9500         string on the stack for strtod.
9501         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9502         a string on the stack for strtof.
9503         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9504         constructing a string on the stack for strtold.
9505         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9506         __strtold_nan to GLIBC_PRIVATE.
9507         * math/test-nan-overflow.c: New file.
9508         * math/test-nan-payload.c: Likewise.
9509         * math/Makefile (tests): Add test-nan-overflow and
9510         test-nan-payload.
9512 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9514         Consistency about byte vs character in string.texi
9515         * manual/string.texi (String and Array Utilities):
9516         Distinguish more carefully among bytes, multibyte characters,
9517         and wide characters.  Use "byte" when talking about C 'char',
9518         to distinguish it more clearly from multibyte characters.
9519         Say "wide character" or "multibyte character" instead of
9520         "character", when a wide or multibyte character is intended.
9521         Similarly for "multibyte string" versus "string".
9522         Define these terms more carefully.
9524 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9526         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9527         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9528         Likewise.
9529         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9530         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9531         * sysdeps/sh/math_private.h: New file.
9532         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9533         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9534         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9535         long double function name.
9536         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9537         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9538         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9539         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9540         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9542         Remove __finitel, __isinfl, and __isnanl.
9543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9544         Likewise.
9545         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9547         Remove __finitel.
9548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9549         Likewise.
9550         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9552 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9554         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9555         installed libmvec_nonshared.a.
9557 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9559         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9560         (sysdep_routines): Likewise.
9561         (sysdep-rtld-routines): Likewise.
9562         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9563         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9564         * sysdeps/powerpc/Versions: Added new
9565         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9566         * sysdeps/powerpc/hwcapinfo.c: New file.
9567         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9568         and parse hwcap, hwcap2 and platform number information.
9569         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9570         to store HWCAP+HWCAP2 and platform number.
9571         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9572         for HWCAP+HWCAP2 and platform number in the TCB.
9573         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9574         the HWCAP, HWCAP2 and platform number in the TCB.
9575         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9576         (TLS_INIT_TP): Included calls to add the hwcap and
9577         at_platform values in the TCB in TP initialization.
9578         (TLS_DEFINE_INIT_TP): Likewise.
9579         (THREAD_GET_HWCAP): New macro.
9580         (THREAD_SET_HWCAP): Likewise.
9581         (THREAD_GET_AT_PLATFORM): Likewise.
9582         (THREAD_SET_AT_PLATFORM): Likewise.
9583         * sysdeps/powerpc/powerpc32/dl-machine.h:
9584         (dl_platform_init): New function that calls
9585         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9586         powerpc32.
9587         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9588         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9589         this functionality, static linking case.
9590         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9591         linking case.
9592         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9593         __parse_hwcap_and_convert_at_platform for the static linking case.
9594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9595         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9596         ABI list for GLIBC 2.23.
9597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9598         Likewise.
9599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9600         Likewise.
9602 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9604         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9605         * configure: Regenerate.
9606         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9607         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9609 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9611         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9612         * iconvdata/ibm933.c: Likewise.
9613         * iconvdata/ibm935.c: Likewise.
9614         * iconvdata/ibm937.c: Likewise.
9615         * iconvdata/ibm939.c: Likewise.
9617 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9619         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9620         pthread_join.
9621         * nptl/tst-cancel21.c (tf): Likewise.
9623 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9625         [BZ #19313]
9626         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9627         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9628         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9629         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9630         Likewise.
9631         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9632         Likewise.
9633         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9634         Likewise.
9635         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9636         Likewise.
9637         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9638         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9639         unsigned long int with __CPU_MASK_TYPE.
9641 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9643         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9645 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9647         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9648         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9649         t512.x.
9650         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9652 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9654         [BZ #19214]
9655         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9656         argument to return extended model.  Update family and model
9657         with extended family and model when family == 0x0f.
9658         (init_cpu_features): Updated.
9660 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9662         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9663         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9665         * sysdeps/mach/hurd/mmap64.c: New file.
9667 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9669         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9670         rights for its main user thread in NEWTASK.
9672 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9674         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9675         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9677 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9679         [BZ #14259]
9680         * Makeconfig: Rename localedir to complocaledir.
9681         Rename inst_localedir to inst_complocaledir.
9682         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9683         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9684         * configure.ac: Use libc_cv_complocaledir.
9685         * configure: Regenerate.
9686         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9687         -DCOMPLOCALEDIR.
9688         * locale/findlocale.c: Use COMPLOCALEDIR.
9689         * locale/loadarchive.c: Likewise.
9690         * locale/programs/locale.c: Likewise.
9691         * locale/programs/localedef.c: Likewise.
9692         * locale/programs/locarchive.c: Likewise.
9693         * localedata/Makefile: Use inst_complocaledir.
9694         * sysdeps/gnu/configure: Regenerate.
9695         * sysdeps/hppa/configure: Regenerate.
9696         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9697         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9699         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9700         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9701         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9702         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9704 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9706         [BZ #19058]
9707         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9708         AS_NEEDED.
9709         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9710         workaround.
9711         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9712         libmvec-static-only-routines): Added new file.
9713         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9715 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9717         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9718         of interrupted RPC instead of restoring it.
9720         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9721         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9722         libc_hidden_def.
9723         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9724         into initialized data instead of common. Define rtld_hidden_data_def.
9725         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9726         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9727         libc_hidden_def.
9728         (if_freenameindex): Add libc_hidden_weak.
9729         (if_nameindex): Add libc_hidden_weak.
9730         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9731         __open64.
9732         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9733         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9734         * sysdeps/mach/nanosleep.c: Include <time.h>
9735         (__nanosleep): Rename to __libc_nanosleep.
9736         (__nanosleep): Add weak_alias.
9737         (nanosleep): Update alias.
9739 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9741         * stdlib/strtod_nan.c: New file.
9742         * stdlib/strtod_nan_double.h: Likewise.
9743         * stdlib/strtod_nan_float.h: Likewise.
9744         * stdlib/strtod_nan_main.c: Likewise.
9745         * stdlib/strtod_nan_narrow.h: Likewise.
9746         * stdlib/strtod_nan_wide.h: Likewise.
9747         * stdlib/strtof_nan.c: Likewise.
9748         * stdlib/strtold_nan.c: Likewise.
9749         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9750         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9751         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9752         * wcsmbs/wcstod_nan.c: Likewise.
9753         * wcsmbs/wcstof_nan.c: Likewise.
9754         * wcsmbs/wcstold_nan.c: Likewise.
9755         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9756         strtold_nan.
9757         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9758         wcstof_nan.
9759         * include/stdlib.h (__strtof_nan): Declare and use
9760         libc_hidden_proto.
9761         (__strtod_nan): Likewise.
9762         (__strtold_nan): Likewise.
9763         (__wcstof_nan): Likewise.
9764         (__wcstod_nan): Likewise.
9765         (__wcstold_nan): Likewise.
9766         * include/wchar.h (____wcstoull_l_internal): Declare.
9767         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9768         (____strtoull_l_internal): Remove declaration.
9769         (STRTOF_NAN): Define macro.
9770         (SET_MANTISSA): Remove macro.
9771         (STRTOULL): Likewise.
9772         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9773         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9774         (STRTOF_NAN): Define macro.
9775         (SET_MANTISSA): Remove macro.
9776         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9777         (SET_MANTISSA): Remove macro.
9778         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9779         macro.
9780         (SET_MANTISSA): Remove macro.
9781         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9782         macro.
9783         (SET_MANTISSA): Remove macro.
9784         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9785         (SET_MANTISSA): Remove macro.
9786         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9787         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9788         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9790         [BZ #19266]
9791         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9792         upper case and lower case letters inside NAN(), not using TOLOWER.
9793         * stdlib/tst-strtod-nan-locale-main.c: New file.
9794         * stdlib/tst-strtod-nan-locale.c: Likewise.
9795         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9796         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9797         Depend on $(gen-locales).
9798         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9799         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9800         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9801         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9802         Depend on $(gen-locales).
9803         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9805 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9807         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9809         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9811         __finitel, __isinfl, and __isnanl.
9812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9813         Likewise.
9814         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9816         __finitel.
9817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9818         Likewise.
9819         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9821 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9823         * malloc/memusage.c (me): Remove redundant getenv call.
9825 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9827         [BZ #19143]
9828         [BZ #19164]
9829         * nptl/check-cpuset.h: Remove.
9830         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9831         Remove CPU set size check.
9832         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9833         Likewise.
9834         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9835         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9836         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9837         (__pthread_setaffinity_new): Remove CPU set size check.
9838         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9839         (__kernel_cpumask_size): Remove.
9840         (__sched_setaffinity_new): Remove CPU set size check.
9841         * manual/threads.texi (Default Thread Attributes): Remove stale
9842         reference to check_cpuset_attr, determine_cpumask_size in comment.
9843         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9844         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9845         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9846         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9847         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9848         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9849         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9850         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9851         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9852         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9853         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9854         skeleton test file.
9855         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9856         tst-affinity-pid.
9858 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9860         * scripts/update-abilist.sh: New file.
9861         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9862         * Makerules (update-all-abi-%, update-all-abi)
9863         (subdir_update-all-abi): New targets.
9864         * elf/Makefile (update-all-abi): New target.
9866 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9868         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9869         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9870         (__libc_lock_define_initialized): Use it.
9871         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9872         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9873         * malloc/malloc.c (main_arena): Likewise.
9874         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9875         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9877 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9879         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9880         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9881         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9882         (PTRACE_O_MASK): Update value.
9883         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9884         New value in enum __ptrace_setoptions.
9885         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9886         (PTRACE_O_MASK): Update value.
9887         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9888         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9889         (PTRACE_O_MASK): Update value.
9890         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9891         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9892         (PTRACE_O_MASK): Update value.
9893         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9894         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9895         (PTRACE_O_MASK): Update value.
9896         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9897         New value in enum __ptrace_setoptions.
9898         (PTRACE_O_MASK): Update value.
9899         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9900         New value in enum __ptrace_setoptions.
9901         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9902         (PTRACE_O_MASK): Update value.
9904         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9905         New macro.
9906         (PACKET_AUXDATA): Likewise.
9907         (PACKET_ORIGDEV): Likewise.
9908         (PACKET_VERSION): Likewise.
9909         (PACKET_HDRLEN): Likewise.
9910         (PACKET_RESERVE): Likewise.
9911         (PACKET_TX_RING): Likewise.
9912         (PACKET_LOSS): Likewise.
9913         (PACKET_VNET_HDR): Likewise.
9914         (PACKET_TX_TIMESTAMP): Likewise.
9915         (PACKET_TIMESTAMP): Likewise.
9916         (PACKET_FANOUT): Likewise.
9917         (PACKET_TX_HAS_OFF): Likewise.
9918         (PACKET_QDISC_BYPASS): Likewise.
9919         (PACKET_ROLLOVER_STATS): Likewise.
9920         (PACKET_FANOUT_DATA): Likewise.
9921         (PACKET_MR_UNICAST): Likewise.
9923         [BZ #19242]
9924         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9925         (TOUPPER): Likewise.
9926         * stdlib/tst-strtol-locale-main.c: New file.
9927         * stdlib/tst-strtol-locale.c: Likewise.
9928         * stdlib/Makefile (tests): Add tst-strtol-locale.
9929         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9930         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9931         Depend on $(gen-locales).
9932         * wcsmbs/tst-wcstol-locale.c: New file.
9933         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9934         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9935         tr_TR.ISO-8859-9.
9936         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9937         Depend on $(gen-locales).
9939 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9941         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9942         __glibc_likely instead of __builtin_expect.  After falling back to
9943         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9944         system interface to register the code pages as occupied.
9946 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9948         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9949         [!ARM_MATH_PRIVATE_H].
9950         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9951         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9952         [!HPPA_MATH_PRIVATE_H].
9953         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9954         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9955         to [!I386_MATH_PRIVATE_H].
9956         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9957         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9958         Change guard to [!M68K_MATH_PRIVATE_H].
9959         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9960         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9961         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9962         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9963         macro.
9964         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9965         [!MIPS_MATH_PRIVATE_H].
9966         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9967         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9968         [!NIO2_MATH_PRIVATE_H].
9969         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9970         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9971         [!TILE_MATH_PRIVATE_H].
9972         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9974         [BZ #15421]
9975         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9976         initialize with 0 and define as weak alias of __signgam.
9977         * include/math.h [!_ISOMAC] (__signgam): Declare.
9978         * math/Makefile (libm-calls): Add w_lgamma_compat.
9979         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9980         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9981         test-signgam-ullong-init.
9982         (tests-static): Add test-signgam-uchar-static,
9983         test-signgam-uchar-init-static, test-signgam-uint-static,
9984         test-signgam-uint-init-static, test-signgam-ullong-static and
9985         test-signgam-ullong-init-static.
9986         (CFLAGS-test-signgam-uchar.c): New variable.
9987         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9988         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9989         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9990         (CFLAGS-test-signgam-uint.c): Likewise.
9991         (CFLAGS-test-signgam-uint-init.c): Likewise.
9992         (CFLAGS-test-signgam-uint-static.c): Likewise.
9993         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9994         (CFLAGS-test-signgam-ullong.c): Likewise.
9995         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9996         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9997         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9998         * math/Versions (libm): Add GLIBC_2.23.
9999         * math/lgamma-compat.h: New file.
10000         * math/test-signgam-main.c: Likewise.
10001         * math/test-signgam-uchar-init-static.c: Likewise.
10002         * math/test-signgam-uchar-init.c: Likewise.
10003         * math/test-signgam-uchar-static.c: Likewise.
10004         * math/test-signgam-uchar.c: Likewise.
10005         * math/test-signgam-uint-init-static.c: Likewise.
10006         * math/test-signgam-uint-init.c: Likewise.
10007         * math/test-signgam-uint-static.c: Likewise.
10008         * math/test-signgam-uint.c: Likewise.
10009         * math/test-signgam-ullong-init-static.c: Likewise.
10010         * math/test-signgam-ullong-init.c: Likewise.
10011         * math/test-signgam-ullong-static.c: Likewise.
10012         * math/test-signgam-ullong.c: Likewise.
10013         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10014         wrapper of w_lgamma_main.c.
10015         * math/w_lgamma_compat.c: New file.
10016         * math/w_lgamma_compatf.c: Likewise.
10017         * math/w_lgamma_compatl.c: Likewise.
10018         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10019         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10020         defining compatibility symbols.
10021         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10022         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10023         wrapper of w_lgammaf_main.c.
10024         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10025         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10026         defining compatibility symbols.
10027         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10028         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10029         wrapper of w_lgammal_main.c.
10030         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10031         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10032         defining compatibility symbols.
10033         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10034         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10035         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10036         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10037         <lgamma-compat.h>.
10038         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10039         (__ieee754_gamma): Define as alias.
10040         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10041         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10042         <lgamma-compat.h>.
10043         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10044         (__ieee754_gammaf): Define as alias.
10045         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10046         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10047         <lgamma-compat.h>.
10048         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10049         (__ieee754_gammal): Define as alias.
10050         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10051         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10052         <math/w_lgamma_compat.c>.
10053         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10054         Define as alias of __lgamma_compat and use in defining lgammal.
10055         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10056         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10057         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10058         (USE_AS_COMPAT): New macro.
10059         (LGAMMA_OLD_VER): Undefine and redefine.
10060         (lgammal): Do not define here.
10061         (gammal): Only define here if [GAMMA_ALIAS].
10062         * conform/linknamespace.pl (@whitelist): Remove signgam.
10063         * sysdeps/nacl/libm.abilist: Update.
10064         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10065         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10066         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10067         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10068         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10069         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10070         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10071         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10072         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10073         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10074         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10075         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10077         Likewise.
10078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10079         Likewise.
10080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10081         Likewise.
10082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10083         Likewise.
10084         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10085         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10086         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10087         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10088         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10090         Likewise.
10091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10092         Likewise.
10093         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10094         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10095         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10097 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10099         [BZ #16364]
10100         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10101         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10103 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10105         * sysdeps/s390/fpu/bits/mathinline.h:
10106         Use __asm__ [__volatile__] instead of asm [volatile].
10107         * sysdeps/s390/abort-instr.h: Likewise.
10108         * sysdeps/s390/atomic-machine.h: Likewise.
10109         * sysdeps/s390/bits/string.h: Likewise.
10110         * sysdeps/s390/dl-tls.h: Likewise.
10111         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10112         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10113         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10114         * sysdeps/s390/fpu/fesetround.c: Likewise.
10115         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10116         * sysdeps/s390/fpu/s_fma.c: Likewise.
10117         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10118         * sysdeps/s390/memusage.h: Likewise.
10119         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10120         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10121         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10122         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10123         * sysdeps/s390/nptl/tls.h: Likewise.
10124         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10125         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10126         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10127         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10128         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10129         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10130         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10131         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10132         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10133         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10134         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10135         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10136         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10137         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10138         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10139         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10140         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10141         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10142         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10143         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10144         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10145         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10146         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10148 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10149             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10151         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10152         Add lwarx hint, and use macro for acquire instruction.
10153         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10154         Likewise.
10155         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10156         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10157         update to use new atomic macros.
10159 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10161         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10162         (__lll_trylock_elision): Fix setting of adapt_count.
10163         * sysdeps/unix/sysv/linux/powerpc/htm.h
10164         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10165         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10166         (_ABORT_SYSCALL): Renumber, and clarify definition.
10167         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10169 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10171         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10172         after system headers to prevent MIN/MAX redefinition.  Define
10173         HAVE_ALLOCA to preserve builtin alloca usage.
10175 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10177         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10178         static and don't set or restore rounding.
10179         (__cos)[IN_SINCOS]: Likewise.
10180         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10181         (__sincos): Set and restore rounding mode.  Remove check for infinite
10182         or NaN input.
10184         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10186         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10187         as used.
10189 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10191         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10193 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10195         * config.make.in (have-glob-dat-reloc): New.
10196         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10197         target supports GLOB_DAT relocaton. AC_SUBST.
10198         * configure: Regenerated.
10199         * elf/Makefile (tests): Add tst-prelink.
10200         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10201         (tst-prelink-ENV): New.
10202         ($(objpfx)tst-prelink-conflict.out): Likewise.
10203         ($(objpfx)tst-prelink-cmp.out): Likewise.
10204         * sysdeps/x86/tst-prelink.c: Moved to ...
10205         * elf/tst-prelink.c: Here.
10206         * sysdeps/x86/tst-prelink.exp: Moved to ...
10207         * elf/tst-prelink.exp: Here.
10208         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10209         (tst-prelink-ENV): Removed.
10210         ($(objpfx)tst-prelink-conflict.out): Likewise.
10211         ($(objpfx)tst-prelink-cmp.out): Likewise.
10212         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10214 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10216         [BZ #14551]
10217         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10218         (__mpn_construct_long_double): If high part overflows to infinity,
10219         set errno and recompute overflowed result of the correct sign.
10220         * sysdeps/ieee754/ldbl-128ibm/Makefile
10221         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10222         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10223         $(libm).
10224         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10226 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10228         [BZ #15479]
10229         [BZ #19238]
10230         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10231         floating-point state after first operation on input.  Restore full
10232         state rather than just rounding mode.
10233         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10234         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10235         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10237         [BZ #19235]
10238         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10239         add 0.5 to integer arguments.
10240         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10241         Likewise.
10242         (.LC2): New object.
10244 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10246         * scripts/pylintrc (reports): Set to no.
10248 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10250         * elf/dl-load.c (open_verify): Take new argument FD.
10251         Skip __open call if passed FD is not -1.
10252         (_dl_map_object, open_path): Update callers.
10253         * elf/dl-sysdep-open.h: New file.
10254         * elf/dl-load.c: Include it.
10255         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10256         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10257         * sysdeps/nacl/dl-sysdep-open.h: New file.
10258         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10259         from libc to rtld.
10261 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10263         [BZ #19228]
10264         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10265         and restore full floating-point state.
10266         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10267         Likewise.
10268         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10269         Likewise.
10270         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10271         Likewise.
10272         * math/test-nearbyint-except-2.c: New file.
10273         * math/Makefile (tests): Add test-nearbyint-except-2.
10275 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10277         [BZ #19178]
10278         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10279         (tst-prelink-ENV): New.
10280         ($(objpfx)tst-prelink-conflict.out): Likewise.
10281         ($(objpfx)tst-prelink-cmp.out): Likewise.
10282         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10283         * sysdeps/x86/tst-prelink.c: New file.
10284         * sysdeps/x86/tst-prelink.exp: Likewise.
10286 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10288         * math/auto-libm-test-in: Add another test of pow.
10289         * math/auto-libm-test-out: Regenerated.
10290         * math/libm-test.inc (pow_test_data): Add another test.
10292 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10294         [BZ #19219]
10295         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10296         weak_alias to nearbyintl.
10298 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10300         * sysdeps/aarch64/bits/string.h: New file.
10301         (_STRING_ARCH_unaligned): Define.
10303 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10305         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10306         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10307         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10308         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10311 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10313         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10314         for original name of the DSO.  Add it to the name list of the DSO
10315         if it is actually given.
10316         (_dl_map_object): Keep track of whether an audit module rewrote
10317         the file name.  If yes, pass the original name to
10318         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10319         debugging is enabled, log the change of the file name.
10320         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10321         _dl_map_object_from_fd.
10322         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10323         * elf/tst-audit11.c: New file
10324         * elf/tst-auditmod11.c: New file.
10325         * elf/tst-audit11mod1.c: New file.
10326         * elf/tst-audit11mod2.c: New file.
10327         * elf/tst-audit11mod2.map: New file.
10328         * elf/tst-audit12.c: New file
10329         * elf/tst-auditmod12.c: New file.
10330         * elf/tst-audit12mod1.c: New file.
10331         * elf/tst-audit12mod2.c: New file.
10332         * elf/tst-audit12mod2.map: New file.
10333         * elf/tst-audit12mod3.c: New file.
10335 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10337         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10338         Don't create weak aliases,
10339         because versioned symbols are created later.
10340         * sysdeps/s390/s390-32/setjmp.S
10341         (setjmp, _setjmp): Remove weak and rename to an unique name
10342         in SHARED case due to existing versioned symbols.
10343         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10344         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10345         (getcontext): Create weak alias only in non SHARED case.
10346         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10348 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10350         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10351         (__ASSUME_*_SYSCALL) Define new macros.
10352         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10353         Remove socketcall syscalls.
10354         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10355         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10356         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10357         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10358         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10359         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10361 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10363         [BZ #12926]
10364         Terminate process on invalid netlink response.
10365         * sysdeps/unix/sysv/linux/netlinkaccess.h
10366         (__netlink_assert_response): Declare.
10367         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10368         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10369         (sysdep_routines): Add netlink_assert_response.
10370         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10371         __netlink_assert_response.
10372         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10373         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10374         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10375         __netlink_assert_response.
10377 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10379         [BZ #19178]
10380         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10381         (RTYPE_CLASS_PLT): Likewise.
10382         (RTYPE_CLASS_COPY): Likewise.
10383         (RTYPE_CLASS_TLS): Likewise.
10384         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10385         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10386         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10387         DL_DEBUG_PRELINK.
10389 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10391         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10392         calls with argument -0.5.
10393         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10395         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10396         (libc_cv_z_nodlopen): Likewise.
10397         (libc_cv_z_initfirst): Likewise.
10398         * configure: Regenerated.
10400 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10402         Simplify abilist format to be line-based.
10403         * scripts/abilist.awk: Collect descriptors in the descs variable.
10404         (emit): Write descs variable and sort it
10405         externally, with sort.
10406         * sysdeps/**/*.abilist: Convert to new format.
10408 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10410         [BZ #11460]
10411         * io/Makefile (routines): Add fts64.
10412         (tests): Add tst-fts and tst-fts-lfs.
10413         (CFLAGS-fts64.c): New.
10414         * io/Versions (GLIBC_2.23): New.
10415         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10416         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10417         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10418         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10419         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10420         (FTSENT64): Likewise.
10421         (fts64_children): Likewise.
10422         (fts64_close): Likewise.
10423         (fts64_open): Likewise.
10424         (fts64_read): Likewise.
10425         (fts64_set): Likewise.
10426         * io/fts64.c: New file.
10427         * io/tst-fts.c: New test.
10428         * io/tst-fts-lfs.c: Likewise.
10429         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10430         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10431         fts64_set.
10432         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10433         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10434         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10435         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10436         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10437         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10438         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10439         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10440         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10441         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10442         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10443         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10444         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10446         Likewise.
10447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10448         Likewise.
10449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10451         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10452         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10453         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10454         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10455         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10458         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10459         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10460         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10461         * sysdeps/wordsize-64/fts.c: New file.
10462         * sysdeps/wordsize-64/fts64.c: Likewise.
10463         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10464         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10465         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10466         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10468 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10470         * math/libm-test.inc (NON_FINITE): New macro.
10471         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10472         * math/gen-libm-test.pl (show_exceptions): Add argument
10473         $non_finite.
10474         (parse_args): Update call to show_exceptions.
10475         * math/test-math-finite.h: New file.
10476         * math/test-math-no-finite.h: Likewise.
10477         * math/test-double-finite.c: Likewise.
10478         * math/test-float-finite.c: Likewise.
10479         * math/test-ldouble-finite.c: Likewise.
10480         * math/test-double.c: Include "test-math-no-finite.h".
10481         * math/test-float.c: Include "test-math-no-finite.h".
10482         * math/test-ldouble.c: Include "test-math-no-finite.h".
10483         * math/test-math-inline.h (TEST_FINITE): New macro.
10484         * math/test-math-vector.h (TEST_FINITE): Likewise.
10485         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10486         (libm-tests): Add test-float-finite and test-double-finite.
10487         ($(objpfx)test-float-finite.o): New dependency on
10488         $(objpfx)libm-test.stmp.
10489         ($(objpfx)test-double-finite.o): Likewise.
10490         ($(objpfx)test-ldouble-finite.o): Likewise.
10491         (libm-test-no-inline-cflags): New variable.
10492         (libm-test-finite-cflags): Likewise.
10493         (CFLAGS-test-float-finite.c): Likewise.
10494         (CFLAGS-test-double-finite.c): Likewise.
10495         (CFLAGS-test-ldouble-finite.c): Likewise.
10496         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10497         (CFLAGS-test-double.c): Likewise.
10498         (CFLAGS-test-ldouble.c): Likewise.
10500 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10502         * io/fcntl.c (__fcntl): Add ... to prototype.
10503         * misc/ioctl.c (__ioctl): Likewise.
10504         * misc/syscall.c (syscall): Likewise.
10506 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10508         * scripts/list-fixed-bugs.py: New file.
10510         [BZ #19213]
10511         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10512         returned for argument 1.
10513         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10514         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10515         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10516         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10517         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10518         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10520         [BZ #19211]
10521         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10522         __USE_XOPEN], not if [!__USE_ISOC99].
10523         (lgammaf): Likewise.
10524         (lgammal): Likewise.
10525         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10526         (gammaf): Likewise.
10527         (gammal): Likewise.
10528         * math/test-signgam-finite-c11.c: New file.
10529         * math/test-signgam-finite-c99.c: Likewise.
10530         * math/test-signgam-finite.c: Likewise.
10531         * math/Makefile (tests): Add test-signgam-finite,
10532         test-signgam-finite-c99 and test-signgam-finite-c11.
10533         (CFLAGS-test-signgam-finite.c): New variable.
10534         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10535         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10537         [BZ #19212]
10538         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10539         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10540         500].
10541         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10542         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10543         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10544         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10545         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10546         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10547         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10548         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10549         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10550         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10552         [BZ #19209]
10553         * math/bits/math-finite.h (ldexp): Remove declaration.
10554         (ldexpf): Likewise.
10555         (ldexpl): Likewise.
10557         [BZ #19205]
10558         * math/bits/math-finite.h (acosf): Condition declaration on
10559         [__USE_ISOC99].
10560         (acosl): Likewise.
10561         (acoshf): Likewise.
10562         (acoshl): Likewise.
10563         (asinf): Likewise.
10564         (asinl): Likewise.
10565         (atan2f): Likewise.
10566         (atan2l): Likewise.
10567         (atanhf): Likewise.
10568         (atanhl): Likewise.
10569         (coshf): Likewise.
10570         (coshl): Likewise.
10571         (expf): Likewise.
10572         (expl): Likewise.
10573         (fmodf): Likewise.
10574         (fmodl): Likewise.
10575         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10576         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10577         (j0l): Likewise.
10578         (y0f): Likewise.
10579         (y0l): Likewise.
10580         (j1f): Likewise.
10581         (j1l): Likewise.
10582         (y1f): Likewise.
10583         (y1l): Likewise.
10584         (jnf): Likewise.
10585         (jnl): Likewise.
10586         (ynf): Likewise.
10587         (ynl): Likewise.
10588         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10589         (lgammal_r): Likewise.
10590         (__lgamma_r_finite): New declaration.
10591         (__lgammaf_r_finite): Likewise.
10592         (__lgammal_r_finite): Likewise.
10593         (lgamma): Use __lgamma_r_finite.
10594         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10595         __lgammaf_r_finite.
10596         (lgammal): Condition definition on [__USE_ISOC99].  Use
10597         __lgammal_r_finite.
10598         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10599         __lgamma_r_finite.
10600         (gammaf): Condition definition on [__USE_ISOC99].  Use
10601         __lgammaf_r_finite.
10602         (gammal): Condition definition on [__USE_ISOC99].  Use
10603         __lgammal_r_finite.
10604         (logf): Condition declaration on [__USE_ISOC99].
10605         (logl): Likewise.
10606         (log10f): Likewise.
10607         (log10l): Likewise.
10608         (ldexpf): Likewise.
10609         (ldexpl): Likewise.
10610         (powf): Likewise.
10611         (powl): Likewise.
10612         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10613         __USE_ISOC99].
10614         (remainderf): Condition declaration on [__USE_ISOC99].
10615         (remainderl): Likewise.
10616         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10617         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10618         (scalbl): Likewise.
10619         (sinhf): Condition declaration on [__USE_ISOC99].
10620         (sinhl): Likewise.
10621         (sqrtf): Likewise.
10622         (sqrtl): Likewise.
10624 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10626         * sysdeps/arm/atomic-machine.h
10627         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10628         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10629         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10630         Remove conditional code.
10631         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10632         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10633         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10634         Change conditional to [__ASSEMBLER__].
10635         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10636         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10637         [!__ASSEMBLER__].
10638         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10639         code.
10640         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10641         conditional macro definitions.
10642         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10643         (__arch_compare_and_exchange_val_16_acq): Likewise.
10644         (__arch_compare_and_exchange_val_32_acq): Likewise.
10645         (atomic_exchange_and_add): Likewise.
10646         (atomic_add): Likewise.
10647         (atomic_add_negative): Likewise.
10648         (atomic_add_zero): Likewise.
10649         (atomic_bit_set): Likewise.
10650         (atomic_bit_test_set): Likewise.
10651         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10652         code unconditional.
10653         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10655         * math/test-math-errno.h: New file.
10656         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10657         empty.
10658         (TEST_ERRNO): New macro.
10659         (TEST_EXCEPTIONS): Likewise.
10660         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10661         (TEST_EXCEPTIONS): Likewise.
10662         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10663         * math/test-double.c: Include "test-math-errno.h".
10664         * math/test-float.c: Likewise.
10665         * math/test-ldouble.c: Likewise.
10666         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10667         code unconditional.
10668         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10669         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10670         unconditional.
10671         (test_errno): Only run code if TEST_ERRNO.
10672         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10674 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10676         * nptl/tst-once5.cc: Remove attribution.
10678 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10680         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10681         sqrt, tan, tanh, y0, y1 and yn.
10682         * math/auto-libm-test-out: Regenerated.
10683         * math/libm-test.inc (scalb_test_data): Add more tests.
10684         (scalbn_test_data): Likewise.
10685         (scalbln_test_data): Likewise.
10686         (signbit_test_data): Likewise.
10687         (sin_test_data): Likewise.
10688         (sincos_test_data): Likewise.
10689         (sinh_test_data): Likewise.
10690         (sqrt_test_data): Likewise.
10691         (tan_test_data): Likewise.
10692         (tanh_test_data): Likewise.
10693         (tgamma_test_data): Likewise.
10694         (y0_test_data): Likewise.
10695         (y1_test_data): Likewise.
10696         (yn_test_data): Likewise.
10697         (significand_test_data): Likewise.
10698         * sysdeps/i386/fpu/libm-test-ulps: Update.
10700 2015-11-03  David Kastrup  <dak@gnu.org>
10702         [BZ #18604]
10703         * assert/assert.h (assert): Don't macro-expand failed assertion
10704         expression in error message.
10705         * malloc/malloc.c (assert): Likewise.
10707 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10709         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10710         test.
10711         * configure: Regenerated.
10713 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10715         * math/libm-test.inc (modf_test_data): Add more tests.
10716         (nearbyint_test_data): Likewise.
10717         (nextafter_test_data): Likewise.
10718         (nexttoward_test_data): Likewise.
10719         (pow_test_data): Likewise.
10720         (remainder_test_data): Likewise.
10721         (remquo_test_data): Likewise.
10722         (rint_test_data): Likewise.
10724         [BZ #19201]
10725         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10726         Check for zero remainder in case of large exponents and ensure
10727         correct sign of result in that case.
10728         * math/libm-test.inc (remainder_test_data): Add more tests.
10730         [BZ #6799]
10731         * math/s_nextafter.c: Include <errno.h>.
10732         (__nextafter): Set errno on overflow and underflow.
10733         * math/s_nexttowardf.c: Include <errno.h>.
10734         (__nexttowardf): Set errno on overflow and underflow.
10735         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10736         (__nextafterl): Set errno on overflow and underflow.
10737         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10738         (__nexttoward): Set errno on overflow and underflow.
10739         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10740         (__nexttowardf): Set errno on overflow and underflow.
10741         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10742         (__nextafterf): Set errno on overflow and underflow.
10743         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10744         (__nextafterl): Set errno on overflow and underflow.
10745         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10746         (__nexttoward): Set errno on overflow and underflow.
10747         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10748         (__nexttowardf): Set errno on overflow and underflow.
10749         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10750         (__nextafterl): Set errno on overflow and underflow.
10751         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10752         (__nexttoward): Set errno on overflow and underflow.
10753         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10754         (__nexttowardf): Set errno on overflow and underflow.
10755         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10756         (__nexttoward): Set errno on overflow and underflow.
10757         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10758         (__nexttowardf): Set errno on overflow and underflow.
10759         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10760         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10761         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10762         (__nextafterl): Set errno on overflow and underflow.
10763         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10764         setting to be missing on overflow.  Add more tests.
10765         (nexttoward_test_data): Likewise.
10767         * configure.ac (libc_cv_initfini_array): Remove configure test.
10768         * configure: Regenerated.
10770 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10772         [BZ #19189]
10773         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10774         non-finite argument handle arguments with negative sign.
10776         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10777         result from infinite argument.
10778         (j1_test_data): Likewise.
10779         (jn_test_data): Likewise.
10780         (y0_test_data): Likewise.
10781         (y1_test_data): Likewise.
10782         (yn_test_data): Likewise.
10784         [BZ #16171]
10785         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10786         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10787         * math/w_remainderf.c (dremf): Define as weak alias of
10788         __remainderf.
10789         * math/w_remainderl.c (dreml): Define as weak alias of
10790         __remainderl.
10791         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10792         __remainder.
10793         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10794         __remainderf.
10795         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10796         __remainderl.
10797         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10798         weak alias of remainderl.
10799         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10800         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10801         alias of __remainder.
10802         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10803         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10804         strong alias of __remainderl.
10805         (dreml): Use long_double_symbol.
10806         * math/Makefile (libm-calls): Remove w_drem.
10807         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10808         (CFLAGS-nldbl-drem.c): Remove variable.
10809         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10810         * math/w_drem.c: Remove file.
10811         * math/w_dremf.c: Likewise.
10812         * math/w_dreml.c: Likewise.
10813         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10814         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10815         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10817         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10818         * sysdeps/i386/configure: Regenerated.
10819         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10820         * sysdeps/x86_64/configure: Regenerated.
10822         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10823         test.
10824         (libc_cv_visibility_attribute): Likewise.
10825         (libc_cv_protected_data): Test unconditionally.
10826         (libc_cv_broken_visibility_attribute): Remove configure test.
10827         (libc_cv_have_sdata_section): Test unconditionally.
10828         * configure: Regenerated.
10830         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10831         * include/scratch_buffer.h: Include <stddef.h> instead of
10832         <libc-internal.h>.
10833         (struct scratch_buffer): Use max_align_t instead of
10834         libc_max_align_t.
10836 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10838         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10839         instead of extend_alloca.  Change control flow to avoid a goto.
10840         Remove assert which is trivially always true.
10842 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10844         [BZ #16068]
10845         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10846         (FE_ALL_EXCEPT_X86): New macro.
10847         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10848         FE_ALL_EXCEPT.  Ensure precision control is included in
10849         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10850         handle "denormal operand exception" and clear FZ and DAZ bits.
10851         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10852         (FE_ALL_EXCEPT_X86): New macro.
10853         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10854         FE_ALL_EXCEPT.  Ensure precision control is included in
10855         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10856         handle "denormal operand exception" and clear FZ and DAZ bits.
10857         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10858         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10859         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10860         test-fenv-x87 and test-fenv-sse-2.
10861         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10863         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10864         * math/test-double.h (BUILD_COMPLEX): New macro.
10865         * math/test-float.h (BUILD_COMPLEX): Likewise.
10866         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10868         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10869         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10870         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10872         instead of DBL_DENORM_MIN in comment.
10873         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10874         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10875         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10876         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10877         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10878         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10880 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10882         [BZ# 19048]
10883         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10884         attached_threads member.
10885         (main_arena): Initialize attached_threads.
10886         * malloc/arena.c (list_lock): Update comment.
10887         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10888         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10889         (deattach_arena): New function.
10890         (_int_new_arena): Initialize arena reference count and deattach
10891         replaced arena.
10892         (get_free_list, reused_arena): Update reference count and deattach
10893         replaced arena.
10894         (arena_thread_freeres): Update arena reference count and only put
10895         unreferenced arenas on the free list.
10897 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10899         [BZ #19181]
10900         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10901         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10902         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10903         * math/test-fenv-clear-main.c: New file.
10904         * math/test-fenv-clear.c: Likewise.
10905         * math/Makefile (tests): Add test-fenv-clear.
10906         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10907         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10908         test-fenv-clear-sse.
10909         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10911         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10912         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10913         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10915 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10917         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10918         static libc.
10920 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10922         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10923         test.
10924         * sysdeps/i386/configure: Regenerated.
10925         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10926         test.
10927         * sysdeps/x86_64/configure: Regenerated.
10928         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10929         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10930         memset-avx2 unconditionally instead of conditionally on
10931         [$(config-cflags-avx2) = yes].
10932         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10933         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10934         unconditional.
10935         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10936         * sysdeps/x86_64/multiarch/memset_chk.S
10937         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10938         to [IS_IN (libc) && SHARED].
10940 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10942         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10943         configure test.
10944         * sysdeps/arm/configure: Regenerated.
10945         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10946         Define variable if not already defined.
10948         [BZ #17404]
10949         * sysdeps/mips/atomic-machine.h
10950         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10951         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10952         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10954         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10955         unconditional.
10956         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10957         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10958         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10959         unconditional.
10960         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10961         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10962         unconditional.
10963         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10964         * stdlib/setenv.c
10965         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10966         code unconditional.
10967         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10968         Remove conditional code.
10969         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10970         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10971         unconditional.
10972         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10973         code.
10974         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10975         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10976         unconditional.
10977         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10978         code.
10979         * sysdeps/ieee754/ldbl-128/k_tanl.c
10980         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10981         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10982         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10983         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10984         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10985         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10986         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10987         unconditional.
10988         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10989         code.
10990         * sysdeps/ieee754/ldbl-96/k_tanl.c
10991         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10992         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10994         * nptl/tst-initializers1-c11.c: New file.
10995         * nptl/tst-initializers1-gnu11.c: Likewise.
10996         * nptl/Makefile (tests): Add these new tests.
10997         (CFLAGS-tst-initializers1-c11.c): New variable.
10998         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11000         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11001         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11002         instead of -std=gnu99.
11003         * configure.ac (systemtap): Test with -std=gnu11 instead of
11004         -std=gnu99.
11005         * configure: Regenerated.
11006         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11007         in compilation command in comment.
11009         * sysdeps/nptl/configure.ac: Remove file.
11010         * sysdeps/nptl/configure: Remove generated file.
11011         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11012         * configure: Regenerated.
11013         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11014         * config.make.in (have-forced-unwind): Remove variable.
11015         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11016         unconditional.
11017         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11018         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11019         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11020         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11021         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11022         unconditional.
11024 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11026         [BZ #19174]
11027         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11028         .skip_lock_out_of_tbegin_retries.
11029         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11030         (__lll_lock_elision): Likewise, and respect a value of
11031         try_tbegin <= 0.
11033 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11035         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11036         statement.
11038 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11040         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11041         variable.
11042         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11043         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11045         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11046         of -std=c1x -D_ISOC11_SOURCE.
11048         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11049         * configure: Regenerated.
11050         * manual/install.texi (Tools for Compilation): Document
11051         requirement for GCC 4.7 or later.
11052         * INSTALL: Regenerated.
11054 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11056         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11057         on CNT to a conditional jump to 'puntdata'.
11059 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11061         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11062         (libc_cv_gcc_tls_model_attr): Likewise.
11063         * configure: Regenerated.
11065         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11066         * configure: Regenerated.
11067         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11069 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11071         * configure.ac (old_glibc_headers): Remove configure test.
11072         * configure: Regenerated.
11073         * config.make.in (old-glibc-headers): Remove variable.
11074         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11075         (install): Remove dependency on remove-old-headers.
11076         (headers2_0): Remove variable.
11077         (remove-old-headers): Remove rule.
11079         * configure.ac (libc_cv_dot_text): Remove configure test.
11080         (libc_cv_asm_set_directive): Use .text instead of
11081         ${libc_cv_dot_text} in configure test.
11082         * configure: Regenerated.
11084 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11086         [BZ #19168]
11087         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11089 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11091         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11092         not support static linking.
11093         * configure: Regenerate.
11095 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11097         * math/libm-test.inc (check_float_internal): Do not special-case
11098         errors up to 0.5 ulp.
11100         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11101         log2.
11102         * math/auto-libm-test-out: Regenerated.
11103         * math/libm-test.inc (MAX_EXP): New macro.
11104         (ilogb_test_data): Add more tests.
11105         (isfinite_test_data): Likewise.
11106         (isgreater_test_data): Likewise.
11107         (isgreaterequal_test_data): Likewise.
11108         (isinf_test_data): Likewise.
11109         (isless_test_data): Likewise.
11110         (islessequal_test_data): Likewise.
11111         (islessgreater_test_data): Likewise.
11112         (isnan_test_data): Likewise.
11113         (isnormal_test_data): Likewise.
11114         (issignaling_test_data): Likewise.
11115         (isunordered_test_data): Likewise.
11116         (j0_test_data): Likewise.
11117         (j1_test_data): Likewise.
11118         (jn_test_data): Likewise.
11119         (lgamma_test_data): Likewise.
11120         (log_test_data): Likewise.
11121         (log10_test_data): Likewise.
11122         (log1p_test_data): Likewise.
11123         (log2_test_data): Likewise.
11124         (logb_test_data): Likewise.
11125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11127         [BZ #18611]
11128         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11129         avoid excess range and precision on underflow.
11130         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11131         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11132         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11133         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11134         underflow.
11135         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11136         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11137         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11138         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11139         * math/auto-libm-test-in: Do not allow missing errno setting for
11140         tests of j1 and jn.
11141         * math/auto-libm-test-out: Regenerated.
11143 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11145         [BZ #15491]
11146         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11147         floating-point environment instead of clearing all exceptions.
11148         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11149         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11150         merging in "invalid" exceptions from frndint.
11151         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11152         * math/test-nearbyint-except.c: New file.
11153         * math/Makefile (tests): Add test-nearbyint-except.
11155 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11157         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11159         * sysdeps/tile/libm-test-ulps: Regenerated.
11161 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11164         (__NR_sync_file_range2): Assume it is always defined.
11165         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11166         (__NR_sync_file_range): Assume it is always defined.
11168 2015-10-22  Andreas Schwab  <schwab@suse.de>
11170         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11171         INTERNAL_SYSCALL_ERRNO.
11172         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11173         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11174         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11175         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11176         Likewise.
11177         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11179 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11181         * io/tst-fcntl.c (fd): New static variable.
11182         (do_prepare): Open temporary file here....
11183         (do_test): ...not here.
11185         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11187 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11189         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11190         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11191         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11192         Moved before "#ifdef __ASSEMBLER__".
11194 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11196         [BZ #19156]
11197         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11198         arguments very close to 0.
11200 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11202         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11203         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11205 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11207         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11208         New.  Defined for GCC 5 and above when not compiling for
11209         profiling.
11210         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11212         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11213         Renamed to ...
11214         (CFLAGS-epoll_pwait.o): This.
11215         (CFLAGS-mmap.c): Renamed to ...
11216         (CFLAGS-mmap.o): This.
11217         (CFLAGS-mmap64.c): Renamed to ...
11218         (CFLAGS-mmap64.o): This.
11219         (CFLAGS-epoll_pwait.os): New.
11220         (CFLAGS-mmap.os): Likewise.
11221         (CFLAGS-mmap64.os): Likewise.
11222         (CFLAGS-semtimedop.os): Likewise.
11223         (CFLAGS-semtimedop.c): Renamed to ...
11224         (CFLAGS-semtimedop.o): This.
11226 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11228         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11229         warning message.
11231 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11233         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11234         * Makefile ($(objpfx)c++-types-check.out): Filter out
11235         $(+gccwarn-c) instead of -Wstrict-prototypes.
11237         * io/fts.c (fts_open): Convert to prototype-style function
11238         definition.
11239         * malloc/mcheck.c (mcheck): Likewise.
11240         (mcheck_pedantic): Likewise.
11241         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11242         internal_function.
11243         (re_search_internal): Likewise.
11244         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11245         prototype-style function definition.
11246         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11247         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11248         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11249         (xdr_utmpptr): Likewise.
11250         (xdr_utmparr): Likewise.
11251         (xdr_utmpidle): Likewise.
11252         (xdr_utmpidleptr): Likewise.
11253         (xdr_utmpidlearr): Likewise.
11255         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11256         log, log10 and log2.
11257         * math/auto-libm-test-out: Regenerated.
11258         * math/libm-test.inc (fmod_test_data): Add more tests.
11259         (fpclassify_test_data): Likewise.
11260         (frexp_test_data): Likewise.
11261         (hypot_test_data): Likewise.
11262         (ilogb_test_data): Likewise.
11264 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11266         * debug/fortify_fail.c (__fortify_fail): Convert to
11267         prototype-style function definition.  Use internal_function.
11268         * libio/genops.c (save_for_backup): Convert to prototype-style
11269         function definition.
11270         * libio/wgenops.c (save_for_wbackup): Likewise.
11271         * login/grantpt.c (grantpt): Likewise.
11272         * login/ptsname.c (ptsname): Likewise.
11273         (__ptsname_r): Likewise.
11274         * login/unlockpt.c (unlockpt): Likewise.
11275         * mach/msgserver.c (__mach_msg_server): Likewise.
11276         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11277         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11278         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11279         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11280         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11281         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11282         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11283         Likewise.
11284         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11285         internal_function.
11286         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11287         prototype-style function definition.
11288         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11289         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11290         (__pthread_create_2_0): Likewise.
11291         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11292         * nptl/register-atfork.c (__register_atfork): Likewise.
11293         * posix/glob.c (glob): Likewise.
11294         * posix/regcomp.c (re_comp): Likewise.
11295         * posix/regexec.c (re_exec): Likewise.
11296         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11297         [!__STDC__]: Remove conditional code.
11298         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11299         [!__STDC__]: Remove conditional code.
11300         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11301         [!__STDC__]: Remove conditional code.
11302         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11303         [!__STDC__]: Remove conditional code.
11304         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11305         [!__STDC__]: Remove conditional code.
11306         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11307         [!__STDC__]: Remove conditional code.
11308         * stdlib/mul.c [__STDC__]: Make code unconditional.
11309         [!__STDC__]: Remove conditional code.
11310         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11311         [!__STDC__]: Remove conditional code.
11312         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11313         [!__STDC__]: Remove conditional code.
11314         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11315         function definition.
11316         (STRTOF): Likewise.
11317         * stdlib/strtod_l.c (__STRTOF): Likewise.
11318         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11319         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11320         (__strtol_l): Likewise.
11321         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11322         [!__STDC__]: Remove conditional code.
11323         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11324         definition.
11325         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11326         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11327         type.
11328         (__strcasecmp): Convert to prototype-style function definition.
11329         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11330         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11331         type.
11332         (__strncasecmp): Convert to prototype-style function definition.
11333         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11334         * sunrpc/xdr.c (xdr_union): Likewise.
11335         * sunrpc/xdr_array.c (xdr_array): Likewise.
11336         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11337         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11338         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11339         Likewise.
11340         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11341         Likewise.
11342         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11343         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11344         Likewise.
11345         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11346         (LOCALE_PARAM_PROTO): Likewise.
11347         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11348         argument type.
11349         (ut_argument_spec): Remove macro.
11350         (ut_argument_spec_iso): Rename to ut_argument_spec.
11351         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11352         prototype-style function definition.
11353         (memcpy_uppcase): Likewise.
11354         (__strftime_internal): Likewise.
11355         (my_strftime): Likewise.
11356         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11357         (LOCALE_PARAM_DECL): Likewise.
11358         [_LIBC] (LOCALE_PARAM): Include argument type.
11359         (__strptime_internal): Convert to prototype-style function
11360         definition.
11361         (strptime): Likewise.
11362         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11363         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11364         type.
11365         (__wcscasecmp): Convert to prototype-style function definition.
11366         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11367         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11368         type.
11369         (__wcsncasecmp): Convert to prototype-style function definition.
11371         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11372         function definition.
11373         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11374         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11375         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11376         * elf/dl-minimal.c (_itoa): Likewise.
11377         * hurd/hurdmalloc.c (malloc): Likewise.
11378         (free): Likewise.
11379         (realloc): Likewise.
11380         * inet/inet6_option.c (inet6_option_space): Likewise.
11381         (inet6_option_init): Likewise.
11382         (inet6_option_append): Likewise.
11383         (inet6_option_alloc): Likewise.
11384         (inet6_option_next): Likewise.
11385         (inet6_option_find): Likewise.
11386         * io/ftw.c (FTW_NAME): Likewise.
11387         (NFTW_NAME): Likewise.
11388         (NFTW_NEW_NAME): Likewise.
11389         (NFTW_OLD_NAME): Likewise.
11390         * libio/iofwide.c (_IO_fwide): Likewise.
11391         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11392         (_IO_str_init_static): Likewise.
11393         (_IO_str_init_readonly): Likewise.
11394         (_IO_str_overflow): Likewise.
11395         (_IO_str_underflow): Likewise.
11396         (_IO_str_count): Likewise.
11397         (_IO_str_seekoff): Likewise.
11398         (_IO_str_pbackfail): Likewise.
11399         (_IO_str_finish): Likewise.
11400         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11401         (_IO_wstr_overflow): Likewise.
11402         (_IO_wstr_underflow): Likewise.
11403         (_IO_wstr_count): Likewise.
11404         (_IO_wstr_seekoff): Likewise.
11405         (_IO_wstr_pbackfail): Likewise.
11406         (_IO_wstr_finish): Likewise.
11407         * locale/programs/localedef.c (normalize_codeset): Likewise.
11408         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11409         (add_locales_to_archive): Likewise.
11410         (delete_locales_from_archive): Likewise.
11411         * malloc/malloc.c (__libc_mallinfo): Likewise.
11412         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11413         * misc/tsearch.c (__tfind): Likewise.
11414         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11415         * nptl/pthread_attr_getdetachstate.c
11416         (__pthread_attr_getdetachstate): Likewise.
11417         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11418         Likewise.
11419         * nptl/pthread_attr_getinheritsched.c
11420         (__pthread_attr_getinheritsched): Likewise.
11421         * nptl/pthread_attr_getschedparam.c
11422         (__pthread_attr_getschedparam): Likewise.
11423         * nptl/pthread_attr_getschedpolicy.c
11424         (__pthread_attr_getschedpolicy): Likewise.
11425         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11426         Likewise.
11427         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11428         Likewise.
11429         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11430         Likewise.
11431         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11432         Likewise.
11433         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11434         (__pthread_attr_init_2_0): Likewise.
11435         * nptl/pthread_attr_setdetachstate.c
11436         (__pthread_attr_setdetachstate): Likewise.
11437         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11438         Likewise.
11439         * nptl/pthread_attr_setinheritsched.c
11440         (__pthread_attr_setinheritsched): Likewise.
11441         * nptl/pthread_attr_setschedparam.c
11442         (__pthread_attr_setschedparam): Likewise.
11443         * nptl/pthread_attr_setschedpolicy.c
11444         (__pthread_attr_setschedpolicy): Likewise.
11445         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11446         Likewise.
11447         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11448         Likewise.
11449         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11450         Likewise.
11451         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11452         Likewise.
11453         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11454         Likewise.
11455         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11456         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11457         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11458         use internal_function.
11459         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11460         prototype-style function definition.
11461         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11462         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11463         internal_function.
11464         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11465         Convert to prototype-style function definition.
11466         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11467         Likewise.
11468         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11469         Likewise.
11470         (__pthread_mutex_unlock): Likewise.
11471         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11472         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11473         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11474         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11475         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11476         * nss/makedb.c (process_input): Likewise.
11477         * posix/fnmatch.c (__strchrnul): Likewise.
11478         (__wcschrnul): Likewise.
11479         (fnmatch): Likewise.
11480         * posix/fnmatch_loop.c (FCT): Likewise.
11481         * posix/glob.c (globfree): Likewise.
11482         (__glob_pattern_type): Likewise.
11483         (__glob_pattern_p): Likewise.
11484         * posix/regcomp.c (re_compile_pattern): Likewise.
11485         (re_set_syntax): Likewise.
11486         (re_compile_fastmap): Likewise.
11487         (regcomp): Likewise.
11488         (regerror): Likewise.
11489         (regfree): Likewise.
11490         * posix/regexec.c (regexec): Likewise.
11491         (re_match): Likewise.
11492         (re_search): Likewise.
11493         (re_match_2): Likewise.
11494         (re_search_2): Likewise.
11495         (re_search_stub): Likewise.  Use internal_function
11496         (re_copy_regs): Likewise.
11497         (re_set_registers): Convert to prototype-style function
11498         definition.
11499         (prune_impossible_nodes): Likewise.  Use internal_function.
11500         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11501         prototype-style function definition.
11502         (inet_net_pton_ipv4): Likewise.
11503         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11504         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11505         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11506         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11507         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11508         Make variadic.
11509         * time/strptime_l.c (localtime_r): Convert to prototype-style
11510         function definition.
11511         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11512         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11513         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11514         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11516         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11517         definition.
11518         (_ufc_doit_r): Likewise.
11519         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11520         (_ufc_output_conversion_r): Likewise.
11521         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11522         * inet/rcmd.c (rcmd_af): Likewise.
11523         (rcmd): Likewise.
11524         (ruserok_af): Likewise.
11525         (ruserok): Likewise.
11526         (ruserok2_sa): Likewise.
11527         (ruserok_sa): Likewise.
11528         (iruserok_af): Likewise.
11529         (iruserok): Likewise.
11530         (__ivaliduser): Likewise.
11531         (__validuser2_sa): Likewise.
11532         * inet/rexec.c (rexec_af): Likewise.
11533         (rexec): Likewise.
11534         * inet/ruserpass.c (ruserpass): Likewise.
11535         * locale/programs/xmalloc.c (xcalloc): Likewise.
11536         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11537         * math/w_drem.c (__drem): Likewise.
11538         * math/w_dremf.c (__dremf): Likewise.
11539         * math/w_dreml.c (__dreml): Likewise.
11540         * misc/daemon.c (daemon): Likewise.
11541         * resolv/res_debug.c (p_fqnname): Likewise.
11542         * stdlib/div.c (div): Likewise.
11543         * string/memcmp.c (memcmp_bytes): Likewise.
11544         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11545         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11547         * crypt/cert.c (main): Convert to prototype-style function
11548         definition.
11549         * io/pipe.c (__pipe): Likewise.
11550         * io/pipe2.c (__pipe2): Likewise.
11551         * misc/futimesat.c (futimesat): Likewise.
11552         * misc/utimes.c (__utimes): Likewise.
11553         * posix/execve.c (__execve): Likewise.
11554         * posix/execvp.c (execvp): Likewise.
11555         * posix/execvpe.c (__execvpe): Likewise.
11556         * posix/fexecve.c (fexecve): Likewise.
11557         * socket/socketpair.c (socketpair): Likewise.
11558         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11559         * stdlib/erand48.c (erand48): Likewise.
11560         * stdlib/erand48_r.c (__erand48_r): Likewise.
11561         * stdlib/jrand48.c (jrand48): Likewise.
11562         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11563         * stdlib/lcong48.c (lcong48): Likewise.
11564         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11565         * stdlib/nrand48.c (nrand48): Likewise.
11566         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11567         * stdlib/seed48.c (seed48): Likewise.
11568         * stdlib/seed48_r.c (__seed48_r): Likewise.
11569         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11570         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11571         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11573 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11575         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11576         * configure: Regenerated.
11577         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11578         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11579         unconditional.
11580         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11581         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11582         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11583         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11584         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11585         unconditional.
11586         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11588         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11589         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11591         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11592         function definition.
11593         * crypt/crypt_util.c (__encrypt_r): Likewise.
11594         * libio/genops.c (_IO_no_init): Likewise.
11595         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11596         (_IO_old_fopencookie): Likewise.
11597         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11598         * libio/iogetline.c (_IO_getline): Likewise.
11599         (_IO_getline_info): Likewise.
11600         * libio/iogetwline.c (_IO_getwline): Likewise.
11601         (_IO_getwline_info): Likewise.
11602         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11603         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11604         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11605         (find_entry): Likewise.
11606         (iterate_table): Likewise.
11607         (lookup): Likewise.
11608         * login/forkpty.c (forkpty): Likewise.
11609         * misc/hsearch_r.c (__hsearch_r): Likewise.
11610         * misc/select.c (__select): Likewise.
11611         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11612         Likewise.
11613         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11614         Likewise.
11615         * nptl/old_pthread_cond_timedwait.c
11616         (__pthread_cond_timedwait_2_0): Likewise.
11617         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11618         * nptl/pthread_barrierattr_getpshared.c
11619         (pthread_barrierattr_getpshared): Likewise.
11620         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11621         Likewise.
11622         * nptl/pthread_mutex_setprioceiling.c
11623         (pthread_mutex_setprioceiling): Likewise.
11624         * nptl/pthread_mutexattr_getprioceiling.c
11625         (pthread_mutexattr_getprioceiling): Likewise.
11626         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11627         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11628         Likewise.
11629         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11630         Likewise.
11631         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11632         Likewise.
11633         * socket/recvfrom.c (__recvfrom): Likewise.
11634         * socket/sendto.c (__sendto): Likewise.
11635         * socket/setsockopt.c (__setsockopt): Likewise.
11636         * stdio-common/_itoa.c (_itoa): Likewise.
11637         * stdio-common/_itowa.c (_itowa): Likewise.
11638         * stdio-common/reg-printf.c (__register_printf_specifier):
11639         Likewise.
11640         (__register_printf_function): Likewise.
11641         * stdio-common/tempname.c (__path_search): Likewise.
11642         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11643         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11644         * stdlib/random_r.c (__initstate_r): Likewise.
11645         * stdlib/setenv.c (__add_to_environ): Likewise.
11646         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11647         * streams/getpmsg.c (getpmsg): Likewise.
11648         * streams/putmsg.c (putmsg): Likewise.
11649         * streams/putpmsg.c (putpmsg): Likewise.
11650         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11651         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11652         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11653         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11654         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11655         * sunrpc/svc_udp.c (cache_get): Likewise.
11656         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11657         * sysdeps/mach/hurd/getcwd.c
11658         (__canonicalize_directory_name_internal): Likewise.
11659         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11660         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11661         * sysdeps/mach/hurd/select.c (__select): Likewise.
11662         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11663         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11664         * sysdeps/sparc/nptl/pthread_barrier_init.c
11665         (__pthread_barrier_init): Likewise.
11666         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11667         (__pthread_cond_timedwait): Likewise.
11668         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11669         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11670         Likewise.
11671         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11672         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11673         Likewise.
11674         * sysvipc/semtimedop.c (semtimedop): Likewise.
11675         * time/setitimer.c (__setitimer): Likewise.
11676         * time/strftime_l.c (emacs_strftime): Likewise.
11678 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11680         * config.make.in (have-ssp): Delete.
11681         (stack-protector): New variable.
11682         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11683         cache test for -fstack-protector-strong.  Export stack_protector to
11684         the best ssp flag.
11685         * configure: Regenerated.
11686         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11687         * nscd/Makefile (CFLAGS-nscd): Likewise.
11688         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11690 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11692         [BZ #19122]
11693         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11694         attribute_hidden.
11696 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11698         [BZ #18743]
11699         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11700         code to...
11701         (ELIDE_LOCK): ...here.
11702         (__get_new_count): New function with part of the code from
11703         __elide_lock that updates the value of adapt_count after a
11704         transaction abort.
11705         (__elided_trylock): Moved this code to...
11706         (ELIDE_TRYLOCK): ...here.
11708 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11710         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11711         * configure: Regenerate.
11712         * INSTALL: Regenerate.
11713         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11714         and tweak grammar.
11716 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11718         * login/programs/pt_chown.c: Include signal.h
11719         (main): Clear any signal mask from the parent process.
11721 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11723         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11724         * configure: Regenerated.
11725         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11726         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11727         $(gnu89-inline-CFLAGS).
11729         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11730         test.
11731         (libc_cv_asm_weakext_directive): Likewise.
11732         * configure: Regenerated.
11733         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11734         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11735         * include/libc-symbols.h
11736         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11737         #error.
11738         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11739         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11741         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11742         prototype-style function definition.
11743         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11744         * sysdeps/i386/ffs.c (__ffs): Likewise.
11745         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11746         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11747         Likewise.
11748         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11749         Likewise.
11750         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11751         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11752         Likewise.
11753         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11754         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11755         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11756         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11757         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11758         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11759         * sysdeps/mach/hurd/access.c (__access): Likewise.
11760         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11761         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11762         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11763         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11764         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11765         (cthread_getspecific): Likewise.
11766         (cthread_setspecific): Likewise.
11767         (__libc_getspecific): Likewise.
11768         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11769         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11770         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11771         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11772         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11773         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11774         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11775         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11776         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11777         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11778         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11779         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11780         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11781         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11782         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11783         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11784         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11785         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11786         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11787         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11788         * sysdeps/mach/hurd/link.c (__link): Likewise.
11789         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11790         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11791         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11792         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11793         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11794         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11795         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11796         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11797         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11798         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11799         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11800         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11801         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11802         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11803         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11804         * sysdeps/mach/hurd/send.c (__send): Likewise.
11805         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11806         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11807         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11808         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11809         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11810         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11811         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11812         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11813         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11814         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11815         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11816         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11817         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11818         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11819         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11820         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11821         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11822         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11823         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11824         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11825         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11826         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11827         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11828         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11829         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11830         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11831         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11832         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11833         * sysdeps/posix/alarm.c (alarm): Likewise.
11834         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11835         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11836         * sysdeps/posix/dup.c (__dup): Likewise.
11837         * sysdeps/posix/dup2.c (__dup2): Likewise.
11838         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11839         (main): Likewise.
11840         * sysdeps/posix/flock.c (__flock): Likewise.
11841         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11842         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11843         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11844         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11845         * sysdeps/posix/isatty.c (__isatty): Likewise.
11846         * sysdeps/posix/killpg.c (killpg): Likewise.
11847         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11848         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11849         * sysdeps/posix/raise.c (raise): Likewise.
11850         * sysdeps/posix/remove.c (remove): Likewise.
11851         * sysdeps/posix/rename.c (rename): Likewise.
11852         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11853         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11854         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11855         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11856         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11857         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11858         * sysdeps/posix/sigset.c (sigset): Likewise.
11859         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11860         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11861         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11862         * sysdeps/posix/time.c (time): Likewise.
11863         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11864         (ttyname): Likewise.
11865         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11866         * sysdeps/posix/utime.c (utime): Likewise.
11867         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11868         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11869         Likewise.
11870         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11871         (pthread_spin_trylock): Likewise.
11872         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11873         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11874         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11875         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11876         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11877         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11878         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11879         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11880         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11881         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11882         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11883         * sysdeps/s390/ffs.c (__ffs): Likewise.
11884         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11885         Likewise.
11886         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11887         Likewise.
11888         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11889         Likewise.
11890         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11891         (pthread_barrier_destroy): Likewise.
11892         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11893         (__pthread_barrier_wait): Likewise.
11894         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11895         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11896         (__pthread_barrier_wait): Likewise.
11897         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11898         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11899         (memcmp_not_common_alignment): Likewise.
11900         (MEMCMP): Likewise.
11901         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11902         (_wordcopy_fwd_dest_aligned): Likewise.
11903         (_wordcopy_bwd_aligned): Likewise.
11904         (_wordcopy_bwd_dest_aligned): Likewise.
11905         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11906         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11907         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11908         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11909         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11910         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11911         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11912         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11913         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11914         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11915         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11916         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11917         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11918         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11919         * sysdeps/unix/stime.c (stime): Likewise.
11920         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11921         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11922         Likewise.  Use internal_function.
11923         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11924         Convert to prototype-style function definition.
11925         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11926         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11927         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11928         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11929         Likewise.  Use internal_function.
11930         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11931         prototype-style function definition
11932         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11933         Likewise.
11934         (__getlogin_r): Likewise.
11935         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11936         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11937         (__pthread_cond_broadcast): Likewise.
11938         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11939         (__pthread_cond_destroy): Likewise.
11940         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11941         (__pthread_cond_init): Likewise.
11942         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11943         (__pthread_cond_signal): Likewise.
11944         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11945         (__pthread_cond_wait): Likewise.
11946         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11947         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11948         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11949         Likewise.
11950         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11951         Likewise.
11952         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11953         Likewise.
11954         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11955         Likewise.
11956         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11958         (__ftruncate64): Likewise.
11959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11960         (truncate64): Likewise.
11961         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11962         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11963         (pthread_getcpuclockid): Likewise.
11964         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11965         Likewise.
11966         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11967         Likewise.
11968         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11969         Likewise.
11970         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11971         Likewise.
11972         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11973         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11974         (__libc_sigaction): Likewise.
11975         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11976         Likewise.
11977         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11978         (__sigprocmask): Likewise.
11979         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11980         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11981         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11982         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11983         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11984         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11985         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11986         Likewise.
11987         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11988         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11989         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11990         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11991         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11992         Likewise.
11993         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11994         (__sigprocmask): Likewise.
11995         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11996         (cfgetispeed): Likewise.
11997         (cfsetospeed): Likewise.
11998         (cfsetispeed): Likewise.
11999         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12000         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12001         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12002         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12003         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12004         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12005         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12006         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12007         Likewise.
12008         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12009         Likewise.
12010         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12011         Likewise.
12012         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12013         Likewise.
12014         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12016 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12018         sunrpc: Rewrite with explicit TLS access using __thread.
12019         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12020         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12021         directly.
12022         (__rpc_thread_variables): Access thread_rpc_vars directly.
12023         Eliminate redundant assignment of the tvp variable.
12025 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12027         malloc: Rewrite with explicit TLS access using __thread.
12028         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12029         (tsd_setspecific, tsd_getspecific): Remove.
12030         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12031         (tsd_setspecific, tsd_getspecific): Likewise.
12032         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12033         (tsd_setspecific, tsd_getspecific): Likewise.
12034         * malloc/arena.c (thread_arena): New TLS variable.
12035         (arena_key): Remove variable.
12036         (arena_get): Use thread_arena.
12037         (arena_lookup): Remove macro.
12038         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12039         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12040         (_int_new_arena, get_free_list, reused_arena)
12041         (arena_thread_freeres): Use thread_arena.
12042         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12043         tsd_getspecific, tsd_setspecific from safety annotations.
12044         (Allocating Cleared Space): Remove arena_lookup from safety
12045         annotations.
12047 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12049         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12050         struct scratch_buffer instead of extend_alloca.
12052 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12054         * sysdeps/unix/sysv/linux/kernel-features.h
12055         (__ASSUME_SOCK_CLOEXEC): Remove.
12056         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12057         (__have_paccept): Remove unused macro.
12058         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12059         * misc/syslog.c (openlog_internal): Remove fallback code for
12060         !__ASSUME_SOCK_CLOEXEC.
12061         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12062         missing SOCK_CLOEXEC.
12063         * nscd/connections.c (have_sock_cloexec): Remove definition.
12064         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12065         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12066         !__ASSUME_SOCK_CLOEXEC.
12067         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12068         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12069         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12070         definition.
12071         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12072         code for !__ASSUME_SOCK_CLOEXEC.
12074 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12076         [BZ #18982]
12077         * manual/stdio.texi (Variable Arguments Output): Add portability
12078         note, explaining that vfprintf clobbers the va_list pointer.
12080 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12082         * math/libm-test.inc (fabs_test_data): Add more tests.
12083         (fdim_test_data): Likewise.
12084         (fma_test_data): Likewise.
12085         (fmax_test_data): Likewise.
12086         (fmin_test_data): Likewise.
12087         (fmod_test_data): Likewise.
12089 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12091         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12092         data.
12094 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12096         * math/libm-test.inc (ceil_test_data): Add more tests and more
12097         expectations for "inexact".
12098         (floor_test_data): Add more tests.
12099         (round_test_data): Likewise.
12100         (trunc_test_data): Likewise.
12102         * crypt/cert.c (good_bye): Convert to prototype-style function
12103         definition.
12104         (get8): Likewise.
12105         (put8): Likewise.
12106         * crypt/crypt-entry.c (crypt): Likewise.
12107         (__fcrypt): Likewise.
12108         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12109         (_ufc_set_bits): Likewise.
12110         (_ufc_clearmem): Likewise.
12111         (__init_des_r): Likewise.
12112         (shuffle_sb): Likewise.
12113         (shuffle_sb): Likewise.
12114         (_ufc_setup_salt_r): Likewise.
12115         (_ufc_mk_keytab_r): Likewise.
12116         (_ufc_dofinalperm_r): Likewise.
12117         (encrypt): Likewise.
12118         (__setkey_r): Likewise.
12119         (setkey): Likewise.
12120         * crypt/md5.c (md5_init_ctx): Likewise.
12121         (md5_read_ctx): Likewise.
12122         (md5_finish_ctx): Likewise.
12123         (md5_stream): Likewise.
12124         (md5_buffer): Likewise.
12125         (md5_process_bytes): Likewise.
12126         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12127         (__sha256_finish_ctx): Likewise.
12128         (__sha256_process_bytes): Likewise.
12129         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12130         (__sha512_finish_ctx): Likewise.
12131         (__sha512_process_bytes): Likewise.
12132         * ctype/isctype.c (__isctype): Likewise.
12133         * debug/backtrace.c (__backtrace): Likewise.
12134         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12135         * debug/fgets_chk.c (__fgets_chk): Likewise.
12136         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12137         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12138         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12139         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12140         * debug/memset_chk.c (__memset_chk): Likewise.
12141         * debug/strcat_chk.c (__strcat_chk): Likewise.
12142         * debug/strncat_chk.c (__strncat_chk): Likewise.
12143         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12144         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12145         * dirent/dirfd.c (dirfd): Likewise.
12146         * dirent/getdents.c (__getdirentries): Likewise.
12147         * dirent/getdents64.c (getdirentries64): Likewise.
12148         * dirent/rewinddir.c (__rewinddir): Likewise.
12149         * dirent/seekdir.c (seekdir): Likewise.
12150         * dirent/telldir.c (telldir): Likewise.
12151         * elf/sln.c (makesymlinks): Likewise.
12152         (makesymlink): Likewise.
12153         * gmon/gmon.c (__moncontrol): Likewise.
12154         (__monstartup): Likewise.
12155         (write_hist): Likewise.
12156         (write_call_graph): Likewise.
12157         (write_bb_counts): Likewise.
12158         * grp/setgroups.c (setgroups): Likewise.
12159         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12160         * inet/inet_net.c (inet_network): Likewise.
12161         * inet/inet_netof.c (inet_netof): Likewise.
12162         * inet/rcmd.c (rresvport_af): Likewise.
12163         (rresvport): Likewise.
12164         * io/access.c (__access): Likewise.
12165         * io/chdir.c (__chdir): Likewise.
12166         * io/chmod.c (__chmod): Likewise.
12167         * io/chown.c (__chown): Likewise.
12168         * io/close.c (__close): Likewise.
12169         * io/creat.c (creat): Likewise.
12170         * io/creat64.c (creat64): Likewise.
12171         * io/dup.c (__dup): Likewise.
12172         * io/dup2.c (__dup2): Likewise.
12173         * io/dup3.c (__dup3): Likewise.
12174         * io/euidaccess.c (__euidaccess): Likewise.
12175         * io/faccessat.c (faccessat): Likewise.
12176         * io/fchmod.c (__fchmod): Likewise.
12177         * io/fchmodat.c (fchmodat): Likewise.
12178         * io/fchown.c (__fchown): Likewise.
12179         * io/fchownat.c (fchownat): Likewise.
12180         * io/fcntl.c (__fcntl): Likewise.
12181         * io/flock.c (__flock): Likewise.
12182         * io/fts.c (fts_load): Likewise.
12183         (fts_close): Likewise.
12184         (fts_read): Likewise.
12185         (fts_set): Likewise.
12186         (fts_children): Likewise.
12187         (fts_build): Likewise.
12188         (fts_stat): Likewise.
12189         (fts_sort): Likewise.
12190         (fts_alloc): Likewise.
12191         (fts_lfree): Likewise.
12192         (fts_palloc): Likewise.
12193         (fts_padjust): Likewise.
12194         (fts_maxarglen): Likewise.
12195         (fts_safe_changedir): Likewise.
12196         * io/getwd.c (getwd): Likewise.
12197         * io/isatty.c (__isatty): Likewise.
12198         * io/lchown.c (__lchown): Likewise.
12199         * io/link.c (__link): Likewise.
12200         * io/linkat.c (linkat): Likewise.
12201         * io/lseek.c (__libc_lseek): Likewise.
12202         * io/mkdir.c (__mkdir): Likewise.
12203         * io/mkdirat.c (mkdirat): Likewise.
12204         * io/mkfifo.c (mkfifo): Likewise.
12205         * io/mkfifoat.c (mkfifoat): Likewise.
12206         * io/open.c (__libc_open): Likewise.
12207         * io/open64.c (__libc_open64): Likewise.
12208         * io/readlink.c (__readlink): Likewise.
12209         * io/readlinkat.c (readlinkat): Likewise.
12210         * io/rmdir.c (__rmdir): Likewise.
12211         * io/symlink.c (__symlink): Likewise.
12212         * io/symlinkat.c (symlinkat): Likewise.
12213         * io/ttyname.c (ttyname): Likewise.
12214         * io/ttyname_r.c (__ttyname_r): Likewise.
12215         * io/umask.c (__umask): Likewise.
12216         * io/unlink.c (__unlink): Likewise.
12217         * io/unlinkat.c (unlinkat): Likewise.
12218         * io/utime.c (utime): Likewise.
12219         * libio/clearerr.c (clearerr): Likewise.
12220         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12221         * libio/feof.c (_IO_feof): Likewise.
12222         * libio/feof_u.c (feof_unlocked): Likewise.
12223         * libio/ferror.c (_IO_ferror): Likewise.
12224         * libio/ferror_u.c (ferror_unlocked): Likewise.
12225         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12226         * libio/fileno.c (__fileno): Likewise.
12227         * libio/fputc.c (fputc): Likewise.
12228         * libio/fputc_u.c (fputc_unlocked): Likewise.
12229         * libio/fputwc.c (fputwc): Likewise.
12230         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12231         * libio/freopen.c (freopen): Likewise.
12232         * libio/freopen64.c (freopen64): Likewise.
12233         * libio/fseek.c (fseek): Likewise.
12234         * libio/fseeko.c (fseeko): Likewise.
12235         * libio/fseeko64.c (fseeko64): Likewise.
12236         * libio/ftello.c (__ftello): Likewise.
12237         * libio/ftello64.c (ftello64): Likewise.
12238         * libio/fwide.c (fwide): Likewise.
12239         * libio/genops.c (_IO_un_link): Likewise.
12240         (_IO_link_in): Likewise.
12241         (_IO_least_marker): Likewise.
12242         (_IO_switch_to_main_get_area): Likewise.
12243         (_IO_switch_to_backup_area): Likewise.
12244         (_IO_switch_to_get_mode): Likewise.
12245         (_IO_free_backup_area): Likewise.
12246         (_IO_switch_to_put_mode): Likewise.
12247         (__overflow): Likewise.
12248         (__underflow): Likewise.
12249         (__uflow): Likewise.
12250         (_IO_setb): Likewise.
12251         (_IO_doallocbuf): Likewise.
12252         (_IO_default_underflow): Likewise.
12253         (_IO_default_uflow): Likewise.
12254         (_IO_default_xsputn): Likewise.
12255         (_IO_sgetn): Likewise.
12256         (_IO_default_xsgetn): Likewise.
12257         (_IO_sync): Likewise.
12258         (_IO_default_setbuf): Likewise.
12259         (_IO_default_seekpos): Likewise.
12260         (_IO_default_doallocate): Likewise.
12261         (_IO_init): Likewise.
12262         (_IO_old_init): Likewise.
12263         (_IO_default_sync): Likewise.
12264         (_IO_default_finish): Likewise.
12265         (_IO_default_seekoff): Likewise.
12266         (_IO_sputbackc): Likewise.
12267         (_IO_sungetc): Likewise.
12268         (_IO_set_column): Likewise.
12269         (_IO_set_column): Likewise.
12270         (_IO_adjust_column): Likewise.
12271         (_IO_get_column): Likewise.
12272         (_IO_init_marker): Likewise.
12273         (_IO_remove_marker): Likewise.
12274         (_IO_marker_difference): Likewise.
12275         (_IO_marker_delta): Likewise.
12276         (_IO_seekmark): Likewise.
12277         (_IO_unsave_markers): Likewise.
12278         (_IO_nobackup_pbackfail): Likewise.
12279         (_IO_default_pbackfail): Likewise.
12280         (_IO_default_seek): Likewise.
12281         (_IO_default_stat): Likewise.
12282         (_IO_default_read): Likewise.
12283         (_IO_default_write): Likewise.
12284         (_IO_default_showmanyc): Likewise.
12285         (_IO_default_imbue): Likewise.
12286         (_IO_iter_next): Likewise.
12287         (_IO_iter_file): Likewise.
12288         * libio/getc.c (_IO_getc): Likewise.
12289         * libio/getwc.c (_IO_getwc): Likewise.
12290         * libio/iofclose.c (_IO_new_fclose): Likewise.
12291         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12292         * libio/iofflush.c (_IO_fflush): Likewise.
12293         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12294         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12295         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12296         * libio/iofgets.c (_IO_fgets): Likewise.
12297         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12298         * libio/iofgetws.c (fgetws): Likewise.
12299         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12300         * libio/iofopen64.c (_IO_fopen64): Likewise.
12301         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12302         (_IO_cookie_write): Likewise.
12303         (_IO_cookie_seek): Likewise.
12304         (_IO_cookie_close): Likewise.
12305         (_IO_cookie_seekoff): Likewise.
12306         (_IO_old_cookie_seek): Likewise.
12307         * libio/iofputs.c (_IO_fputs): Likewise.
12308         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12309         * libio/iofputws.c (fputws): Likewise.
12310         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12311         * libio/iofread.c (_IO_fread): Likewise.
12312         * libio/iofread_u.c (__fread_unlocked): Likewise.
12313         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12314         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12315         * libio/ioftell.c (_IO_ftell): Likewise.
12316         * libio/iofwrite.c (_IO_fwrite): Likewise.
12317         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12318         * libio/iogets.c (_IO_gets): Likewise.
12319         * libio/iopadn.c (_IO_padn): Likewise.
12320         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12321         (_IO_new_popen): Likewise.
12322         (_IO_new_proc_close): Likewise.
12323         * libio/ioputs.c (_IO_puts): Likewise.
12324         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12325         (_IO_seekoff): Likewise.
12326         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12327         (_IO_seekpos): Likewise.
12328         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12329         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12330         * libio/ioungetc.c (_IO_ungetc): Likewise.
12331         * libio/ioungetwc.c (ungetwc): Likewise.
12332         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12333         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12334         * libio/iowpadn.c (_IO_wpadn): Likewise.
12335         * libio/libc_fatal.c (__libc_fatal): Likewise.
12336         * libio/memstream.c (__open_memstream): Likewise.
12337         (_IO_mem_sync): Likewise.
12338         (_IO_mem_finish): Likewise.
12339         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12340         (_IO_old_file_close_it): Likewise.
12341         (_IO_old_file_finish): Likewise.
12342         (_IO_old_file_fopen): Likewise.
12343         (_IO_old_file_attach): Likewise.
12344         (_IO_old_file_setbuf): Likewise.
12345         (_IO_old_do_write): Likewise.
12346         (old_do_write): Likewise.
12347         (_IO_old_file_underflow): Likewise.
12348         (_IO_old_file_overflow): Likewise.
12349         (_IO_old_file_sync): Likewise.
12350         (_IO_old_file_seekoff): Likewise.
12351         (_IO_old_file_write): Likewise.
12352         (_IO_old_file_xsputn): Likewise.
12353         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12354         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12355         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12356         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12357         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12358         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12359         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12360         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12361         (_IO_old_popen): Likewise.
12362         (_IO_old_proc_close): Likewise.
12363         * libio/oldpclose.c (__old_pclose): Likewise.
12364         * libio/pclose.c (__new_pclose): Likewise.
12365         * libio/peekc.c (_IO_peekc_locked): Likewise.
12366         * libio/putc.c (_IO_putc): Likewise.
12367         * libio/putc_u.c (putc_unlocked): Likewise.
12368         * libio/putchar.c (putchar): Likewise.
12369         * libio/putchar_u.c (putchar_unlocked): Likewise.
12370         * libio/putwc.c (putwc): Likewise.
12371         * libio/putwc_u.c (putwc_unlocked): Likewise.
12372         * libio/putwchar.c (putwchar): Likewise.
12373         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12374         * libio/rewind.c (rewind): Likewise.
12375         * libio/setbuf.c (setbuf): Likewise.
12376         * libio/setlinebuf.c (setlinebuf): Likewise.
12377         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12378         * libio/vscanf.c (_IO_vscanf): Likewise.
12379         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12380         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12381         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12382         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12383         (_IO_switch_to_main_wget_area): Likewise.
12384         (_IO_switch_to_wbackup_area): Likewise.
12385         (_IO_wsetb): Likewise.
12386         (_IO_wdefault_pbackfail): Likewise.
12387         (_IO_wdefault_finish): Likewise.
12388         (_IO_wdefault_uflow): Likewise.
12389         (__woverflow): Likewise.
12390         (__wuflow): Likewise.
12391         (__wunderflow): Likewise.
12392         (_IO_wdefault_xsputn): Likewise.
12393         (_IO_wdefault_xsgetn): Likewise.
12394         (_IO_wdoallocbuf): Likewise.
12395         (_IO_wdefault_doallocate): Likewise.
12396         (_IO_switch_to_wget_mode): Likewise.
12397         (_IO_free_wbackup_area): Likewise.
12398         (_IO_switch_to_wput_mode): Likewise.
12399         (_IO_sputbackwc): Likewise.
12400         (_IO_sungetwc): Likewise.
12401         (_IO_adjust_wcolumn): Likewise.
12402         (_IO_init_wmarker): Likewise.
12403         (_IO_wmarker_delta): Likewise.
12404         (_IO_seekwmark): Likewise.
12405         (_IO_unsave_wmarkers): Likewise.
12406         * libio/wmemstream.c (open_wmemstream): Likewise.
12407         (_IO_wmem_sync): Likewise.
12408         (_IO_wmem_finish): Likewise.
12409         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12410         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12411         * locale/programs/simple-hash.c (init_hash): Likewise.
12412         (delete_hash): Likewise.
12413         (insert_entry): Likewise.
12414         (set_entry): Likewise.
12415         (next_prime): Likewise.
12416         (is_prime): Likewise.
12417         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12418         (xmalloc): Likewise.
12419         (xrealloc): Likewise.
12420         * locale/programs/xstrdup.c (xstrdup): Likewise.
12421         * localedata/collate-test.c (xstrcoll): Likewise.
12422         * localedata/xfrm-test.c (xstrcmp): Likewise.
12423         * login/getlogin_r.c (__getlogin_r): Likewise.
12424         * login/getpt.c (__posix_openpt): Likewise.
12425         * login/login_tty.c (login_tty): Likewise.
12426         * login/setlogin.c (setlogin): Likewise.
12427         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12428         (mach_msg_destroy_port): Likewise.
12429         (mach_msg_destroy_memory): Likewise.
12430         * malloc/mcheck.c (flood): Likewise.
12431         * misc/acct.c (acct): Likewise.
12432         * misc/brk.c (__brk): Likewise.
12433         * misc/chflags.c (chflags): Likewise.
12434         * misc/chroot.c (chroot): Likewise.
12435         * misc/fchflags.c (fchflags): Likewise.
12436         * misc/fstab.c (getfsspec): Likewise.
12437         (getfsfile): Likewise.
12438         * misc/fsync.c (fsync): Likewise.
12439         * misc/ftruncate.c (__ftruncate): Likewise.
12440         * misc/ftruncate64.c (__ftruncate64): Likewise.
12441         * misc/getdomain.c (getdomainname): Likewise.
12442         (getdomainname): Likewise.
12443         * misc/gethostname.c (__gethostname): Likewise.
12444         * misc/getpass.c (getpass): Likewise.
12445         * misc/getttyent.c (skip): Likewise.
12446         (value): Likewise.
12447         * misc/gtty.c (gtty): Likewise.
12448         * misc/hsearch.c (hsearch): Likewise.
12449         (hcreate): Likewise.
12450         * misc/hsearch_r.c (__hcreate_r): Likewise.
12451         (__hdestroy_r): Likewise.
12452         * misc/ioctl.c (__ioctl): Likewise.
12453         * misc/mkdtemp.c (mkdtemp): Likewise.
12454         * misc/mkostemp.c (mkostemp): Likewise.
12455         * misc/mkostemp64.c (mkostemp64): Likewise.
12456         * misc/mkostemps.c (mkostemps): Likewise.
12457         * misc/mkostemps64.c (mkostemps64): Likewise.
12458         * misc/mkstemp.c (mkstemp): Likewise.
12459         * misc/mkstemp64.c (mkstemp64): Likewise.
12460         * misc/mkstemps.c (mkstemps): Likewise.
12461         * misc/mkstemps64.c (mkstemps64): Likewise.
12462         * misc/mktemp.c (__mktemp): Likewise.
12463         * misc/preadv.c (preadv): Likewise.
12464         * misc/preadv64.c (preadv64): Likewise.
12465         * misc/pwritev.c (pwritev): Likewise.
12466         * misc/pwritev64.c (pwritev64): Likewise.
12467         * misc/readv.c (__readv): Likewise.
12468         * misc/revoke.c (revoke): Likewise.
12469         * misc/setdomain.c (setdomainname): Likewise.
12470         * misc/setegid.c (setegid): Likewise.
12471         * misc/seteuid.c (seteuid): Likewise.
12472         * misc/sethostid.c (sethostid): Likewise.
12473         * misc/sethostname.c (sethostname): Likewise.
12474         * misc/setregid.c (__setregid): Likewise.
12475         * misc/setreuid.c (__setreuid): Likewise.
12476         * misc/sstk.c (sstk): Likewise.
12477         * misc/stty.c (stty): Likewise.
12478         * misc/syscall.c (syscall): Likewise.
12479         * misc/syslog.c (setlogmask): Likewise.
12480         * misc/truncate.c (__truncate): Likewise.
12481         * misc/truncate64.c (truncate64): Likewise.
12482         * misc/ualarm.c (ualarm): Likewise.
12483         * misc/usleep.c (usleep): Likewise.
12484         * misc/ustat.c (ustat): Likewise.
12485         * misc/writev.c (__writev): Likewise.
12486         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12487         * nptl/old_pthread_cond_broadcast.c
12488         (__pthread_cond_broadcast_2_0): Likewise.
12489         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12490         Likewise.
12491         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12492         Likewise.
12493         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12494         Likewise.
12495         * nptl/pt-raise.c (raise): Likewise.
12496         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12497         Likewise.
12498         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12499         * nptl/pthread_barrierattr_destroy.c
12500         (pthread_barrierattr_destroy): Likewise.
12501         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12502         Likewise.
12503         * nptl/pthread_barrierattr_setpshared.c
12504         (pthread_barrierattr_setpshared): Likewise.
12505         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12506         Likewise.
12507         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12508         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12509         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12510         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12511         Likewise.
12512         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12513         Likewise.
12514         * nptl/pthread_condattr_getpshared.c
12515         (pthread_condattr_getpshared): Likewise.
12516         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12517         Likewise.
12518         * nptl/pthread_condattr_setpshared.c
12519         (pthread_condattr_setpshared): Likewise.
12520         * nptl/pthread_detach.c (pthread_detach): Likewise.
12521         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12522         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12523         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12524         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12525         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12526         Likewise.
12527         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12528         Likewise.
12529         * nptl/pthread_mutex_getprioceiling.c
12530         (pthread_mutex_getprioceiling): Likewise.
12531         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12532         Likewise.
12533         * nptl/pthread_mutexattr_getprotocol.c
12534         (pthread_mutexattr_getprotocol): Likewise.
12535         * nptl/pthread_mutexattr_getpshared.c
12536         (pthread_mutexattr_getpshared): Likewise.
12537         * nptl/pthread_mutexattr_getrobust.c
12538         (pthread_mutexattr_getrobust): Likewise.
12539         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12540         Likewise.
12541         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12542         Likewise.
12543         * nptl/pthread_mutexattr_setprioceiling.c
12544         (pthread_mutexattr_setprioceiling): Likewise.
12545         * nptl/pthread_mutexattr_setprotocol.c
12546         (pthread_mutexattr_setprotocol): Likewise.
12547         * nptl/pthread_mutexattr_setpshared.c
12548         (pthread_mutexattr_setpshared): Likewise.
12549         * nptl/pthread_mutexattr_setrobust.c
12550         (pthread_mutexattr_setrobust): Likewise.
12551         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12552         Likewise.
12553         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12554         Likewise.
12555         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12556         Likewise.
12557         * nptl/pthread_rwlockattr_getkind_np.c
12558         (pthread_rwlockattr_getkind_np): Likewise.
12559         * nptl/pthread_rwlockattr_getpshared.c
12560         (pthread_rwlockattr_getpshared): Likewise.
12561         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12562         Likewise.
12563         * nptl/pthread_rwlockattr_setkind_np.c
12564         (pthread_rwlockattr_setkind_np): Likewise.
12565         * nptl/pthread_rwlockattr_setpshared.c
12566         (pthread_rwlockattr_setpshared): Likewise.
12567         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12568         Likewise.
12569         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12570         Likewise.
12571         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12572         Likewise.
12573         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12574         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12575         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12576         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12577         * nptl/sem_close.c (sem_close): Likewise.
12578         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12579         * nptl/sem_init.c (__old_sem_init): Likewise.
12580         * nptl/sigaction.c (__sigaction): Likewise.
12581         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12582         * posix/_exit.c (_exit): Likewise.
12583         * posix/alarm.c (alarm): Likewise.
12584         * posix/confstr.c (confstr): Likewise.
12585         * posix/fpathconf.c (__fpathconf): Likewise.
12586         * posix/getgroups.c (__getgroups): Likewise.
12587         * posix/getpgid.c (__getpgid): Likewise.
12588         * posix/group_member.c (__group_member): Likewise.
12589         * posix/pathconf.c (__pathconf): Likewise.
12590         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12591         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12592         * posix/setgid.c (__setgid): Likewise.
12593         * posix/setpgid.c (__setpgid): Likewise.
12594         * posix/setuid.c (__setuid): Likewise.
12595         * posix/sleep.c (__sleep): Likewise.
12596         * posix/sysconf.c (__sysconf): Likewise.
12597         * posix/times.c (__times): Likewise.
12598         * posix/uname.c (__uname): Likewise.
12599         * posix/waitid.c (__waitid): Likewise.
12600         * pwd/getpw.c (__getpw): Likewise.
12601         * resolv/base64.c (b64_pton): Likewise.
12602         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12603         * resolv/gethnamaddr.c (Dprintf): Likewise.
12604         (gethostbyname): Likewise.
12605         (gethostbyname2): Likewise.
12606         (gethostbyaddr): Likewise.
12607         (_sethtent): Likewise.
12608         (_gethtbyname): Likewise.
12609         (_gethtbyname2): Likewise.
12610         (_gethtbyaddr): Likewise.
12611         (map_v4v6_address): Likewise.
12612         (map_v4v6_hostent): Likewise.
12613         (addrsort): Likewise.
12614         (ht_sethostent): Likewise.
12615         (ht_gethostbyname): Likewise.
12616         (ht_gethostbyaddr): Likewise.
12617         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12618         (inet_net_ntop_ipv4): Likewise.
12619         * resolv/inet_neta.c (inet_neta): Likewise.
12620         * resolv/inet_ntop.c (inet_ntop): Likewise.
12621         (inet_ntop4): Likewise.
12622         (inet_ntop6): Likewise.
12623         * resolv/inet_pton.c (__inet_pton): Likewise.
12624         (inet_pton4): Likewise.
12625         (inet_pton6): Likewise.
12626         * resolv/res_debug.c (loc_aton): Likewise.
12627         (loc_ntoa): Likewise.
12628         * resource/getpriority.c (__getpriority): Likewise.
12629         * resource/getrusage.c (__getrusage): Likewise.
12630         * resource/nice.c (nice): Likewise.
12631         * resource/setpriority.c (__setpriority): Likewise.
12632         * resource/setrlimit64.c (setrlimit64): Likewise.
12633         * resource/vlimit.c (vlimit): Likewise.
12634         * resource/vtimes.c (vtimes): Likewise.
12635         * rt/aio_error.c (aio_error): Likewise.
12636         * rt/aio_return.c (aio_return): Likewise.
12637         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12638         * signal/kill.c (__kill): Likewise.
12639         * signal/killpg.c (killpg): Likewise.
12640         * signal/raise.c (raise): Likewise.
12641         * signal/sigaction.c (__sigaction): Likewise.
12642         * signal/sigaddset.c (sigaddset): Likewise.
12643         * signal/sigaltstack.c (sigaltstack): Likewise.
12644         * signal/sigandset.c (sigandset): Likewise.
12645         * signal/sigblock.c (__sigblock): Likewise.
12646         * signal/sigdelset.c (sigdelset): Likewise.
12647         * signal/sigempty.c (sigemptyset): Likewise.
12648         * signal/sigfillset.c (sigfillset): Likewise.
12649         * signal/sighold.c (sighold): Likewise.
12650         * signal/sigignore.c (sigignore): Likewise.
12651         * signal/sigintr.c (siginterrupt): Likewise.
12652         * signal/sigisempty.c (sigisemptyset): Likewise.
12653         * signal/sigismem.c (sigismember): Likewise.
12654         * signal/signal.c (signal): Likewise.
12655         * signal/sigorset.c (sigorset): Likewise.
12656         * signal/sigpause.c (__sigpause): Likewise.
12657         * signal/sigpending.c (sigpending): Likewise.
12658         * signal/sigprocmask.c (__sigprocmask): Likewise.
12659         * signal/sigrelse.c (sigrelse): Likewise.
12660         * signal/sigreturn.c (__sigreturn): Likewise.
12661         * signal/sigset.c (sigset): Likewise.
12662         * signal/sigsetmask.c (__sigsetmask): Likewise.
12663         * signal/sigstack.c (sigstack): Likewise.
12664         * signal/sigsuspend.c (__sigsuspend): Likewise.
12665         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12666         * signal/sysv_signal.c (__sysv_signal): Likewise.
12667         * socket/accept.c (accept): Likewise.
12668         * socket/accept4.c (__libc_accept4): Likewise.
12669         * socket/bind.c (__bind): Likewise.
12670         * socket/connect.c (__connect): Likewise.
12671         * socket/getpeername.c (getpeername): Likewise.
12672         * socket/getsockname.c (__getsockname): Likewise.
12673         * socket/getsockopt.c (getsockopt): Likewise.
12674         * socket/listen.c (__listen): Likewise.
12675         * socket/recv.c (__recv): Likewise.
12676         * socket/recvmsg.c (__recvmsg): Likewise.
12677         * socket/send.c (__send): Likewise.
12678         * socket/sendmsg.c (__sendmsg): Likewise.
12679         * socket/shutdown.c (shutdown): Likewise.
12680         * socket/sockatmark.c (sockatmark): Likewise.
12681         * socket/socket.c (__socket): Likewise.
12682         * stdio-common/ctermid.c (ctermid): Likewise.
12683         * stdio-common/cuserid.c (cuserid): Likewise.
12684         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12685         * stdio-common/remove.c (remove): Likewise.
12686         * stdio-common/rename.c (rename): Likewise.
12687         * stdio-common/renameat.c (renameat): Likewise.
12688         * stdio-common/tempname.c (__gen_tempname): Likewise.
12689         * stdio-common/xbug.c (InitBuffer): Likewise.
12690         (AppendToBuffer): Likewise.
12691         (ReadFile): Likewise.
12692         * stdlib/a64l.c (a64l): Likewise.
12693         * stdlib/drand48_r.c (drand48_r): Likewise.
12694         * stdlib/getcontext.c (getcontext): Likewise.
12695         * stdlib/getenv.c (getenv): Likewise.
12696         * stdlib/l64a.c (l64a): Likewise.
12697         * stdlib/llabs.c (llabs): Likewise.
12698         * stdlib/lldiv.c (lldiv): Likewise.
12699         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12700         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12701         * stdlib/putenv.c (putenv): Likewise.
12702         * stdlib/random.c (__srandom): Likewise.
12703         (__initstate): Likewise.
12704         (__setstate): Likewise.
12705         * stdlib/random_r.c (__srandom_r): Likewise.
12706         (__setstate_r): Likewise.
12707         (__random_r): Likewise.
12708         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12709         * stdlib/setcontext.c (setcontext): Likewise.
12710         * stdlib/setenv.c (setenv): Likewise.
12711         (unsetenv): Likewise.
12712         * stdlib/srand48.c (srand48): Likewise.
12713         * stdlib/srand48_r.c (__srand48_r): Likewise.
12714         * stdlib/swapcontext.c (swapcontext): Likewise.
12715         * stdlib/system.c (__libc_system): Likewise.
12716         * stdlib/tst-strtod.c (expand): Likewise.
12717         * stdlib/tst-strtol.c (expand): Likewise.
12718         * stdlib/tst-strtoll.c (expand): Likewise.
12719         * streams/fattach.c (fattach): Likewise.
12720         * streams/fdetach.c (fdetach): Likewise.
12721         * streams/getmsg.c (getmsg): Likewise.
12722         * streams/isastream.c (isastream): Likewise.
12723         * string/ffs.c (__ffs): Likewise.
12724         * string/ffsll.c (ffsll): Likewise.
12725         * string/memcmp.c (memcmp_common_alignment): Likewise.
12726         (memcmp_not_common_alignment): Likewise.
12727         (MEMCMP): Likewise.
12728         * string/memcpy.c (memcpy): Likewise.
12729         * string/memmove.c (MEMMOVE): Likewise.
12730         * string/memset.c (memset): Likewise.
12731         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12732         * string/strchrnul.c (STRCHRNUL): Likewise.
12733         * string/strerror.c (strerror): Likewise.
12734         * string/strndup.c (__strndup): Likewise.
12735         * string/strverscmp.c (__strverscmp): Likewise.
12736         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12737         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12738         (clnttcp_freeres): Likewise.
12739         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12740         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12741         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12742         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12743         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12744         (xdr_callhdr): Likewise.
12745         * sunrpc/rpcinfo.c (udpping): Likewise.
12746         (tcpping): Likewise.
12747         (pstatus): Likewise.
12748         (pmapdump): Likewise.
12749         (brdcst): Likewise.
12750         (deletereg): Likewise.
12751         (getprognum): Likewise.
12752         (getvers): Likewise.
12753         (get_inet_address): Likewise.
12754         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12755         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12756         (svcudp_stat): Likewise.
12757         (svcudp_recv): Likewise.
12758         (svcudp_reply): Likewise.
12759         (svcudp_getargs): Likewise.
12760         (svcudp_freeargs): Likewise.
12761         (svcudp_destroy): Likewise.
12762         * sunrpc/xdr.c (xdr_bytes): Likewise.
12763         (xdr_netobj): Likewise.
12764         (xdr_string): Likewise.
12765         (xdr_wrapstring): Likewise.
12766         * sunrpc/xdr_float.c (xdr_float): Likewise.
12767         (xdr_double): Likewise.
12768         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12769         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12770         * sysvipc/ftok.c (ftok): Likewise.
12771         * sysvipc/msgctl.c (msgctl): Likewise.
12772         * sysvipc/msgget.c (msgget): Likewise.
12773         * sysvipc/msgrcv.c (msgrcv): Likewise.
12774         * sysvipc/msgsnd.c (msgsnd): Likewise.
12775         * sysvipc/semget.c (semget): Likewise.
12776         * sysvipc/semop.c (semop): Likewise.
12777         * sysvipc/shmat.c (shmat): Likewise.
12778         * sysvipc/shmctl.c (shmctl): Likewise.
12779         * sysvipc/shmdt.c (shmdt): Likewise.
12780         * sysvipc/shmget.c (shmget): Likewise.
12781         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12782         * termios/speed.c (cfgetospeed): Likewise.
12783         (cfgetispeed): Likewise.
12784         (cfsetospeed): Likewise.
12785         (cfsetispeed): Likewise.
12786         * termios/tcflow.c (tcflow): Likewise.
12787         * termios/tcflush.c (tcflush): Likewise.
12788         * termios/tcgetattr.c (__tcgetattr): Likewise.
12789         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12790         * termios/tcgetsid.c (tcgetsid): Likewise.
12791         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12792         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12793         * time/adjtime.c (__adjtime): Likewise.
12794         * time/dysize.c (dysize): Likewise.
12795         * time/ftime.c (ftime): Likewise.
12796         * time/getitimer.c (__getitimer): Likewise.
12797         * time/gettimeofday.c (__gettimeofday): Likewise.
12798         * time/gmtime.c (__gmtime_r): Likewise.
12799         (gmtime): Likewise.
12800         * time/localtime.c (__localtime_r): Likewise.
12801         (localtime): Likewise.
12802         * time/offtime.c (__offtime): Likewise.
12803         * time/settimeofday.c (__settimeofday): Likewise.
12804         * time/stime.c (stime): Likewise.
12805         * time/strftime_l.c (tm_diff): Likewise.
12806         (iso_week_days): Likewise.
12807         * time/strptime.c (strptime): Likewise.
12808         * time/time.c (time): Likewise.
12809         * time/timespec_get.c (timespec_get): Likewise.
12810         * time/tzset.c (tzset_internal): Likewise.
12811         (compute_change): Likewise.
12812         (__tz_compute): Likewise.
12813         * wcsmbs/btowc.c (__btowc): Likewise.
12814         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12815         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12816         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12817         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12818         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12819         * wcsmbs/wcscat.c (__wcscat): Likewise.
12820         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12821         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12822         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12823         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12824         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12825         * wcsmbs/wcslen.c (__wcslen): Likewise.
12826         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12827         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12828         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12829         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12830         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12831         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12832         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12833         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12834         * wcsmbs/wcstok.c (wcstok): Likewise.
12835         * wcsmbs/wctob.c (wctob): Likewise.
12836         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12837         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12838         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12839         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12840         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12841         * wcsmbs/wmemset.c (__wmemset): Likewise.
12842         * wctype/wcfuncs.c (__towlower): Likewise.
12843         (__towupper): Likewise.
12845         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12846         (lll_unlock_elision): Add adapt_count parameter.
12848 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12850         * sysdeps/nptl/configure.ac: Do not give errors based on the
12851         results of top-level configure tests.
12852         * sysdeps/nptl/configure: Regenerated.
12854         * configure.ac (libc_cv_Bgroup): Remove configure test.
12855         * configure: Regenerated.
12856         * config.make.in (have-Bgroup): Remove variable.
12858         * configure.ac (sizeof_long_double): Remove configure test.
12859         * configure: Regenerated.
12860         * config.make.in (sizeof-long-double): Remove variable.
12862         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12863         * configure: Regenerated.
12864         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12865         variable.
12866         (exceptions): Likewise.
12867         * sysdeps/arm/configure: Regenerated.
12868         * config.make.in (exceptions): Remove variable.
12869         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12870         $(exceptions).
12871         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12872         (CFLAGS-vdprintf_chk.c): Likewise.
12873         (CFLAGS-printf_chk.c): Likewise.
12874         (CFLAGS-fprintf_chk.c): Likewise.
12875         (CFLAGS-vprintf_chk.c): Likewise.
12876         (CFLAGS-vfprintf_chk.c): Likewise.
12877         (CFLAGS-gets_chk.c): Likewise.
12878         (CFLAGS-fgets_chk.c): Likewise.
12879         (CFLAGS-fgets_u_chk.c): Likewise.
12880         (CFLAGS-fread_chk.c): Likewise.
12881         (CFLAGS-fread_u_chk.c): Likewise.
12882         (CFLAGS-wprintf_chk.c): Likewise.
12883         (CFLAGS-fwprintf_chk.c): Likewise.
12884         (CFLAGS-vwprintf_chk.c): Likewise.
12885         (CFLAGS-vfwprintf_chk.c): Likewise.
12886         (CFLAGS-fgetws_chk.c): Likewise.
12887         (CFLAGS-fgetws_u_chk.c): Likewise.
12888         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12889         (CFLAGS-fputc.c): Likewise.
12890         (CFLAGS-fputwc.c): Likewise.
12891         (CFLAGS-freopen64.c): Likewise.
12892         (CFLAGS-freopen.c): Likewise.
12893         (CFLAGS-fseek.c): Likewise.
12894         (CFLAGS-fseeko64.c): Likewise.
12895         (CFLAGS-fseeko.c): Likewise.
12896         (CFLAGS-ftello64.c): Likewise.
12897         (CFLAGS-ftello.c): Likewise.
12898         (CFLAGS-fwide.c): Likewise.
12899         (CFLAGS-genops.c): Likewise.
12900         (CFLAGS-getc.c): Likewise.
12901         (CFLAGS-getchar.c): Likewise.
12902         (CFLAGS-getwc.c): Likewise.
12903         (CFLAGS-getwchar.c): Likewise.
12904         (CFLAGS-iofclose.c): Likewise.
12905         (CFLAGS-iofflush.c): Likewise.
12906         (CFLAGS-iofgetpos64.c): Likewise.
12907         (CFLAGS-iofgetpos.c): Likewise.
12908         (CFLAGS-iofgets.c): Likewise.
12909         (CFLAGS-iofgetws.c): Likewise.
12910         (CFLAGS-iofputs.c): Likewise.
12911         (CFLAGS-iofputws.c): Likewise.
12912         (CFLAGS-iofread.c): Likewise.
12913         (CFLAGS-iofsetpos64.c): Likewise.
12914         (CFLAGS-iofsetpos.c): Likewise.
12915         (CFLAGS-ioftell.c): Likewise.
12916         (CFLAGS-iofwrite.c): Likewise.
12917         (CFLAGS-iogetdelim.c): Likewise.
12918         (CFLAGS-iogetline.c): Likewise.
12919         (CFLAGS-iogets.c): Likewise.
12920         (CFLAGS-iogetwline.c): Likewise.
12921         (CFLAGS-ioputs.c): Likewise.
12922         (CFLAGS-ioseekoff.c): Likewise.
12923         (CFLAGS-ioseekpos.c): Likewise.
12924         (CFLAGS-iosetbuffer.c): Likewise.
12925         (CFLAGS-iosetvbuf.c): Likewise.
12926         (CFLAGS-ioungetc.c): Likewise.
12927         (CFLAGS-ioungetwc.c): Likewise.
12928         (CFLAGS-oldfileops.c): Likewise.
12929         (CFLAGS-oldiofclose.c): Likewise.
12930         (CFLAGS-oldiofgetpos64.c): Likewise.
12931         (CFLAGS-oldiofgetpos.c): Likewise.
12932         (CFLAGS-oldiofsetpos64.c): Likewise.
12933         (CFLAGS-oldiofsetpos.c): Likewise.
12934         (CFLAGS-peekc.c): Likewise.
12935         (CFLAGS-putc.c): Likewise.
12936         (CFLAGS-putchar.c): Likewise.
12937         (CFLAGS-putwc.c): Likewise.
12938         (CFLAGS-putwchar.c): Likewise.
12939         (CFLAGS-rewind.c): Likewise.
12940         (CFLAGS-wfileops.c): Likewise.
12941         (CFLAGS-wgenops.c): Likewise.
12942         (CFLAGS-oldiofopen.c): Likewise.
12943         (CFLAGS-iofopen.c): Likewise.
12944         (CFLAGS-iofopen64.c): Likewise.
12945         (CFLAGS-oldtmpfile.c): Likewise.
12946         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12947         (CFLAGS-fprintf.c): Likewise.
12948         (CFLAGS-printf.c): Likewise.
12949         (CFLAGS-vfwprintf.c): Likewise.
12950         (CFLAGS-vfscanf.c): Likewise.
12951         (CFLAGS-vfwscanf.c): Likewise.
12952         (CFLAGS-fscanf.c): Likewise.
12953         (CFLAGS-scanf.c): Likewise.
12954         (CFLAGS-isoc99_vfscanf.c): Likewise.
12955         (CFLAGS-isoc99_vscanf.c): Likewise.
12956         (CFLAGS-isoc99_fscanf.c): Likewise.
12957         (CFLAGS-isoc99_scanf.c): Likewise.
12958         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12959         (CFLAGS-isoc99_fwscanf.c): Likewise.
12960         (CFLAGS-isoc99_vwscanf.c): Likewise.
12961         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12963         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12964         after mkstemp64.
12965         * login/tst-utmp.c (do_prepare): Likewise.
12966         * rt/tst-aio.c (do_prepare): Likewise.
12967         * rt/tst-aio64.c (do_prepare): Likewise.
12969 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12971         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12972         (__lll_lock_elision): Remove adapt_count decrement...
12973         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12974         (__lll_trylock_elision): Likewise.
12975         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12976         (__lll_unlock_elision): ... to here. And utilize
12977         new adapt_count parameter.
12978         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12979         (__lll_unlock_elision): Update to include adapt_count
12980         parameter.
12981         (lll_unlock_elision): Pass pointer to adapt_count
12982         variable.
12984 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12986         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12987         Add elision adapt_count parameter to list of arguments.
12988         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12989         (lll_unlock_elision): Update with new parameter list
12990         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12991         (lll_unlock_elision): Likewise.
12992         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12993         (lll_unlock_elision): Likewise.
12995 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12997         [BZ #19122]
12998         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12999         attribute_hidden.
13001         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13002         attribute_hidden.
13003         [IS_IN (rtld)] (__strdup): Likewise.
13004         [IS_IN (rtld)] (__strerror_r): Likewise.
13005         [IS_IN (rtld)] (__strsep_g): Likewise.
13006         [IS_IN (rtld)] (memchr): Likewise.
13007         [IS_IN (rtld)] (memcmp): Likewise.
13008         [IS_IN (rtld)] (memcpy): Likewise.
13009         [IS_IN (rtld)] (memmove): Likewise.
13010         [IS_IN (rtld)] (memset): Likewise.
13011         [IS_IN (rtld)] (rawmemchr): Likewise.
13012         [IS_IN (rtld)] (stpcpy): Likewise.
13013         [IS_IN (rtld)] (strchr): Likewise.
13014         [IS_IN (rtld)] (strcmp): Likewise.
13015         [IS_IN (rtld)] (strlen): Likewise.
13016         [IS_IN (rtld)] (strnlen): Likewise.
13017         [IS_IN (rtld)] (strsep): Likewise.
13019         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13020         attribute_hidden.
13021         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13023         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13024         attribute_hidden.
13025         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13027         * include/setjmp.h (__longjmp): Add attribute_hidden.
13028         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13030         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13031         Add attribute_hidden.
13033         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13034         [IS_IN (rtld)] (__open): Likewise.
13035         [IS_IN (rtld)] (__fcntl): Likewise.
13037         * include/dirent.h (__opendirat): Add attribute_hidden.
13038         (__getdents): Likewise.
13039         (__getdents64): Likewise.
13040         (__alloc_dir): Likewise.
13041         [IS_IN (rtld)] (__closedir): Likewise.
13042         [IS_IN (rtld)] (__fdopendir): Likewise.
13043         [IS_IN (rtld)] (__readdir): Likewise.
13044         [IS_IN (rtld)] (__readdir64): Likewise.
13045         [IS_IN (rtld)] (__rewinddir): Likewise.
13047         * include/dlfcn.h (_dl_catch_error): Moved to ...
13048         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13049         attribute_hidden.
13051         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13052         (_itoa_word): Likewise.
13054         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13055         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13056         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13057         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13058         (_dl_higher_prime_number): Likewise.
13059         (_dl_debug_printf_c): Likewise.
13060         (_dl_signal_cerror): Likewise.
13061         (_dl_receive_error): Likewise.
13062         (_dl_reloc_bad_type): Likewise.
13063         (_dl_resolve_conflicts): Likewise.
13064         (_dl_check_all_versions): Likewise.
13065         (_dl_check_map_versions): Likewise.
13066         (_dl_sort_fini): Likewise.
13067         (_dl_debug_initialize): Likewise.
13068         (_dl_init_paths): Likewise.
13069         (_dl_show_auxv): Likewise.
13070         (_dl_next_ld_env_entry): Likewise.
13071         (_dl_important_hwcaps): Likewise.
13072         (_dl_load_cache_lookup): Likewise.
13073         (_dl_update_slotinfo): Likewise.
13074         (_dl_show_scope): Likewise.
13076         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13077         attribute_hidden.
13078         (_wordcopy_fwd_dest_aligned): Likewise.
13079         (_wordcopy_bwd_aligned): Likewise.
13080         (_wordcopy_bwd_dest_aligned): Likewise.
13082         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13083         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13084         Likewise.
13085         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13086         Likewise.
13087         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13089 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13091         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13092         GCC 5 requirement.
13094 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13096         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13097         test.
13098         * sysdeps/i386/configure: Regenerated.
13099         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13100         code unconditional.
13102         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13103         test.
13104         (libc_cv_asm_popsection_directive): Likewise.
13105         * configure: Regenerated.
13106         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13107         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13108         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13109         (__make_section_unallocated): Make definition unconditional.
13110         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13111         Remove conditional definition.
13112         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13113         (__make_section_unallocated): Likewise.
13115         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13116         * configure: Regenerated.
13117         * config.make.in (static-libgcc): Remove variable.
13118         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13119         $(static-libgcc).
13120         (build-module-helper): Likewise.
13122         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13123         * configure: Regenerated.
13125 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13127         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13128         (struct char_buffer): New type.
13129         (char_buffer_start, char_buffer_size, char_buffer_error)
13130         (char_buffer_rewind, char_buffer_add): New functions.
13131         (ADDW): Remove macro, replaced by the char_buffer_add function.
13132         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13133         of extend_alloca.  Make control flow more explicit.
13135 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13137         [BZ #19137]
13138         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13139         Add -fomit-frame-pointer.
13140         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13142 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13144         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13145         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13146         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13147         only if !__GNUC_PREREQ (5,0).
13148         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13149         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13150         (INTERNAL_SYSCALL_NCS): Likewise.
13151         (LOADREGS_0): New macro for GCC 5.
13152         (ASMARGS_0): Likewise.
13153         (LOADREGS_1): Likewise.
13154         (ASMARGS_1): Likewise.
13155         (LOADREGS_2): Likewise.
13156         (ASMARGS_2): Likewise.
13157         (LOADREGS_3): Likewise.
13158         (ASMARGS_3): Likewise.
13159         (LOADREGS_4): Likewise.
13160         (ASMARGS_4): Likewise.
13161         (LOADREGS_5): Likewise.
13162         (ASMARGS_5): Likewise.
13163         (LOADREGS_6): Likewise.
13164         (ASMARGS_6): Likewise.
13166 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13168         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13169         -fomit-frame-pointer.
13170         (CFLAGS-mmap64.c): Likewise.
13171         (CFLAGS-semtimedop.c): Likewise.
13172         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13173         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13174         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13175         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13177 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13179         [BZ #18928]
13180         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13181         _dl_pointer_guard member.
13182         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13183         initializer.
13184         (security_init): Always set up pointer guard.
13185         (process_envvars): Do not process LD_POINTER_GUARD.
13187 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13189         [BZ #19134]
13190         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13191         (.LC2): Likewise.
13192         (.LC3): Likewise.
13193         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13195 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13197         [BZ #19129]
13198         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13199         r0 and r1.
13201 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13203         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13205 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13207         * include/stap-probe.h: Fix macro definition formatting.
13209 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13211         [BZ #19074]
13212         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13213         load and store num_ifs.
13215 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13217         [BZ #18822]
13218         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13219         (__sched_getaffinity_new): Add libc_hidden_proto and
13220         libc_hidden_def.
13222 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13224         [BZ #19007]
13225         * scripts/localplt.awk: Also allow GOT references.
13226         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13227         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13228         with "+ REL R_386_GLOB_DAT".
13229         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13230         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13232 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13234         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13235         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13236         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13237         Likewise.
13238         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13239         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13240         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13241         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13242         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13243         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13244         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13245         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13246         Likewise.
13247         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13249 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13251         [BZ #19125]
13252         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13253         <math_private.h> and <stdint.h>.
13254         (__llround): Avoid conversions to and from long long int, and
13255         subtractions, where those might raise spurious exceptions.
13256         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13257         <math_private.h> and <stdint.h>.
13258         (__llroundf): Avoid conversions to and from long long int, and
13259         subtractions, where those might raise spurious exceptions.
13261 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13263         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13264         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13265         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13266         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13267         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13268         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13269         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13270         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13271         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13272         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13273         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13274         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13275         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13276         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13277         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13278         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13279         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13280         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13281         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13282         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13283         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13284         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13285         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13286         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13287         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13288         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13289         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13290         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13291         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13292         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13293         (__xstat64_conv): Likewise.
13294         (__xstat32_conv): Likewise.
13296 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13298         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13299         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13300         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13301         <sysdeps/unix/sysv/linux/sysdep.h>.
13302         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13303         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13304         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13305         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13306         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13307         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13308         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13309         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13310         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13313         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13314         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13315         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13316         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13317         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13318         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13319         (sysdep-dl-routines): Add sysdep.
13320         [$(subdir) == nptl] (libpthread-routines): Likewise.
13321         [$(subdir) == rt] (librt-routines): Likewise.
13322         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13323         PIC when branching to SYSCALL_ERROR_LABEL.
13324         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13325         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13326         <sysdeps/unix/sysv/linux/sysdep.h>.
13327         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13328         (SYSCALL_ERROR_ERRNO): Removed.
13329         (SYSCALL_ERROR_HANDLER): Changed to empty.
13330         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13331         (__syscall_error): New prototype.
13332         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13333         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13335 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13337         [BZ #19124]
13338         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13339         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13340         _dl_runtime_resolve_avx.
13341         (_dl_runtime_profile_avx512): Make it a hidden alias of
13342         _dl_runtime_profile_avx.
13344 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13346         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13347         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13348         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13349         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13351         [BZ #16422]
13352         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13353         New configure test.
13354         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13355         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13356         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13357         <math_private.h> and <stdint.h>.
13358         (__llrint): Avoid conversions to long long int where those might
13359         raise spurious exceptions.
13360         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13361         <math_private.h> and <stdint.h>.
13362         (__llrintf): Avoid conversions to long long int where those might
13363         raise spurious exceptions.
13365 2015-10-12  Andreas Schwab  <schwab@suse.de>
13367         [BZ #18969]
13368         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13369         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13370         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13371         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13372         $(gen-locales).
13373         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13374         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13375         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13376         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13377         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13378         $(gen-locales).
13379         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13380         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13381         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13382         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13383         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13384         ($(objpfx)tst-ftell-active-handler.out)
13385         ($(objpfx)tst-ftell-append.out)
13386         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13387         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13388         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13389         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13390         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13391         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13392         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13393         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13394         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13395         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13396         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13397         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13398         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13399         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13400         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13401         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13402         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13403         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13404         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13405         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13406         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13407         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13408         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13409         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13410         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13411         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13412         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13413         $(gen-locales).
13414         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13415         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13416         $(gen-locales).
13417         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13418         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13419         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13420         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13421         $(gen-locales).
13422         * libio/tst_wprintf2.c (main): Use explicit locale.
13423         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13425 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13427         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13428         __msg_sig_post.
13429         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13431 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13433         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13434         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13436         * sysdeps/arm/libm-test-ulps: Regenerated.
13438         [BZ #15470]
13439         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13441         [BZ #16399]
13442         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13443         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13444         and <fix-fp-int-convert-overflow.h>.
13445         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13446         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13447         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13448         and <fix-fp-int-convert-overflow.h>.
13449         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13450         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13451         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13452         <fix-fp-int-convert-overflow.h>.
13453         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13454         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13455         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13456         <fix-fp-int-convert-overflow.h>.
13457         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13458         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13459         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13460         and <fix-fp-int-convert-overflow.h>.
13461         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13462         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13463         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13464         <limits.h> and <fix-fp-int-convert-overflow.h>.
13465         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13466         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13467         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13468         and <fix-fp-int-convert-overflow.h>.
13469         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13470         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13471         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13472         and <fix-fp-int-convert-overflow.h>.
13473         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13474         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13475         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13477 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13479         [BZ #18589]
13480         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13481         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13482         $(gen-locales).
13484 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13485             Phil Blundell <pb@pbcl.net>
13487         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13488         * nptl/tst-cancel26.c: New file.
13489         * nptl/tst-cancel27.c: Likewise.
13491 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13493         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13494         __ILP32__ isn't defined.
13495         (lrint): Likewise.
13496         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13497         (lrintf): Likewise.
13498         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13499         (lrintl): Likewise.
13500         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13501         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13502         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13504 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13506         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13507         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13509         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13510         file.
13511         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13512         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13514 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13516         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13517         configure test.
13518         * sysdeps/i386/configure: Regenerated.
13519         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13520         configure test.
13521         * sysdeps/x86_64/configure: Regenerated.
13522         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13523         Make code unconditional.
13525         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13526         test.
13527         * sysdeps/i386/configure: Regenerated.
13528         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13529         test.
13530         * sysdeps/x86_64/configure: Regenerated.
13531         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13532         Make code unconditional.
13533         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13534         Likewise.
13535         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13536         Likewise.
13537         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13538         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13539         code unconditional.
13540         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13541         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13542         code unconditional.
13543         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13544         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13545         code unconditional.
13546         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13547         code unconditional.
13548         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13549         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13550         code unconditional.
13551         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13552         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13553         code unconditional.
13554         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13555         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13556         code unconditional.
13557         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13558         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13559         code unconditional.
13560         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13561         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13563         [BZ #19095]
13564         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13565         mantissa to long int before shifting left.
13567 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13569         [BZ #19094]
13570         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13571         <limits.h>.
13572         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13573         when result overflows but exception would not result from cast.
13574         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13575         <limits.h>.
13576         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13577         when result overflows but exception would not result from cast.
13578         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13579         <limits.h>.
13580         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13581         when result overflows but exception would not result from cast.
13582         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13583         <limits.h>.
13584         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13585         when result overflows but exception would not result from cast.
13586         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13587         <limits.h>.
13588         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13589         when result overflows but exception would not result from cast.
13590         * math/libm-test.inc (lrint_test_data): Add more tests.
13591         (llrint_test_data): Likewise.
13593 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13595         [BZ #18872]
13596         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13597         Move out from under [$(run-built-tests) = yes] conditional.
13598         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13599         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13601 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13603         [BZ #18589]
13604         * string/Makefile (tests): Add bug-strcoll2.
13605         (LOCALES): Add cs_CZ.UTF-8.
13606         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13608         [BZ #18589]
13609         * string/bug-strcoll2.c: New file.
13610         * locale/categories.def: Revert commit
13611         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13612         * locale/langinfo.h: Likewise.
13613         * locale/localeinfo.h: Likewise.
13614         * locale/C-collate.c: Likewise.
13615         * locale/programs/ld-collate.c (collate_output): Likewise.
13616         * string/strcoll_l.c (STRDIFF): Likewise.
13617         (STRCOLL): Likewise.
13618         * wcsmbs/wcscoll_l.c: Likewise.
13620 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13622         * math/libm-test.inc (lround_test_data): Do not expect the absence
13623         of "inexact" for some tests with non-integer arguments.
13624         (llround_test_data): Likewise.
13626         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13627         test.
13628         (libc_cv_cc_sse2avx): Likewise.
13629         * sysdeps/i386/configure: Regenerated.
13630         * sysdeps/i386/i686/multiarch/Makefile
13631         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13632         [$(subdir) = math].
13633         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13634         code unconditional.
13635         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13636         Likewise.
13637         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13638         Likewise.
13639         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13640         Likewise.
13641         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13642         test.
13643         (libc_cv_cc_sse2avx): Likewise.
13644         * sysdeps/x86_64/configure: Regenerated.
13645         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13646         unconditional.
13647         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13648         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13649         unconditional.
13650         (_dl_runtime_profile)
13651         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13652         conditional code.
13653         * sysdeps/x86_64/fpu/multiarch/Makefile
13654         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13655         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13656         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13657         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13658         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13659         * sysdeps/x86_64/fpu/multiarch/e_log.c
13660         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13661         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13662         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13663         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13664         Likewise.
13665         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13666         Likewise.
13667         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13668         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13669         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13670         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13671         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13672         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13673         (HAVE_SSE2AVX_SUPPORT): Likewise.
13675 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13677         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13678         instead of #pragma optimize.
13680 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13682         [BZ #17195]
13683         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13684         as is similarly done in systrim and _int_free already.
13686 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13688         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13690 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13692         [BZ #19088]
13693         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13694         <limits.h>.
13695         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13696         overflows but exception would not result from cast.
13697         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13698         and <limits.h>.
13699         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13700         overflows but exception would not result from cast.
13701         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13702         <limits.h>.
13703         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13704         overflows but exception would not result from cast.
13705         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13706         <limits.h>.
13707         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13708         overflows but exception would not result from cast.
13709         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13710         <limits.h>.
13711         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13712         overflows but exception would not result from cast.
13713         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13714         <limits.h>.
13715         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13716         overflows but exception would not result from cast.
13717         * math/libm-test.inc (lround_test_data): Add more tests.
13718         (llround_test_data): Likewise.
13720 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13722         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13723         (CFLAGS-ialloc.c): Ditto.
13724         (CFLAGS-scheck.c): Ditto.
13726 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13728         [BZ #19086]
13729         * manual/filesys.texi (Storage Allocation): Fix argument order for
13730         posix_fallocate64.
13732 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13734         [BZ #19085]
13735         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13736         exponent below 48 inside case for non-overflowing exponent.
13737         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13739 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13741         * iconvdata/cp737.h (from_idx): Add const.
13742         * iconvdata/cp775.h (from_idx): Likewise.
13744 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13746         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13747         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13748         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13750         [BZ #19079]
13751         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13752         file, conditioned on [!_LP64].
13753         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13754         [!_LP64] (__lround): Do not define as function or alias.
13755         [!_LP64] (lround): Likewise.
13756         [!_LP64] (__lroundl): Likewise.
13757         [!_LP64] (lroundl): Likewise.
13758         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13759         macro.
13760         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13761         Likewise.
13763 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13765         * math/libm-test.inc (lrint_test_data): Add more tests.
13766         (llrint_test_data): Likewise.
13767         (lround_test_data): Likewise.
13768         (llround_test_data): Likewise.
13770         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13771         (llrint_test_data): Add tests used for lrint.
13773         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13774         test.
13775         * sysdeps/i386/configure: Regenerated.
13776         * sysdeps/i386/i686/multiarch/Makefile
13777         [$(config-cflags-sse4) = yes]: Make code unconditional.
13778         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13779         Likewise.
13780         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13781         Likewise.
13782         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13783         test.
13784         * sysdeps/x86_64/configure: Regenerated.
13785         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13786         Make code unconditional.
13787         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13788         Likewise.
13789         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13790         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13792         * scripts/rpm2dynsym.sh: Remove file.
13794 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13796         * configure.ac (libc_cv_cxx_thread_local): Define.
13797         * configure: Regenerate.
13798         * config.make.in (have-cxx-thread_local): Define.
13799         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13800         (LDLIBS-tst-thread_local1): Define.
13801         (tests): Add tst-thread_local1.
13802         [have-cxx-thread_local != yes] (tests-unsupported): Add
13803         tst-thread_local1.
13804         * nptl/tst-thread_local1.cc: New file.
13806 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13808         [BZ #19078]
13809         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13810         (u_thres): Likewise.
13811         (__expl): Determine whether to call __kernel_standard_l based on
13812         value of result, not argument.
13814         * math/libm-test.inc (scalb_test_data): Add more expectations for
13815         the "inexact" exception.
13817         [BZ #19077]
13818         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13819         0.0L for argument 1.0L.
13821         [BZ #19076]
13822         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13823         constant 0.0L when computing infinite result.
13825 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13827         [BZ #10432]
13828         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13829         malloc_usable_size.
13831 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13833         [BZ #19018]
13834         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13835         Mangle function pointer before storing it.
13836         (__call_tls_dtors): Demangle function pointer before calling it.
13838 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13840         [BZ #19012]
13841         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13842         Clean up on failure.
13844 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13846         [BZ #19071]
13847         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13848         long int variable to store possibly incremented high part of
13849         mantissa.
13850         * math/libm-test.inc (lround_test_data): Add tests used for
13851         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13852         for tests requiring 64-bit long.  Do not condition tests on
13853         [TEST_FLOAT] unnecessarily.
13854         (llround_test_data): Add tests used for lround.  Add another
13855         expectation for the "inexact" exception.  Do not condition tests
13856         on [TEST_FLOAT] unnecessarily.
13858         [BZ #887]
13859         [BZ #19049]
13860         [BZ #19050]
13861         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13862         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13863         <fix-int-fp-convert-zero.h>.
13864         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13865         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13866         <fix-int-fp-convert-zero.h>.
13867         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13868         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13869         <fix-int-fp-convert-zero.h>.
13870         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13871         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13872         <fix-int-fp-convert-zero.h>.
13873         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13874         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13875         <fix-int-fp-convert-zero.h>.
13876         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13877         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13878         <fix-int-fp-convert-zero.h>.
13879         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13880         * sysdeps/ieee754/flt-32/s_erff.c: Include
13881         <fix-int-fp-convert-zero.h>.
13882         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13883         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13884         <fix-int-fp-convert-zero.h>.
13885         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13886         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13887         <fix-int-fp-convert-zero.h>.
13888         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13889         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13890         <fix-int-fp-convert-zero.h>.
13891         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13892         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13893         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13894         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13895         file.
13896         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13898 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13900         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13902 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13904         [BZ #19059]
13905         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13906         overflowing computation.
13907         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13908         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13909         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13910         Likewise.
13911         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13912         Likewise.
13913         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13914         Likewise.
13915         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13916         Likewise.
13917         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13918         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13919         Likewise.
13920         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13921         Likewise.
13922         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13924         * nss/rewrite_field.c (__nss_rewrite_field): Use
13925         internal_function.
13926         * nss/valid_field.c (__nss_valid_field): Likewise.
13927         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13929 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13931         [BZ #18724]
13932         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13933         (__nss_invalid_field_characters, __nss_valid_field)
13934         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13935         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13936         tst-field.c: New file.
13937         * nss/Makefile (routines): Add valid_field, rewrite_field.
13938         (tests-static): Define unconditionally.
13939         (tests): Include tests-static.
13940         [build-static-nss] (tests-static): Use append.
13941         [build-static-nss] (tests): Remove modification.
13942         * nss/getent.c (print_group): Call putgrent.  Report error.
13943         (print_gshadow): Call putsgent.  Report error.
13944         (print_passwd): Call putpwent.  Report error.
13945         (print_shadow): Call putspent.  Report error.
13946         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13947         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13948         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13949         name, password, directory, shell fields for valid syntax.  Rewrite
13950         GECOS field to match syntax.
13951         * pwd/Makefile (tests): Add tst-putpwent.
13952         * pwd/tst-putpwent.c: New file.
13953         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13954         Check grName, grpasswd, gr_mem fields for valid syntax.
13955         Change loop variable i to size_t.
13956         * grp/Makefile (tests): Add tst-putgrent.
13957         * grp/tst-putgrent.c: New file.
13958         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13959         valid syntax.
13960         * shadow/Makefile (tests): Add tst-putspent.
13961         * shadow/tst-putspent.c: New file.
13962         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13963         sg_mem fields for valid syntax.
13964         * gshadow/Makefile (tests): Add tst-putsgent.
13965         * gshadow/tst-putsgent.c: New file.
13967 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13969         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13970         assembly instructions.
13972 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13974         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13975         prefix from operands.
13977 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13979         [BZ #16347]
13980         [BZ #19046]
13981         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13982         <libc-internal.h>.
13983         (MAXLGM): Do not use diagnostic control macros.
13984         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13985         threshold for ldbl-128ibm.
13986         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13987         instead of multiplying by log then subtracting.
13988         * math/auto-libm-test-in: Add more tests of lgamma.
13989         * math/auto-libm-test-out: Regenerated.
13991         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13992         (TYPE_HEX_DIG): Likewise.
13993         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13994         precisions when printing floating-point numbers.
13995         (check_float_internal): Likewise.
13997 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13999         [BZ #16620]
14000         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14001         of log (10) rounded downward to 48 bits.
14002         (log10_low): Use corresponding low part of log (10).
14004         [BZ #19032]
14005         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14006         compute result as (x - x) / (x - x) not as 0 / 0.
14007         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14008         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14010         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14011         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14012         and expm1.
14013         * math/auto-libm-test-out: Regenerated.
14014         * math/libm-test.inc (acos_test_data): Add more tests.
14015         (asin_test_data): Likewise.
14016         (asinh_test_data): Likewise.
14017         (atan_test_data): Likewise.
14018         (atanh_test_data): Likewise.
14019         (atan2_test_data): Likewise.
14020         (cbrt_test_data): Likewise.
14021         (ceil_test_data): Likewise.
14022         (copysign_test_data): Likewise.
14023         (cos_test_data): Likewise.
14024         (cosh_test_data): Likewise.
14025         (erf_test_data): Likewise.
14026         (erfc_test_data): Likewise.
14027         (exp_test_data): Likewise.
14028         (exp10_test_data): Likewise.
14029         (exp2_test_data): Likewise.
14030         (expm1_test_data): Likewise.
14031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14033 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14035         [BZ #19006]
14036         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14037         to ...
14038         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14039         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14040         to ...
14041         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14042         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14043         to ...
14044         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14045         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14046         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14047         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14048         to ...
14049         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14050         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14051         Moved to ...
14052         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14053         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14054         Moved to ...
14055         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14056         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14057         to ...
14058         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14059         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14060         Moved to ...
14061         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14062         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14063         to ...
14064         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14065         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14066         Removed.
14067         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14068         Likewise.
14069         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14070         Likewise.
14071         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14072         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14073         Likewise.
14074         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14075         Likewise.
14076         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14077         Likewise.
14078         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14079         Likewise.
14080         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14081         Likewise.
14082         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14083         Likewise.
14084         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14085         Likewise.
14086         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14087         Likewise.
14088         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14089         Likewise.
14090         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14091         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14092         Likewise.
14093         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14094         Likewise.
14095         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14096         Likewise.
14097         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14098         Likewise.
14099         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14100         Likewise.
14101         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14102         Replace ../i486/pthread_cond_timedwait.S with
14103         ../pthread_cond_timedwait.S.
14105 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14107         * math/libm-test.inc (acos_test_data): Refine expectations for
14108         errno and "inexact" exceptions.
14109         (acosh_test_data): Likewise.
14110         (asin_test_data): Likewise.
14111         (asinh_test_data): Likewise.
14112         (atan_test_data): Likewise.
14113         (atanh_test_data): Likewise.
14114         (atan2_test_data): Likewise.
14115         (cbrt_test_data): Likewise.
14116         (ceil_test_data): Likewise.
14117         (copysign_test_data): Likewise.
14118         (cosh_test_data): Likewise.
14119         (erf_test_data): Likewise.
14120         (erfc_test_data): Likewise.
14121         (exp_test_data): Likewise.
14122         (exp10_test_data): Likewise.
14123         (exp2_test_data): Likewise.
14124         (expm1_test_data): Likewise.
14125         (fabs_test_data): Likewise.
14126         (floor_test_data): Likewise.
14127         (fma_test_data): Likewise.
14128         (fmax_test_data): Likewise.
14129         (fmin_test_data): Likewise.
14130         (fmod_test_data): Likewise.
14131         (fpclassify_test_data): Likewise.
14132         (frexp_test_data): Likewise.
14133         (hypot_test_data): Likewise.
14134         (ilogb_test_data): Likewise.
14135         (isgreater_test_data): Likewise.
14136         (isgreaterequal_test_data): Likewise.
14137         (isinf_test_data): Likewise.
14138         (isless_test_data): Likewise.
14139         (islessequal_test_data): Likewise.
14140         (islessgreater_test_data): Likewise.
14141         (isnan_test_data): Likewise.
14142         (isnormal_test_data): Likewise.
14143         (issignaling_test_data): Likewise.
14144         (isunordered_test_data): Likewise.
14145         (j0_test_data): Likewise.
14146         (j1_test_data): Likewise.
14147         (jn_test_data): Likewise.
14148         (lgamma_test_data): Likewise.
14149         (lrint_test_data): Likewise.
14150         (llrint_test_data): Likewise.
14151         (log_test_data): Likewise.
14152         (log10_test_data): Likewise.
14153         (log1p_test_data): Likewise.
14154         (log2_test_data): Likewise.
14155         (logb_test_data): Likewise.
14156         (lround_test_data): Likewise.
14157         (llround_test_data): Likewise.
14158         (modf_test_data): Likewise.
14159         (nearbyint_test_data): Likewise.
14160         (nextafter_test_data): Likewise.
14161         (nexttoward_test_data): Likewise.
14162         (pow_test_data): Likewise.
14163         (remainder_test_data): Likewise.
14164         (remquo_test_data): Likewise.
14165         (rint_test_data): Likewise.
14166         (round_test_data): Likewise.
14167         (signbit_test_data): Likewise.
14168         (sinh_test_data): Likewise.
14169         (sqrt_test_data): Likewise.
14170         (tanh_test_data): Likewise.
14171         (tgamma_test_data): Likewise.
14172         (trunc_test_data): Likewise.
14173         (y0_test_data): Likewise.
14174         (y1_test_data): Likewise.
14175         (yn_test_data): Likewise.
14176         (significand_test_data): Likewise.
14178 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14180         * manual/filesys.texi (Storage Allocation): Document that
14181         posix_fallocate emulation fails when fd is open with O_WRONLY.
14183 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14185         [BZ #19016]
14186         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14187         allow more cases with X^2 + Y^2 >= 0.5.
14188         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14189         normal element in sum instead of special-casing based on values of
14190         arguments.
14191         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14192         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14193         -1 as normal element in sum instead of special-casing based on
14194         values of arguments.
14195         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14196         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14197         (__x2y2m1): Update comment.
14198         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14199         as normal element in sum instead of special-casing based on values
14200         of arguments.
14201         * math/s_clog.c (__clog): Handle more cases using log1p without
14202         hypot.
14203         * math/s_clog10.c (__clog10): Likewise.
14204         * math/s_clog10f.c (__clog10f): Likewise.
14205         * math/s_clog10l.c (__clog10l): Likewise.
14206         * math/s_clogf.c (__clogf): Likewise.
14207         * math/s_clogl.c (__clogl): Likewise.
14208         * math/auto-libm-test-in: Add more tests of clog and clog10.
14209         * math/auto-libm-test-out: Regenerated.
14210         * sysdeps/i386/fpu/libm-test-ulps: Update.
14211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14213 2015-09-28  Martin Sebor  <msebor@redhat.com>
14215         [BZ #18969]
14216         * string/Makefile (LOCALES): Define.
14217         (gen-locales.mk): Include.
14218         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14219         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14220         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14221         on setlocale failure.
14223 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14225         [BZ #18985]
14226         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14227         (__strftime_internal): Likewise.
14228         * time/tst-strftime.c (do_bz18985): New test.
14229         (do_test): Call it.
14231 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14233         [BZ #18956]
14234         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14235         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14236         extracting high part.
14237         * math/auto-libm-test-in: Add another test of pow.
14238         * math/auto-libm-test-out: Regenerated.
14239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14241 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14243         [BZ #18825]
14244         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14245         New macro.
14246         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14247         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14248         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14249         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14250         DBL_NARROW_EVAL, reloading the PIC register as needed.
14251         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14252         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14253         FLT_NARROW_EVAL.  Use separate return path for case when first
14254         argument is NaN.
14255         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14256         DEFINE_LDBL_MIN.
14257         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14258         PIC register.
14259         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14260         math_check_force_underflow_nonneg.
14261         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14262         underflow for subnormal result.
14263         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14264         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14265         math_check_force_underflow_nonneg.
14266         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14267         math_check_force_underflow.
14268         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14269         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14270         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14271         DEFINE_LDBL_MIN.
14272         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14273         * math/auto-libm-test-in: Add more tests of pow.
14274         * math/auto-libm-test-out: Regenerated.
14276 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14278         * nss/bug17079.c (init_test_items): Add diagnostic for
14279         inconsistent entries.
14280         (test_buffer_size): Skip inconsistent entries.
14282 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14284         [BZ #13304]
14285         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14286         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14287         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14289         [BZ #13304]
14290         * sysdeps/microblaze/s_fma.c: New file.
14291         * sysdeps/microblaze/s_fmaf.c: Likewise.
14292         * sysdeps/microblaze/sfp-machine.h: Likewise.
14294 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14296         [BZ #17250]
14297         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14298         member.
14300 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14302         [BZ #18803]
14303         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14304         (MO): New macro.
14305         (__ieee754_hypot) [PIC]: Load PIC register.
14306         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14307         DBL_NARROW_EVAL.
14308         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14309         math_check_force_underflow_nonneg in case where result might be
14310         tiny.
14311         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14312         Likewise.
14313         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14314         Likewise.
14315         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14316         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14317         * math/auto-libm-test-in: Add more tests of hypot.
14318         * math/auto-libm-test-out: Regenerated.
14320 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14322         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14324 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14326         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14327         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14328         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14329         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14330         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14331         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14332         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14334         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14335         LOAD_PIC_REG.
14337         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14338         (FLT_CHECK_FORCE_UFLOW): Likewise.
14339         (DBL_CHECK_FORCE_UFLOW): Likewise.
14340         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14341         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14342         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14343         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14344         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14345         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14346         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14347         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14348         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14349         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14350         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14351         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14352         (flt_min): Replace with use of DEFINE_FLT_MIN.
14353         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14354         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14355         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14356         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14357         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14358         (flt_min): Replace with use of DEFINE_FLT_MIN.
14359         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14360         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14361         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14362         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14363         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14364         (flt_min): Replace with use of DEFINE_FLT_MIN.
14365         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14366         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14367         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14368         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14369         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14370         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14371         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14372         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14373         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14374         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14375         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14376         (flt_min): Replace with use of DEFINE_FLT_MIN.
14377         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14378         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14379         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14380         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14381         main computation.
14382         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14383         (flt_min): Replace with use of DEFINE_FLT_MIN.
14384         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14385         main computation.
14386         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14387         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14388         (MO): New macro.
14389         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14390         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14391         (flt_min): Replace with use of DEFINE_FLT_MIN.
14392         (MO): New macro.
14393         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14394         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14395         (__log1pl): Use MO.
14397         [BZ #19003]
14398         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14399         $(config-cflags-nofma).
14401 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14403         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14405 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14407         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14408         (TWO127): Likewise.
14410         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14411         (min_of_type): Likewise.
14412         (math_check_force_underflow): Likewise.
14413         (math_check_force_underflow_nonneg): Likewise.
14414         (math_check_force_underflow_complex): Likewise.
14415         * math/e_exp2l.c (__ieee754_exp2l): Use
14416         math_check_force_underflow_nonneg.
14417         * math/k_casinh.c (__kernel_casinh): Likewise.
14418         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14419         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14420         * math/s_catan.c (__catan): Use
14421         math_check_force_underflow_complex.
14422         * math/s_catanf.c (__catanf): Likewise.
14423         * math/s_catanh.c (__catanh): Likewise.
14424         * math/s_catanhf.c (__catanhf): Likewise.
14425         * math/s_catanhl.c (__catanhl): Likewise.
14426         * math/s_catanl.c (__catanl): Likewise.
14427         * math/s_ccosh.c (__ccosh): Likewise.
14428         * math/s_ccoshf.c (__ccoshf): Likewise.
14429         * math/s_ccoshl.c (__ccoshl): Likewise.
14430         * math/s_cexp.c (__cexp): Likewise.
14431         * math/s_cexpf.c (__cexpf): Likewise.
14432         * math/s_cexpl.c (__cexpl): Likewise.
14433         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14434         * math/s_clog10.c (__clog10): Likewise.
14435         * math/s_clog10f.c (__clog10f): Likewise.
14436         * math/s_clog10l.c (__clog10l): Likewise.
14437         * math/s_clogf.c (__clogf): Likewise.
14438         * math/s_clogl.c (__clogl): Likewise.
14439         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14440         * math/s_csinf.c (__csinf): Likewise.
14441         * math/s_csinh.c (__csinh): Likewise.
14442         * math/s_csinhf.c (__csinhf): Likewise.
14443         * math/s_csinhl.c (__csinhl): Likewise.
14444         * math/s_csinl.c (__csinl): Likewise.
14445         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14446         * math/s_csqrtf.c (__csqrtf): Likewise.
14447         * math/s_csqrtl.c (__csqrtl): Likewise.
14448         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14449         * math/s_ctanf.c (__ctanf): Likewise.
14450         * math/s_ctanh.c (__ctanh): Likewise.
14451         * math/s_ctanhf.c (__ctanhf): Likewise.
14452         * math/s_ctanhl.c (__ctanhl): Likewise.
14453         * math/s_ctanl.c (__ctanl): Likewise.
14454         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14455         instead of volatile.
14456         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14457         math_check_force_underflow.
14458         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14459         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14460         volatile when forcing underflow.
14461         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14462         math_check_force_underflow_nonneg.
14463         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14464         Likewise.
14465         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14466         math_check_force_underflow.
14467         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14468         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14469         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14470         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14471         math_check_force_underflow_nonneg.
14472         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14473         math_check_force_underflow.
14474         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14475         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14476         instead of volatile.
14477         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14478         math_check_force_underflow.
14479         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14480         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14481         math_check_force_underflow_nonneg.
14482         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14483         math_check_force_underflow.
14484         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14485         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14486         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14487         math_check_force_underflow_nonneg.
14488         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14489         Likewise.
14490         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14491         math_check_force_underflow.
14492         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14493         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14494         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14495         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14496         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14497         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14498         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14499         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14500         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14501         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14502         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14503         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14504         Likewise.
14505         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14506         math_check_force_underflow_nonneg.
14507         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14508         Likewise.
14509         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14510         math_check_force_underflow.
14511         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14512         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14513         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14514         Likewise.
14515         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14516         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14517         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14518         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14519         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14520         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14521         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14522         instead of volatile.
14523         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14524         math_check_force_underflow.
14525         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14526         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14527         math_check_force_underflow.
14528         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14529         Likewise.
14530         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14531         Use math_check_force_underflow_nonneg.
14532         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14533         math_check_force_underflow.
14534         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14535         Likewise.
14536         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14537         Likewise.
14538         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14539         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14540         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14541         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14542         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14543         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14544         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14545         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14546         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14547         math_check_force_underflow_nonneg.
14548         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14549         math_check_force_underflow.
14550         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14551         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14552         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14553         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14554         math_check_force_underflow_nonneg.
14555         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14556         math_check_force_underflow.
14557         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14558         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14559         instead of volatile.
14560         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14561         math_check_force_underflow.
14563         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14564         * stdlib/strtod_l.c: Include <math_private.h>.
14565         (overflow_value): Use math_narrow_eval.
14566         (underflow_value): Likewise.
14567         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14568         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14569         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14570         (__ieee754_gamma_r): Likewise.
14571         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14572         Likewise.
14573         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14574         Likewise.
14575         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14576         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14577         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14578         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14579         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14580         (__ieee754_gammaf_r): Likewise.
14581         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14582         Likewise.
14583         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14584         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14585         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14586         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14587         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14588         volatile.
14589         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14590         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14591         math_narrow_eval.
14592         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14593         Likewise.
14594         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14595         Likewise.
14596         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14597         Likewise.
14598         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14599         volatile.
14600         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14601         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14602         math_narrow_eval.
14603         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14604         Likewise.
14605         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14606         Likewise.
14608 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14610         * nptl/Versions: Remove ignored symbols.
14612 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14614         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14615         * nss/Makefile (tests): Update.
14617 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14619         * nss/bug18287.c: New file.
14620         * nss/Makefile (tests): Add bug18287.
14622 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14624         * mach/Versions (__mach_host_self_): Add symbol.
14626 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14628         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14629         vm_page_size.
14631 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14633         Really fix sysdeps/i386/fpu/s_scalbn.S build
14635         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14636         (libc: GLIBC_2_22): Remove unused version set.
14638 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14640         * config.make.in (enable-timezone-tools): New variable.
14641         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14642         (enable_timezone_tools): Export to generated files.
14643         * configure: Regenerate.
14644         * INSTALL: Regenerate.
14645         * manual/install.texi (--disable-timezone-tools): Document new flag.
14646         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14647         ifeq ($(enable-timezone-tools),yes) check.
14649 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14651         * timezone/Makefile: Revert previous change.
14653         [BZ #18980]
14654         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14655         (DEFINE_DBL_MIN): Likewise.
14656         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14657         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14658         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14659         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14660         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14661         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14662         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14663         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14664         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14665         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14666         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14667         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14668         (flt_min): Replace with use of DEFINE_FLT_MIN.
14669         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14670         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14671         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14672         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14673         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14674         (flt_min): Replace with use of DEFINE_FLT_MIN.
14675         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14676         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14677         (flt_min): Replace with use of DEFINE_FLT_MIN.
14678         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14679         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14680         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14681         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14682         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14683         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14684         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14685         (__ieee754_pow): Use DBL_NARROW_EVAL.
14686         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14687         (__ieee754_powf): Use FLT_NARROW_EVAL.
14688         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14689         (__ieee754_expf_sse2): Convert double-precision result to single
14690         precision.
14691         * sysdeps/i386/fpu/libm-test-ulps: Update.
14693 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14695         * timezone/Makefile: Ignore unused variable errors due to private.h
14696         (time_t_min) and (time_t_max).
14697         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14698         Likewise.
14700 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14702         [BZ #18981]
14703         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14704         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14705         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14706         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14707         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14708         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14709         (__scalbn): Use DBL_NARROW_EVAL.
14710         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14711         (__scalbnf): Use FLT_NARROW_EVAL.
14713 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14715         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14716         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14717         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14718         * stdio-common/printf_fp.c (___printf_fp):
14719         Use signbit to get the sign. Use isinf macro to allow inlining.
14720         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14721         * stdio-common/printf_size.c (__printf_size): Likewise.
14723 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14725         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14727 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14729         [BZ #18980]
14730         * sysdeps/generic/math_private.h: Include <float.h>.
14731         (math_narrow_eval): New macro.
14732         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14733         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14734         math_narrow_eval on overflowing return value.
14735         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14736         Likewise.
14737         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14738         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14739         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14740         Likewise.
14741         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14743 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14745         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14746         * math/Makefile: Remove isinf_ns.c.
14747         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14748         * math/multc3.c (__multc3): Likewise.
14749         * math/s_casin.c (__casin): Likewise.
14750         * math/s_casinf.c (__casinf): Likewise.
14751         * math/s_casinl.c (__casinl): Likewise.
14752         * math/s_cproj.c (__cproj): Likewise.
14753         * math/s_cprojf.c (__cprojf): Likewise.
14754         * math/s_cprojl.c (__cprofl): Likewise.
14755         * math/s_ctan.c (__ctan): Likewise.
14756         * math/s_ctanf.c (__ctanf): Likewise.
14757         * math/s_ctanh.c (__ctanh): Likewise.
14758         * math/s_ctanhf.c (__ctanhf): Likewise.
14759         * math/s_ctanhl.c (__ctanhl): Likewise.
14760         * math/s_ctanl.c (__ctanl): Likewise.
14761         * math/w_fmod.c (__fmod): Likewise.
14762         * math/w_fmodf.c (__fmodf): Likewise.
14763         * math/w_fmodl.c (_fmodl): Likewise.
14764         * math/w_remainder.c (__remainder): Likewise.
14765         * math/w_remainderf.c (__remainderf): Likewise.
14766         * math/w_remainderl.c (__remainderl): Likewise.
14767         * math/w_scalb.c (__scalb): Likewise.
14768         * math/w_scalbf.c (__scalbf): Likewise.
14769         * math/w_scalbl.c (__scalbl): Likewise.
14770         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14771         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14772         with isinf.
14773         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14774         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14775         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14776         __isinf_nsf with isinf.
14777         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14778         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14779         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14780         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14781         with isinf.
14782         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14783         __isinf_nsl with isinf.
14784         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14785         with isinf.
14786         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14787         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14788         __isinf_nsl with isinf.
14789         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14790         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14791         with isinf.
14793 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14795         * resolv/base64.c (rcsid): Remove unused static.
14796         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14797         static.  (tqpi1): Likewise.
14798         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14799         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14800         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14801         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14802         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14803         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14804         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14805         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14806         Likewise.
14808 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14810         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14811         <nptl/pthreadP.h>.
14812         (_longjmp_unwind): Use __libc_ptf_call.
14813         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14815 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14817         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14818         * sysdeps/arm/__longjmp.S: Likewise.
14820 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14822         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14823         Use __builtin_signbit.
14824         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14825         Use __builtin_signbitf.
14826         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14827         Use __builtin_signbitl.
14828         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14829         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14831 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14833         [BZ #15367]
14834         [BZ #17441]
14836         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14837         * math/math.h (fpclassify): Use __builtin_fpclassify when
14838         available.  (signbit): Use __builtin_signbit(f/l).
14839         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14840         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14841         (isinf): Use __builtin_isinf_sign.
14843 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14845         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14846         * benchtests/bench-math-inlines.c: New benchmark.
14847         * benchtests/bench-util.h: New file.
14848         * benchtests/bench-util.c: New file.
14849         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14851 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14853         * elf/tst-dlmopen1.c: Define TEST_SO.
14854         (do_test): Use TEST_SO.
14856         * elf/dl-load.c: Include libc-internal.h.
14857         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14859 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14861         [BZ #17887]
14862         * time/strptime_l.c (__strptime_internal): Make %z accept
14863         [+-]HH:MM time zones.
14865 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14867         [BZ #17886]
14868         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14869         valid time zone.
14871 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14873         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14874         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14875         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14876         (__ASSUME_FDATASYNC): Delete.
14878 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14880         * conform/linknamespace.pl: Require weak undefined symbols to be
14881         in the standard namespace.
14882         (%strong_syms): Rename to %seen_syms.
14883         (%strong_seen): Rename to %seen_where.
14885 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14887         [BZ #18970]
14888         * misc/error.c (error): Replace pthread_setcancelstate with
14889         __pthread_setcancelstate.
14890         (error_at_line): Likewise.
14891         * posix/wordexp.c (parse_comm): Likewise.
14892         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14893         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14894         (__pthread_setcancelstate): This.
14895         (pthread_setcancelstate): Add an alias.
14896         * nptl/nptl-init.c (pthread_functions): Replace
14897         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14898         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14899         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14900         hidden_proto.
14901         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14902         it with hidden_def.
14903         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14904         (pthread_setcancelstate): Renamed to ...
14905         (__pthread_setcancelstate): This.
14906         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14907         __libc_ptf_call with __pthread_setcancelstate.
14909 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14910             Andreas Schwab  <schwab@suse.de>
14912         [BZ #17118]
14913         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14914         result when imaginary part of argument is infinite using sine and
14915         cosine.
14916         * math/s_ctanf.c (__ctanf): Likewise.
14917         * math/s_ctanl.c (__ctanl): Likewise.
14918         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14919         of result when real part of argument is infinite using sine and
14920         cosine.
14921         * math/s_ctanhf.c (__ctanhf): Likewise.
14922         * math/s_ctanhl.c (__ctanhl): Likewise.
14923         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14924         (ctanh_test_data): Add more tests of ctanh.
14926 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14928         [BZ #15384]
14929         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14930         bit-mask as in subtraction.
14931         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14932         Likewise.
14933         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14934         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14935         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14937         [BZ #18951]
14938         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14939         underflow exception for small results.
14940         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14941         Likewise.
14942         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14943         Likewise.
14944         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14945         Likewise.
14946         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14947         Likewise.
14948         * math/auto-libm-test-in: Add more tests of tgamma.
14949         * math/auto-libm-test-out: Regenerated.
14951 2015-09-17  Andreas Schwab  <schwab@suse.de>
14953         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14955 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14957         [BZ #18977]
14958         * math/bits/mathcalls.h
14959         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14960         not declare.
14961         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14962         Likewise.
14963         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14964         Likewise.
14965         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14966         Likewise.
14967         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14968         Likewise.
14969         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14970         Likewise.
14971         * conform/data/math.h-data
14972         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14973         function.
14974         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14975         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14976         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14977         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14978         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14979         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14980         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14981         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14982         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14983         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14984         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14986         [BZ #6803]
14987         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14988         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14989         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14990         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14991         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14992         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14993         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14994         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14995         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14996         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14997         Likewise.
14998         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14999         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15000         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15001         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15002         long_double_symbol calls.
15003         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15004         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15005         strong alias of __ldexpl.
15006         (scalbnl): Define using long_double_symbol.
15007         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15008         Remove alias.
15009         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15010         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15011         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15012         (scalbln_test_data): Add more errno expectations.
15014 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15016         Cache the host port like we cache the task port.  This way we do not
15017         need to call the kernel just to get the port.  Furthermore, we no
15018         longer increase the reference count on every invocation of
15019         `mach_host_self'.
15021         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15022         Protect declarations against the macro expansion.
15023         * mach/mach_init.c (__mach_host_self_): New variable.
15024         (mach_init): Initialize `__mach_host_self_'.
15025         * mach/mach_init.h (__mach_host_self_): New declaration.
15026         (__mach_host_self, mach_host_self): New macros.
15027         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15028         Release reference.
15030 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15032         [BZ #4404]
15033         * po/de.po: Update from Translation Project.
15035         [BZ #16415]
15036         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15037         (__expm1l): Remove code to handle positive infinity and overflow.
15038         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15039         variable.
15040         (__expm1l): Remove code to handle positive infinity and overflow.
15042 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15043             Paul Pluzhnikov  <ppluzhnikov@google.com>
15045         [BZ #18872]
15046         * stdio-common/Makefile (tst-printf-bz18872): New test.
15047         (tst-printf-bz18872-mem.out): Likewise.
15048         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15049         * stdio-common/vfprintf.c: Fix memory leaks.
15051 2015-09-16  Andreas Schwab  <schwab@suse.de>
15053         [BZ #17244]
15054         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15055         Remove extra va_start/va_end calls.
15057         [BZ #17243]
15058         * posix/execl.c (execl): Add missing va_end.
15059         * posix/execle.c (execle): Likewise.
15060         * posix/execlp.c (execlp): Likewise.
15062 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15064         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15065         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15067 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15069         [BZ #18967]
15070         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15071         undefine around includes of <bits/mathcalls.h>.
15072         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15073         not declare function.
15074         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15075         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15076         (scalb): Likewise.
15077         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15078         not define macro.
15079         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15080         variable.
15081         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15082         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15083         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15085         [BZ #18857]
15086         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15087         return non-finite argument without doing ordered comparisons on
15088         it.
15090         [BZ #16296]
15091         * math/fenv.h (fegetround): Use __attribute_pure__.
15092         * include/fenv.h (__fegetround): Likewise.
15094         [BZ #18595]
15095         * math/s_ctan.c (__ctan): Force underflow exception for results
15096         whose real or imaginary part has small absolute value.
15097         * math/s_ctanf.c (__ctanf): Likewise.
15098         * math/s_ctanh.c (__ctanh): Likewise.
15099         * math/s_ctanhf.c (__ctanhf): Likewise.
15100         * math/s_ctanhl.c (__ctanhl): Likewise.
15101         * math/s_ctanl.c (__ctanl): Likewise.
15102         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15103         and ctanh.  Add more tests of ctan and ctanh.
15105         [BZ #15918]
15106         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15107         handling of cases where one argument is an infinity.
15109         [BZ #18875]
15110         [BZ #18966]
15111         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15112         (MO): New macro.
15113         (__ieee754_exp10): For small results, force underflow exception
15114         and remove excess range and precision from return value.
15115         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15116         (MO): New macro.
15117         (__ieee754_exp10f): For small results, force underflow exception
15118         and remove excess range and precision from return value.
15119         * math/auto-libm-test-in: Add more tests of exp10.
15120         * math/auto-libm-test-out: Regenerated.
15122 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15124         [BZ #18875]
15125         [BZ #18961]
15126         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15127         (MO): New macro.
15128         (__ieee754_exp): For small results, force underflow exception and
15129         remove excess range and precision from return value.
15130         (__exp_finite): Likewise.
15131         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15132         (MO): New macro.
15133         (__ieee754_expf): For small results, force underflow exception and
15134         remove excess range and precision from return value.
15135         (__expf_finite): Likewise.
15136         * math/auto-libm-test-in: Add more tests of exp.
15137         * math/auto-libm-test-out: Regenerated.
15139         [BZ #16521]
15140         [BZ #18875]
15141         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15142         small results.
15143         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15144         (MO): New macro.
15145         (__ieee754_exp2): For small results, force underflow exception and
15146         remove excess range and precision from return value.
15147         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15148         (MO): New macro.
15149         (__ieee754_exp2f): For small results, force underflow exception
15150         and remove excess range and precision from return value.
15151         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15152         (MO): New macro.
15153         (__ieee754_exp2l): Force underflow exception for small results.
15154         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15155         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15156         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15157         (MO): New macro.
15158         (__ieee754_exp2l): Force underflow exception for small results.
15159         * math/auto-libm-test-in: Add more tests or exp2.
15160         * math/auto-libm-test-out: Regenerated.
15162 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15164         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15166         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15167         /dev/null.
15169 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15171         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15172         io fs process)): Drop spurious backslash.
15174 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15176         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15177         Use sysinfo system call instead of parsing /proc/meminfo.
15178         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15179         Likewise.
15181 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15183         [BZ #16985]
15184         * programs/localedef.c (main): Display argv[remaining] when
15185         output_path is NULL.
15187 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15189         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15190         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15191         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15192         tanh.
15193         * math/auto-libm-test-out: Regenerated.
15194         * sysdeps/i386/fpu/libm-test-ulps: Update.
15195         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15196         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15199 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15201         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15202         Use 'override' keyword to freeze the value here, preventing
15203         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15205 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15207         [BZ #14912]
15208         * sysdeps/aarch64/bits/atomic.h: Move to ...
15209         * sysdeps/aarch64/atomic-machine.h: ...here.
15210         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15211         _AARCH64_ATOMIC_MACHINE_H.
15212         * sysdeps/alpha/bits/atomic.h: Move to ...
15213         * sysdeps/alpha/atomic-machine.h: ...here.
15214         * sysdeps/arm/bits/atomic.h: Move to ...
15215         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15216         * bits/atomic.h: Move to ...
15217         * sysdeps/generic/atomic-machine.h: ...here.
15218         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15219         * sysdeps/i386/bits/atomic.h: Move to ...
15220         * sysdeps/i386/atomic-machine.h: ...here.
15221         * sysdeps/ia64/bits/atomic.h: Move to ...
15222         * sysdeps/ia64/atomic-machine.h: ...here.
15223         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15224         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15225         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15226         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15227         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15228         * sysdeps/microblaze/bits/atomic.h: Move to ...
15229         * sysdeps/microblaze/atomic-machine.h: ...here.
15230         * sysdeps/mips/bits/atomic.h: Move to ...
15231         * sysdeps/mips/atomic-machine.h: ...here.
15232         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15233         * sysdeps/powerpc/bits/atomic.h: Move to ...
15234         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15235         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15236         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15237         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15238         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15239         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15240         <atomic-machine.h> instead of <bits/atomic.h>.
15241         * sysdeps/s390/bits/atomic.h: Move to ...
15242         * sysdeps/s390/atomic-machine.h: ...here.
15243         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15244         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15245         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15246         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15247         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15248         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15249         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15250         * sysdeps/tile/bits/atomic.h: Move to ...
15251         * sysdeps/tile/atomic-machine.h: ...here.
15252         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15253         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15254         <sysdeps/tile/atomic-machine.h> instead of
15255         <sysdeps/tile/bits/atomic.h>.
15256         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15257         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15258         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15259         <sysdeps/tile/atomic-machine.h> instead of
15260         <sysdeps/tile/bits/atomic.h>.
15261         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15262         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15263         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15264         <sysdeps/arm/atomic-machine.h> instead of
15265         <sysdeps/arm/bits/atomic.h>.
15266         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15267         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15268         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15269         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15270         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15271         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15272         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15273         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15274         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15275         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15276         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15277         * sysdeps/x86_64/bits/atomic.h: Move to ...
15278         * sysdeps/x86_64/atomic-machine.h: ...here.
15279         * include/atomic.h: Include <atomic-machine.h> instead of
15280         <bits/atomic.h>.
15282         * sysdeps/mips/mips32/libm-test-ulps: Update.
15283         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15285         [BZ #18952]
15286         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15287         not convert non-integer negative arguments to int to determine the
15288         value of signgam.
15289         * math/auto-libm-test-in: Add more tests of lgamma.
15290         * math/auto-libm-test-out: Regenerated.
15292         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15293         cosh, csqrt, erfc, expm1 and lgamma.
15294         * math/auto-libm-test-out: Regenerated.
15295         * sysdeps/i386/fpu/libm-test-ulps: Update.
15296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15298 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15300         [BZ #2542]
15301         [BZ #2543]
15302         [BZ #2558]
15303         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15304         __lgamma_neg for arguments from -28.0 to -2.0.
15305         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15306         __lgamma_negf for arguments from -15.0 to -2.0.
15307         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15308         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15309         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15310         Call __lgamma_negl for arguments from -33.0 to -2.0.
15311         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15312         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15313         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15314         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15315         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15316         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15317         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15318         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15319         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15320         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15321         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15322         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15323         (__lgamma_neg): Likewise.
15324         (__lgamma_negl): Likewise.
15325         (__lgamma_product): Likewise.
15326         (__lgamma_productl): Likewise.
15327         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15328         * math/auto-libm-test-in: Add more tests of lgamma.
15329         * math/auto-libm-test-out: Regenerated.
15330         * sysdeps/i386/fpu/libm-test-ulps: Update.
15331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15333 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15335         [BZ #18675]
15336         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15338 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15340         [BZ #14912]
15341         * bits/libc-lock.h: Move to ...
15342         * sysdeps/generic/libc-lock.h: ...here.
15343         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15344         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15345         * sysdeps/mach/hurd/libc-lock.h: ...here.
15346         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15347         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15348         * sysdeps/mach/bits/libc-lock.h: Move to ...
15349         * sysdeps/mach/libc-lock.h: ...here.
15350         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15351         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15352         * sysdeps/nptl/libc-lock.h: ...here.
15353         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15354         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15355         * sysdeps/nptl/libc-lockP.h: ...here.
15356         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15357         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15358         <bits/libc-lock.h>.
15359         * dirent/scandir-tail.c: Likewise.
15360         * dlfcn/dlerror.c: Likewise.
15361         * elf/dl-close.c: Likewise.
15362         * elf/dl-iteratephdr.c: Likewise.
15363         * elf/dl-lookup.c: Likewise.
15364         * elf/dl-open.c: Likewise.
15365         * elf/dl-support.c: Likewise.
15366         * elf/dl-writev.h: Likewise.
15367         * elf/rtld.c: Likewise.
15368         * grp/fgetgrent.c: Likewise.
15369         * gshadow/fgetsgent.c: Likewise.
15370         * gshadow/sgetsgent.c: Likewise.
15371         * iconv/gconv_conf.c: Likewise.
15372         * iconv/gconv_db.c: Likewise.
15373         * iconv/gconv_dl.c: Likewise.
15374         * iconv/gconv_int.h: Likewise.
15375         * iconv/gconv_trans.c: Likewise.
15376         * include/link.h: Likewise.
15377         * inet/getnameinfo.c: Likewise.
15378         * inet/getnetgrent.c: Likewise.
15379         * inet/getnetgrent_r.c: Likewise.
15380         * intl/bindtextdom.c: Likewise.
15381         * intl/dcigettext.c: Likewise.
15382         * intl/finddomain.c: Likewise.
15383         * intl/gettextP.h: Likewise.
15384         * intl/loadmsgcat.c: Likewise.
15385         * intl/localealias.c: Likewise.
15386         * intl/textdomain.c: Likewise.
15387         * libidn/idn-stub.c: Likewise.
15388         * libio/libioP.h: Likewise.
15389         * locale/duplocale.c: Likewise.
15390         * locale/freelocale.c: Likewise.
15391         * locale/newlocale.c: Likewise.
15392         * locale/setlocale.c: Likewise.
15393         * login/getutent_r.c: Likewise.
15394         * login/getutid_r.c: Likewise.
15395         * login/getutline_r.c: Likewise.
15396         * login/utmp-private.h: Likewise.
15397         * login/utmpname.c: Likewise.
15398         * malloc/mtrace.c: Likewise.
15399         * misc/efgcvt.c: Likewise.
15400         * misc/error.c: Likewise.
15401         * misc/fstab.c: Likewise.
15402         * misc/getpass.c: Likewise.
15403         * misc/mntent.c: Likewise.
15404         * misc/syslog.c: Likewise.
15405         * nis/nis_call.c: Likewise.
15406         * nis/nis_callback.c: Likewise.
15407         * nis/nss-default.c: Likewise.
15408         * nis/nss_compat/compat-grp.c: Likewise.
15409         * nis/nss_compat/compat-initgroups.c: Likewise.
15410         * nis/nss_compat/compat-pwd.c: Likewise.
15411         * nis/nss_compat/compat-spwd.c: Likewise.
15412         * nis/nss_nis/nis-alias.c: Likewise.
15413         * nis/nss_nis/nis-ethers.c: Likewise.
15414         * nis/nss_nis/nis-grp.c: Likewise.
15415         * nis/nss_nis/nis-hosts.c: Likewise.
15416         * nis/nss_nis/nis-network.c: Likewise.
15417         * nis/nss_nis/nis-proto.c: Likewise.
15418         * nis/nss_nis/nis-pwd.c: Likewise.
15419         * nis/nss_nis/nis-rpc.c: Likewise.
15420         * nis/nss_nis/nis-service.c: Likewise.
15421         * nis/nss_nis/nis-spwd.c: Likewise.
15422         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15423         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15424         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15425         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15426         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15427         * nis/nss_nisplus/nisplus-network.c: Likewise.
15428         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15429         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15430         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15431         * nis/nss_nisplus/nisplus-service.c: Likewise.
15432         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15433         * nis/ypclnt.c: Likewise.
15434         * nptl/libc_pthread_init.c: Likewise.
15435         * nss/getXXbyYY.c: Likewise.
15436         * nss/getXXent.c: Likewise.
15437         * nss/getXXent_r.c: Likewise.
15438         * nss/nss_db/db-XXX.c: Likewise.
15439         * nss/nss_db/db-netgrp.c: Likewise.
15440         * nss/nss_db/nss_db.h: Likewise.
15441         * nss/nss_files/files-XXX.c: Likewise.
15442         * nss/nss_files/files-alias.c: Likewise.
15443         * nss/nsswitch.c: Likewise.
15444         * posix/regex_internal.h: Likewise.
15445         * posix/wordexp.c: Likewise.
15446         * pwd/fgetpwent.c: Likewise.
15447         * resolv/res_hconf.c: Likewise.
15448         * resolv/res_libc.c: Likewise.
15449         * shadow/fgetspent.c: Likewise.
15450         * shadow/lckpwdf.c: Likewise.
15451         * shadow/sgetspent.c: Likewise.
15452         * socket/opensock.c: Likewise.
15453         * stdio-common/reg-modifier.c: Likewise.
15454         * stdio-common/reg-printf.c: Likewise.
15455         * stdio-common/reg-type.c: Likewise.
15456         * stdio-common/vfprintf.c: Likewise.
15457         * stdio-common/vfscanf.c: Likewise.
15458         * stdlib/abort.c: Likewise.
15459         * stdlib/cxa_atexit.c: Likewise.
15460         * stdlib/fmtmsg.c: Likewise.
15461         * stdlib/random.c: Likewise.
15462         * stdlib/setenv.c: Likewise.
15463         * string/strsignal.c: Likewise.
15464         * sunrpc/auth_none.c: Likewise.
15465         * sunrpc/bindrsvprt.c: Likewise.
15466         * sunrpc/create_xid.c: Likewise.
15467         * sunrpc/key_call.c: Likewise.
15468         * sunrpc/rpc_thread.c: Likewise.
15469         * sysdeps/arm/backtrace.c: Likewise.
15470         * sysdeps/generic/ldsodefs.h: Likewise.
15471         * sysdeps/generic/stdio-lock.h: Likewise.
15472         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15473         * sysdeps/i386/backtrace.c: Likewise.
15474         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15475         * sysdeps/m68k/backtrace.c: Likewise.
15476         * sysdeps/mach/hurd/cthreads.c: Likewise.
15477         * sysdeps/mach/hurd/dirstream.h: Likewise.
15478         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15479         * sysdeps/nptl/malloc-machine.h: Likewise.
15480         * sysdeps/nptl/stdio-lock.h: Likewise.
15481         * sysdeps/posix/dirstream.h: Likewise.
15482         * sysdeps/posix/getaddrinfo.c: Likewise.
15483         * sysdeps/posix/system.c: Likewise.
15484         * sysdeps/pthread/aio_suspend.c: Likewise.
15485         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15486         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15487         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15488         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15489         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15490         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15491         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15492         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15493         * sysdeps/unix/sysv/linux/system.c: Likewise.
15494         * sysdeps/x86_64/backtrace.c: Likewise.
15495         * time/alt_digit.c: Likewise.
15496         * time/era.c: Likewise.
15497         * time/tzset.c: Likewise.
15498         * wcsmbs/wcsmbsload.c: Likewise.
15499         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15500         instead of <bits/libc-lock.h> in comment.
15502 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15504         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15505         Only use .set mips2 if the current ISA is below mips2.
15506         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15507         Likewise.
15508         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15509         mips32r2 if the current ISA is below mips32r2.
15510         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15511         (TLS_IE): Updated to use the TLD_RDHWR macro.
15512         (TLS_LE): Likewise.
15513         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15514         __ASSEMBLER__ condition.
15516 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15518         Fix parallel build of before-compile targets.
15520         * sysdeps/mach/Makefile ($(patsubst
15521         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15522         mach-before-compile target.
15523         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15524         io fs process)): Move rule to dedicated hurd-before-compile target.
15526 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15528         Fix rules generating headers in hurd/ and mach/ when initial make call
15529         has subdir= explicitly set.
15531         * sysdeps/mach/Makefile ($(patsubst
15532         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15533         calling $(MAKE).
15534         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15535         io fs process)): Force subdir to hurd when calling $(MAKE).
15536         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15537         subdir to mach when calling $(MAKE).
15539 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15541         Check sysheaders when looking for Mach and Hurd headers
15543         * sysdeps/mach/configure.ac: Add sysheaders check.
15544         * sysdeps/mach/configure: Regenerate.
15545         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15546         * sysdeps/mach/hurd/configure: Regenerate.
15548 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15550         [BZ #18921]
15551         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15552         Fix inverted sense of test of 'o_directory_works' value.
15553         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15554         Bernhard Voelker <mail@bernhard-voelker.de>.
15556 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15558         [BZ #14912]
15559         * bits/linkmap.h: Move to ...
15560         * sysdeps/generic/linkmap.h: ...here.
15561         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15562         * sysdeps/aarch64/linkmap.h: ...here.
15563         * sysdeps/arm/bits/linkmap.h: Move to ...
15564         * sysdeps/arm/linkmap.h: ...here.
15565         * sysdeps/hppa/bits/linkmap.h: Move to ...
15566         * sysdeps/hppa/linkmap.h: ...here.
15567         * sysdeps/ia64/bits/linkmap.h: Move to ...
15568         * sysdeps/ia64/linkmap.h: ...here.
15569         * sysdeps/mips/bits/linkmap.h: Move to ...
15570         * sysdeps/mips/linkmap.h: ...here.
15571         * sysdeps/s390/bits/linkmap.h: Move to ...
15572         * sysdeps/s390/linkmap.h: ...here.
15573         * sysdeps/sh/bits/linkmap.h: Move to ...
15574         * sysdeps/sh/linkmap.h: ...here.
15575         * sysdeps/x86/bits/linkmap.h: Move to ...
15576         * sysdeps/x86/linkmap.h: ...here.
15577         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15579 2015-09-04  Andreas Schwab  <schwab@suse.de>
15581         [BZ #18635]
15582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15583         (__makecontext): Terminate FDE before return label.
15584         (__novec_makecontext): Likewise.
15586 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15588         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15589         first member of struct sv in syscall macro.
15591 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15593         [BZ #14912]
15594         * bits/stdio-lock.h: Move to ...
15595         * sysdeps/generic/stdio-lock.h: ...here.
15596         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15597         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15598         * sysdeps/nptl/stdio-lock.h: ...here.
15599         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15600         * include/libio.h: Include <stdio-lock.h> instead of
15601         <bits/stdio-lock.h>.
15602         * sysdeps/nptl/fork.c: Likewise.
15603         * sysdeps/pthread/flockfile.c: Likewise.
15604         * sysdeps/pthread/ftrylockfile.c: Likewise.
15605         * sysdeps/pthread/funlockfile.c: Likewise.
15607         [BZ #14912]
15608         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15609         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15610         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15611         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15612         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15613         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15614         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15616 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15618         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15619         (test-xfail-tst-protected1b): New variable.
15621 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15623         [BZ #14912]
15624         * bits/libc-tsd.h: Move to ...
15625         * sysdeps/generic/libc-tsd.h: ...here.
15626         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15627         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15628         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15629         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15630         * include/ctype.h: Include <libc-tsd.h> instead of
15631         <bits/libc-tsd.h>.
15632         * include/rpc/rpc.h: Likewise.
15633         * locale/localeinfo.h: Likewise.
15634         * sunrpc/rpc_thread.c: Likewise.
15635         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15636         * sysdeps/nptl/malloc-machine.h: Likewise.
15638         * Makefile (headers): Remove bits/libc-lock.h.
15639         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15641         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15642         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15643         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15644         <bits/stdio-lock.h>.
15645         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15646         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15648 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15650         [BZ #18757]
15651         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15652         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15653         BZ #18757.
15655 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15657         * malloc/mtrace.pl: Filter out NULL entries.
15659 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15661         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15662         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15663         macro.
15665         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15666         (TCP_CC_INFO): Likewise.
15667         (TCP_SAVE_SYN): Likewise.
15668         (TCP_SAVED_SYN): Likewise.
15670 2015-08-31  Brett Neumeier <brett@neumeier.us>
15672         [BZ #18870]
15673         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15675 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15677         [BZ #18873]
15678         Fix broken overflow check in posix_fallocate
15679         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15680         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15681         Fix parenthesization typo.
15683 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15685         [BZ #18887]
15686         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15687         tst-mntent-blank-passno.
15688         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15689         * misc/tst-mntent-blank-corrupt.c: New test.
15690         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15691         * misc/tst-mntent.c (do_test): ... here.
15693 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15695         [BZ #4404]
15696         * po/de.po: Fix SIGALRM typo.
15698 2015-08-28  James Perkins  <james@loowit.net>
15700         * time/tst-strptime2.c (tests): Replace short list of test
15701         strings for strptime %z specifier with code which exhaustively
15702         tests every combination of sign and 0 to 5 digits. Tests for
15703         rejection of invalid strings.
15705 2015-08-28  James Perkins  <james@loowit.net>
15707         [BZ #16141]
15708         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15709         calculation, removing incorrect decimal time rounding, so that
15710         all minute values result in a valid seconds value.
15711         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15712         offset range limits to UTC-99:59 through UTC+99:59 to parse
15713         current and historical use cases.
15714         * time/tst-strptime2.c (tests): Modify and add tests for the
15715         strptime %z input field descriptor, specifically conversion of
15716         minutes to seconds and validating an offset range of -9959 to
15717         +9959.
15719 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15720             Dmitry V. Levin  <ldv@altlinux.org>
15722         [BZ #18877]
15723         * posix/Makefile (tests): Add tst-mmap-offset.
15724         * posix/tst-mmap.c: New file.
15725         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15726         offset calculation for negative values.
15728 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15730         * sysdeps/i386/init-arch.h: New file.
15731         * sysdeps/i386/i586/init-arch.h: Likewise.
15732         * sysdeps/i386/i686/init-arch.h: Likewise.
15733         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15734         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15735         * sysdeps/x86/cpu-features.h (bit_I586): New.
15736         (bit_I686): Likewise.
15737         (bit_CX8): Likewise.
15738         (bit_CMOV): Likewise.
15739         (index_CX8): Likewise.
15740         (index_CMOV): Likewise.
15741         (index_I586): Likewise.
15742         (index_I686): Likewise.
15743         (reg_CX8): Likewise.
15744         (reg_CMOV): Likewise.
15745         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15746         available at compile-time.
15747         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15748         available at compile-time.
15749         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15750         (USE_I686): Likewise.
15752 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15754         * sysdeps/i386/bcopy.S: New file.
15755         * sysdeps/i386/bzero.S: Likewise.
15756         * sysdeps/i386/memcpy.S: Likewise.
15757         * sysdeps/i386/memmove.S: Likewise.
15758         * sysdeps/i386/mempcpy.S: Likewise.
15759         * sysdeps/i386/memset.S: Likewise.
15760         * sysdeps/i386/bzero.c: Removed.
15761         * sysdeps/i386/memset.c: Likewise.
15762         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15763         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15764         * sysdeps/i386/i586/memset_chk.S: Likewise.
15765         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15766         * sysdeps/i386/memcpy_chk.S: Here.
15767         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15768         * sysdeps/i386/memmove_chk.S: Here.
15769         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15770         * sysdeps/i386/mempcpy_chk.S: Likewise.
15771         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15772         * sysdeps/i386/memset_chk.S: Likewise.
15774 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15776         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15777         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15778         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15779         * soft-fp/fmadf4.c: Ditto.
15780         * soft-fp/fmatf4.c: Ditto.
15782 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15784         * sysdeps/i386/i586/Implies: Removed.
15785         * sysdeps/i386/i686/Implies: Likewise.
15787 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15789         * sysdeps/i386/i486/strlen.S: Moved to ...
15790         * sysdeps/i386/strlen.S: Here.
15792 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15794         * sysdeps/i386/i486/strcat.S: Moved to ...
15795         * sysdeps/i386/strcat.S: Here.
15797 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15799         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15800         * sysdeps/i386/pthread_spin_trylock.S: Here.
15801         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15802         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15804 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15806         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15807         * sysdeps/i386/string-inlines.c: Here.
15809 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15811         * sysdeps/i386/i486/htonl.S: Moved ...
15812         * sysdeps/i386/htonl.S: here.
15814 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15816         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15817         * sysdeps/i386/bits/atomic.h: Here.
15819 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15821         * sysdeps/i386/i486/Versions: Removed.
15823 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15825         [BZ #2898]
15826         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15827         Based on patch by Aurelien Jarno.
15829 2015-08-26  Stan Shebs  <stanshebs@google.com>
15831         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15832         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15834 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15836         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15837         * sysdeps/powerpc/dl-procinfo.c:
15838         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15839         feature so it shows when LD_SHOW_AUXV=1.
15841 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15843         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15844         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15845         definition.  ISA 2.07B no longer requires full sync.
15847 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15849         [BZ #18863]
15850         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15851         (si_call_addr): Define.
15852         (si_syscall): Define.
15853         (si_arch): Define.
15855 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15857         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15858         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15859         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15860         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15861         (__memset_zero_constant_len_parameter): New.
15862         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15863         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15864         (__memset_zero_constant_len_parameter): Don't define if
15865         __memset_chk or USE_AS_BZERO are defined.
15867         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15868         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15869         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15871         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15872         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15873         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15874         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15875         comments.
15876         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15877         -mno-mmx for $(all-rtld-routines).
15878         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15879         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15880         i386.
15882 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15884         * sysdeps/generic/unwind.h
15885         (_Unwind_Word): Use __mode__(__unwind_word__)
15886         instead of __mode__(__word__).
15887         (_Unwind_Sword): Likewise.
15889         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15890         (MAX_NEEDED_INPUT): New define.
15891         (MAX_NEEDED_OUTPUT): New define.
15893         * NEWS: New item for IBM z13 string optimizations.
15895         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15896         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15897         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15898         * sysdeps/s390/multiarch/Makefile
15899         (sysdep_routines): Add memrchr functions.
15900         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15901         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15903         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15904         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15905         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15906         * sysdeps/s390/multiarch/Makefile
15907         (sysdep_routines): Add wmemcmp functions.
15908         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15909         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15910         * benchtests/bench-wmemcmp.c: New File.
15911         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15913         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15914         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15915         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15916         * sysdeps/s390/multiarch/Makefile
15917         (sysdep_routines): Add wmemset functions.
15918         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15919         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15920         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15921         * string/test-memset.c: Add wmemset support.
15922         * wcsmbs/test-wmemset.c: New File.
15923         * wcsmbs/Makefile (strop-tests): Add wmemset.
15924         * benchtests/bench-memset.c: Add wmemset support.
15925         * benchtests/bench-wmemset.c: New File.
15926         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15928         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15929         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15930         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15931         * sysdeps/s390/multiarch/Makefile
15932         (sysdep_routines): Add memccpy functions.
15933         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15934         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15935         * string/memccpy.c: Use MEMCCPY if defined.
15937         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15938         * sysdeps/s390/multiarch/memchr.c: Likewise.
15939         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15940         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15941         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15942         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15943         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15944         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15945         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15946         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15947         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15948         and rawmemchr functions.
15949         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15950         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15951         and wmemchr.
15952         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15953         * string/test-memchr.c: Add wmemchr support.
15954         * wcsmbs/test-wmemchr.c: New File.
15955         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15956         * benchtests/bench-memchr.c: Add wmemchr support.
15957         * benchtests/bench-wmemchr.c: New File.
15958         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15960         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15961         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15962         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15963         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15964         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15965         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15966         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15967         wcscspn functions.
15968         * sysdeps/s390/multiarch/ifunc-impl-list.c
15969         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15970         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15971         * string/test-strcspn.c: Add wcscspn support.
15972         * wcsmbs/test-wcscspn.c: New File.
15973         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15974         * benchtests/bench-strcspn.c: Add wcscspn support.
15975         * benchtests/bench-wcscspn.c: New File.
15976         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15978         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15979         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15980         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15981         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15982         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15983         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15984         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15985         wcspbrk functions.
15986         * sysdeps/s390/multiarch/ifunc-impl-list.c
15987         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15988         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15989         * string/test-strpbrk.c: Add wcspbrk support.
15990         * wcsmbs/test-wcspbrk.c: New File.
15991         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15992         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15993         * benchtests/bench-wcspbrk.c: New File.
15994         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15996         * sysdeps/s390/multiarch/strspn-c.c: New File.
15997         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15998         * sysdeps/s390/multiarch/strspn.c: Likewise.
15999         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16000         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16001         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16002         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16003         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16004         wcsspn functions.
16005         * sysdeps/s390/multiarch/ifunc-impl-list.c
16006         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16007         * string/test-strspn.c: Add wcsspn support.
16008         * wcsmbs/test-wcsspn.c: New File.
16009         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16010         * benchtests/bench-strspn.c: Add wcsspn support.
16011         * benchtests/bench-wcsspn.c: New File.
16012         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16014         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16015         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16016         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16017         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16018         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16019         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16020         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16021         wcsrchr functions.
16022         * sysdeps/s390/multiarch/ifunc-impl-list.c
16023         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16024         * benchtests/bench-wcsrchr.c: New File.
16025         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16027         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16028         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16029         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16030         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16031         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16032         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16033         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16034         wcschrnul functions.
16035         * sysdeps/s390/multiarch/ifunc-impl-list.c
16036         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16037         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16038         * string/test-strchr.c: Add wcschrnul support.
16039         * wcsmbs/test-wcschrnul.c: New File.
16040         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16041         * benchtests/bench-strchr.c: Add wcschrnul support.
16042         * benchtests/bench-wcschrnul.c: New File.
16043         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16045         * sysdeps/s390/multiarch/strchr-c.c: New File.
16046         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16047         * sysdeps/s390/multiarch/strchr.c: Likewise.
16048         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16049         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16050         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16051         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16052         wcschr functions.
16053         * sysdeps/s390/multiarch/ifunc-impl-list.c
16054         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16055         * string/strchr.c (STRCHR): Define and use macro.
16056         * benchtests/bench-wcschr.c: New File.
16057         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16059         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16060         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16061         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16062         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16063         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16064         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16065         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16066         wcsncmp functions.
16067         * sysdeps/s390/multiarch/ifunc-impl-list.c
16068         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16069         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16070         * benchtests/bench-strncmp.c: Add wcsncmp support.
16071         * benchtests/bench-wcsncmp.c: New File.
16072         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16074         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16075         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16076         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16077         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16078         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16079         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16080         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16081         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16082         wcscmp functions.
16083         * sysdeps/s390/multiarch/ifunc-impl-list.c
16084         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16085         * string/strcmp.c (STRCMP): Define and use macro.
16086         * benchtests/bench-wcscmp.c: New File.
16087         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16088         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16089         instead of _HAVE_STRING_ARCH_memchr.
16091         * sysdeps/s390/multiarch/strncat-c.c: New File.
16092         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16093         * sysdeps/s390/multiarch/strncat.c: Likewise.
16094         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16095         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16096         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16097         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16098         wcsncat functions.
16099         * sysdeps/s390/multiarch/ifunc-impl-list.c
16100         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16101         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16102         * string/test-strncat.c: Add wcsncat support.
16103         * wcsmbs/test-wcsncat.c: New File.
16104         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16105         * benchtests/bench-strncat.c: Add wcsncat support.
16106         * benchtests/bench-wcsncat.c: New File.
16107         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16109         * sysdeps/s390/multiarch/strcat-c.c: New File.
16110         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16111         * sysdeps/s390/multiarch/strcat.c: Likewise.
16112         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16113         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16114         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16115         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16116         wcscat functions.
16117         * sysdeps/s390/multiarch/ifunc-impl-list.c
16118         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16119         * string/strcat.c (STRCAT): Define and use macro.
16120         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16121         * string/test-strcat.c: Add wcscat support.
16122         * wcsmbs/test-wcscat.c: New File.
16123         * wcsmbs/Makefile (strop-tests): Add wcscat.
16124         * benchtests/bench-strcat.c: Add wcscat support.
16125         * benchtests/bench-wcscat.c: New File.
16126         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16128         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16129         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16130         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16131         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16132         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16133         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16134         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16135         wcpncpy functions.
16136         * sysdeps/s390/multiarch/ifunc-impl-list.c
16137         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16138         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16139         * string/test-stpncpy.c: Add wcpncpy support.
16140         * wcsmbs/test-wcpncpy.c: New File.
16141         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16142         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16143         * benchtests/bench-wcpncpy.c: New File.
16144         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16146         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16147         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16148         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16149         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16150         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16151         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16152         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16153         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16154         wcsncpy functions.
16155         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16156         * sysdeps/s390/multiarch/ifunc-impl-list.c
16157         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16158         * string/test-strncpy.c: Add wcsncpy support.
16159         * wcsmbs/test-wcsncpy.c: New File.
16160         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16161         * benchtests/bench-strncpy.c: Add wcsncpy support.
16162         * benchtests/bench-wcsncpy.c: New File.
16163         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16165         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16166         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16167         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16168         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16169         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16170         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16171         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16172         wcpcpy functions.
16173         * string/stpcpy.c: Use STPCPY if defined.
16174         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16175         * sysdeps/s390/multiarch/ifunc-impl-list.c
16176         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16177         * string/test-stpcpy.c: Add wcpcpy support.
16178         * wcsmbs/test-wcpcpy.c: New File.
16179         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16180         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16181         * benchtests/bench-wcpcpy.c: New File.
16182         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16184         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16185         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16186         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16187         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16188         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16189         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16190         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16191         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16192         wcscpy functions.
16193         * sysdeps/s390/multiarch/ifunc-impl-list.c
16194         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16195         * benchtests/bench-wcscpy.c: New File.
16196         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16198         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16199         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16200         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16201         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16202         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16203         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16204         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16205         wcsnlen functions.
16206         * sysdeps/s390/multiarch/ifunc-impl-list.c
16207         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16208         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16209         * string/test-strnlen.c: Add wcsnlen support.
16210         * wcsmbs/test-wcsnlen.c: New File.
16211         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16212         * benchtests/bench-strnlen.c: Add wcsnlen support.
16213         * benchtests/bench-wcsnlen.c: New File.
16214         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16216         * sysdeps/s390/multiarch/Makefile: New File.
16217         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16218         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16219         * sysdeps/s390/multiarch/strlen.c: Likewise.
16220         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16221         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16222         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16223         * string/strlen.c (STRLEN): Define and use macro.
16224         * sysdeps/s390/multiarch/ifunc-impl-list.c
16225         (IFUNC_VX_IMPL): New macro function.
16226         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16227         * benchtests/Makefile (wcsmbs-bench): New variable.
16228         (string-bench-all): Added wcsmbs-bench.
16229         * benchtests/bench-wcslen.c: New File.
16231         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16232         s390_vx_libc_ifunc2): New macro function.
16234         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16235         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16236         assembler support.
16237         * sysdeps/s390/configure: Regenerated.
16239         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16240         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16242         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16243         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16244         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16246         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16247         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16248         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16249         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16250         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16251         (memcmp, bcmp): Use __memcmp_default as alias source.
16252         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16253         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16254         Rename to __memcmp_default.
16255         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16256         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16257         (memcpy): Use __memcpy_default as alias source.
16258         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16259         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16260         Rename to __memcpy_default.
16261         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16262         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16263         (memset): Use __memset_default as alias source.
16264         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16265         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16266         Rename to __memset_default.
16267         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16268         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16269         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16270         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16271         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16272         (memcmp, bcmp): Use __memcmp_default as alias source.
16273         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16274         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16275         Rename to __memcmp_default.
16276         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16277         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16278         (memcpy): Use __memcpy_default as alias source.
16279         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16280         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16281         Rename to __memcpy_default.
16282         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16283         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16284         (memset): Use __memset_default as alias source.
16285         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16286         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16287         Rename to __memset_default.
16288         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16289         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16291         [BZ #18610]
16292         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16293         __ieee_instruction_pointer to __unused.
16294         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16295         __ieee_instruction_pointer.
16296         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16297         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16298         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16299         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16300         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16301         Mark dxc-field as reserved.
16303 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16305         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16306         if the weak reference is not null.
16308 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16310         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16312         [BZ #11214]
16313         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16315 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16317         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16318         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16319         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16320         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16321         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16322         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16323         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16324         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16325         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16326         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16327         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16328         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16329         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16330         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16331         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16332         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16333         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16334         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16336 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16338         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16339         register other than r0 for tabort, it has special meaning.
16340         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16341         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16342         transaction before starting syscall.
16344 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16346         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16348 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16350         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16352         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16353         * sysdeps/x86_64/rtld-memset.S: Likewise.
16354         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16355         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16356         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16357         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16359         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16361 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16363         * debug/strcpy_chk.c: Improve performance.
16364         * debug/stpcpy_chk.c: Likewise.
16365         * sysdeps/x86_64/strcpy_chk.S: Remove.
16366         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16368         [BZ #18240]
16369         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16371 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16373         [BZ #15128]
16374         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16375         ifuncmain8.
16376         (modules-names): Add ifuncmod8.
16377         ($(objpfx)ifuncmain8): New rule.
16378         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16379         <cpuid.h>.
16380         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16381         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16382         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16383         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16384         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16385         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16386         * sysdeps/x86_64/ifuncmain8.c: New file.
16387         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16388         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16389         Removed.
16390         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16391         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16392         Change rtld_savespace_sse to __glibc_unused2.
16393         (RTLD_CHECK_FOREIGN_CALL): Removed.
16394         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16395         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16396         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16398 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16400         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16402 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16404         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16405         Unconditionally set __fpcr to avoid uninialized warning.
16406         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16408 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16410         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16411         is corrupt.
16413         * malloc/arena.c (arena_get2): Drop unused argument.
16414         (arena_lock): Adjust.
16415         (arena_get_retry): Likewise.
16417 2015-08-24  Andreas Schwab  <schwab@suse.de>
16419         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16420         Don't define.
16421         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16422         (__ASSUME_IPC64): Don't undef.
16423         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16424         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16425         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16426         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16427         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16428         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16429         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16430         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16431         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16432         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16433         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16434         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16435         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16436         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16437         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16438         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16439         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16440         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16441         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16442         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16443         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16445 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16447         * manual/Makefile (install): Only build manual when perl is available.
16449 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16451         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16452         '#undef memcpy' by '#undef memchr'.
16454 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16456         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16457         memchr not point to the internal __GI_memchr implementation.
16459 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16461         * timezone/Makefile (CFLAGS-zdump.c): Remove
16462         -Wno-strict-prototypes.
16463         (CFLAGS-zic.c): Likewise.
16464         (CFLAGS-ialloc.c): Likewise.
16465         (CFLAGS-scheck.c): Likewise.
16467         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16468         -Wno-error=undef.
16470 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16472         * i386/i686/multiarch/strcasestr-c.c: Removed.
16473         * x86_64/multiarch/strcasestr.c: Likewise.
16474         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16475         Remove strcasestr.
16477 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16479         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16481         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16482         variables for high and low parts before possibly modifying them.
16484 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16486         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16487         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16488         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16489         of "multiarch/init-arch.h".
16490         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16491         * sysdeps/x86/init-arch.h: This.
16493 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16495         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16496         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16498 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16500         [BZ #17787]
16501         * manual/macros.texi: Add twoexp macro.
16502         * manual/filesys.texi: Fix exponents.
16503         * manual/llio.texi: Likewise.
16504         * manual/stdio.texi: Likewise.
16506 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16508         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16509         incorrect use.
16511 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16513         [BZ #18370]
16514         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16515         whose real or imaginary part has small absolute value.
16516         * math/s_csqrtf.c (__csqrtf): Likewise.
16517         * math/s_csqrtl.c (__csqrtl): Likewise.
16518         * math/auto-libm-test-in: Add more tests of csqrt.
16519         * math/auto-libm-test-out: Regenerated.
16520         * sysdeps/i386/fpu/libm-test-ulps: Update.
16522 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16524         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16525         __ppc_set_ppr_very_low): New functions.
16526         * manual/platform.texi: Add documentation about
16527         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16529 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16531         * string/stpncpy.c (stpncpy): Improve performance using
16532         __strnlen/memcpy/memset.
16534 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16536         [BZ #18796]
16537         * scripts/test-installation.pl: Don't add -lmvec to build options if
16538         libmvec wasn't built.
16540 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16542         [BZ #14341]
16543         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16544         case when there is a gap between DT_REL and DT_JMPREL sections.
16545         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16546         (LDFLAGS-tst-split-dynreloc): New.
16547         (tst-split-dynreloc-ENV): Likewise.
16548         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16549         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16551 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16553         [BZ #18822]
16554         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16555         attribute_hidden.
16556         (__xstat64_conv): Likewise.
16557         (__xstat32_conv): Likewise.
16559 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16561         [BZ #18822]
16562         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16563         Don't load %ebx when calling __setcontext.  Call __setcontext
16564         with HIDDEN_JUMPTARGET.
16565         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16566         libc_hidden_def.
16568 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16570         * sysdeps/i386/i686/Makefile
16571         [$(subdir) == string] (sysdep_routines): Moved to ...
16572         * sysdeps/i386/Makefile: Here.
16573         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16574         * sysdeps/i386/cacheinfo.c: Here.
16575         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16576         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16577         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16578         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16580 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16582         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16583         __i586__ is defined.
16584         (HAS_I686): Defined to 1 if __i686__ is defined.
16586 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16588         * elf/Makefile [$(have-z-execstack) = yes]
16589         (CPPFLAGS-tst-execstack.c): New variable.
16591         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16592         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16593         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16594         UTMPX || _HAVE_UT_TV].
16595         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16596         UTMPX || _HAVE_UT_TV - 0].
16598 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16600         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16601         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16602         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16604 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16606         * sysdeps/powerpc/dl-procinfo.c:
16607         (_dl_powerpc_cap_flags): Added missing strings for some
16608         hwcap features.
16609         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16611 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16613         Port the 0x7efe...feff pattern to GCC 6.
16614         See Steve Ellcey's bug report in:
16615         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16616         * string/memrchr.c (MEMRCHR):
16617         * string/rawmemchr.c (RAWMEMCHR):
16618         * string/strchr.c (strchr):
16619         * string/strchrnul.c (STRCHRNUL):
16620         Rewrite code to avoid issues with signed shift overflow.
16622 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16624         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16625         whether cpuid is available only if HAS_CPUID is 0.
16626         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16627         (HAS_I586): Likewise.
16628         (HAS_I686): Likewise.
16630 2015-08-18  Zack Weinberg  <zackw@panix.com>
16632         * misc/Versions (libc): Add GLIBC_2.23.
16634 2015-08-18  Alan Modra  <amodra@gmail.com>
16636         [BZ #18421]
16637         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16638         .Lp__global.
16639         (_start): Load %dp via .Lp__global.
16640         [!SHARED]: Use .section .rodata.
16642 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16644         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16645         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16647 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16649         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16650         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16652 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16654         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16655         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16657 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16659         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16660         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16662 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16664         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16665         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16667 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16669         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16670         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16672 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16674         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16676 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16678         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16679         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16680         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16681         (__ASSUME_LWS_CAS): Delete.
16683 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16685         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16686         * sysdeps/hppa/configure: Regenerated.
16687         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16688         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16689         * sysdeps/hppa/nptl/tls.h: Likewise.
16691 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16693         [BZ #18823]
16694         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16695         for scaling up small arguments.
16696         * math/s_csqrtf.c (__csqrtf): Likewise.
16697         * math/s_csqrtl.c (__csqrtl): Likewise.
16698         * math/auto-libm-test-in: Add more tests of csqrt.
16699         * math/auto-libm-test-out: Regenerated.
16701 2015-08-17  Andreas Schwab  <schwab@suse.de>
16703         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16704         version set GLIBC_2.19.
16706 2015-08-16  Zack Weinberg  <zackw@panix.com>
16708         [BZ #18681]
16709         * misc/regexp.h: This interface is no longer supported.
16710         Remove all contents, leaving only an #error directive.
16711         * misc/regexp.c (loc1, loc2, locs, step, advance):
16712         Demote to compatibility symbols.
16714 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16716         [BZ #18084]
16717         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16718         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16719         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16720         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16721         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16722         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16723         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16724         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16725         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16727 2015-08-15  Zack Weinberg  <zackw@panix.com>
16729         [BZ #18795]
16730         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16731         buffer length is known to be too large, not if it's known to be
16732         small enough.
16733         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16734         overflow at runtime, involving a length parameter, twice: once
16735         with a compile-time constant length parameter, once without.
16737 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16739         [BZ #18824]
16740         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16741         scaling x * y up instead of down.
16742         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16743         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16744         * math/auto-libm-test-in: Add more tests of fma.
16745         * math/auto-libm-test-out: Regenerated.
16747 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16749         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16751 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16753         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16754         unnecessary movq.
16755         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16756         Likewise.
16758 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16760         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16761         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16762         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16763         and tgamma.
16764         * math/auto-libm-test-out: Regenerated.
16765         * sysdeps/i386/fpu/libm-test-ulps: Update.
16766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16768         [BZ #16520]
16769         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16770         (__tanh): Force underflow exception for arguments with small
16771         absolute value.
16772         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16773         (__tanhf): Force underflow exception for arguments with small
16774         absolute value.
16775         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16776         (__tanhl): Force underflow exception for arguments with small
16777         absolute value.
16778         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16779         (__tanhl): Force underflow exception for arguments with small
16780         absolute value.
16781         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16782         (__tanhl): Force underflow exception for arguments with small
16783         absolute value.
16784         * math/auto-libm-test-in: Add more tests of tanh.
16785         * math/auto-libm-test-out: Regenerated.
16786         * sysdeps/i386/fpu/libm-test-ulps: Update.
16788 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16790         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16791         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16793 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16795         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16796         <cpuid.h>.
16798 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16800         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16801         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16803 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16805         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16806         Remove $(objpfx)init-arch.o.
16807         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16808         init-arch.
16809         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16810         (INIT_ARCH_EXT): Defined as empty.
16811         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16812         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16813         __init_cpu_features call.  Replace HAS_XXX with
16814         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16815         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16816         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16817         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16818         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16819         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16820         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16821         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16822         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16823         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16824         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16825         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16826         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16827         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16828         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16829         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16830         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16831         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16832         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16833         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16834         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16835         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16836         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16837         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16838         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16839         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16840         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16841         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16842         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16843         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16844         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16845         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16846         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16847         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16848         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16849         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16851 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16853         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16854         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16855         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16856         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16857         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16858         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16859         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16860         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16861         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16862         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16863         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16864         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16865         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16866         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16867         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16868         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16869         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16870         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16871         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16872         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16873         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16874         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16875         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16876         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16877         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16878         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16879         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16880         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16881         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16882         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16883         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16884         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16885         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16886         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16887         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16888         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16889         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16890         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16891         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16892         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16893         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16894         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16895         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16897 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16899         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16900         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16901         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16902         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16903         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16904         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16905         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16906         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16907         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16908         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16909         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16910         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16911         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16912         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16913         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16914         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16915         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16916         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16917         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16918         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16919         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16920         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16921         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16922         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16923         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16924         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16925         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16926         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16927         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16928         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16929         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16930         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16931         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16932         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16933         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16934         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16935         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16936         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16937         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16938         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16939         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16940         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16941         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16943 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16945         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16946         (dl_platform_init): Call init_cpu_features.
16947         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16948         * sysdeps/i386/i686/cacheinfo.c
16949         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16950         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16951         * sysdeps/i386/i686/multiarch/Versions: Removed.
16952         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16953         Removed.
16954         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16955         * sysdeps/unix/sysv/linux/x86/Makefile
16956         (libpthread-sysdep_routines): Remove init-arch.
16957         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16958         <sysdeps/x86_64/dl-procinfo.c> instead of
16959         sysdeps/generic/dl-procinfo.c>.
16960         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16961         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16962         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16963         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16964         [$(subdir) == elf] (tests-static): Add
16965         tst-get-cpu-features-static.
16966         * sysdeps/x86/Versions: New file.
16967         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16968         * sysdeps/x86/cpu-features.c: Likewise.
16969         * sysdeps/x86/cpu-features.h: Likewise.
16970         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16971         * sysdeps/x86/libc-start.c: Likewise.
16972         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16973         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16974         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16975         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16976         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16977         Assume USE_MULTIARCH is defined and don't check it.
16978         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16979         (is_amd): Likewise.
16980         (max_cpuid): Likewise.
16981         (intel_check_word): Likewise.
16982         (__cache_sysconf): Don't call __init_cpu_features.
16983         (__x86_preferred_memory_instruction): Removed.
16984         (init_cacheinfo): Don't call __init_cpu_features. Replace
16985         __cpu_features with GLRO(dl_x86_cpu_features).
16986         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16987         (dl_platform_init): Call init_cpu_features.
16988         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16989         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16990         * sysdeps/x86_64/multiarch/Versions: Removed.
16991         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16992         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16993         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16994         Removed.
16995         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16997 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16999         [BZ #18820]
17000         * libio/Makefile (test-fmemopen-mem): New test.
17001         * libio/test-fmemopen.c (do_bz18820): New test.
17002         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17003         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17005 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17007         [BZ #16734]
17008         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17009         (FREE_BUF): Delete.
17010         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17011         * libio/genops.c (_IO_setb): Use malloc and free directly.
17012         (_IO_default_doallocate, _IO_default_finish): Likewise.
17013         ( _IO_unbuffer_all): Likewise.
17014         ( libc_freeres_fn): Likewise.
17015         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17016         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17017         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17018         (_IO_wdefault_doallocate): Likewise.
17020 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17022         [BZ #18086]
17023         * sysdeps/posix/nice.c (nice): Restore old errno.
17024         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17026 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17028         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17030 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17032         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17033         __bcopy and add a weak_alias to bcopy.
17034         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17035         for static build.
17037         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17038         cleanup macro usage.
17039         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17040         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17041         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17042         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17043         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17044         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17045         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17046         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17047         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17048         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17049         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17050         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17051         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17052         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17053         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17054         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17055         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17056         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17057         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17059         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17060         libc_hidden_def.
17061         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17063         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17064         (sysdep_routines): Add strstr-ppc64.
17065         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17067 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17069         [BZ #18778]
17070         * elf/Makefile (tests): Add Add tst-nodelete2.
17071         (modules-names): Add tst-nodelete2mod.
17072         (tst-nodelete2mod.so-no-z-defs): New.
17073         ($(objpfx)tst-nodelete2): Likewise.
17074         ($(objpfx)tst-nodelete2.out): Likewise.
17075         (LDFLAGS-tst-nodelete2): Likewise.
17076         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17077         out of loop through all loaded libraries.
17078         * elf/tst-nodelete2.c: New file.
17079         * elf/tst-nodelete2mod.c: Likewise.
17080         * elf/tst-znodelete-zlib.cc: Delete.
17082 2015-08-11  Andreas Schwab  <schwab@suse.de>
17084         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17085         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17086         (__openat64_nocancel): Likewise.
17088 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17090         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17091         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17092         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17093         * math/auto-libm-test-out: Regenerated.
17094         * sysdeps/i386/fpu/libm-test-ulps: Update.
17095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17097 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17099         [BZ #18790]
17100         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17101         threshold for returning +/- 1.
17102         * math/auto-libm-test-in: Add more tests of tanh.
17103         * math/auto-libm-test-out: Regenerated.
17104         * sysdeps/i386/fpu/libm-test-ulps: Update.
17106 2015-08-10  Andreas Schwab  <schwab@suse.de>
17108         [BZ #18781]
17109         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17110         MORE_OFLAGS to oflag.
17111         * io/test-lfs.c (do_test): Test openat64.
17113 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17115         [BZ #18789]
17116         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17117         smaller threshold for returning the argument.
17118         * math/auto-libm-test-in: Add more tests of sinh.
17119         * math/auto-libm-test-out: Regenerated.
17120         * sysdeps/i386/fpu/libm-test-ulps: Update.
17122 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17124         [BZ #18674]
17125         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17126         break.
17128 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17130         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17131         (generated): Don't add $(addprefix z.,$(tzfiles)).
17133 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17135         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17136         * scripts/sysd-rules.awk: Likewise.
17138 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17140         * iconvdata/tst-tables.sh: Change echo -n to printf.
17141         * nss/db-Makefile: Likewise.
17142         * posix/tst-getconf.sh: Likewise.
17143         * stdio-common/tst-unbputc.sh: Likewise.
17145 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17147         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17148         MADV_*_PAGES defines behind this feature check.
17150 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17152         [BZ #18480]
17153         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17154         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17155         Define.
17156         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17157         LOAD_REGS_5, LOAD_REGS_6): Update.
17158         (INTERNAL_SYSCALL): Update using new LOAD defines.
17159         (INTERNAL_SYSCALL_NCS): Likewise.
17160         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17162 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17164         [BZ #16734]
17165         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17167 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17169         [BZ #17905]
17170         * catgets/Makefile (tst-catgets-mem): New test.
17171         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17172         * catgets/open_catalog.c (__open_catalog): Likewise.
17173         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17175 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17177         [BZ #18787]
17178         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17179         clobber registers.
17180         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17181         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17182         Cast return to __typeof (oldval).
17184 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17186         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17187         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17188         and delete sys/syscall.h include.
17190 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17192         [BZ #16517]
17193         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17194         (tan): Force underflow exception for arguments with small absolute
17195         value.
17196         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17197         (__kernel_tanf): Force underflow exception for arguments with
17198         small absolute value.
17199         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17200         (__kernel_tanl): Force underflow exception for arguments with
17201         small absolute value.
17202         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17203         (__kernel_tanl): Force underflow exception for arguments with
17204         small absolute value.
17205         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17206         (__kernel_tanl): Force underflow exception for arguments with
17207         small absolute value.
17208         * math/auto-libm-test-in: Add more tests of tan.
17209         * math/auto-libm-test-out: Regenerated.
17211 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17213         Fix sysdeps/i386/fpu/s_scalbn.S build
17215         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17217 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17219         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17221 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17223         Fix gcrt0.o compilation
17225         When static-start-installed-name is different from
17226         start-installed-name, we must not use the shared objects.
17228         * csu/Makefile
17229         (extra-objs): Add gmon-start.o when building shared library and
17230         $(static-start-installed-name) is different from
17231         $(start-installed-name).
17232         $(objpfx)g$(static-start-installed-name): When building shared
17233         library and $(static-start-installed-name) is different from
17234         $(static-start-installed-name), revert to non-shared rule,
17235         i.e. using $(objpfx)% and gmon-start.o.
17237 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17239         [BZ #16519]
17240         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17241         (__ieee754_sinh): Force underflow exception for arguments with
17242         small absolute value.
17243         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17244         (__ieee754_sinhf): Force underflow exception for arguments with
17245         small absolute value.
17246         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17247         (__ieee754_sinhl): Force underflow exception for arguments with
17248         small absolute value.
17249         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17250         (__ieee754_sinhl): Force underflow exception for arguments with
17251         small absolute value.
17252         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17253         (__ieee754_sinhl): Force underflow exception for arguments with
17254         small absolute value.
17255         * math/auto-libm-test-in: Add more tests of sinh.
17256         * math/auto-libm-test-out: Regenerated.
17257         * sysdeps/i386/fpu/libm-test-ulps: Update.
17259 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17261         * libio/oldfileops.c: Include unistd.h.
17263 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17265         * stdlib/isomac.c: Include ctype.h.
17267 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17269         * dirent/tst-seekdir.c (main): Converted to ...
17270         (do_test): ... this.
17271         (TEST_FUNCTION): New macro.
17272         Include test-skeleton.c.
17273         * elf/tst-dlmodcount.c (main): Converted to ...
17274         (do_test): ... this.
17275         (TEST_FUNCTION): New macro.
17276         Include test-skeleton.c.
17277         * elf/tst-order-main.c (main): Converted to ...
17278         (do_test): ... this.
17279         (TEST_FUNCTION): New macro.
17280         Include test-skeleton.c.
17281         * elf/tst-pie2.c (main): Converted to ...
17282         (do_test): ... this.
17283         (TEST_FUNCTION): New macro.
17284         Include test-skeleton.c.
17285         * inet/tst-ether_aton.c (main): Converted to ...
17286         (do_test): ... this.
17287         (TEST_FUNCTION): New macro.
17288         Include test-skeleton.c.
17289         * misc/tst-mntent.c (main): Converted to ...
17290         (do_test): ... this.
17291         (TEST_FUNCTION): New macro.
17292         Include test-skeleton.c.
17293         * misc/tst-tsearch.c (main): Converted to ...
17294         (do_test): ... this.
17295         (TEST_FUNCTION): New macro.
17296         Include test-skeleton.c.
17297         * posix/tst-regexloc.c (main): Converted to ...
17298         (do_test): ... this.
17299         (TEST_FUNCTION): New macro.
17300         Include test-skeleton.c.
17301         * resolv/tst-aton.c (main): Converted to ...
17302         (do_test): ... this.
17303         (TEST_FUNCTION): New macro.
17304         Include test-skeleton.c.
17305         * stdio-common/test-fwrite.c (main): Converted to ...
17306         (do_test): ... this.
17307         (TEST_FUNCTION): New macro.
17308         Include test-skeleton.c.
17309         * stdio-common/tst-ferror.c (main): Converted to ...
17310         (do_test): ... this.
17311         (TEST_FUNCTION): New macro.
17312         Include test-skeleton.c.
17313         * stdio-common/tst-printf.c (main): Converted to ...
17314         (do_test): ... this.
17315         (TEST_FUNCTION): New macro.
17316         Include test-skeleton.c.
17317         * stdio-common/tst-printfsz.c (main): Converted to ...
17318         (do_test): ... this.
17319         (TEST_FUNCTION): New macro.
17320         Include test-skeleton.c.
17321         * stdlib/tst-strtod.c (main): Converted to ...
17322         (do_test): ... this.
17323         (TEST_FUNCTION): New macro.
17324         Include test-skeleton.c.
17325         * string/tst-strlen.c (main): Converted to ...
17326         (do_test): ... this.
17327         (TEST_FUNCTION): New macro.
17328         Include test-skeleton.c.
17329         * string/tst-svc.c (main): Converted to ...
17330         (do_test): ... this.
17331         (TEST_FUNCTION): New macro.
17332         Include test-skeleton.c.
17333         * time/tst-strptime.c (main): Converted to ...
17334         (do_test): ... this.
17335         (TEST_FUNCTION): New macro.
17336         Include test-skeleton.c.
17337         * timezone/tst-timezone.c (main): Converted to ...
17338         (do_test): ... this.
17339         (TEST_FUNCTION): New macro.
17340         Include test-skeleton.c.
17342 2015-08-05  Zack Weinberg  <zackw@panix.com>
17344         * misc/regexp.h: Update comments.
17346 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17348         [BZ #18635]
17349         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17350         before return label.
17352 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17354         [BZ #18661]
17355         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17356         when calling __errno_location.
17357         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17358         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17360 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17362         [BZ #18661]
17363         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17364         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17365         __gettimeofday.
17367 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17369         [BZ #18661]
17370         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17371         (__start_context): Don't use pop to restore %rdi so that stack
17372         is aligned to 16 bytes when calling __setcontext.
17374 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17376         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17377         only for libc.
17378         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17380 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17382         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17383         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17384         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17386 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17388         * string/memccpy.c (memccpy):
17389         Improve performance by using memchr/memcpy/__mempcpy.
17391 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17393         * string/strncpy.c (strncpy):
17394         Improve performance by using __strnlen/memcpy.
17396 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17398         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17399         Optimize to avoid an unnecessary FPCR read.
17401 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17403         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17404         Optimize to reduce FPCR/FPSR accesses.
17406 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17408         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17409         dead->data[category] != NULL.
17411 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17413         [BZ #18647]
17414         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17415         and |x| close to 1, use absolute value of x when computing log.
17416         * math/auto-libm-test-in: Add more tests of pow.
17417         * math/auto-libm-test-out: Regenerated.
17419 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17421         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17422         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17423         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17425 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17427         [BZ #18525]
17428         * locales/km_KH: Remove timezone definition.
17429         * locales/lo_LA: Likewise.
17430         * locales/my_MM: Likewise.
17431         * locales/nan_TW@latin: Likewise.
17432         * locales/th_TH: Likewise.
17433         * locales/uk_UA: Likewise.
17435 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17437         [BZ #18265]
17438         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17439         (wcsncat): Likewise.
17440         (wcscmp): Likewise.
17441         (wcsncmp): Likewise.
17443 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17445         * test-skeleton.c (usage): New function.
17446         (main): Call usage when opt is '?'.
17448 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17450         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17451         before first use.
17453 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17455         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17456         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17457         in there too.
17459 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17461         * version.h (RELEASE): Set to "development".
17462         (VERSION): Set to "2.22.90"
17464         * version.h (RELEASE): Set to "stable".
17465         (VERSION): Set to "2.22"
17466         * include/features.h (__GLIBC_MINOR__): Set to 22.
17468 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17470         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17471         Restructure macro to avoid "value computed is not used" warning.
17472         (atomic_compare_and_exchange_val_acq): Likewise.
17474 2015-08-04  Andreas Schwab  <schwab@suse.de>
17476         [BZ #18635]
17477         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17478         ret.
17479         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17481 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17483         * po/pl.po: Updated translation.
17484         * po/uk.po: Likewise.
17485         * po/fi.po: Likewise.
17486         * po/ko.po: Likewise.
17487         * po/ru.po: Likewise.
17488         * po/vi.po: Likewise.
17490 2015-07-31  Zack Weinberg  <zackw@panix.com>
17492         [BZ #18681]
17493         * regexp.h: Add unconditional #warning stating that this header
17494         will be removed soon.  Revise banner comment to match.
17495         (compile): Consistently use ERROR instead of RETURN to report
17496         errors (partial fix for bz#18681).
17497         * regexp.c: Don't include regexp.h. Remove some unnecessary
17498         declarations.
17500 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17502         * po/libc.pot: Regenerated.
17504 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17506         [BZ #18740]
17507         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17508         float-vlen4-arch-ext-cflags): Removed.
17509         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17510         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17512 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17514         [BZ #14113]
17515         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17516         aligned to __aligned__.
17517         (pthread_cond_t, pthread_rwlock_t): Likewise.
17519 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17521         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17523 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17525         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17526         (struct sigaction): Change sa_flags from a long to an int, and add
17527         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17529 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17531         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17532         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17533         sysdeps/generic/sysdep.h include.
17534         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17535         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17536         sysdeps/hppa/sysdep.h.
17537         (ENTRY, PSEUDO): Undefine before defining.
17539 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17541         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17542         from scratch to use INTERNAL_SYSCALL.
17544 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17546         [BZ #18078]
17547         * scripts/check-localplt.awk: Support alternate relocations.
17548         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17549         sections.
17550         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17551         malloc entries with + REL R_386_GLOB_DAT.
17552         * sysdeps/x86_64/localplt.data: New file.
17554 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17556         [BZ #18731]
17557         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17558         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17559         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17561 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17563         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17565 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17567         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17568         directly in terms of __sync_fetch_and_add and delete (int) cast.
17570 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17572         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17573         the -D_ASM_IA64_CURRENT_H flag.
17575 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17577         [BZ #18641]
17578         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17580 2015-07-27  Andreas Schwab  <schwab@suse.de>
17582         * conform/conformtest.pl (checknamespace): Filter out string
17583         literals while tokenizing.
17585 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17587         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17588         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17589         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17591 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17593         * nptl/tst-join7mod.c: Add #include <string.h>.
17595 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17597         * sysdeps/nios2/libm-test-ulps: Update.
17599 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17601         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17602         Fix order of arguments to the rt_sigprocmask syscall.
17603         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17604         Likewise.
17606 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17608         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17610 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17612         [BZ #18457]
17613         * nptl/Makefile (tests): New test case tst-join7.
17614         (modules-names): New test case module tst-join7mod.
17615         * nptl/tst-join7.c: New file.
17616         * nptl/tst-join7mod.c: New file.
17617         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17618         all translation units in libc.so, libpthread.so and rtld.
17620 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17624 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17626         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17627         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17628         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17629         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17630         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17631         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17632         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17633         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17634         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17635         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17636         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17637         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17638         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17639         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17640         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17641         implementation.
17643 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17645         [BZ #17711]
17646         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17647         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17648         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17649         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17650         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17651         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17653 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17655         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17656         instead of just saying load lock in the comments.
17658 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17660         * sysdeps/unix/Subdirs: Moved ...
17661         * sysdeps/posix/Subdirs: ... here.
17662         * login/pty.h (struct termios, struct winsize): Add forward decls.
17663         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17664         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17665         * sysdeps/arm/nacl/libc.abilist: Updated.
17666         * sysdeps/nacl/libutil.abilist: New file.
17668         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17669         (SIGWINCH): New macro.
17671         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17672         * sysdeps/arm/nacl/libc.abilist: Add it.
17674 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17676         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17678 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17680         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17681         Swap __glibc_reserved0 and sa_flags order.
17683 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17685         [BZ #18657]
17686         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17687         are pending TLS destructor calls.
17688         * include/link.h (struct link_map): Add concurrency note for
17689         L_TLS_DTOR_COUNT.
17690         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17691         Don't touch the link map flag.  Atomically increment
17692         l_tls_dtor_count.
17693         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17694         Avoid taking the load lock and don't touch the link map flag.
17695         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17696         * stdlib/Makefile (tests): Use it.
17697         * stdlib/tst-tls-atexit.c (do_test): dlopen
17698         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17699         to allow tst-tls-atexit-nodelete test case to use it.
17701 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17703         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17704         to bits/types.h.
17705         (msgqnum_t): New typedef.
17706         (msglen_t): Likewise.
17707         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17708         and msg_qbytes type to msglen_t.
17710 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17712         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17713         pad0 to __glibc_reserved0.
17714         (struct stat64): Likewise.
17716 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17718         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17719         Change sa_flags from a long to an int and add __glibc_reserved0 before
17720         it for padding.
17722 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17724         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17725         anonymous by deleting "siginfo" name.
17727 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17729         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17730         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17731         rather than __nacl_irt_filename.
17732         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17734         * NEWS: New item for arm-nacl port.
17735         * sysdeps/arm/nacl/libc.abilist: New file.
17736         * sysdeps/nacl/ld.abilist: New file.
17737         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17738         * sysdeps/nacl/libanl.abilist: New file.
17739         * sysdeps/nacl/libcrypt.abilist: New file.
17740         * sysdeps/nacl/libdl.abilist: New file.
17741         * sysdeps/nacl/libm.abilist: New file.
17742         * sysdeps/nacl/libpthread.abilist: New file.
17743         * sysdeps/nacl/libresolv.abilist: New file.
17744         * sysdeps/nacl/librt.abilist: New file.
17746 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17748         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17749         __startcontext to initialize the new context.
17750         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17751         up CFI directive to forbid further backtracing.
17753 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17755         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17756         reference.
17757         * charmaps/ANSI_X3.4-1968: Likewise.
17758         * charmaps/BS_4730: Likewise.
17759         * charmaps/BS_VIEWDATA: Likewise.
17760         * charmaps/CP1250: Likewise.
17761         * charmaps/CP1251: Likewise.
17762         * charmaps/CP1252: Likewise.
17763         * charmaps/CP1253: Likewise.
17764         * charmaps/CP1254: Likewise.
17765         * charmaps/CP1255: Likewise.
17766         * charmaps/CP1256: Likewise.
17767         * charmaps/CSN_369103: Likewise.
17768         * charmaps/EBCDIC-DK-NO: Likewise.
17769         * charmaps/GB_1988-80: Likewise.
17770         * charmaps/GREEK-CCITT: Likewise.
17771         * charmaps/GREEK7: Likewise.
17772         * charmaps/INIS-8: Likewise.
17773         * charmaps/ISIRI-3342: Likewise.
17774         * charmaps/ISO_2033-1983: Likewise.
17775         * charmaps/ISO_5427-EXT: Likewise.
17776         * locales/POSIX: Likewise.
17777         * locales/ar_SA: Likewise.
17778         * locales/be_BY: Likewise.
17779         * locales/be_BY@latin: Likewise.
17780         * locales/ca_ES: Likewise.
17781         * locales/cs_CZ: Likewise.
17782         * locales/da_DK: Likewise.
17783         * locales/de_BE: Likewise.
17784         * locales/de_CH: Likewise.
17785         * locales/de_LU: Likewise.
17786         * locales/en_AU: Likewise.
17787         * locales/en_BW: Likewise.
17788         * locales/en_CA: Likewise.
17789         * locales/en_DK: Likewise.
17790         * locales/en_GB: Likewise.
17791         * locales/en_IE: Likewise.
17792         * locales/en_NZ: Likewise.
17793         * locales/en_ZA: Likewise.
17794         * locales/en_ZW: Likewise.
17795         * locales/es_AR: Likewise.
17796         * locales/es_BO: Likewise.
17797         * locales/es_CL: Likewise.
17798         * locales/es_CO: Likewise.
17799         * locales/es_DO: Likewise.
17800         * locales/es_EC: Likewise.
17801         * locales/es_ES: Likewise.
17802         * locales/es_HN: Likewise.
17803         * locales/es_MX: Likewise.
17804         * locales/es_PA: Likewise.
17805         * locales/es_PE: Likewise.
17806         * locales/es_PY: Likewise.
17807         * locales/es_SV: Likewise.
17808         * locales/es_US: Likewise.
17809         * locales/es_UY: Likewise.
17810         * locales/es_VE: Likewise.
17811         * locales/et_EE: Likewise.
17812         * locales/fa_IR: Likewise.
17813         * locales/fo_FO: Likewise.
17814         * locales/fr_CA: Likewise.
17815         * locales/fr_CH: Likewise.
17816         * locales/gv_GB: Likewise.
17817         * locales/he_IL: Likewise.
17818         * locales/hr_HR: Likewise.
17819         * locales/id_ID: Likewise.
17820         * locales/is_IS: Likewise.
17821         * locales/it_CH: Likewise.
17822         * locales/iw_IL: Likewise.
17823         * locales/kl_GL: Likewise.
17824         * locales/ko_KR: Likewise.
17825         * locales/kw_GB: Likewise.
17826         * locales/lg_UG: Likewise.
17827         * locales/lt_LT: Likewise.
17828         * locales/lv_LV: Likewise.
17829         * locales/mi_NZ: Likewise.
17830         * locales/nhn_MX: Likewise.
17831         * locales/nl_BE: Likewise.
17832         * locales/pl_PL: Likewise.
17833         * locales/sk_SK: Likewise.
17834         * locales/sl_SI: Likewise.
17835         * locales/sv_FI: Likewise.
17836         * locales/tl_PH: Likewise.
17837         * locales/tr_TR: Likewise.
17838         * locales/vi_VN: Likewise.
17840 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17842         [BZ #17475]
17843         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17844         of tu_IN and bh_IN.
17846 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17848         [BZ #18694]
17849         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17850         bits/wordsize.h.
17851         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17853 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17855         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17856         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17857         (spawn_thread): New function.
17858         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17859         (do_test): ... here.  Use IS_LOADED to test for its
17860         availability.
17862 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17864         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17866 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17868         [BZ #18696]
17869         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17870         si_addr_bnd.
17871         (si_lower): New.
17872         (si_upper): Likewise.
17874 2015-07-16  David S. Miller  <davem@davemloft.net>
17876         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17878 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17880         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17881         buffer.
17882         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17883         fail output information.
17885 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17887         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17888         and strstr-ppc64..
17889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17890         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17891         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17892         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17893         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17895 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17897         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17898         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17899         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17900         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17902 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17904         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17905         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17906         rtld_hidden_proto.
17907         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17909 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17911         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17912         the test can fail.
17914         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17916         [BZ #18676]
17917         * elf/tst-nodelete-opened.c: New test case.
17918         * elf/tst-nodelete-opened-lib.c: New test case module.
17919         * elf/Makefile (tests, modules-names): Use them.
17920         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17921         early.
17923 2015-07-15  David S. Miller  <davem@davemloft.net>
17925         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17926         futex-intenal.h
17927         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17928         * sysdeps/sparc/sparc64/Makefile: Likewise.
17929         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17930         Remove space from macro define.
17931         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17933 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17935         [BZ #17475]
17936         * locale/iso-639.def: Update Bhili and Tulu language codes as
17937         per iso639-3.
17939 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17941         * elf/tst-leaks1.c (main): Converted to ...
17942         (do_test): ... this.
17943         (TEST_FUNCTION): New macro.
17944         Include test-skeleton.c.
17945         * localedata/tst-langinfo.c (main): Converted to ...
17946         (do_test): ... this.
17947         (TEST_FUNCTION): New macro.
17948         Include test-skeleton.c.
17949         * math/test-fpucw.c (main): Converted to ...
17950         (do_test): ... this.
17951         (TEST_FUNCTION): New macro.
17952         Include test-skeleton.c.
17953         * math/test-tgmath.c (main): Converted to ...
17954         (do_test): ... this.
17955         (TEST_FUNCTION): New macro.
17956         Include test-skeleton.c.
17957         * math/test-tgmath2.c (main): Converted to ...
17958         (do_test): ... this.
17959         (TEST_FUNCTION): New macro.
17960         Include test-skeleton.c.
17961         * setjmp/tst-setjmp.c (main): Converted to ...
17962         (do_test): ... this.
17963         (TEST_FUNCTION): New macro.
17964         Include test-skeleton.c.
17965         * stdio-common/tst-sscanf.c (main): Converted to ...
17966         (do_test): ... this.
17967         (TEST_FUNCTION): New macro.
17968         Include test-skeleton.c.
17969         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17970         (do_test): ... this.
17971         (TEST_FUNCTION): New macro.
17972         Include test-skeleton.c.
17974         * elf/tst-audit9.c (main): Converted to ...
17975         (do_test): ... this.
17976         (TEST_FUNCTION): New macro.
17977         Include test-skeleton.c.
17979 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17981         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17983 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17985         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17986         New variable.
17988 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17990         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17992 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17994         * sysdeps/generic/dl-fileid.h: New file.
17995         * sysdeps/posix/dl-fileid.h: New file.
17996         * sysdeps/nacl/dl-fileid.h: New file.
17997         * include/link.h: Include <dl-fileid.h>.
17998         (struct link_map): Replace l_dev and l_ino with l_file_id.
17999         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18000         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18001         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18003 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18005         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18007 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18009         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18010         Add iff $CXX is set.
18011         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18012         Likewise.
18013         (tst-nodelete-zmodiff): Likewise.
18014         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18016 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18018         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18020 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18022         * sysdeps/aarch64/fpu/math_private.h
18023         (define math_opt_barrier): Add AArch64 version.
18024         (math_force_eval): Likewise.
18026 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18028         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18030 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18032         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18033         %ld with %jd and cast to intmax_t.
18034         (do_test_length_zero): Likewise.
18036 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18038         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18040 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18042         * sysdeps/tile/libm-test-ulps: Regenerated.
18044         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18045         Comment out the whole function, not just its body.
18047 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18049         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18050         locks.
18052         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18054 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18056         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18057         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18059 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18061         * sysdeps/nptl/futex-internal.h: New file.
18062         * sysdeps/nacl/futex-internal.h: New file.
18063         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18064         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18065         error checking.
18066         (setxid_unmark_thread): Likewise.
18067         (__nptl_setxid): Likewise.
18068         (__wait_lookup_done): Likewise.
18069         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18070         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18071         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18072         * nptl/pthread_once.c (clear_once_control): Likewise.
18073         (__pthread_once_slow): Likewise.
18074         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18075         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18076         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18077         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18078         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18079         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18080         Likewise.
18081         (__pthread_rwlock_rdlock): Likewise.
18082         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18083         Likewise.
18084         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18085         Likewise.
18086         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18087         Likewise.
18088         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18089         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18090         Likewise.
18091         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18092         __ASSUME_PRIVATE_FUTEX check.
18093         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18094         Check that shared futexes are supported.
18095         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18096         wrappers with error checking.
18097         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18098         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18099         * nptl/pthread_barrierattr_setpshared.c
18100         (pthread_barrierattr_setpshared): Check that shared futexes are
18101         supported.
18102         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18103         Likewise.
18104         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18105         Likewise.
18106         * nptl/sem_init.c (futex_private_if_supported): Remove.
18107         (__new_sem_init): Adapt and check that shared futexes are supported.
18108         * nptl/sem_open.c (sem_open): Likewise.
18109         * nptl/sem_post.c (futex_wake): Remove.
18110         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18111         (do_futex_wait): Use futex wrappers with error checking.
18112         * nptl/sem_wait.c: Include lowlevellock.h.
18113         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18114         Use futex_supports_pshared.
18115         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18116         Use futex wrappers with error checking.
18117         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18118         Likewise.
18119         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18120         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18121         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18122         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18123         (futex_wake): Likewise.
18124         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18125         (do_futex_wait): Use futex wrappers with error checking.
18126         (__new_sem_wait_slow): Update EINTR handling.
18127         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18129 2015-07-09  Martin Sebor  <msebor@redhat.com>
18131         [BZ #18435]
18132         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18133         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18134         * nptl/Makefile (test-xfail-tst-once5): Define.
18136 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18138         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18139         * elf/dl-minimal.c: For readability, reorder some definitions and
18140         introduce more page breaks.  Include <stdio.h>.
18141         (__libc_fatal): New function.
18143         * include/unistd.h: Add rtld_hidden_proto for _exit.
18144         * posix/_exit.c: Add rtld_hidden_def.
18145         * sysdeps/mach/hurd/_exit.c: Likewise.
18146         * sysdeps/nacl/_exit.c: Likewise.
18147         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18148         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18150 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18152         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18153         bndmov encoding with zero displacement.
18155 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18156             H.J. Lu  <hongjiu.lu@intel.com>
18158         [BZ #18134]
18159         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18160         * sysdeps/i386/configure: Regenerated.
18161         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18162         (_dl_runtime_profile): Save and restore Intel MPX return bound
18163         registers when calling _dl_call_pltexit.  Add
18164         PRESERVE_BND_REGS_PREFIX before return.
18165         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18166         (LRV_BND1_OFFSET): Likewise.
18167         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18168         lrv_bnd1.
18169         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18170         typo in bndmov encoding.
18171         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18172         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18173         branch instructions to preserve bounds.
18175 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18178         [GLIBC_2.22]: Add fmemopen.
18180 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18182         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18183         returns an error, also try to use host port from __mach_host_self for
18184         the __vm_wire call.
18185         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18187 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18189         [BZ #18400]
18190         [BZ #18648]
18191         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18192         Fix pr_uid and pr_gid members.
18193         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18194         definition to elf_greg_t.
18196 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18198         [BZ #18383]
18199         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18200         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18201         * sysdeps/arm/configure: Regenerated.
18202         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18203         (test-xfail-tst-tlsalign-static): Variable removed.
18205         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18206         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18207         rather than explicit 'ln -s'.
18209         * resolv/rpc/netdb.h: New file.
18210         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18212 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18214         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18215         length buffers.
18216         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18217         test-skeleton.c.
18219         [BZ #6544]
18220         [BZ #11216]
18221         [BZ #12836]
18222         [BZ #13151]
18223         [BZ #13152]
18224         [BZ #14292]
18225         * include/stdio.h (fmemopen): Remove hidden prototype.
18226         (__fmemopen): Add new hidden prototype.
18227         * libio/Makefile: Add oldfmemopen object.
18228         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18229         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18230         compliance.
18231         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18232         symbol compatibility.
18233         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18234         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18235         fmemopen.
18236         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18237         on append and read mode.
18238         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18239         fmemopen.
18240         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18241         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18242         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18243         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18244         Likewise.
18245         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18246         [GLIBC_2.22]: Likewise.
18247         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18248         Likewise.
18249         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18250         Likewise.
18251         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18252         [GLIBC_2.22]: Likewise.
18253         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18254         [GLIBC_2.22]: Likewise.
18255         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18256         [GLIBC_2.22]: Likewise.
18257         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18258         [GLIBC_2.22]: Likewise.
18259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18260         [GLIBC_2.22]: Likewise.
18261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18262         [GLIBC_2.22]: Likewise.
18263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18264         [GLIBC_2.22]: Likewise.
18265         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18266         Likewise.
18267         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18268         Likewise.
18269         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18270         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18271         [GLIBC_2.22]: Likewise.
18272         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18273         [GLIBC_2.22]: Likewise.
18274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18275         [GLIBC_2.22]: Likewise.
18276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18277         [GLIBC_2.22]: Likewise.
18278         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18279         Likewise.
18280         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18281         Likewise.
18282         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18283         Likewise.
18284         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18285         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18287 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18289         [BZ #18643]
18290         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18291         IPV6_PATHMTU, and IPV6_DONTFRAG.
18293 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18295         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18296         and _IO_UNBUFFERED.
18297         * libio/oldfileops.c: Likewise.
18298         * libio/wfileops.c: Likewise.
18300 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18302         * nscd/selinux.c: Delete selinux/flask.h include.
18304 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18306         [BZ #18641]
18307         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18308         (putpwent): Likewise.
18309         (getpwnam): Likewise.
18310         (getpwent_r): Likewise.
18311         (getpwuid_r): Likewise.
18312         (getpwnam_r): Likewise.
18313         (fgetpwent_r): Likewise.
18315 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18317         [BZ #18557]
18318         * inet/rcmd.c (__validuser2_sa): Check user first to
18319         short-circuit host check.
18321 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18322             Mikhail Ilin  <m.ilin@samsung.com>
18324         [BZ #17833]
18325         * elf/Makefile (tests): Add tst-nodelete.
18326         (modules-names): Add tst-nodelete-uniquemod.
18327         (tst-nodelete-uniquemod.so-no-z-defs): New.
18328         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18329         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18330         ($(objpfx)tst-nodelete): Likewise.
18331         ($(objpfx)tst-nodelete.out): Likewise.
18332         (LDFLAGS-tst-nodelete): Likewise.
18333         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18334         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18335         implement forced object deletion.
18336         (_dl_close): Pass false to _dl_close_worker.
18337         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18338         * elf/tst-nodelete.cc: New file.
18339         * elf/tst-nodeletelib.cc: Likewise.
18340         * elf/tst-znodeletelib.cc: Likewise.
18341         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18343 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18345         [BZ #18508]
18346         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18347         Depend on $(libdl).
18348         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18349         is not called infinitely times.
18350         (backtrace_helper): New function.
18351         (trace_arg): New struct.
18352         (st1): Enlarge stack size.
18353         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18354         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18355         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18356         Likewise.
18358 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18360         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18362 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18364         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18365         Include sys/types.h instead of bits/types.h.
18366         Remove inclusion of bits/wordsize.h.
18368 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18370         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18371         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18372         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18373         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18374         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18375         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18377 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18379         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18380         link-defines.sym.
18381         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18382         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18383         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18384         and LR_SIZE.
18385         * sysdeps/i386/link-defines.sym: New file.
18387 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18389         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18390         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18391         ($(objpfx)tst-audit3): New rule.
18392         ($(objpfx)tst-audit3.out): Likewise.
18393         * sysdeps/i386/tst-audit3.c: New file.
18394         * sysdeps/i386/tst-audit3.h: Likewise.
18395         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18396         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18398 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18400         [BZ #18633]
18401         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18402         pointer in C code.
18403         (__strcat_c): Likewise.
18404         (__strcat_g): Likewise.
18406 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18408         [BZ #18592]
18409         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18411 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18413         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18414         New function.  (__ieee754_sqrtf): New function.
18415         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18416         New function.
18417         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18418         New function.
18420 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18422         * sysdeps/ieee754/support.c: Remove unused file.
18424 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18426         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18427         registers instead of d ones so the layout is kernel abi compatible.
18428         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18429         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18430         Likewise.
18432 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18434         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18436 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18438         [BZ #18619]
18439         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18440         and return argument in case of subnormal argument.
18442 2015-07-01  Martin Sebor  <msebor@redhat.com>
18444         [BZ #18435]
18445         * nptl/Makefile: Add tst-once5.cc.
18446         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18447         Remove macro redefinitions.
18448         * nptl/tst-once5.cc: New test.
18450 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18452         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18454         * sysdeps/arm/libm-test-ulps: Regenerated.
18456         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18457         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18459 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18461         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18462         lll_lock_wait_private and lll_futex_wake probes.
18464         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18465         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18466         Likewise.
18467         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18468         atomic_spin_nop.
18469         * sysdeps/x86_64/bits/atomic.h: Likewise.
18470         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18471         to atomic_spin_nop and move ...
18472         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18473         ... here and ...
18474         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18475         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18476         atomic_spin_nop instead of BUSY_WAIT_NOP.
18477         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18478         Likewise.
18479         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18480         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18481         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18482         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18483         instead of atomic_delay.
18485 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18487         [BZ #18613]
18488         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18489         X_ADJ not X when adjusting exponent.
18490         (__ieee754_gamma_r): Do intermediate computations in
18491         round-to-nearest then adjust overflowing and underflowing results
18492         as needed.
18493         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18494         of X_ADJ not X when adjusting exponent.
18495         (__ieee754_gammaf_r): Do intermediate computations in
18496         round-to-nearest then adjust overflowing and underflowing results
18497         as needed.
18498         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18499         log of X_ADJ not X when adjusting exponent.
18500         (__ieee754_gammal_r): Do intermediate computations in
18501         round-to-nearest then adjust overflowing and underflowing results
18502         as needed.  Use 1.0L not 1.0f as numerator of division.
18503         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18504         log of X_ADJ not X when adjusting exponent.
18505         (__ieee754_gammal_r): Do intermediate computations in
18506         round-to-nearest then adjust overflowing and underflowing results
18507         as needed.  Use 1.0L not 1.0f as numerator of division.
18508         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18509         of X_ADJ not X when adjusting exponent.
18510         (__ieee754_gammal_r): Do intermediate computations in
18511         round-to-nearest then adjust overflowing and underflowing results
18512         as needed.  Use 1.0L not 1.0f as numerator of division.
18513         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18514         to auto-libm-test-in.
18515         (tgamma_test): Use ALL_RM_TEST.
18516         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18517         tests of tgamma with spurious-overflow.
18518         * math/auto-libm-test-out: Regenerated.
18519         * math/gen-libm-have-vector-test.sh: Do not check for START.
18520         * sysdeps/i386/fpu/libm-test-ulps: Update.
18521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18523         [BZ #18612]
18524         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18525         arguments, just return 0.5 times the argument, with underflow
18526         forced as needed.
18527         * math/auto-libm-test-in: Add more tests of j1.
18528         * math/auto-libm-test-out: Regenerated.
18530         [BZ #16559]
18531         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18532         (__ieee754_j1): Force underflow exception for small results.
18533         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18534         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18535         (__ieee754_j1f): Force underflow exception for small results.
18536         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18537         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18538         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18539         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18540         (__ieee754_j1l): Force underflow exception for small results.
18541         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18542         * math/auto-libm-test-in: Add more tests of j1 and jn.
18543         * math/auto-libm-test-out: Regenerated.
18545         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18546         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18547         (PF_MPLS): Likewise.
18548         (AF_IB): Likewise.
18549         (AF_MPLS): Likewise.
18550         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18551         value and macro.
18552         (MS_RMT_MASK): Include MS_LAZYTIME.
18554 2015-06-26  Mel Gorman  <mgorman@suse.de>
18556         [BZ #18502]
18557         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18558         already minimal.
18560 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18562         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18563         (DT_MIPS_NUM): Update.
18564         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18565         DT_MIPS_RLD_MAP_REL.
18567 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18569         [BZ #16559]
18570         [BZ #18602]
18571         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18572         round-to-nearest internally then recompute results that
18573         underflowed to zero in the original rounding mode.
18574         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18575         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18576         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18577         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18578         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18579         * sysdeps/i386/fpu/libm-test-ulps: Update.
18580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18582 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18584         * NEWS: Fixed description of link with vector math library.
18586 2015-06-25  Andreas Schwab  <schwab@suse.de>
18588         [BZ #18549]
18589         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18590         * libio/test-fmemopen.c (do_test): Add test for it.
18592 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18594         [BZ #17841]
18595         * Makeconfig (no-pie-ldflag): New.
18596         (+link): Set to $(+link-pie) if default to PIE.
18597         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18598         * config.make.in (build-pie-default): New.
18599         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18600         is default.  AC_SUBST.
18601         * configure: Regenerated.
18602         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18604 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18606         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18607         to 'unsigned int'.
18609         * resolv/gai_misc.h (struct waitlist): Change type of field
18610         counterp to 'volatile unsigned int *'.
18611         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18612         FUTEXADDR and OLDVAL.
18613         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18614         Give local variable TOTAL type 'volatile unsigned int'.
18615         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18616         * resolv/gai_suspend.c (gai_suspend):
18617         Give local variable CNTR type 'unsigned int'.
18619         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18620         counterp to 'volatile unsigned int *'.
18621         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18622         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18623         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18624         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18625         Give local variable TOTAL type 'volatile unsigned int'.
18626         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18628 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18630         [BZ #18383]
18631         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18632         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18633         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18634         comment for i386/x86-64.
18635         (test-xfail-tst-tlsalign-extern-static): Removed.
18637 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18639         * math/test-double.h: New file.
18640         * math/test-float.h: Likewise.
18641         * math/test-ldouble.h: Likewise.
18642         * math/test-math-inline.h: Likewise.
18643         * math/test-math-no-inline.h: Likewise.
18644         * math/test-math-scalar.h: Likewise.
18645         * math/test-math-vector.h: Likewise.
18646         * math/test-vec-loop.h: Remove file.  Contents moved into
18647         test-math-vector.h.
18648         * math/libm-test.inc (MATHCONST): Do not document macro.
18649         * math/test-double.c: Include test-double.h, test-math-no-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         (__NO_MATH_INLINES): Likewise.
18661         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18662         and test-math-scalar.h.
18663         (FUNC): Remove macro.
18664         (FUNC_TEST): Likewise.
18665         (FLOAT): Likewise.
18666         (MATHCONST): Likewise.
18667         (PRINTF_EXPR): Likewise.
18668         (PRINTF_XEXPR): Likewise.
18669         (PRINTF_NEXPR): Likewise.
18670         (TEST_FLOAT): Likewise.
18671         (TEST_MATHVEC): Likewise.
18672         (__NO_MATH_INLINES): Likewise.
18673         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18674         and test-math-scalar.h.
18675         (FUNC): Remove macro.
18676         (FUNC_TEST): Likewise.
18677         (FLOAT): Likewise.
18678         (MATHCONST): Likewise.
18679         (PRINTF_EXPR): Likewise.
18680         (PRINTF_XEXPR): Likewise.
18681         (PRINTF_NEXPR): Likewise.
18682         (TEST_DOUBLE): Likewise.
18683         (TEST_MATHVEC): Likewise.
18684         (TEST_INLINE): Likewise.
18685         (__NO_MATH_INLINES): Likewise.
18686         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18687         test-math-scalar.h.
18688         (FUNC): Remove macro.
18689         (FUNC_TEST): Likewise.
18690         (FLOAT): Likewise.
18691         (MATHCONST): Likewise.
18692         (PRINTF_EXPR): Likewise.
18693         (PRINTF_XEXPR): Likewise.
18694         (PRINTF_NEXPR): Likewise.
18695         (TEST_FLOAT): Likewise.
18696         (TEST_MATHVEC): Likewise.
18697         (TEST_INLINE): Likewise.
18698         (__NO_MATH_INLINES): Likewise.
18699         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18700         and test-math-scalar.h.
18701         (FUNC): Remove macro.
18702         (FUNC_TEST): Likewise.
18703         (FLOAT): Likewise.
18704         (MATHCONST): Likewise.
18705         (PRINTF_EXPR): Likewise.
18706         (PRINTF_XEXPR): Likewise.
18707         (PRINTF_NEXPR): Likewise.
18708         (TEST_LDOUBLE): Likewise.
18709         (TEST_MATHVEC): Likewise.
18710         (TEST_INLINE): Likewise.
18711         (__NO_MATH_INLINES): Likewise.
18712         * math/test-ldouble.c: Include test-ldouble.h,
18713         test-math-no-inline.h and test-math-scalar.h.
18714         (FUNC): Remove macro.
18715         (FUNC_TEST): Likewise.
18716         (FLOAT): Likewise.
18717         (MATHCONST): Likewise.
18718         (PRINTF_EXPR): Likewise.
18719         (PRINTF_XEXPR): Likewise.
18720         (PRINTF_NEXPR): Likewise.
18721         (TEST_LDOUBLE): Likewise.
18722         (TEST_MATHVEC): Likewise.
18723         (__NO_MATH_INLINES): Likewise.
18724         * math/test-double-vlen2.h: Include test-double.h,
18725         test-math-no-inline.h and test-math-vector.h.
18726         (FLOAT): Remove macro.
18727         (FUNC): Likewise.
18728         (MATHCONST): Likewise.
18729         (PRINTF_EXPR): Likewise.
18730         (PRINTF_XEXPR): Likewise.
18731         (PRINTF_NEXPR): Likewise.
18732         (TEST_DOUBLE): Likewise.
18733         (TEST_MATHVEC): Likewise.
18734         (__NO_MATH_INLINES): Likewise.
18735         (CNCT): Likewise.
18736         (CONCAT): Likewise.
18737         (WRAPPER_NAME): Likewise.
18738         (WRAPPER_DECL): Likewise.
18739         (WRAPPER_DECL_ff): Likewise.
18740         (WRAPPER_DECL_fFF): Likewise.
18741         (VECTOR_WRAPPER): Likewise.
18742         (VECTOR_WRAPPER_ff): Likewise.
18743         (VECTOR_WRAPPER_fFF): Likewise.
18744         (VEC_LEN): New macro.
18745         * math/test-double-vlen4.h: Include test-double.h,
18746         test-math-no-inline.h and test-math-vector.h.
18747         (FLOAT): Remove macro.
18748         (FUNC): Likewise.
18749         (MATHCONST): Likewise.
18750         (PRINTF_EXPR): Likewise.
18751         (PRINTF_XEXPR): Likewise.
18752         (PRINTF_NEXPR): Likewise.
18753         (TEST_DOUBLE): Likewise.
18754         (TEST_MATHVEC): Likewise.
18755         (__NO_MATH_INLINES): Likewise.
18756         (CNCT): Likewise.
18757         (CONCAT): Likewise.
18758         (WRAPPER_NAME): Likewise.
18759         (WRAPPER_DECL): Likewise.
18760         (WRAPPER_DECL_ff): Likewise.
18761         (WRAPPER_DECL_fFF): Likewise.
18762         (VECTOR_WRAPPER): Likewise.
18763         (VECTOR_WRAPPER_ff): Likewise.
18764         (VECTOR_WRAPPER_fFF): Likewise.
18765         (VEC_LEN): New macro.
18766         * math/test-double-vlen8.h: Include test-double.h,
18767         test-math-no-inline.h and test-math-vector.h.
18768         (FLOAT): Remove macro.
18769         (FUNC): Likewise.
18770         (MATHCONST): Likewise.
18771         (PRINTF_EXPR): Likewise.
18772         (PRINTF_XEXPR): Likewise.
18773         (PRINTF_NEXPR): Likewise.
18774         (TEST_DOUBLE): Likewise.
18775         (TEST_MATHVEC): Likewise.
18776         (__NO_MATH_INLINES): Likewise.
18777         (CNCT): Likewise.
18778         (CONCAT): Likewise.
18779         (WRAPPER_NAME): Likewise.
18780         (WRAPPER_DECL): Likewise.
18781         (WRAPPER_DECL_ff): Likewise.
18782         (WRAPPER_DECL_fFF): Likewise.
18783         (VECTOR_WRAPPER): Likewise.
18784         (VECTOR_WRAPPER_ff): Likewise.
18785         (VECTOR_WRAPPER_fFF): Likewise.
18786         (VEC_LEN): New macro.
18787         * math/test-float-vlen4.h: Include test-float.h,
18788         test-math-no-inline.h and test-math-vector.h.
18789         (FLOAT): Remove macro.
18790         (FUNC): Likewise.
18791         (MATHCONST): Likewise.
18792         (PRINTF_EXPR): Likewise.
18793         (PRINTF_XEXPR): Likewise.
18794         (PRINTF_NEXPR): Likewise.
18795         (TEST_FLOAT): Likewise.
18796         (TEST_MATHVEC): Likewise.
18797         (__NO_MATH_INLINES): Likewise.
18798         (CNCT): Likewise.
18799         (CONCAT): Likewise.
18800         (WRAPPER_NAME): Likewise.
18801         (WRAPPER_DECL): Likewise.
18802         (WRAPPER_DECL_ff): Likewise.
18803         (WRAPPER_DECL_fFF): Likewise.
18804         (VECTOR_WRAPPER): Likewise.
18805         (VECTOR_WRAPPER_ff): Likewise.
18806         (VECTOR_WRAPPER_fFF): Likewise.
18807         (VEC_LEN): New macro.
18808         * math/test-float-vlen8.h: Include test-float.h,
18809         test-math-no-inline.h and test-math-vector.h.
18810         (FLOAT): Remove macro.
18811         (FUNC): Likewise.
18812         (MATHCONST): Likewise.
18813         (PRINTF_EXPR): Likewise.
18814         (PRINTF_XEXPR): Likewise.
18815         (PRINTF_NEXPR): Likewise.
18816         (TEST_FLOAT): Likewise.
18817         (TEST_MATHVEC): Likewise.
18818         (__NO_MATH_INLINES): Likewise.
18819         (CNCT): Likewise.
18820         (CONCAT): Likewise.
18821         (WRAPPER_NAME): Likewise.
18822         (WRAPPER_DECL): Likewise.
18823         (WRAPPER_DECL_ff): Likewise.
18824         (WRAPPER_DECL_fFF): Likewise.
18825         (VECTOR_WRAPPER): Likewise.
18826         (VECTOR_WRAPPER_ff): Likewise.
18827         (VECTOR_WRAPPER_fFF): Likewise.
18828         (VEC_LEN): New macro.
18829         * math/test-float-vlen16.h: Include test-float.h,
18830         test-math-no-inline.h and test-math-vector.h.
18831         (FLOAT): Remove macro.
18832         (FUNC): Likewise.
18833         (MATHCONST): Likewise.
18834         (PRINTF_EXPR): Likewise.
18835         (PRINTF_XEXPR): Likewise.
18836         (PRINTF_NEXPR): Likewise.
18837         (TEST_FLOAT): Likewise.
18838         (TEST_MATHVEC): Likewise.
18839         (__NO_MATH_INLINES): Likewise.
18840         (CNCT): Likewise.
18841         (CONCAT): Likewise.
18842         (WRAPPER_NAME): Likewise.
18843         (WRAPPER_DECL): Likewise.
18844         (WRAPPER_DECL_ff): Likewise.
18845         (WRAPPER_DECL_fFF): Likewise.
18846         (VECTOR_WRAPPER): Likewise.
18847         (VECTOR_WRAPPER_ff): Likewise.
18848         (VECTOR_WRAPPER_fFF): Likewise.
18849         (VEC_LEN): New macro.
18850         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18851         test-vec-loop.h.
18852         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18853         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18854         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18855         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18856         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18857         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18858         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18860 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18862         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18863         (__getlogin_r): ... this.
18865 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18867         [BZ #18594]
18868         * math/s_ccosh.c (__ccosh): Compare with least normal value
18869         instead of comparing class with FP_SUBNORMAL.
18870         * math/s_ccoshf.c (__ccoshf): Likewise.
18871         * math/s_ccoshl.c (__ccoshl): Likewise.
18872         * math/s_cexp.c (__cexp): Likewise.
18873         * math/s_cexpf.c (__cexpf): Likewise.
18874         * math/s_cexpl.c (__cexpl): Likewise.
18875         * math/s_csin.c (__csin): Likewise.
18876         * math/s_csinf.c (__csinf): Likewise.
18877         * math/s_csinh.c (__csinh): Likewise.
18878         * math/s_csinhf.c (__csinhf): Likewise.
18879         * math/s_csinhl.c (__csinhl): Likewise.
18880         * math/s_csinl.c (__csinl): Likewise.
18881         * math/s_ctan.c (__ctan): Likewise.
18882         * math/s_ctanf.c (__ctanf): Likewise.
18883         * math/s_ctanh.c (__ctanh): Likewise.
18884         * math/s_ctanhf.c (__ctanhf): Likewise.
18885         * math/s_ctanhl.c (__ctanhl): Likewise.
18886         * math/s_ctanl.c (__ctanl): Likewise.
18887         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18888         csin, csinh, ctan and ctanh.
18889         * math/auto-libm-test-out: Regenerated.
18890         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18891         * sysdeps/i386/fpu/libm-test-ulps: Update.
18892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18894 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18896         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18897         return value is wrong, print the expected value too.
18899 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18901         [BZ #18585]
18902         * elf/readlib.c (is_gdb_python_file): New.
18903         (process_file): Don't issue errors on filenames with -gdb.py
18904         suffix.
18906 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18908         * math/auto-libm-test-in: Add more tests of csin and csinh.
18909         * math/auto-libm-test-out: Regenerated.
18910         * math/libm-test.inc (csin_test_data): Remove tests moved to
18911         auto-libm-test-in.
18912         (csinh_test_data): Likewise.
18914         [BZ #18593]
18915         * math/s_csin.c (__csin): Negate before rather than after possibly
18916         overflowing multiplication.
18917         * math/s_csinf.c (__csinf): Likewise.
18918         * math/s_csinh.c (__csinh): Likewise.
18919         * math/s_csinhf.c (__csinhf): Likewise.
18920         * math/s_csinhl.c (__csinhl): Likewise.
18921         * math/s_csinl.c (__csinl): Likewise.
18922         * math/auto-libm-test-in: Add some tests of csin and csinh.
18923         * math/auto-libm-test-out: Regenerated.
18924         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18925         (csinh_test_data): Likewise.
18926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18928         [BZ #18586]
18929         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18930         underflow exception for small results.
18932 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18934         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18935         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18936         variable and included header.
18937         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18938         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18939         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18940         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18941         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18942         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18943         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18944         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18945         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18946         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18947         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18948         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18949         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18950         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18951         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18952         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18954 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18956         [BZ #16526]
18957         [BZ #16538]
18958         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18959         (__sin): Force underflow exception for arguments with small
18960         absolute value.
18961         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18962         (__kernel_sinf): Force underflow exception for arguments with
18963         small absolute value.
18964         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18965         (__kernel_sincosl): Force underflow exception for arguments with
18966         small absolute value.
18967         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18968         (__kernel_sinl): Force underflow exception for arguments with
18969         small absolute value.
18970         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18971         (__kernel_sincosl): Force underflow exception for arguments with
18972         small absolute value.
18973         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18974         (__kernel_sinl): Force underflow exception for arguments with
18975         small absolute value.
18976         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18977         (__kernel_sinl): Force underflow exception for arguments with
18978         small absolute value.
18979         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18980         (__kernel_sinf): Force underflow exception for arguments with
18981         small absolute value.
18982         * math/auto-libm-test-in: Add more tests of sin and sincos.
18983         * math/auto-libm-test-out: Regenerated.
18985         [BZ #18245]
18986         [BZ #18583]
18987         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18988         (__kernel_standard_l): Use feholdexcept and fesetenv around
18989         conversion to double instead of special-casing overflow and
18990         underflow.
18991         * math/libm-test.inc (fmod_test_data): Add more tests.
18992         (remainder_test_data): Likewise.
18993         (sqrt_test_data): Likewise.
18995 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18997         [BZ #17403]
18998         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18999         atomic_read_barrier, atomic_write_barrier): Define.
19000         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19001         atomic_read_barrier, atomic_write_barrier): Define.
19003 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19005         * math/Makefile [$(PERL) != no]
19006         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19007         dependency on libm-test.stmp below the inclusion of Rules.
19009 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19011         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19012         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19013         and included header.
19014         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19015         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19016         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19017         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19018         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19019         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19020         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19021         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19022         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19023         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19024         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19025         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19026         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19027         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19028         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19029         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19030         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19031         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19032         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19034 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19036         [BZ #18371]
19037         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19038         intermediate but not final result might underflow.
19039         * math/s_csqrtf.c (__csqrtf): Likewise.
19040         * math/s_csqrtl.c (__csqrtl): Likewise.
19041         * math/auto-libm-test-in: Add more tests of csqrt.
19042         * math/auto-libm-test-out: Regenerated.
19043         * sysdeps/i386/fpu/libm-test-ulps: Update.
19045         [BZ #18219]
19046         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19047         threshold on absolute value of exponent for which scaling is used.
19048         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19049         * math/auto-libm-test-in: Add more tests of exp2.
19050         * math/auto-libm-test-out: Regenerated.
19052 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19054         [BZ #17977]
19055         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19056         when initializing interface list, based on the bug analysis
19057         and the patch proposed by Eric Newton.
19058         * resolv/tst-res_hconf_reorder.c: New test.
19059         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19060         tst-res_hconf_reorder.
19061         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19062         and $(shared-thread-library).
19063         (tst-res_hconf_reorder-ENV): New variable.
19065         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19066         in comment.
19068 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19070         [BZ #16353]
19071         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19072         (__expm1): Force underflow exception for arguments with small
19073         absolute value.
19074         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19075         (__expm1f): Force underflow exception for arguments with small
19076         absolute value.
19077         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19078         (__expm1): Force underflow exception for arguments with small
19079         absolute value.
19080         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19081         (__expm1f): Force underflow exception for arguments with small
19082         absolute value.
19083         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19084         Check for small arguments before calling __expm1.
19085         * math/auto-libm-test-in: Do not mark underflow exceptions as
19086         possibly missing for bug 16353.
19087         * math/auto-libm-test-out: Regenerated.
19089 2015-06-22  Andreas Schwab  <schwab@suse.de>
19091         [BZ #18513]
19092         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19093         PTR queries.
19095 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19097         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19099         * string/strcoll_l.c: Remove unused struct element idxnow.
19101 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19103         [BZ #18569]
19104         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19105         underflow and return argument in case of subnormal argument.
19106         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19107         Likewise.
19108         * math/auto-libm-test-in: Add more tests of expm1.
19109         * math/auto-libm-test-out: Regenerated.
19111         [BZ #16361]
19112         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19113         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19114         tiny results.
19115         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19116         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19117         tiny results.
19118         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19119         mark underflow exceptions as possibly missing for bug 16361.
19120         * math/auto-libm-test-out: Regenerated.
19122 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19124         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19125         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19126         Remove variable.
19127         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19128         (test-xfail-XOPEN2K8/utmpx.h/conform).
19130         * conform/conformtest.pl ($xerrors): New variable.
19131         (note_error): New function.
19132         (compiletest): New argument $xfail.  Use not_error.
19133         (runtest): Likewise.
19134         (top level): Handle xfail- lines.  Update calls to compiletest and
19135         runtest.  Handle xfail- and optional- in headers listed with
19136         allow-header.
19137         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19138         (O_EXEC): Likewise.
19139         (O_SEARCH): Likewise.
19140         * conform/data/stropts.h-data (ioctl): Likewise.
19141         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19142         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19143         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19144         (msghdr.msg_controllen): Likewise.
19145         (cmsghdr.cmsg_len): Likewise.
19146         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19147         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19148         variable.
19149         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19150         (test-xfail-XPG4/stropts.h/conform): Likewise.
19151         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19152         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19153         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19154         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19155         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19156         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19157         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19158         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19159         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19160         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19161         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19162         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19163         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19164         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19165         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19166         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19167         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19168         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19169         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19171 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19173         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19174         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19175         definitions for proper unfolding of __MATHDECL_VEC.
19177 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19179         * benchtests/bench-strcoll.c:
19180         Include string.h.
19181         (main): Remove unused variable res.
19183 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19185         * timezone/Makefile (%/UTC %/Universal):
19186         Generate test-result files for UTC and Universal.
19188 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19190         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19192 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19194         [BZ #16350]
19195         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19196         for arguments with small absolute value.
19197         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19198         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19199         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19200         (__asinh): Force underflow exception for arguments with small
19201         absolute value.
19202         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19203         (__asinhf): Force underflow exception for arguments with small
19204         absolute value.
19205         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19206         (__asinhl): Force underflow exception for arguments with small
19207         absolute value.
19208         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19209         (__asinhl): Force underflow exception for arguments with small
19210         absolute value.
19211         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19212         (__asinhl): Force underflow exception for arguments with small
19213         absolute value.
19214         * math/auto-libm-test-in: Do not mark underflow exceptions as
19215         possibly missing for bug 16350.
19216         * math/auto-libm-test-out: Regenerated.
19218         * include/bits/ipc.h: Remove file.
19219         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19220         variable.
19221         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19222         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19223         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19224         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19225         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19226         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19227         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19228         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19229         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19231         * math/auto-libm-test-in: Remove spurious underflow allowance for
19232         tests of cexp.
19233         * math/auto-libm-test-out: Regenerated.
19235         [BZ #18558]
19236         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19237         unconditional definition.
19238         (MCAST_BLOCK_SOURCE): Likewise.
19239         (MCAST_UNBLOCK_SOURCE): Likewise.
19240         (MCAST_LEAVE_GROUP): Likewise.
19241         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19242         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19243         (MCAST_MSFILTER): Likewise.
19244         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19245         Remove variable.
19246         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19247         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19248         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19249         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19250         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19252 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19254         * NEWS: Mention addition of x86_64 vector sincosf.
19255         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19256         * math/test-float-vlen4.h: Likewise.
19257         * math/test-float-vlen8.h: Likewise.
19258         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19259         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19260         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19261         * sysdeps/x86_64/fpu/Versions: New versions added.
19262         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19263         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19264         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19265         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19266         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19267         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19268         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19269         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19270         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19271         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19272         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19273         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19274         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19275         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19276         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19277         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19278         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19279         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19280         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19281         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19282         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19283         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19284         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19285         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19287         * NEWS: Mention addition of x86_64 vector sincos.
19288         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19289         * math/math.h (__MATHDECL_VEC): New macro.
19290         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19291         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19292         declaration under condition.
19293         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19294         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19295         TEST_VEC_LOOP change.
19296         * math/test-double-vlen4.h: Likewise.
19297         * math/test-double-vlen8.h: Likewise.
19298         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19299         * math/test-float-vlen4.h: Likewise.
19300         * math/test-float-vlen8.h: Likewise.
19301         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19302         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19303         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19304         * sysdeps/x86_64/fpu/Versions: New versions added.
19305         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19306         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19307         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19308         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19309         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19310         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19311         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19312         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19313         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19314         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19315         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19316         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19317         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19318         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19319         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19320         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19321         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19322         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19323         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19324         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19325         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19326         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19327         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19328         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19330         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19331         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19332         redirections for powf.
19333         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19334         * sysdeps/x86_64/fpu/Versions: New versions added.
19335         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19336         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19337         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19338         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19339         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19340         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19341         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19342         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19343         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19344         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19345         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19346         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19347         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19348         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19349         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19350         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19351         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19352         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19353         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19354         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19355         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19356         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19357         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19358         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19359         * math/test-float-vlen16.h: Fixed 2 argument macro.
19360         * math/test-float-vlen4.h: Likewise.
19361         * math/test-float-vlen8.h: Likewise.
19362         * NEWS: Mention addition of x86_64 vector powf.
19364 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19366         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19367         and redefine.
19368         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19369         and redefine.
19370         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19371         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19372         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19374         [BZ #18553]
19375         * resource/getpriority.c (getpriority): Rename to __getpriority
19376         and define as weak alias of __getpriority.
19377         * resource/setpriority.c (setpriority): Rename to __setpriority
19378         and define as weak alias of __setpriority.
19379         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19380         __getpriority and define as weak alias of __getpriority.
19381         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19382         __setpriority and define as weak alias of __setpriority.
19383         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19384         strong name.
19385         (setpriority): Use __setpriority as strong name.
19386         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19387         __getpriority and define as weak alias of __getpriority.
19388         * include/sys/resource.h (__getpriority): Declare.  Use
19389         libc_hidden_proto.
19390         (__setpriority): Likewise.
19391         (getpriority): Don't use libc_hidden_proto.
19392         (setpriority): Likewise.
19393         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19394         getpriority.  Call __setpriority instead of setpriority.
19395         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19396         Remove variable.
19398         [BZ #18547]
19399         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19400         as weak alias of __getttynam.  Use prototype function definition.
19401         Call __setttyent, __getttyent and __endttyent instead of
19402         setttyent, getttyent and endttyent.
19403         (getttyent): Rename to __getttyent and define as weak alias of
19404         __getttyent.  Call __setttyent instead of setttyent.  Call
19405         __fgets_unlocked instead of fgets_unlocked.
19406         (setttyent): Rename to __setttyent and define as weak alias of
19407         __setttyent.
19408         (endttyent): Rename to __endttyent and define as weak alias of
19409         __endttyent.
19410         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19411         (__setttyent): Likewise.
19412         (__endttyent): Likewise.
19413         (getttyent): Don't use libc_hidden_proto.
19414         (setttyent): Likewise.
19415         (endttyent): Likewise.
19416         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19417         __endttyent instead of setttyent, getttyent and endttyent.
19418         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19419         Remove variable.
19421         [BZ #18546]
19422         * socket/recv.c (__recv): Use libc_hidden_def.
19423         * socket/socket.c (__socket): Likewise.
19424         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19425         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19426         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19427         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19428         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19429         libc_hidden_def.
19430         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19431         libc_hidden_weak.
19432         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19433         Use libc_hidden_proto.
19434         (__recv): Likewise.
19435         * socket/Versions (libc): Export __recv and __socket at version
19436         GLIBC_PRIVATE.
19437         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19438         instead of recv.
19439         (init_mq_netlink): Call __socket instead of socket.
19440         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19441         Remove variable.
19443         [BZ #18545]
19444         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19445         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19446         hidden_weak.
19447         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19448         define as alias of __mq_timedsend.  Use hidden_weak.
19449         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19450         __mq_timedsend as strong name.
19451         (mq_timedreceive): Use __mq_timedreceive as strong name.
19452         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19453         (__mq_timedreceive): Likewise.
19454         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19455         __mq_timedreceive instead of mq_timedreceive.
19456         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19457         instead of mq_timedsend.
19458         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19459         Remove variable.
19461         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19462         hidden_def and hidden_weak instead of libc_hidden_def and
19463         libc_hidden_weak.
19464         (top level): Refer to hidden_def in comment.
19465         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19466         macro.  Use it instead of libc_hidden_def.
19467         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19468         specify __GI_* name explicitly.
19469         (mq_timedreceive): Likewise.
19470         (mq_setattr): Likewise.
19472         [BZ #18544]
19473         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19474         __pthread_barrier_init and define as weak alias of
19475         __pthread_barrier_init.
19476         * sysdeps/sparc/nptl/pthread_barrier_init.c
19477         (pthread_barrier_init): Likewise.
19478         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19479         __pthread_barrier_wait and define as weak alias of
19480         __pthread_barrier_wait.
19481         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19482         (pthread_barrier_wait): Likewise.
19483         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19484         (pthread_barrier_wait): Likewise.
19485         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19486         (pthread_barrier_wait): Likewise.
19487         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19488         (pthread_barrier_wait): Likewise.
19489         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19490         __pthread_barrier_wait at version GLIBC_PRIVATE.
19491         * include/pthread.h (__pthread_barrier_init): Declare.
19492         (__pthread_barrier_wait): Likewise.
19493         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19494         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19495         (helper_thread): Likewise.
19496         (init_mq_netlink): Call __pthread_barrier_init instead of
19497         pthread_barrier_init.
19499         [BZ #18542]
19500         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19501         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19502         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19503         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19504         vswscanf.
19505         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19506         Remove variable.
19508         [BZ #18540]
19509         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19510         strong alias of _IO_fflush.  Use libc_hidden_def.
19511         * libio/iofflush_u.c (fflush_unlocked): Rename to
19512         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19513         Use libc_hidden_weak.
19514         * include/stdio.h (__fflush_unlocked): Declare.  Use
19515         libc_hidden_proto.
19516         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19517         fflush_unlocked.
19518         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19519         Remove variable.
19521         [BZ #18539]
19522         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19523         define as weak alias of __addseverity.
19524         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19525         Remove variable.
19526         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19527         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19528         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19530         [BZ #18536]
19531         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19532         (__tfind): Likewise.
19533         (__tdelete): Likewise.
19534         (__twalk): Likewise.
19535         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19536         __twalk to GLIBC_PRIVATE.
19537         * include/search.h (__tsearch): Use libc_hidden_proto.
19538         (__tfind): Likewise.
19539         (__tdelete): Likewise.
19540         (__twalk): Likewise.
19541         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19542         Call __tdelete instead of tdelete.
19543         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19544         tfind.  Call __tsearch instead of tsearch.
19545         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19546         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19547         Remove variable.
19548         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19550         [BZ #18534]
19551         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19552         (dprintf): Define as a weak alias of __dprintf, not a strong
19553         alias.
19554         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19555         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19556         dprintf.
19557         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19558         Remove variable.
19559         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19560         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19562         [BZ #18533]
19563         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19564         not a strong alias.
19565         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19566         Remove variable.
19568         [BZ #18532]
19569         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19570         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19571         (in6addr_loopback): Rename to __in6addr_loopback and define as
19572         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19573         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19574         libc_hidden_proto.
19575         (__in6addr_any): Likewise.
19576         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19577         in6addr_any.
19578         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19579         variable.
19580         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19582 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19584         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19585         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19586         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19587         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19588         redirections for pow.
19589         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19590         * sysdeps/x86_64/fpu/Versions: New versions added.
19591         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19592         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19593         build of SSE, AVX2 and AVX512 IFUNC versions.
19594         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19595         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19596         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19597         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19598         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19599         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19600         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19601         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19602         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19603         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19604         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19605         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19606         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19607         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19608         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19609         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19610         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19611         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19612         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19613         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19614         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19615         * NEWS: Mention addition of x86_64 vector pow.
19617         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19618         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19619         redirections for expf.
19620         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19621         * sysdeps/x86_64/fpu/Versions: New versions added.
19622         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19623         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19624         build of SSE, AVX2 and AVX512 IFUNC versions.
19625         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19626         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19627         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19628         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19629         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19630         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19631         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19632         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19633         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19634         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19635         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19636         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19637         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19638         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19639         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19640         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19641         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19642         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19643         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19644         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19645         * NEWS: Mention addition of x86_64 vector expf.
19647         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19648         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19649         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19650         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19651         redirections for exp.
19652         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19653         * sysdeps/x86_64/fpu/Versions: New versions added.
19654         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19655         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19656         build of SSE, AVX2 and AVX512 IFUNC versions.
19657         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19658         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19659         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19660         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19661         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19662         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19663         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19664         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19665         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19666         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19667         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19668         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19669         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19670         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19671         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19672         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19673         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19674         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19675         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19676         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19677         * NEWS: Mention addition of x86_64 vector exp.
19679         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19680         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19681         redirections for logf.
19682         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19683         * sysdeps/x86_64/fpu/Versions: New versions added.
19684         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19685         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19686         build of SSE, AVX2 and AVX512 IFUNC versions.
19687         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19688         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19689         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19690         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19691         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19692         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19693         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19694         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19695         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19696         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19697         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19698         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19699         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19700         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19701         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19702         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19703         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19704         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19705         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19706         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19707         * NEWS: Mention addition of x86_64 vector logf.
19709         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19710         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19711         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19712         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19713         redirections for log.
19714         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19715         * sysdeps/x86_64/fpu/Versions: New versions added.
19716         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19717         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19718         build of SSE, AVX2 and AVX512 IFUNC versions.
19719         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19720         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19721         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19722         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19723         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19724         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19725         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19726         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19727         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19728         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19729         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19730         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19731         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19732         test.
19733         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19734         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19735         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19736         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19737         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19738         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19739         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19740         * NEWS: Mention addition of x86_64 vector log.
19742 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19744         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19745         cfi_adjust_cfa_offset argument.
19746         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19747         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19749         [BZ #18034]
19750         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19751         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19752         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19753         ordering using ldar.
19754         (_dl_tlsdesc_dynamic): Likewise.
19755         (_dl_tlsdesc_return_lazy): Likewise.
19756         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19757         relaxed atomics instead of volatile and synchronize with release store.
19758         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19759         volatile.
19760         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19762 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19764         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19765         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19766         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19767         * sysdeps/x86_64/fpu/Versions: New versions added.
19768         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19769         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19770         build of SSE, AVX2 and AVX512 IFUNC versions.
19771         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19772         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19773         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19774         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19775         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19776         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19777         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19778         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19779         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19780         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19781         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19782         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19783         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19784         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19785         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19786         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19787         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19788         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19789         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19790         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19791         * NEWS: Mention addition of x86_64 vector sinf.
19793 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19795         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19796         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19797         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19798         Remove variable.
19799         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19800         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19802 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19804         [BZ #18530]
19805         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19806         strong alias of _IO_fputs.  Use libc_hidden_def.
19807         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19808         and define as weak alias of __fputs_unlocked.  Use
19809         libc_hidden_weak.
19810         * include/stdio.h (__fputs_unlocked): Declare.  Use
19811         libc_hidden_proto.
19812         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19813         fputs_unlocked.
19815         [BZ #18529]
19816         * resolv/netdb.h [__USE_POSIX]: Change condition to
19817         [__USE_XOPEN2K].
19818         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19819         not expect.
19820         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19821         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19822         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19823         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19824         [XPG4 || UNIX98] (AI_ALL): Likewise.
19825         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19826         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19827         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19828         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19829         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19830         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19831         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19832         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19833         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19834         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19835         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19836         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19837         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19838         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19839         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19840         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19841         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19842         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19843         [XPG4 || UNIX98] (gai_strerror): Likewise.
19844         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19845         [XPG4 || UNIX98] (getnameinfo): Likewise.
19847         [BZ #18528]
19848         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19849         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19850         __USE_XOPEN2K8].
19851         (getgrent): Likewise.
19852         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19853         expect.
19854         [XPG3 || POSIX2008] (endgrent): Likewise.
19855         [XPG3] (setgrent): Likewise.
19856         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19857         variable.
19858         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19860         [BZ #18527]
19861         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19862         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19863         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19864         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19865         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19866         * include/unistd.h (__getlogin_r): Declare.  Use
19867         libc_hidden_proto.
19868         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19869         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19870         variable.
19871         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19872         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19873         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19875 2015-06-12  Martin Sebor  <msebor@redhat.com>
19877         [BZ #18512]
19878         * Makerules (check-install-supported): New target.
19879         (install): Add check-install-supported as a dependency.
19880         * manual/install.texi (Installing the C Library): Document
19881         that overriding prefix and exec_prefix is not supported.
19882         Mention DESTDIR.
19883         * INSTALL: Regenerate from the above.
19885 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19887         [BZ #18519]
19888         * posix/Versions (libc): Export __libc_pread at version
19889         GLIBC_PRIVATE.
19890         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19891         instead of pread.
19892         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19893         variable.
19895         [BZ #18522]
19896         * misc/efgcvt_r.c
19897         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19898         (cvt_symbol): Use weak_alias instead of strong_alias.
19899         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19900         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19901         Remove variable.
19902         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19903         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19905         [BZ #18520]
19906         * inet/herrno.c (h_errno): Rename to __h_errno.
19907         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19908         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19909         to __h_errno instead of h_errno.
19910         * nptl/herrno.c (h_errno): Rename to __h_errno.
19911         (__h_errno_location): Refer to __h_errno not h_errno.
19912         * resolv/Versions (h_errno): Rename to __h_errno.
19913         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19914         Remove variable.
19915         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19917 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19919         * configure.ac: More strict check for AVX512 assembler support.
19920         * configure: Regenerated.
19922         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19923         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19924         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19925         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19926         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19927         * sysdeps/x86_64/fpu/Versions: New versions added.
19928         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19929         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19930         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19931         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19932         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19933         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19934         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19935         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19936         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19937         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19938         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19939         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19940         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19941         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19942         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19943         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19944         test.
19945         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19946         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19947         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19948         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19949         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19950         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19951         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19952         * NEWS: Mention addition of x86_64 vector sin.
19954 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19956         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19957         comment.
19959 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19961         [BZ #18479]
19962         * nptl/pt-interp.c: New file.
19963         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19964         Add pt-interp.
19965         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19966         $(common-objpfx)runtime-linker.h.
19968 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19970         * Makeconfig (+interp): Remove unused variable.
19971         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19972         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19973         $(elf-objpfx)runtime-linker.h.
19974         ($(elf-objpfx)runtime-linker.h): Rename to
19975         $(common-objpfx)runtime-linker.h and move ...
19976         * Makerules [$(build-shared) = yes]: ... here.
19977         * elf/interp.c: Include <runtime-linker.h> instead of
19978         <elf/runtime-linker.h>.
19980 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19982         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19983         (__gettimeofday_syscall): Remove vsyscall fallback.
19984         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19985         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19986         Add syscall fallback function.
19987         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19988         if vDSO is not present.
19989         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19990         fallback function.
19991         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19992         present.
19993         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19994         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19996 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19998         [BZ #18497]
19999         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20000         of wcscmp.
20001         (wcscmp): Define as weak alias of WCSCMP.
20002         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20003         wcscoll.
20004         (USE_HIDDEN_DEF): Define.
20005         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20006         __wcscoll.  Don't use libc_hidden_weak.
20007         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20008         wcscmp.
20009         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20010         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20011         __GI_wcscmp.
20012         (weak_alias): Undefine and redefine.
20013         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20014         __wcscmp and define as weak alias of __wcscmp.
20015         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20016         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20017         (__wcscoll): Likewise.
20018         (wcscmp): Don't use libc_hidden_proto.
20019         (wcscoll): Likewise.
20020         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20021         wcscoll.
20022         * posix/regexec.c (check_node_accept_bytes): Likewise.
20023         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20024         variable.
20025         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20026         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20028         [BZ #18507]
20029         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20030         __fstatvfs and define as weak alias of __fstatvfs.  Use
20031         libc_hidden_weak.
20032         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20033         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20034         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20035         Define as alias of __fstatvfs, not fstatvfs.
20036         (fstatvfs64): Likewise.
20037         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20038         Define as alias of __statvfs, not statvfs.
20039         (statvfs64): Likewise.
20040         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20041         Remove variable.
20043 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20046         (HAVE_GETCPU_VSYSCALL): Define.
20047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20048         (HAVE_GETCPU_VSYSCALL): Likewise.
20049         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20050         * sysdeps/unix/sysv/linux/sched_getcpu.c
20051         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20052         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20053         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20054         prototype.
20055         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20056         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20057         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20058         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20059         Define.
20060         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20061         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20062         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20063         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20065 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20067         * sysdeps/x86_64/fpu/Makefile: New file.
20068         * sysdeps/x86_64/fpu/Versions: New file.
20069         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20070         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20071         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20072         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20073         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20074         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20075         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20076         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20077         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20078         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20079         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20080         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20081         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20082         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20083         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20084         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20085         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20086         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20087         * sysdeps/x86_64/configure: Regenerated.
20088         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20089         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20090         * manual/install.texi (Configuring and compiling): Document
20091         --disable-mathvec.
20092         * INSTALL: Regenerated.
20093         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20095         * math/Makefile: Added rules for vector tests.
20096         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20097         declaration under condition.
20098         * math/test-double-vlen2.h: New file.
20099         * math/test-double-vlen4.h: New file.
20100         * math/test-double-vlen8.h: New file.
20101         * math/test-vec-loop.h: Added initialization macro.
20102         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20103         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20104         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20105         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20106         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20107         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20108         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20109         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20110         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20111         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20112         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20114         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20115         * sysdeps/x86_64/fpu/Versions: New versions added.
20116         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20117         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20118         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20119         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20120         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20121         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20122         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20123         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20124         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20125         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20126         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20127         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20128         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20129         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20130         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20131         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20132         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20133         * NEWS: Mention addition of x86_64 vector cosf.
20135         * math/Makefile: Added CFLAGS for new tests.
20136         * math/test-float-vlen16.h: New file.
20137         * math/test-float-vlen4.h: New file.
20138         * math/test-float-vlen8.h: New file.
20139         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20140         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20141         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20142         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20143         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20144         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20145         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20146         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20147         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20148         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20149         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20151 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20153         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20154         * locale/programs/ld-ctype.c: Likewise.
20156 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20158         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20159         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20160         bit_ZMM16_31_state): New macro.
20161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20162         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20164 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20166         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20168 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20170         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20172 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20174         [BZ #18498]
20175         * libio/memstream.c (open_memstream): Rename to __open_memstream
20176         and define as weak alias of __open_memstream.
20177         * include/stdio.h (__open_memstream): Declare.  Use
20178         libc_hidden_proto.
20179         (open_memstream): Don't use libc_hidden_proto.
20180         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20181         open_memstream.
20182         * posix/getopt.c (_getopt_internal_r): Likewise.
20183         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20184         variable.
20185         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20186         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20187         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20189         [BZ #18496]
20190         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20191         instead of wcrtomb.
20193         [BZ #18483]
20194         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20195         [__USE_XOPEN2K8].  Remove redundant #endif.
20196         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20197         Remove redundant #if.
20198         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20199         Remove variable.
20200         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20201         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20203         [BZ #18495]
20204         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20205         (__iswlower): Likewise.
20206         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20207         (__iswlower): Likewise.
20208         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20209         instead of towlower.
20210         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20211         instead of iswlower.  Call __towupper instead of towupper.
20212         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20213         instead of iswalnum.
20215 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20217         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20218         errors to stderr.
20220 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20222         [BZ #15661]
20223         [BZ #17322]
20224         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20225         Check for overflow properly.  Check for O_APPEND.  Ignore large
20226         file system block sizes.  Add comments about problems.
20227         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20228         * manual/filesys.texi (Storage Allocation): New node.
20230 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20232         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20233         cancellable syscalls.
20234         (SYS_ify): Add guard to no redefine it.
20235         (INLINE_SYSCALL): Likewise.
20236         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20237         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20238         SYSCALL_CANCEL instead.
20239         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20240         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20241         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20242         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20243         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20244         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20245         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20246         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20247         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20248         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20249         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20250         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20251         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20252         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20253         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20254         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20255         Likewise.
20256         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20257         (__libc_pread64): Likewise.
20258         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20259         (__libc_preadv): Likewise.
20260         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20261         (__libc_readv64): Likewise.
20262         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20263         (__libc_pwrite): Likewise.
20264         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20265         (__libc_pwrite64): Likewise.
20266         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20267         (__libc_pwritev): Likewise.
20268         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20269         (__libc_pwritev64): Likewise.
20270         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20271         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20272         (sync_file_range): Likewise.
20273         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20274         Likewise.
20275         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20276         Likewise.
20277         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20278         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20279         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20280         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20281         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20282         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20283         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20284         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20286         Likewise.
20287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20288         (__libc_read64): Likewise.
20289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20290         Likewise.
20291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20292         Likewise.
20293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20294         Likewise.
20295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20296         Likewise.
20297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20298         (__libc_pread64): Likewise.
20299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20300         Likewise.
20301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20302         (__libc_pwrite64): Likewise.
20303         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20304         (sync_file_range): Likewise.
20305         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20306         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20307         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20308         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20309         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20310         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20311         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20312         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20313         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20314         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20315         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20316         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20317         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20318         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20319         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20320         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20321         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20322         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20323         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20324         Likewise.
20325         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20326         Likewise.
20327         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20328         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20329         Likewise.
20330         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20331         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20332         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20333         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20334         Likewise.
20335         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20336         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20337         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20338         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20339         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20341 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20343         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20344         Include dl-vdso.
20345         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20346         Use VDSO routines for gettimeofday, clock_gettime if
20347         available.
20348         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20349         Declare VDSO symbols.
20350         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20351         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20352         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20353         * sysdeps/unix/sysv/linux/arm/Versions: Add
20354         __vdso_clock_gettime.
20356 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20358         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20359         be an inline implementation regardless of library is built within.
20360         (open_not_cancel_2): Likewise.
20361         (__read_nocancel): Likewise.
20362         (__write_nocancel): Likewise.
20363         (openat_not_cancel): Likewise.
20364         (openat_not_cancel_3): Likewise.
20365         (openat64_not_cancel): Likewise.
20366         (openat64_not_cancel_3): Likewise.
20367         (__close_nocancel): Likewise.
20368         (pause_not_cancel): Likewise.
20369         (nanosleep_not_cancel): Likewise.
20370         (sigsuspend_not_cancel): Likewise.
20372 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20374         [BZ #14958]
20375         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20376         wake-up.
20377         (__pthread_rwlock_rdlock_slow): Likewise.
20378         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20379         Likewise.
20380         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20381         Likewise.
20382         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20383         * nptl/tst-rwlock16.c: New file.
20384         * nptl/Makefile (tests): Add new test.
20386 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20388         [BZ #18324]
20389         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20390         missing wake-up of readers.
20391         * nptl/tst-rwlock15.c: New file.
20392         * nptl/Makefile (tests): Add new test.
20394 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20396         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20397         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20398         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20399         and __nacl_supply_interface_rtld.
20400         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20401         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20402         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20403         Add __nacl_supply_interface_rtld.
20404         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20406 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20408         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20409         isfinite.
20410         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20411         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20413 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20415         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20416         __signbit* with standard C99 macros.
20417         * math/e_exp10l.c: Likewise.
20418         * math/e_exp2l.c: Likewise.
20419         * math/e_scalb.c: Likewise.
20420         * math/e_scalbf.c: Likewise.
20421         * math/e_scalbl.c: Likewise.
20422         * math/s_ldexp.c: Likewise.
20423         * math/s_ldexpf.c: Likewise.
20424         * math/s_ldexpl.c: Likewise.
20425         * math/w_atan2.c: Likewise.
20426         * math/w_atan2f.c: Likewise.
20427         * math/w_atan2l.c: Likewise.
20428         * math/w_cosh.c: Likewise.
20429         * math/w_coshf.c: Likewise.
20430         * math/w_coshl.c: Likewise.
20431         * math/w_exp10.c: Likewise.
20432         * math/w_exp10f.c: Likewise.
20433         * math/w_exp10l.c: Likewise.
20434         * math/w_exp2.c: Likewise.
20435         * math/w_exp2f.c: Likewise.
20436         * math/w_exp2l.c: Likewise.
20437         * math/w_fmod.c: Likewise.
20438         * math/w_fmodf.c: Likewise.
20439         * math/w_fmodl.c: Likewise.
20440         * math/w_hypot.c: Likewise.
20441         * math/w_hypotf.c: Likewise.
20442         * math/w_hypotl.c: Likewise.
20443         * math/w_jnl.c: Likewise.
20444         * math/w_lgamma.c: Likewise.
20445         * math/w_lgamma_r.c: Likewise.
20446         * math/w_lgammaf.c: Likewise.
20447         * math/w_lgammaf_r.c: Likewise.
20448         * math/w_lgammal.c: Likewise.
20449         * math/w_lgammal_r.c: Likewise.
20450         * math/w_pow.c: Likewise.
20451         * math/w_powf.c: Likewise.
20452         * math/w_powl.c: Likewise.
20453         * math/w_remainder.c: Likewise.
20454         * math/w_remainderf.c: Likewise.
20455         * math/w_remainderl.c: Likewise.
20456         * math/w_scalb.c: Likewise.
20457         * math/w_scalbf.c: Likewise.
20458         * math/w_scalbl.c: Likewise.
20459         * math/w_scalbln.c: Likewise.
20460         * math/w_scalblnf.c: Likewise.
20461         * math/w_scalblnl.c: Likewise.
20462         * math/w_sinh.c: Likewise.
20463         * math/w_sinhf.c: Likewise.
20464         * math/w_sinhl.c: Likewise.
20465         * math/w_tgamma.c: Likewise.
20466         * math/w_tgammaf.c: Likewise.
20467         * math/w_tgammal.c: Likewise.
20468         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20469         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20470         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20471         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20472         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20473         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20474         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20475         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20476         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20477         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20478         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20479         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20480         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20481         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20482         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20483         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20484         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20485         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20486         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20487         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20488         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20489         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20490         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20491         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20492         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20493         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20494         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20495         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20496         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20497         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20498         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20499         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20500         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20501         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20502         * stdio-common/printf_fp.c: Likewise.
20503         * stdio-common/printf_fphex.c: Likewise.
20504         * stdio-common/printf_size.c: Likewise.
20506 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20508         [BZ #18470]
20509         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20510         strnlen.
20511         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20512         Remove variable.
20513         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20514         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20515         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20516         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20517         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20518         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20519         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20520         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20521         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20522         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20524         [BZ #18468]
20525         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20526         weak alias of __wmemchr.  Use libc_hidden_weak.
20527         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20528         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20529         instead of wmemchr.
20531 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20533         [BZ #18383]
20534         * elf/tst-tlsalign-extern.c: New file.
20535         * elf/tst-tlsalign-extern-static.c: New file.
20536         * elf/tst-tlsalign-vars.c: New file.
20537         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20538         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20539         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20540         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20541         (test-xfail-tst-tlsalign-extern-static): New variable.
20543 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20545         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20546         Use variable name _sc_err instead of err.
20547         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20548         instead of ret.
20549         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20550         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20551         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20552         (INLINE_SYSCALL): Likewise.
20554         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20555         * include/string.h (__strnlen): Use libc_hidden_proto.
20556         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20557         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20558         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20559         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20560         (libc_hidden_def): Undefine and redefine.
20561         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20562         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20563         __GI_strnlen.
20564         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20565         libc_hidden_def.
20566         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20568         [BZ #18469]
20569         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20570         weak alias of __towlower.  Use libc_hidden_weak.
20571         (towupper): Rename to __towupper and define as weak alias of
20572         __towupper.  Use libc_hidden_weak.
20573         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20574         (__towupper): Likewise.
20575         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20576         __towlower instead of towlower.
20578 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20580         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20581         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20583 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20585         * sysdeps/aarch64/libm-test-ulps: Update.
20587 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20589         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20590         Define.
20591         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20592         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20593         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20594         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20595         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20596         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20597         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20599 2015-06-01  Martin Sebor  <msebor@redhat.com>
20601         [BZ #18116]
20602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20603         (__setcontext): Use extended four-operand version of mtsf whenever
20604         possible.
20605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20606         (__novec_swapcontext): Likewise.
20608 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20610         * benchtests/scripts/compare_bench.py: New file.
20611         * benchtests/scripts/import_bench.py (mean): New function.
20612         (split_list): Likewise.
20613         (do_for_all_timings): Likewise.
20614         (compress_timings): Likewise.
20616         * benchtests/scripts/import_bench.py: New file.
20617         * benchtests/scripts/validate_benchout.py: Import import_bench
20618         instead of jsonschema.
20619         (validate_bench): Remove function.
20620         (main): Use import_bench.
20622 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20624         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20625         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20627 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20631 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20633         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20634         set THREAD_SELF->tid to a magic value and futex-wake it.
20635         Pass its address to the thread_exit system call.
20636         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20637         bit is clear.
20638         * sysdeps/nacl/lowlevellock.h: New file.
20639         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20641         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20642         Add TIMEOUT to current time, don't subtract it.
20644 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20646         [BZ #2981]
20647         [BZ #18422]
20648         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20649         ($(objpfx)tst-audit2.out): Also depend on
20650         $(objpfx)tst-auditmod9b.so.
20651         * elf/tst-audit2.c: Include <dlfcn.h>.
20652         (calloc_called): New.
20653         (calloc): Allow to be called more than once.
20654         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20656 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20658         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20659         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20661 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20663         * stdlib/monetary.h: Fix comment.
20665 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20667         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20668         Avoid using variables in #defines that might cause shadowing.
20669         (INTERNAL_VSYSCALL_CALL): Likewise.
20671 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20673         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20675         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20676         * nptl/lll_timedlock_wait.c: ... to this new file.
20677         * nptl/Makefile (libpthread-routines): Add it.
20678         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20679         * nptl/lll_timedwait_tid.c: ... to this new file.
20680         * nptl/Makefile (libpthread-routines): Add it.
20681         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20682         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20683         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20684         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20685         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20686         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20687         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20688         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20689         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20690         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20692 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20694         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20695         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20696         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20697         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20698         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20699         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20700         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20701         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20702         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20703         * sysdeps/unix/sysv/linux/tile/sysdep.h
20704         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20705         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20706         using vDSO syscall macro.
20708 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20710         [BZ #17293]
20711         * uk_UA: Fix sorting order for Ukrainian locale
20713 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20715         * stdlib/monetary.h: Fix comment.
20717 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20719         [BZ #18234]
20720         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20721         st_mtim and st_ctim members.
20722         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20723         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20724         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20725         (struct stat64): Likewise.
20726         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20727         (struct stat64): Likewise.
20728         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20729         (struct stat64): Likewise.
20731 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20733         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20734         Define and include sysdep-vdso.h.
20735         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20736         Likewise.
20737         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20738         Likewise.
20739         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20740         Define with VDSO_SYMBOL and use PTR_MANGLE.
20741         (__vdso_clock_gettime): Likewise.
20742         (__vdso_clock_getres): Likewise.
20743         (_libc_vdso_platform_setup): Likewise.
20744         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20745         Likewise.
20746         (_libc_vdso_platform_setup): Likewise.
20747         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20748         Likewise.
20749         (__vdso_clock_gettime): Likewise.
20750         (__vdso_clock_getres): Likewise.
20751         (__vdso_get_tbfreq): Likewise.
20752         (__vdso_getcpu): Likewise.
20753         (__vdso_time): Likewise.
20754         (__vdso_sigtramp_rt64): Likewise.
20755         (__vdso_signtramp32): Likewise.
20756         (__vdso_sigtramp_rt32): Likewise.
20757         (_libc_vdso_platform_setup): Likewise.
20758         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20759         Likewise.
20760         (__vdso_clock_gettime): Likewise.
20761         (__vdso_clock_getres): Likewise.
20762         (_libc_vdso_platform_setup): Likewise.
20763         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20764         Likewise.
20765         (__vdso_clock_gettime): Likewise.
20766         (_libc_vdso_platform_setup): Likewise.
20767         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20768         Likewise.
20769         (__vdso_getcpu): Likewise.
20770         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20771         Use VDSO_SYMBOL macro to define.
20772         (__vdso_clock_gettime): Likewise.
20773         (__vdso_clock_getres): Likewise.
20774         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20775         Likewise.
20776         (__vdso_clock_gettime): Likewise.
20777         (__vdso_clock_getres): Likewise.
20778         (__vdso_get_tbfreq): Likewise.
20779         (__vdso_getcpu): Likewise.
20780         (__vdso_time): Likewise.
20781         (__vdso_sigtramp_rt64): Likewise.
20782         (__vdso_signtramp32): Likewise.
20783         (__vdso_sigtramp_rt32): Likewise.
20784         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20785         Likewise.
20786         (__vdso_clock_gettime): Likewise.
20787         (__vdso_clock_getres): Likewise.
20788         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20789         Likewise.
20790         (__vdso_clock_gettime): Likewise.
20791         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20792         Likewise.
20793         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20794         macro.
20795         (INTERNAL_VSYSCALL): Likewise.
20796         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20797         Remove macro.
20798         (INTERNAL_VSYSCALL): Likewise.
20799         (INTERNAL_VSYSCALL_NCS): Likewise.
20800         (INTERNAL_VSYSCALL_CALL): New macro.
20801         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20802         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20803         Likewise.
20804         (INTERNAL_VSYSCALL): Likewise.
20805         (INTERNAL_VSYSCALL_NCS): Likewise.
20806         (INTERNAL_VSYSCALL_CALL): New macro.
20807         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20809         (INLINE_VSYSCALL): Remove macro.
20810         (INTERNAL_VSYSCALL): Remove macro.
20811         (INTERNAL_VSYSCALL_NCS): Remove macro.
20812         (INTERNAL_VSYSCALL_CALL): New macro.
20813         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20814         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20815         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20816         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20817         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20819         (INLINE_VSYSCALL): Remove macro.
20820         (INTERNAL_VSYSCALL): Likewise.
20821         (INTERNAL_VSYSCALL_NCS): Likewise.
20822         (INTERNAL_VSYSCALL_CALL): New macro.
20823         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20824         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20825         PTR_DEMANGLE on vDSO pointer.
20826         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20827         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20828         macro.
20829         (INTERNAL_SYSCALL): Likewise.
20830         (INTERNAL_VSYSCALL_NCS): Remove macro.
20831         (INTERNAL_VSYSCALL_CALL): New macro.
20832         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20833         Remove macro.
20834         (INTERNAL_VSYSCALL): Likewise.
20835         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20836         sysdep-vdso.h instead of libc-vdso.h.
20837         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20838         definition.
20839         (INLINE_VSYSCALL): Likewise.
20840         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20841         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20842         definition.
20843         (INLINE_VSYSCALL): Likewise.
20844         (INTERNAL_VSYSCALL): Likewise.
20845         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20846         * sysdeps/unix/sysv/linux/timespec_get.c
20847         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20848         (timespec_get): Use ANSI prototype.
20849         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20850         and definition for Linux.
20852 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20854         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20855         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20857 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20859         [BZ #2981]
20860         [BZ #18410]
20861         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20862         for missing DT_PLTRELSZ.
20864 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20866         Remove obsolete aliases that broke 'locale -a'
20867         [BZ #18412]
20868         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20869         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20870         breaking some applications that use 'locale -a' output.
20871         Change the encoding of this file from Latin-1 to ASCII to avoid
20872         other potential problems with people grepping this file.
20874 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20876         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20877         -fasynchronous-unwind-tables.
20878         (CFLAGS-sendto.c): Likewise.
20879         (CFLAGS-sendmsg.c): Likewise.
20880         (CFLAGS-connect.c): Likewise.
20881         (CFLAGS-recvmsg.c): Likewise.
20882         (CFLAGS-recvfrom.c): Likewise.
20883         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20884         (SOCKETCALL): New macro: non-cancellable socketcall.
20885         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20886         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20887         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20888         * sysdeps/unix/sysv/linux/accept.c: New file.
20889         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20890         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20891         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20892         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20893         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20894         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20895         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20896         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20897         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20898         * sysdeps/unix/sysv/linux/send.c: Likewise.
20899         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20900         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20901         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20902         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20903         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20904         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20905         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20906         prototype.
20907         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20908         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20909         instead of __internal_xxx function.
20910         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20911         prototype.
20912         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20913         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20914         instead of __internal_xxx function.
20915         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20916         prototype.
20917         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20918         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20919         instead of __internal_xxx function.
20920         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20921         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20922         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20923         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20924         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20925         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20926         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20927         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20928         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20929         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20930         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20931         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20932         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20933         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20934         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20935         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20936         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20937         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20938         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20939         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20942         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20943         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20944         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20945         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20946         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20947         * sysdeps/unix/sysv/linux/send.S: Likewise.
20948         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20949         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20950         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20951         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20952         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20953         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20954         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20955         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20956         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20957         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20958         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20959         socketcall is implemented in GLIBC.
20961 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20963         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20964         (__fma): Ignore uninitialized warnings around packing.
20965         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20966         (__fmaf): Ignore uninitialized warnings around packing.
20967         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20968         (__fmal): Ignore uninitialized warnings around packing.
20970         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20971         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20972         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20973         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20975         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20976         switch statement into default case.
20977         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20979         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20980         a conditional in forcing "inexact".
20981         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20982         Likewise.
20984 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20986         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20987         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20988         for each INTERNAL_SYSCALL use.
20990 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20992         [BZ #438]
20993         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20994         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20995         variable.
20997         [BZ #18444]
20998         * string/basename.c (basename): Rename to __basename and define as
20999         weak alias of __basename.  Use libc_hidden_weak.
21000         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21001         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21002         __basename instead of basename.
21003         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21004         Remove variable.
21005         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21007 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21009         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21010         (_IO_JUMPS_FILE_plus): New.
21011         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21012         _IO_CAST_FIELD_ACCESS.
21013         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21014         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21015         * libio/freopen.c (freopen): Likewise.
21016         * libio/freopen64.c (freopen64): Likewise.
21017         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21018         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21019         * libio/iofwide.c (_IO_fwide): Likewise.
21020         * libio/memstream.c (open_memstream): Likewise.
21021         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21022         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21023         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21025 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21027         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21028         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21029         NADJ.
21030         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21031         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21032         NADJ.
21033         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21034         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21035         NADJ.
21037         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21038         (p == 4) case.
21040         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21041         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21042         Remove variable.
21043         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21044         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21045         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21047 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21049         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21050         Adjust jump table label generation macros.
21052 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21054         * stdio-common/vfprintf.c (vfprintf): Move local variables
21055         args_malloced, specs, specs_malloced, and the code after
21056         do_positional to the printf_positional function.
21057         (printf_positional): New function.
21059 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21061         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21062         function.
21063         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21064         STEP4_TABLE, process_arg): Move macro definitions
21065         out of the vfprintf function.  (Cosmetic change only.)
21067 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21069         * benchtests/Makefile (stdio-common-bench): Define.
21070         (benchset): Add stdio-common-bench.
21071         * sprintf-inputs: New file.
21072         * sprintf-source.c: New file.
21074 2015-05-21  Andreas Schwab  <schwab@suse.de>
21076         [BZ #13028]
21077         [BZ #17053]
21078         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21079         of struct __res_state.
21080         * resolv/res_send.c (__libc_res_nsend): Likewise.
21081         (get_nsaddr): New function.
21082         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21083         statp directly.
21085 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21087         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21088         -D_POSIX_C_SOURCE=199506L.
21090         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21092         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21093         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21094         Do not mention otherwise.
21095         [POSIX] (_XOPEN_VERSION): Do not expect.
21096         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21097         [POSIX] (_POSIX2_C_BIND): Likewise.
21098         [POSIX] (_POSIX2_VERSION): Likewise.
21099         [POSIX] (_XOPEN_XPG2): Likewise.
21100         [POSIX] (_XOPEN_XPG3): Likewise.
21101         [POSIX] (_XOPEN_XPG4): Likewise.
21102         [POSIX] (_XOPEN_UNIX): Likewise.
21103         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21104         [POSIX] (_POSIX_BARRIERS): Likewise.
21105         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21106         [POSIX] (_POSIX_CPUTIME): Likewise.
21107         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21108         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21109         [POSIX] (_POSIX_SHELL): Likewise.
21110         [POSIX] (_POSIX_SPAWN): Likewise.
21111         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21112         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21113         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21114         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21115         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21116         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21117         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21118         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21119         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21120         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21121         [POSIX] (_POSIX2_PBS): Likewise.
21122         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21123         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21124         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21125         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21126         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21127         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21128         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21129         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21130         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21131         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21132         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21133         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21134         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21135         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21136         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21137         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21138         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21139         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21140         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21141         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21142         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21143         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21144         [POSIX] (_SC_2_C_BIND): Likewise.
21145         [POSIX] (_SC_2_C_VERSION): Likewise.
21146         [POSIX] (_SC_2_PBS): Likewise.
21147         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21148         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21149         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21150         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21151         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21152         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21153         [POSIX] (_SC_BARRIERS): Likewise.
21154         [POSIX] (_SC_BASE): Likewise.
21155         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21156         [POSIX] (_SC_DEVICE_IO): Likewise.
21157         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21158         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21159         [POSIX] (_SC_FD_MGMT): Likewise.
21160         [POSIX] (_SC_FIFO): Likewise.
21161         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21162         [POSIX] (_SC_FILE_LOCKING): Likewise.
21163         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21164         [POSIX] (_SC_IOV_MAX): Likewise.
21165         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21166         [POSIX] (_SC_NETWORKING): Likewise.
21167         [POSIX] (_SC_PAGE_SIZE): Likewise.
21168         [POSIX] (_SC_PASS_MAX): Likewise.
21169         [POSIX] (_SC_PIPE): Likewise.
21170         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21171         [POSIX] (_SC_REGEXP): Likewise.
21172         [POSIX] (_SC_SHELL): Likewise.
21173         [POSIX] (_SC_SIGNALS): Likewise.
21174         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21175         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21176         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21177         [POSIX] (_SC_USER_GROUPS): Likewise.
21178         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21179         [POSIX] (_SC_STREAMS): Likewise.
21180         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21181         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21182         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21183         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21184         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21185         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21186         [POSIX] (_PC_FILESIZEBITS): Likewise.
21187         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21188         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21189         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21190         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21191         [POSIX] (uid_t): Likewise.
21192         [POSIX] (gid_t): Likewise.
21193         [POSIX] (off_t): Likewise.
21194         [POSIX] (pid_t): Likewise.
21195         [POSIX] (cuserid): Allow.
21196         (_SC_2_CHAR_TERM): Require constant.
21197         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21198         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21199         variable.
21201 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21203         * sysdeps/nacl/pthread-pids.h: New file.
21204         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21205         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21207         * nptl/pthread-pids.h: New file.
21208         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21209         * nptl/nptl-init.c: Include <pthread-pids.h>.
21210         (__pthread_initialize_minimal_internal):
21211         Call __pthread_initialize_pids instead of set_tid_address syscall.
21213         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21214         * sysdeps/posix/usleep.c: ... here.
21216 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21218         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21219         call_pselect6 object.
21220         [$(subdir) = io]: Remove call_sync_file_range object.
21221         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21222         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21223         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21224         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21226 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21228         * math/s_cproj.c: Add include "math_private.h".
21229         * math/s_cprojf.c: Likewise.
21230         * math/s_cprojl.c: Likewise.
21232 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21234         [BZ #18244]
21235         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21236         high mantissa bit when testing whether P is a NaN.
21237         * math/libm-test.inc (remainder_test_data): Add more tests.
21238         (remquo_test_data): Likewise.
21240         [BZ #18049]
21241         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21242         below -32, return the argument, with underflow if subnormal.
21243         * math/auto-libm-test-in: Add more tests of atanh.
21244         * math/auto-libm-test-out: Regenerated.
21246 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21248         [BZ #18434]
21249         * nptl/tst-sem15.c: New file.
21250         * nptl/Makefile (tests): Add it.
21251         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21252         s/<</>>/ to fix typo in EOVERFLOW check.
21253         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21255 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21257         * manual/strings.texi (envz_remove): Fix typo in safety
21258         annotations.
21260 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21261             Steve Ellcey  <sellcey@imgtec.com>
21263         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21264         in order to avoid strict alias warnings.
21265         (iruserok_af): Ditto for ra.
21267 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21269         [BZ #17581]
21270         * malloc/hooks.c
21271         (magicbyte): Convert to a function and avoid returning 0x01.
21272         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21273         (mem2chunk_check): Fix unsigned comparisons to zero.
21274         Hoist defs of sz and magic.
21276 2015-05-19  Richard Henderson  <rth@redhat.com>
21278         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21280         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21282 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21284         [BZ #16159]
21285         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21286         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21287         (reused_arena): Find a non-corrupt arena.
21288         (heap_trim): Pass arena to unlink.
21289         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21290         malloc_printerr.
21291         (top_check): Likewise.
21292         (free_check): Likewise.
21293         (realloc_check): Likewise.
21294         * malloc/malloc.c (malloc_printerr): Add arena argument.
21295         (unlink): Likewise.
21296         (munmap_chunk): Adjust.
21297         (ARENA_CORRUPTION_BIT): New macro.
21298         (arena_is_corrupt): Likewise.
21299         (set_arena_corrupt): Likewise.
21300         (sysmalloc): Use mmap if there are no usable arenas.
21301         (_int_malloc): Likewise.
21302         (__libc_malloc): Don't fail if arena_get returns NULL.
21303         (_mid_memalign): Likewise.
21304         (__libc_calloc): Likewise.
21305         (__libc_realloc): Adjust for additional argument to
21306         malloc_printerr.
21307         (_int_free): Likewise.
21308         (malloc_consolidate): Likewise.
21309         (_int_realloc): Likewise.
21310         (_int_memalign): Don't touch corrupt arenas.
21311         * malloc/tst-malloc-backtrace.c: New test case.
21313         * Makefile (summarize-tests): Fix return value on success.
21315         * manual/string.texi (Envz Functions): Add envz_remove.
21317 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21319         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21320         (invalid_name): New function, broken out of ...
21321         (__opendirat): ... here.  Call it.
21322         (need_isdir_precheck): New function, broken out of ...
21323         (__opendirat): ... here.  Call it.
21324         Use __fxstatat64, not __xstatat64.
21325         (opendir_oflags): New function, broken out of ...
21326         (__opendirat): ... here.  Call it.
21327         (opendir_tail): New function, broken out of ...
21328         (__opendirat): ... here.  Call it.
21329         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21330         opendir_tail, rather than punting to __opendirat.
21331         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21333 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21335         * .gitignore: Ignore generated *.pyc.
21337 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21339         * include/stdio.h: Define __need_wint_t.
21340         * test-skeleton.c: Avoid `for' loop initial declaration.
21341         * nptl/tst-initializers1.c: Use test-skeleton.c.
21343 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21345         [BZ #18418]
21346         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21348 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21350         [BZ #16352]
21351         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21352         (__ieee754_atanh): Force underflow exception for results with
21353         small absolute value.
21354         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21355         (__ieee754_atanhf): Force underflow exception for results with
21356         small absolute value.
21357         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21358         (__ieee754_atanh): Force underflow exception for results with
21359         small absolute value.
21360         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21361         (__ieee754_atanhf): Force underflow exception for results with
21362         small absolute value.
21363         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21364         (__ieee754_atanhl): Force underflow exception for results with
21365         small absolute value.
21366         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21367         (__ieee754_atanhl): Force underflow exception for results with
21368         small absolute value.
21369         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21370         (__ieee754_atanhl): Force underflow exception for results with
21371         small absolute value.
21372         * math/auto-libm-test-in: Do not allow missing underflow
21373         exceptions from atanh.
21374         * math/auto-libm-test-out: Regenerated.
21376         [BZ #18221]
21377         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21378         2**-28 as threshold for returning x or +/- 1/x.
21379         * math/auto-libm-test-in: Add more tests of tan.
21380         * math/auto-libm-test-out: Regenerated.
21382         [BZ #18220]
21383         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21384         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21385         * math/auto-libm-test-in: Add another test of lgamma.
21386         * math/auto-libm-test-out: Regenerated.
21388 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21390         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21391         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21392         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21393         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21394         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21395         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21396         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21397         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21398         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21399         (log1): Use fabs.  (my_log2): Use fabs.
21400         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21401         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21402         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21403         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21404         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21405         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21406         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21407         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21408         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21409         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21410         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21412 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21414         [BZ #18217]
21415         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21416         as threshold for returning 1 - x.
21417         * math/auto-libm-test-in: Add more tests of erfc.
21418         * math/auto-libm-test-out: Regenerated.
21420 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21422         [BZ #18196]
21423         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21424         threshold for large arguments.
21425         * math/auto-libm-test-in: Add another test of atan.
21426         * math/auto-libm-test-out: Regenerated.
21428         [BZ #16339]
21429         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21430         (__log1p): Force underflow exception for results with small
21431         absolute value.
21432         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21433         (__log1pf): Force underflow exception for results with small
21434         absolute value.
21435         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21436         (__log1p): Force underflow exception for results with small
21437         absolute value.
21438         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21439         (__log1pf): Force underflow exception for results with small
21440         absolute value.
21441         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21442         (__log1pl): Force underflow exception for results with small
21443         absolute value.
21444         * math/auto-libm-test-in: Do not allow missing underflow
21445         exceptions from log1p.
21446         * math/auto-libm-test-out: Regenerated.
21448 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21449             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21451         [BZ #16704]
21452         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21454 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21456         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21457         (libmvec): New variable.
21458         * configure.ac: Added option for mathvec build.
21459         * configure: Regenerated.
21460         * mathvec/Depend: New file.
21461         * mathvec/Makefile: New file.
21462         * shlib-versions: Added libmvec.
21463         * math/Makefile: Added rule for libm.so installation.
21465         * bits/math-vector.h: New file.
21466         * bits/libm-simd-decl-stubs.h: New header.
21467         * math/Makefile (headers): Added new header
21468         libm-simd-decl-stubs.h.
21469         * math/math.h (__MATHCALL_VEC): New macro.
21471         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21472         for conditions in testing functions.
21473         * math/Makefile: Added call of libm-have-vector-test.sh.
21474         * math/libm-test.inc (HAVE_VECTOR): New macros.
21476         * math/libm-test.inc: START refactored.
21477         * math/test-double.c (TEST_MATHVEC): Add define.
21478         * math/test-float.c: Likewise.
21479         * math/test-idouble.c: Likewise.
21480         * math/test-ifloat.c: Likewise.
21481         * math/test-ildoubl.c: Likewise.
21482         * math/test-ldouble.c: Likewise.
21483         * sysdeps/generic/math-tests-arch.h
21484         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21485         architecture check.
21487         * math/test-double.c (FUNC_TEST): New macro.
21488         * math/test-float.c: Likewise.
21489         * math/test-idouble.c: Likewise.
21490         * math/test-ifloat.c: Likewise.
21491         * math/test-ildoubl.c: Likewise.
21492         * math/test-ldouble.c: Likewise.
21493         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21495 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21497         * sysdeps/nacl/fdopendir.c: New file.
21499         * dirent/scandir-tail.c: New file.
21500         * dirent/scandir64-tail.c: New file.
21501         * dirent/Makefile (routines): Add them.
21502         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21503         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21504         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21505         [!SCANDIR] (SCANDIR_TAIL): New macro.
21506         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21507         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21508         (SCANDIRAT): Macro removed.
21509         (SCANDIR_TAIL): New macro.
21510         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21511         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21512         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21513         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21514         (READDIR): Macro removed.
21515         (SCANDIR_TAIL): New macro.
21516         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21517         (SCANDIR_TAIL): New macro.
21519         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21520         * dirent/scandir-cancel.c: ... to this new file.
21521         * dirent/Makefile (routines): Add it.
21522         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21523         * sysdeps/unix/sysv/linux/i386/scandir64.c
21524         (SKIP_SCANDIR_CANCEL): Macro removed.
21525         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21527         * dirent/tst-scandir.c: New file.
21528         * dirent/tst-scandir64.c: New file.
21529         * dirent/Makefile (tests): Add them.
21531 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21533         [BZ #18409]
21534         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21536 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21538         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21539         list.
21541 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21543         * benchtests/bench-strcoll.c: New benchmark.
21544         * benchtests/Makefile: Generate locales and run benchmark.
21545         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21546         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21547         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21548         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21549         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21550         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21551         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21552         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21553         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21554         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21555         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21556         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21557         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21558         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21559         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21560         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21561         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21562         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21563         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21564         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21565         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21566         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21567         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21568         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21570 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21572         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21573         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21575 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21577         * posix/uname-values.h: New file.
21578         * posix/uname.c: Include that instead of <config-name.h>.
21579         * sysdeps/nacl/uname-values.h: New file.
21580         * sysdeps/arm/nacl/uname-values.h: New file.
21582 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21584         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21585         splitting into fields.
21587 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21589         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21590         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21591         * locale/localeinfo.h: Add enum collation_encoding_type.
21592         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21593         * programs/ld-collate.c (collate_output): Add encoding type info.
21594         * string/strcoll_l.c (STRDIFF): New function.
21595         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21596         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21598 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21600         [BZ #18397]
21601         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21602         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21603         <fpu_control.h> instead of <math/fpu_control.c>.
21604         * sysdeps/mips/mips32/fpu/Makefile: New file.
21606 2015-05-11  Andreas Schwab  <schwab@suse.de>
21608         [BZ #18007]
21609         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21610         nss_endgrent.
21611         (_nss_compat_endgrent): Call nss_endgrent.
21612         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21613         nss_endpwent.
21614         (_nss_compat_endpwent): Call nss_endpwent.
21615         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21616         needent, call nss_setspent only if non-zero.
21617         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21618         (internal_endspent): Don't call nss_endspent.
21619         (_nss_compat_endspent): Call nss_endspent.
21620         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21621         Remove.  All uses removed.
21622         (internal_setent): Remove parameter stayopen, add parameter
21623         stream.  Use it instead of global variable.
21624         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21625         (internal_endent, internal_getent): Add parameter stream.  Use it
21626         instead of global variable.
21627         (CONCAT(_nss_files_end,ENTNAME))
21628         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21629         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21630         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21631         uses removed.
21632         (internal_setent, internal_endent): Add parameter stream.  Use it
21633         instead of global variable.
21634         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21635         stream.
21636         (get_next_alias): Add parameter stream.
21637         (_nss_files_getaliasent_r): Pass global stream.
21638         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21639         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21640         (_nss_files_gethostbyname4_r): Pass local stream to
21641         internal_setent, internal_getent and internal_endent.  Remove
21642         locking.
21644 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21646         * tst-strfmon1.c (tests): Update expected currency symbol.
21648 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21650         * sysdeps/nacl/gethostname.c: New file.
21652 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21654         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21655         and sinh.
21656         * math/auto-libm-test-out: Regenerated.
21657         * sysdeps/i386/fpu/libm-test-ulps: Update.
21658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21660 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21662         [BZ #18125]
21663         * stdlib/tst-setcontext3.c: New file.
21664         * stdlib/tst-setcontext3.sh: New file.
21665         * stdlib/Makefile (tests): Add tst-setcontext3.
21666         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21667         to verify test program created output file.
21668         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21669         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21670         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21671         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21673 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21675         [BZ #18383]
21676         * elf/tst-tlsalign.c: New file.
21677         * elf/tst-tlsalign-static.c: New file.
21678         * elf/tst-tlsalign-lib.c: New file.
21679         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21680         (tests-static): Add tst-tlsalign-static.
21681         (modules-names): Add tst-tlsalign-lib.
21682         (test-xfail-tst-tlsalign): New variable.
21683         (test-xfail-tst-tlsalign-static): New variable.
21685         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21686         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21688 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21690         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21691         csqrt, erfc, sin and sincos.
21692         * math/auto-libm-test-out: Regenerated.
21693         * sysdeps/i386/fpu/libm-test-ulps: Update.
21694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21696 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21698         * sysdeps/aarch64/libm-test-ulps: Update.
21700 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21702         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21703         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21704         * math/auto-libm-test-out: Regenerated.
21705         * sysdeps/i386/fpu/libm-test-ulps: Update.
21706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21708 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21710         [BZ #18265]
21711         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21712         (wcsncpy): Likewise.
21714 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21716         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21717         Assume __ASSUME_FALLOCATE is always true.
21718         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21719         (__posix_fallocate64_l64): Likweise.
21720         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21721         (posix_fallocate): Likewise.
21722         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21723         (__posix_fallocate64_l64): Likewise.
21724         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21725         [!__ASSUME_FALLOCATE]: Add comment.
21727 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21729         * sysdeps/unix/sysv/linux/i386/Makefile
21730         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21731         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21732         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21733         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21734         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21735         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21736         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21738 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21740         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21741         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21742         tgamma.
21743         * math/auto-libm-test-out: Regenerated.
21744         * sysdeps/i386/fpu/libm-test-ulps: Update.
21745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21747 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21749         * math/auto-libm-test-in: Add more tests of tgamma.
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 tanh.
21755         * math/auto-libm-test-out: Regenerated.
21756         * sysdeps/i386/fpu/libm-test-ulps: Update.
21757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21759         * math/auto-libm-test-in: Add more tests of tan.
21760         * math/auto-libm-test-out: Regenerated.
21761         * sysdeps/i386/fpu/libm-test-ulps: Update.
21762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21764         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21765         * math/auto-libm-test-out: Regenerated.
21766         * sysdeps/i386/fpu/libm-test-ulps: Update.
21767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21769         * math/auto-libm-test-in: Add another test of pow.
21770         * math/auto-libm-test-out: Regenerated.
21771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21773         * math/auto-libm-test-in: Add more tests of lgamma.
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         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21779         log1p.
21780         * math/auto-libm-test-out: Regenerated.
21781         * sysdeps/i386/fpu/libm-test-ulps: Update.
21782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21784 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21786         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21787         Elf64_Chdr structs and ELFCOMPRESS constants.
21789 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21791         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21792         expm1.
21793         * math/auto-libm-test-out: Regenerated.
21794         * sysdeps/i386/fpu/libm-test-ulps: Update.
21795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21797         * math/auto-libm-test-in: Add more tests of erf and erfc.
21798         * math/auto-libm-test-out: Regenerated.
21799         * sysdeps/i386/fpu/libm-test-ulps: Update.
21800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21802 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21804         * config.h.in (HAVE_AARCH64_BE): Add.
21806 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21808         * math/auto-libm-test-in: Add more tests of csqrt.
21809         * math/auto-libm-test-out: Regenerated.
21810         * sysdeps/i386/fpu/libm-test-ulps: Update.
21811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21813         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21814         * math/auto-libm-test-out: Regenerated.
21815         * sysdeps/i386/fpu/libm-test-ulps: Update.
21816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21818         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21820 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21822         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21823         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21825         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21826         (euidaccess, eaccess): Define as weak aliases.
21828         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21829         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21830         but __suseconds_t is often 'long int' so some sources assume that
21831         type is being used (e.g. they use %ld to print tv_usec).
21833 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21835         [BZ #18007]
21836         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21837         (CVE-2014-8121)
21838         * nss/tst-nss-getpwent.c: New file.
21839         * nss/Makefile (tests): Add new test.
21841 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21843         [BZ #18346]
21844         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21845         exponents less than 48 as cases where high part of mantissa needs
21846         examining to determine whether argument is integral.
21847         * math/libm-test.inc (round_test_data): Add more tests.
21849 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21851         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21853 2015-04-27  David S. Miller  <davem@davemloft.net>
21855         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21856         __tls_get_addr.
21857         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21859 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21861         [BZ#18333]
21862         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21864 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21866         [BZ#18333]
21867         * time/tzset.c (parse_tzname): Return error on memory allocation
21868         failure.
21869         * test-skeleton.c (struct temp_name_list): Change type of name
21870         member to non-const.
21871         (add_temp_file): Create a copy of the file name.
21872         (delete_temp_files): Deallocate memory.
21873         (create_temp_file): Add comment.
21875 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21877         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21878         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21880 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21882         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21883         * sysdeps/arm/configure: Regenerated.
21885 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21887         [BZ #17715]
21888         * time/tzfile.c (__tzfile_read): Check for large values of
21889         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21890         * time/tzset.c (__tzstring_len): New function, based on the old
21891         __tzstring function.
21892         (__tzstring): Call __tzstring_len.
21893         (parse_tzname): New helper function extracted from
21894         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21895         the input string.
21896         (parse_offset): New helper function extracted from
21897         __tzset_parse_tz.  Replace switch with fallthrough with
21898         initialization before sscanf.
21899         (parse_rule): Likewise.
21900         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21901         new-style function definition.
21902         * timezone/Makefile (tests): Add tst-tzset.
21903         (tst-tzset.out): Dependencies on time zone files.
21904         (tst-tzset-ENV): Set TZDIR.
21905         (testdata/XT%): Copy crafted time zone files.
21906         * timezone/README: Mention crafted time zone files.
21907         * timezone/testdata/XT1, timezone/testdata/XT2,
21908         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21909         files.
21910         * timezone/tst-tzset.c: New test.
21912 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21914         * Makeconfig (+gccwarn): Remove -Winline.
21916 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21918         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21920 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21922         * NEWS: Mention sysconf() cache information support for s390.
21923         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21925 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21927         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21928         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21929         (__nearbyint): Likewise.
21930         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21931         (copysignl): Likewise.
21933 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21935         [BZ #18287]
21936         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21937         based on padding.  (CVE-2015-1781)
21939 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21941         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21942         libc-vdso.h.
21943         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21944         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21945         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21946         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21947         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21948         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21949         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21950         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21951         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21952         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21953         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21954         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21955         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21956         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21957         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21958         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21959         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21960         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21961         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21962         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21963         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21964         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21965         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21967 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21969         * stdlib/setenv.c (__add_to_environ):
21970         Dump core quickly if setenv (..., NULL, ...) is called.
21971         This time, do it the right way, and pacify GCC with a pragma.
21973 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21975         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21976         IMAP->l_prev cannot be null, and #if out the code for the contrary
21977         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21978         believe that NS (&_dl_ns[NSID]) could point outside the array.
21980         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21981         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21982         before using NSID as an index.
21984 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21986         [BZ #17825]
21987         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21988         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21989         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21991 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21993         Add preliminary port to Google Native Client on ARM.
21994         * abi-tags (.*-.*-nacl.*): New entry.
21995         * sysdeps/arm/nacl: New directory.
21996         * sysdeps/nacl: New directory.
21998 2015-04-16  David S. Miller  <davem@davemloft.net>
22000         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22001         lowlevellock-futex.h
22003 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22005         * sysdeps/tile/configure.ac: New file.
22006         * sysdeps/tile/configure: Regenerated.
22008 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22010         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22011         conditionals for weak_alias and libc_hidden_weak.
22012         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22013         libc_hidden_weak and weak_alias.
22014         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22015         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22016         and weak_alias for static one.
22018 2015-04-15  David S. Miller  <davem@davemloft.net>
22020         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22022 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22024         [BZ #18206]
22025         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22026           Use signed comparision instead of substraction to avoid
22027           overflow bug.
22028         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22029           Take the sign of ret.
22030         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22031           Do not expect precise return values. Only the sign matters.
22032         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22033         * wcsmbs/test-wcsncmp.c: New File.
22034         * string/test-strncmp.c: Add wcsncmp support.
22036 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22038         [BZ #6792]
22039         * math/w_log1p.c: New file.
22040         * math/w_log1pf.c: Likewise.
22041         * math/w_log1pl.c: Likewise.
22042         * math/Makefile (libm-calls): Add w_log1p.
22043         * math/s_log1pl.c (log1pl): Remove weak_alias.
22044         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22045         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22046         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22047         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22048         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22049         [NO_LONG_DOUBLE] (log1pl): Likewise.
22050         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22051         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22052         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22053         (log1p): Remove long_double_symbol.
22054         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22055         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22056         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22057         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22058         remove weak_alias for corresponding log1p function.
22059         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22060         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22061         * sysdeps/ia64/fpu/w_log1p.c: New file.
22062         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22063         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22064         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22066 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22068         [BZ #18247]
22069         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22070         decimal exponent by 1.
22071         * stdlib/tst-strtod-round-data: Add more tests.
22072         * stdlib/tst-strtod-round.c (tests): Regenerated.
22074 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22076         * math/auto-libm-test-in: Add more tests of clog and clog10.
22077         * math/auto-libm-test-out: Regenerated.
22078         * sysdeps/i386/fpu/libm-test-ulps: Update.
22079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22081 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22083         * Makeconfig (module-cppflags): Exclude all .v.i files.
22084         (skip-module-cppflags): Variable removed.
22086         * configure.ac (libc_config_ok): Initialize before reading
22087         preconfigure scripts, not after.
22088         * configure: Regenerated.
22090         * test-skeleton.c (TIMEOUT): Move #define to top level.
22091         (main): Grok environment variable TEST_DIRECT.  If set, print
22092         test expectation details into that file and then behave as if
22093         given --direct.
22095 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22097         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22098         warning on 32-bit.
22100 2015-04-08  David S. Miller  <davem@davemloft.net>
22102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22104 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22106         * math/auto-libm-test-in: Add more tests of atanh.
22107         * math/auto-libm-test-out: Regenerated.
22108         * sysdeps/i386/fpu/libm-test-ulps: Update.
22109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22111         * math/auto-libm-test-in: Add more tests of atan.
22112         * math/auto-libm-test-out: Regenerated.
22113         * sysdeps/i386/fpu/libm-test-ulps: Update.
22114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22116 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22118         * elf/pldd.c (main): Rewrite to use struct
22119         scratch_buffer instead of extend_alloca.
22120         * elf/pldd-xx.c (find_maps): Likewise.
22121         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22122         <alloca.h>.
22123         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22124         scratch_buffer instead of extend_alloca.
22125         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22126         grp/compat-initgroups.c.
22127         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22128         Rewrite to use struct scratch_buffer instead of extend_alloca.
22129         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22130         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22132 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22134         * math/auto-libm-test-in: Add more tests of cbrt.
22135         * math/auto-libm-test-out: Regenerated.
22136         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22138         * math/auto-libm-test-in: Add more tests of cabs.
22139         * math/auto-libm-test-out: Regenerated.
22140         * sysdeps/i386/fpu/libm-test-ulps: Update.
22141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22143         [BZ #18210]
22144         [BZ #18211]
22145         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22146         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22147         computations.
22148         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22149         clog10.
22150         * math/auto-libm-test-out: Regenerated.
22151         * sysdeps/i386/fpu/libm-test-ulps: Update.
22152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22154         [BZ #18197]
22155         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22156         (atan): Set FE_TONEAREST mode for internal computations.
22157         * math/auto-libm-test-in: Add more tests of atan.
22158         * math/auto-libm-test-out: Regenerated.
22160 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22162         [BZ #17930]
22163         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22165 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22167         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22169 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22171         * include/scratch_buffer.h: New file.
22172         * malloc/scratch_buffer_grow.c: Likewise.
22173         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22174         * malloc/scratch_buffer_set_array_size.c: Likewise.
22175         * malloc/tst-scratch_buffer.c: Likewise.
22176         * malloc/Makefile (routines): Add scratch_buffer_grow.
22177         (tests): Add test case.
22178         * malloc/Versions (GLIBC_PRIVATE): Export
22179         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22180         __libc_scratch_buffer_set_array_size.
22182 2015-04-06  Richard Henderson  <rth@redhat.com>
22184         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22185         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22187         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22188         unsigned int before printing.
22190 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22192         [BZ #17596]
22193         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22194         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22196 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22198         * include/libc-internal.h (libc_max_align_t): Define.
22200 2015-04-02  Andreas Schwab  <schwab@suse.de>
22202         [BZ #16850]
22203         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22205 2015-04-02  Mel Gorman  <mgorman@suse.de>
22207         [BZ #17195]
22208         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22209         as well as the main arena.
22211 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22213         [BZ #18185]
22214         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22215         sharing L2 cache to 2 for Silvermont/Knights Landing.
22217 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22219         [BZ #17711]
22220         * config.make.in (have-protected-data): New.
22221         * configure.ac: Check linker support for protected data symbol.
22222         * configure: Regenerated.
22223         * elf/Makefile (modules-names): Add tst-protected1moda and
22224         tst-protected1modb if $(have-protected-data) is yes.
22225         (tests): Add tst-protected1a and tst-protected1b if
22226         $(have-protected-data) is yes.
22227         ($(objpfx)tst-protected1a): New.
22228         ($(objpfx)tst-protected1b): Likewise.
22229         (tst-protected1modb.so-no-z-defs): Likewise.
22230         * elf/tst-protected1a.c: New file.
22231         * elf/tst-protected1b.c: Likewise.
22232         * elf/tst-protected1mod.h: Likewise.
22233         * elf/tst-protected1moda.c: Likewise.
22234         * elf/tst-protected1modb.c: Likewise.
22236 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22238         [BZ #17711]
22239         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22240         indicates it is called from do_lookup_x on relocation against
22241         protected data, skip the data definion in the executable from
22242         copy reloc.
22243         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22244         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22245         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22246         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22247         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22248         otherwise to 0.
22249         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22250         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22251         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22252         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22253         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22254         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22256 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22258         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22259         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22261 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22263         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22264         THREAD_SETMEM_NC.
22265         * sysdeps/x86_64/nptl/tls.h: Ditto.
22267 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22269         * dlfcn/tststatic.c (main): Converted to ...
22270         (do_test): ... this.
22271         (TEST_FUNCTION): New macro.
22272         Include test-skeleton.c.
22274 2015-03-26  Alan Modra  <amodra@gmail.com>
22276         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22277         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22278         zero for undefined weak.
22279         (elf_machine_plt_conflict): Similarly.
22281 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22283         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22284         atanh.
22285         * math/auto-libm-test-out: Regenerated.
22286         * sysdeps/i386/fpu/libm-test-ulps: Update.
22287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22289         * math/auto-libm-test-in: Add another test of asin.
22290         * math/auto-libm-test-out: Regenerated.
22291         * sysdeps/i386/fpu/libm-test-ulps: Update.
22292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22294         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22295         Remove macro.
22296         (LLL_EBX_REG): Likewise.
22297         (LLL_ENTER_KERNEL): Likewise.
22299         * math/auto-libm-test-in: Add more tests of asin.
22300         * math/auto-libm-test-out: Regenerated.
22301         * sysdeps/i386/fpu/libm-test-ulps: Update.
22302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22304         [BZ #18138]
22305         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22306         libc_do_syscall_args): New structure.
22307         (INTERNAL_SYSCALL_MAIN_0): New macro.
22308         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22309         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22310         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22311         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22312         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22313         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22314         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22315         Replace conditional definitions by conditional definitions of ....
22316         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22317         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22318         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22319         (libpthread-sysdep_routines): Add libc-do-syscall.
22320         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22321         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22322         to __NR_futex not 240.
22324 2015-03-25  Alan Modra  <amodra@gmail.com>
22326         * NEWS: Advertise TLS optimization.
22327         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22328         (DT_PPC_NUM): Increment.
22329         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22330         (CHECK_STATIC_TLS): Use here.
22331         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22332         TLS descriptors.
22333         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22334         * sysdeps/powerpc/dl-tls.c: New file.
22335         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22336         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22337         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22338         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22343 2015-03-25  Alan Modra  <amodra@gmail.com>
22345         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22346         for overlapping .opd entries" to "support...".
22347         * sysdeps/powerpc/powerpc64/configure: Regenerate
22349 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22351         * math/auto-libm-test-in: Add more tests of acos.
22352         * math/auto-libm-test-out: Regenerated.
22353         * sysdeps/i386/fpu/libm-test-ulps: Update.
22354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22356         * math/auto-libm-test-in: Add more tests of expm1.
22357         * math/auto-libm-test-out: Regenerated.
22358         * sysdeps/i386/fpu/libm-test-ulps: Update.
22359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22361 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22363         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22364         * math/auto-libm-test-out: Regenerated.
22365         * sysdeps/i386/fpu/libm-test-ulps: Update.
22366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22368         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22371         * math/auto-libm-test-in: Add more tests of log2.
22372         * math/auto-libm-test-out: Regenerated.
22373         * sysdeps/i386/fpu/libm-test-ulps: Update.
22374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22376 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22378         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22379         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22380         _IO_IS_APPENDING bit in READ_WRITE instead.
22382 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22384         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22385         (__determine_cpumask_size): Replace extend_alloca with a
22386         variable-length array.  Do not treat res == 0 as an error.
22388 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22390         [BZ #18100]
22391         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22392         and integer overflow.
22393         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22394         (main): Add integer overflow tests.
22395         * manual/pattern.texi (Calling Wordexp): Document additional use
22396         for WRDE_SYNTAX.
22398 2015-03-23  Alan Modra  <amodra@gmail.com>
22400         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22401         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22402         and false branch of conditional.
22403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22404         Likewise.
22406 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22408         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22409         libc-modules.h
22410         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22411         unused declaration of _hurd_intr_rpc_msg_in_trap.
22412         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22413         defined instead of whether it is non-zero.
22414         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22415         input constraint instead of both input and output constraint.  Use ecx
22416         clobber instead of %ecx.
22417         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22418         mutex_unlock): Use a statement expression instead of an expression list.
22419         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22420         type to vm_size_t instead of vm_address_t.
22421         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22422         defined instead of whether it is non-zero.
22423         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22424         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22425         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22426         comparisons with mapaddr.
22427         * nscd/nscd-client.h: Include <time.h>.
22428         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22429         9th parameter to __vm_region instead of int.
22430         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22431         * scripts/check-local-headers.sh (exclude): Add device/,
22432         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22433         cthreads.h.
22435 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22437         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22438         to account for alignment padding.
22439         * sysdeps/arm/memmove.S: Likewise.
22441 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22443         * sysdeps/unix/sysv/linux/generic/README: New file.
22445 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22447         [BZ #18138]
22448         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22449         (futex_abstimed_wait)
22450         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22451         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22452         of lll_futex_timed_wait.
22454 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22456         [BZ #17542]
22457         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22459 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22461         [BZ #17090]
22462         [BZ #17620]
22463         [BZ #17621]
22464         [BZ #17628]
22465         * NEWS: Update.
22466         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22467         entries with Static TLS too.  Skip entries past the end of the
22468         allocated DTV, from Alan Modra.
22469         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22470         Static TLS DTV entry set up from...
22471         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22472         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22473         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22474         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22475         for Static TLS.
22476         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22477         that the slot we find is associated with the given map before
22478         using its generation count.
22479         * nptl_db/db_info.c: Include ldsodefs.h.
22480         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22481         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22482         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22483         (link_map::l_tls_offset): New struct field.
22484         (dtv_t::counter): Likewise.
22485         (rtld_global): New struct.
22486         (_rtld_global): New rtld variable.
22487         (dl_tls_dtv_slotinfo_list): New rtld global field.
22488         (dtv_slotinfo_list): New struct.
22489         (dtv_slotinfo): Likewise.
22490         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22491         (td_lookup): Rename to...
22492         (td_mod_lookup): ... this.  Use new mod parameter instead of
22493         LIBPTHREAD_SO.
22494         * nptl_db/td_thr_tlsbase.c: Include link.h.
22495         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22496         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22497         addresses even if the DTV is out of date or missing them.
22498         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22499         index zero-length arrays.
22500         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22501         (td_lookup): Make it a macro implemented in terms of...
22502         (td_mod_lookup): ... this declaration.
22503         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22504         (DB_MAIN_VARIABLE): Likewise.
22506 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22508         [BZ #18134]
22509         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22511 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22513         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22515 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22517         [BZ #18128]
22518         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22519         (atomic_add, atomic_increment_and_test)
22520         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22522 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22524         * stdlib/setenv.c (__add_to_environ):
22525         Dump core quickly if setenv (..., NULL, ...) is called.
22527 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22529         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22530         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22531         all the necessary asm magic in one place.
22532         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22533         using those.
22535 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22537         [BZ #14906]
22538         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22539         traced file mtime. Use consistent log message.
22540         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22541         (register_traced_file): Call install_watches. Always set mtime.
22542         (invalidate_cache): Iterate over all trace files. Call install_watches.
22543         (inotify_check_files): Don't inline. Handle watching parent
22544         directories and configuration file movement in and out.
22545         (handle_inotify_events): New function.
22546         (main_loop_poll): Call handle_inotify_events.
22547         (main_loop_epoll): Likewise.
22548         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22549         (struct traced_file): Use array of inotify fds. Add parent directory,
22550         and basename.
22551         (struct database_dyn): Remove unused file_mtime.
22552         (init_traced_file): New inline function.
22553         (define_traced_file): New macro.
22554         * nss/nss_db/db-init.c: Use define_traced_file.
22555         (_nss_db_init): Use init_traced_file.
22556         * nss/nss_files/files-init.c: Use define_traced_file.
22557         (_nss_files_init): Use init_traced_file.
22559 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22561         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22562         [_LIBC]: Do not include <stdlib.h>.
22563         [!_LIBC] (abort): Remove declaration.
22564         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22565         _FP_STATIC_ASSERT instead of conditionally calling abort.
22566         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22567         (_FP_EXTEND_CNAN): Likewise.
22568         (FP_TRUNC): Likewise.
22569         (__FP_CLZ): Likewise.
22570         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22572 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22574         * manual/string.texi (XPG basename): Fix prototype.
22576 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22578         [BZ #18080]
22579         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22580         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22581         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22582         (__setcontext): Likewise.
22583         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22584         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22585         Call rt_sigprocmask syscall one time to set new signal mask
22586         and retrieve the current signal mask instead of two calls.
22587         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22588         (__swapcontext): Likewise.
22589         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22590         * stdlib/tst-setcontext2.c: New file.
22592 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22594         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22596 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22598         [BZ #18093]
22599         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22600         the wrong size.
22602 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22604         [BZ #18043]
22605         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22607 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22609         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22610         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22611         Remove define.
22612         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22613         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22614         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22615         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22616         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22617         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22618         define.
22619         * nptl_db/td_symbol_list.c (td_lookup): Remove
22620         HAVE_ASM_GLOBAL_DOT_NAME code.
22621         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22622         HAVE_ASM_GLOBAL_DOT_NAME check.
22623         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22624         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22625         (DOT_LABEL): Remove define.
22626         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22627         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22628         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22629         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22630         (__TLS_GET_ADDR): Likewise.
22631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22632         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22634 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22636         [BZ #18111]
22637         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22638         (_FPU_SETCW): Initialize cw from fpsr before storing.
22639         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22640         (fesetexceptflag): Rewrite using fpu_control.h.
22641         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22643 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22645         [BZ #18110]
22646         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22647         asms.
22648         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22650 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22652         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22653         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22654         abort.
22655         (_FP_FMA): Likewise.
22656         (_FP_DIV): Likewise.
22658 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22660         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22661         with 0 in that case.
22662         * Makefile (summarize-tests): New canned sequence, factored out of
22663         commands for targets tests and xtests.  Display summary lines that
22664         don't start with PASS: or XFAIL: rather than ones that do start with
22665         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22666         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22667         do start with ERROR: or FAIL:.
22668         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22669         (except for [$(build-shared) = yes]).
22670         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22671         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22672         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22673         * nptl/Makefile: Revert 2015-03-04 changes.
22674         [$(CXX) empty] (tests-unsupported): New variable.
22675         * debug/Makefile: Likewise.
22677         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22678         gnulib file.  Replace __attribute with __attribute__ throughout.
22680 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22682         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22684 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22686         [BZ #18104]
22687         * math/auto-libm-test-in: Add another test of pow.
22688         * math/auto-libm-test-out: Regenerated.
22690 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22692         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22693         $(config-cflags-nofma).
22695 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22697         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22698         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22699         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22700         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22701         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22702         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22703         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22704         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22705         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22706         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22707         Add comment on closing #endif.
22709 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22711         * posix/wordexp.c (CHAR_IN_SET): New macro.
22712         (parse_param): Use it.
22714 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22716         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22718 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22720         [BZ #18043]
22721         * posix/wordexp.c (parse_param): Fix buffer overflow.
22722         * posix/wordexp-test.c (test_case): Add test case.
22724 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22726         [BZ #18042]
22727         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22728         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22730 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22732         [BZ #18043]
22733         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22734         (do_bz18043): Delete.
22735         (at_page_end): New.
22736         (testit): Refactor to have words at the edge of unreadable page.
22738 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22740         [BZ #16734]
22741         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22742         Cleanup read-only streams as well.
22743         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22745 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22747         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22748         <bits/libc-lockP.h>
22750 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22752         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22753         on [__KERNEL__].
22754         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22755         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22756         * soft-fp/op-common.h (_FP_DECL): Likewise.
22758 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22760         * elf/ifuncdep2.c (global): Replace
22761         __attribute__((visibility("protected"))) with
22762         asm (".protected global").
22763         * elf/ifuncmod1.c (global): Likewise.
22764         * elf/ifuncmod5.c (global): Likewise.
22766 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22768         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22769         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22771 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22773         * manual/install.texi (Configuring and compiling):
22774         Document test-wrapper-env-only.
22775         * INSTALL: Regenerated.
22777 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22779         [BZ #18043]
22780         * posix/wordexp.c (parse_param): Fix buffer overflow.
22781         * posix/wordexp-test.c (do_bz18043): Add test case.
22783 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22785         * time/tst-strptime2.c (do_test): Ensure failing tests are
22786         reported correctly.
22787         * time/tst-strptime3.c (do_test): Likewise.
22789 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22791         Fix aio_error thread-safety.
22792         * sysdeps/pthread/aio_error.c: New file
22793         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22794         synchronization.
22796 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22798         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22799         (group_number, vfprintf): Use it.
22800         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22801         (JUMP, REF): Use it.
22802         (WORK_BUFFER_SIZE): New enum constant.
22803         (process_arg, vfprintf): Use it.
22805 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22807         * manual/errno.texi (Error Messages): Complete example function
22808         by adding missing #define.
22809         (program_invocation_name): Add statement indicating GNU
22810         extension and reference which header file declares the variable.
22811         (program_invocation_short_name): Likewise.
22813 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22815         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22816         compatibility note.
22818 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22820         * Makeconfig (test-wrapper-env-only): New variable.
22821         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22822         then use that with $(test-wrapper-env-only) rather than using
22823         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22825 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22827         [BZ #18082]
22828         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22829         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22830         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22831         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22832         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22833         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22834         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22835         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22836         Likewise.
22837         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22838         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22839         Likewise.
22840         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22841         Likewise.
22842         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22843         Likewise.
22844         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22845         Likewise.
22846         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22847         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22848         Likewise.
22849         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22850         Likewise.
22851         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22852         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22854 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22856         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22857         (ETH_ALEN): New macro.
22858         (struct ether_addr): Use it for length of ether_addr_octet.
22860         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22861         (setdb): Don't call __nss_configure_lookup for "rpc".
22862         (do_test): Don't call test_rpc.
22863         (output_rpcent, test_rpc): Functions moved ...
22864         * sunrpc/test-rpcent.c: ... to this new file.
22865         * sunrpc/Makefile (tests): Add it.
22867         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22868         __xpg_sigpause.
22869         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22870         * nptl/tst-signal6.c: Likewise.
22871         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22872         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22874         * configure.ac (libc_cv_cxx_link_ok): New check.
22875         Reset CXX to empty if it fails to link.
22876         * configure: Regenerated.
22877         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22878         bug-atexit3-lib only if $(CXX) is nonempty.
22879         * nptl/Makefile (tests): Likewise for tst-cancel24.
22880         (tests, tests-static): Likewise for tst-cancel24-static.
22881         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22882         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22883         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22884         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22886 2015-03-04  Andreas Schwab  <schwab@suse.de>
22888         [BZ #17631]
22889         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22890         for non-GCC compilers.
22891         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22892         Likewise.
22894 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22896         [BZ #17776]
22897         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22898         integer before bitwise and assembly operations.
22899         (feclearexcept): Likewise.
22900         * math/test-fenvinline.c: New file.
22901         * math/Makefile: Add test-fenvinline test.
22903 2015-03-03  Alan Modra  <amodra@gmail.com>
22905         [BZ #16512]
22906         * scripts/localplt.awk: Strip off symbol version.
22907         * NEWS: Mention bug fix.
22909 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22911         * sysdeps/pthread/timer_routines.c
22912         (timer_free_list, thread_free_list, thread_active_list): Make static.
22914 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22916         [BZ #17779]
22917         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22918         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22919         Undefine.
22920         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22921         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22922         Likewise.
22923         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22924         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22925         Likewise.
22927 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22929         [BZ #18036]
22930         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22931         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22933 2015-03-02  Andreas Schwab  <schwab@suse.de>
22935         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22936         variable name.
22938 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22940         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22941         Return error status.
22943 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22945         [BZ #15969]
22946         * locale/findlocale.c (_nl_find_locale): Introduce const
22947         version of loc_name and drop unsafe type casts.
22949 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22951         * dlfcn/tststatic2.c (main): Converted to ...
22952         (do_test): ... this.
22953         (TEST_FUNCTION): New macro.
22954         Include test-skeleton.c.
22956 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22958         [BZ #17711]
22959         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22960         (tests-pie): Add vismain.
22961         (CFLAGS-vismain.c): New.
22962         * elf/vismain.c: Add comments for PIE requirement.
22964 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22966         [BZ #18046]
22967         [BZ #18047]
22968         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22969         0x1p-56L as threshold for just returning the argument.
22970         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22971         0x1p-32L as threshold for just returning the argument.
22972         * math/auto-libm-test-in: Add more tests of atanh.
22973         * math/auto-libm-test-out: Regenerated.
22974         * sysdeps/i386/fpu/libm-test-ulps: Update.
22975         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22977 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22979         * string/bcopy.c (bcopy): Call memmove for performance.
22981 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22983         * string/bzero.c (__bzero): Call memset for performance.
22985 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22987         [BZ #18068]
22988         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22989         to 00100000.
22991 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22993         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22995 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22997         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22998         (__kernel_standard): Use CSTR macro when setting exc.name.
22999         * sysdeps/ieee754/Makefile [$(subdir) = math]
23000         (CFLAGS-k_standard.c): Remove variable.
23002         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23003         setting p and q from "else if" to "else".
23004         (qzero): Likewise.
23005         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23006         (qone): Likewise.
23007         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23008         (qzerof): Likewise.
23009         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23010         (qonef): Likewise.
23011         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23012         (qzero): Likewise.
23013         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23014         (qone): Likewise.
23016         [BZ #18038]
23017         [BZ #18039]
23018         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23019         return pi/2 for arguments below 0x1p-113L.
23020         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23021         return pi/2 for arguments below 0x1p-106L.
23022         * math/auto-libm-test-in: Add more tests of acos.
23023         * math/auto-libm-test-out: Regenerated.
23025         [BZ #16351]
23026         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23027         (MO): New macro.
23028         (__ieee754_asin): Force underflow exception for results with small
23029         absolute value.
23030         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23031         (MO): New macro.
23032         (__ieee754_asinf): Force underflow exception for results with
23033         small absolute value.
23034         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23035         (__ieee754_asin): Force underflow exception for results with small
23036         absolute value.
23037         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23038         (__ieee754_asinf): Force underflow exception for results with
23039         small absolute value.
23040         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23041         (__ieee754_asinl): Force underflow exception for results with
23042         small absolute value.
23043         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23044         (__ieee754_asinl): Force underflow exception for results with
23045         small absolute value.
23046         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23047         (__ieee754_asinl): Force underflow exception for results with
23048         small absolute value.
23049         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23050         Include <math.h>.
23051         * math/auto-libm-test-in: Do not mark underflow exceptions as
23052         possibly missing for bug 16351.
23053         * math/auto-libm-test-out: Regenerated.
23055         [BZ #18030]
23056         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23057         of power of 2 down when low part has opposite sign.
23058         * math/libm-test.inc (logb_test_data): Add more tests.
23060 2015-02-26  Andreas Schwab  <schwab@suse.de>
23062         [BZ #18032]
23063         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23064         over collating symbol inside a bracket expression.  Minor cleanup.
23065         * posix/tst-fnmatch3.c (do_test): Add test case.
23067 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23069         [BZ #18029]
23070         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23071         Adjust exponent of power of 2 down when low part has opposite
23072         sign.
23073         * math/libm-test.inc (ilogb_test_data): Add more tests.
23075 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23077         [BZ #15969]
23078         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23079         the previous change.
23081         [BZ #15969]
23082         * locale/findlocale.c (_nl_find_locale): Retry archive search
23083         after alias expansion.
23085 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23087         * iconv/tst-iconv3.c (main): Converted to ...
23088         (do_test): ... this.
23089         (TEST_FUNCTION): New macro.
23090         Include test-skeleton.c.
23092         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23093         (convert): Make function static.
23094         (test_unalign): Likewise.  Add const to argument pointee types.
23095         (main): Replace with static function do_test.
23096         Print "Succeeded." only if RET is zero.
23097         (TEST_FUNCTION): New macro.
23098         Include test-skeleton.c.
23100         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23101         returns a null pointer.
23103 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23105         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23106         to __memcpy_ppc only for static builds.
23108 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23110         [BZ #18020]
23111         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23112         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23113         * math/auto-libm-test-in: Add more tests of asinh.
23114         * math/auto-libm-test-out: Regenerated.
23115         * sysdeps/i386/fpu/libm-test-ulps: Update.
23116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23118 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23120         [BZ #15850]
23121         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23122         and ip6_mtuinfo definitions here.
23123         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23124         in this define too.  Update comment.
23126 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23128         * elf/sprof.c (load_shobj): Tweak error message to match others.
23130 2015-02-24  Kevin Easton  <kevin@guarana.org>
23132         [BZ #16145] (partial fix)
23133         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23134         to reduce lock contention.
23136 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23138         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23139         (struct timex): Update time comment.
23140         (ADJ_SETOFFSET): Define.
23142 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23144         [BZ #18019]
23145         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23146         2**56 not 2**28 as threshold for log (2x) formula.
23147         * math/auto-libm-test-in: Add more tests of acosh.
23148         * math/auto-libm-test-out: Regenerated.
23149         * sysdeps/i386/fpu/libm-test-ulps: Update.
23150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23152 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23154         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23155         parenthesis around the buf assignment.
23156         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23158 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23160         [BZ #16783]
23161         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23162         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23163         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23164         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23165         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23166         * math/libm-test.inc (scalb_test_data): Add more tests.
23168 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23170         [BZ #17916]
23171         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23172         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23174 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23176         [BZ #17523]
23177         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23178         * io/bits/fcntl2.h (open): Use it.
23179         (openat): Likewise.
23180         * io/open.c (__libc_open): Likewise.
23181         * io/open64.c (__libc_open64): Likewise.
23182         * io/open64_2.c (__open64_2): Likewise.
23183         * io/open_2.c (__open_2): Likewise.
23184         * io/openat.c (__openat): Likewise.
23185         * io/openat64.c (__openat64): Likewise.
23186         * io/openat64_2.c (__openat64_2): Likewise.
23187         * io/openat_2.c (__openat_2): Likewise.
23188         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23189         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23190         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23191         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23192         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23193         (__open_nocancel): Likewise.
23194         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23195         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23196         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23198 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23200         [BZ #14841]
23201         * resolv/gethnamaddr.c (getanswer): Skip logging if
23202         RES_USE_DNSSEC is set.
23203         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23205 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23207         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23209 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23211         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23212         201304L, for Unicode 7.
23214 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23216         [BZ #17836]
23217         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23218         shared library.  Add gmon-start.os otherwise.
23219         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23220         $(objpfx)gmon-start.os if builing shared library.
23221         ($(objpfx)g$(static-start-installed-name)): Likewise.
23223 2015-02-23  Andreas Schwab  <schwab@suse.de>
23225         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23227 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23229         [BZ #17269]
23230         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23231         (enlarge_userbuf): Likewise.
23233 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23235         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23236         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23237         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23238         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23240 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23242         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23243         expression inside statement expression.
23245 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23247         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23248         <sysdeps/nptl/lowlevellock.h> and remove macros and
23249         functions that are now defined there.
23250         (SYS_futex): Remove.
23251         (lll_compare_and_swap): Remove.
23252         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23254 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23256         [BZ #17999]
23257         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23258         instead of scandirat.
23259         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23260         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23261         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23262         __scandirat.
23263         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23264         (__scandirat): Declare.  Use libc_hidden_proto.
23265         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23266         Remove variable.
23267         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23269 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23271         [BZ #15319]
23272         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23273         (MO): New macro.
23274         (__ieee754_atan2): For results with small absolute value, force
23275         underflow exception and remove excess range and precision from
23276         return value.
23277         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23278         (MO): New macro.
23279         (__ieee754_atan2f): For results with small absolute value, force
23280         underflow exception and remove excess range and precision from
23281         return value.
23282         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23283         (MO): New macro.
23284         (__atan): For results with small absolute value, force underflow
23285         exception and remove excess range and precision from return value.
23286         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23287         (MO): New macro.
23288         (__atanf): For results with small absolute value, force underflow
23289         exception and remove excess range and precision from return value.
23290         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23291         <math.h>.
23292         (__ieee754_atan2): Force underflow exception for results with
23293         small absolute value.
23294         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23295         <math_private.h>.
23296         (atan): Force underflow exception for results with small absolute
23297         value.
23298         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23299         (__atanf): Force underflow exception for results with small
23300         absolute value.
23301         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23302         <math.h>.
23303         (__atanl): Force underflow exception for results with small
23304         absolute value.
23305         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23306         (__atanl): Force underflow exception for results with small
23307         absolute value.
23308         * sysdeps/x86/fpu/bits/mathinline.h
23309         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23310         (__ieee754_atan2): Only define inline for long double.
23311         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23312         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23313         * math/auto-libm-test-in: Do not mark underflow exceptions as
23314         possibly missing for bug 15319.  Add more tests of atan2.
23315         * math/auto-libm-test-out: Regenerated.
23316         * math/libm-test.inc (casin_test_data): Do not mark underflow
23317         exceptions as possibly missing for bug 15319.
23318         (casinh_test_data): Likewise.
23319         * sysdeps/i386/fpu/libm-test-ulps: Update.
23321 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23323         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23324         * sysdeps/mips/bits/endian.h: Fix comments.
23326 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23328         [BZ #17996]
23329         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23330         (hdestroy_r): Likewise.
23331         (hsearch_r): Likewise.
23332         (__hcreate_r): Declare and use libc_hidden_proto.
23333         (__hdestroy_r): Likewise.
23334         (__hsearch_r): Likewise.
23335         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23336         (hcreate): Call __hcreate_r instead of hcreate_r.
23337         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23338         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23339         as weak alias of __hcreate_r.
23340         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23341         __hdestroy_r.
23342         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23343         __hsearch_r.
23344         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23345         Remove variable.
23346         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23347         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23348         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23349         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23351 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23353         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23354         arena_lock into a single arena_get.
23356 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23358         * dl-reloc.c: Inlucde libc-internal.h.
23359         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23360         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23361         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23362         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23363         (grow_heap): Likewise.
23364         * malloc/malloc.c: Include libc-internal.h.
23365         (do_check_malloc): Call powerof2.
23366         (sysmalloc): Use pagesize. Call ALIGN_UP.
23367         (systrim): Use pagesize.
23368         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23369         (__libc_valloc): Use pagesize.
23370         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23372 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23374         [BZ #17991]
23375         * include/sys/resource.h (__getrlimit64): Declare.  Use
23376         libc_hidden_proto.
23377         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23378         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23379         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23380         getrlimit64.
23381         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23382         __getrlimit64.
23383         [!getrlimit64] (getrlimit64): Define as weak alias of
23384         __getrlimit64.  Use libc_hidden_weak.
23385         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23386         using __getrlimit64 not __new_getrlimit64.
23387         (__GI_getrlimit64): Likewise.
23388         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23389         Likewise.
23390         (__GI_getrlimit64): Likewise.
23391         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23393         (getrlimit): Add __getrlimit64 alias.
23394         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23395         Likewise.
23396         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23397         Remove variable.
23398         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23399         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23401 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23403         * libio/fileops.c: Add missing sys/mman.h
23404         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23406 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23408         * manual/math.texi (Errors in Math Functions): Clarify goals
23409         regarding inexact and underflow exceptions.
23411 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23413         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23414         * sysdeps/mips/memset.S: Ditto.
23416 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23418         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23420 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23422         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23423         (__v1longjmp): Remove versioned symbol.
23424         (__v1siglongjmp): Remove alias and versioned symbol.
23425         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23426         (__v2siglongjmp): Likewise.
23428 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23430         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23432 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23434         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23436 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23438         [BZ #17987]
23439         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23440         zero result does not depend on the sign resulting from
23441         subtraction.
23442         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23443         Likewise.
23444         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23445         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23446         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23447         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23448         * math/libm-test.inc (remquo_test_data): Add more tests.
23450 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23452         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23453         Problem reported by J William Piggott.
23455 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23457         [BZ #17978]
23458         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23459         products 4 * y and 2 * y where those would overflow.
23460         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23461         Likewise.
23462         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23463         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23464         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23465         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23466         * math/libm-test.inc (remquo_test_data): Add more tests.
23468         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23470         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23471         [defined _COMPILING_NEWLIB].
23472         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23473         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23475         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23476         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23478 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23480         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23481         acquired.
23483 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23485         [BZ #17792]
23486         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23487         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23488         HOST_STACK_END_ADDR): Likewise.
23490 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23492         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23493         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23494         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23496 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23498         * sysdeps/generic/c++-types.data: New file.
23499         * sysdeps/generic/ld.abilist: New file.
23500         * sysdeps/generic/libBrokenLocale.abilist: New file.
23501         * sysdeps/generic/libanl.abilist: New file.
23502         * sysdeps/generic/libc.abilist: New file.
23503         * sysdeps/generic/libcrypt.abilist: New file.
23504         * sysdeps/generic/libdl.abilist: New file.
23505         * sysdeps/generic/libm.abilist: New file.
23506         * sysdeps/generic/libpthread.abilist: New file.
23507         * sysdeps/generic/libresolv.abilist: New file.
23508         * sysdeps/generic/librt.abilist: New file.
23510 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23512         [BZ #17569]
23513         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23514         Compute absolute value of x as modified by fmod, not original
23515         value of x.
23516         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23517         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23518         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23519         RUN_TEST_ffI_f1_mod8.
23520         (remquo_test_data): Add more tests.
23522 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23524         * sysdeps/init_array/pt-crti.S: New file.
23526 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23528         [BZ #17967]
23529         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23530         __builtin_fmaf instead of relying on contraction of a * b + c.
23532 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23534         [BZ #17969]
23535         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23536         node.
23538 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23540         [BZ #17964]
23541         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23542         __builtin_fma instead of relying on contraction of a * b + c.
23544 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23546         * Makeconfig (ASFLAGS): Add -Werror=undef.
23547         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23548         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23549         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23551         * Makeconfig (after-link): New variable.
23552         (+link-pie, +link-pie-tests): Use it.
23553         (+link-static, +link-static-tests): Likewise.
23554         (+link, +link-tests): Likewise.
23555         * Makerules (build-module, build-module-asneeded): Likewise.
23556         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23557         Likewise.
23558         * elf/Makefile ($(objpfx)ld.so): Likewise.
23560 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23562         [BZ #17965]
23563         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23564         both struct timeval and struct timespec.
23566 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23568         [BZ #16560]
23569         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23570         and redefine.
23571         (__ieee754_exp2l): Do not multiply small fractional parts by
23572         M_LN2l.
23573         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23574         small argument.
23575         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23576         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23577         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23578         * math/auto-libm-test-in: Add more tests of exp2.
23579         * math/auto-libm-test-out: Regenerated.
23581 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23583         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23584         unaligned path.
23586 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23588         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23589         little endian.
23591 2015-02-12  Andreas Schwab  <schwab@suse.de>
23593         [BZ #15790]
23594         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23595         Filter out elision flags from value returned in kind.
23596         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23597         * nptl/tst-pthread-mutexattr.c: New file.
23599 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23601         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23602         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23603         into gnu-gnu, and update comment to refer to abi-tags.
23605 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23607         [BZ #15467]
23608         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23609         (__sincos): Set errno to EDOM for infinite argument.
23610         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23611         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23612         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23613         (__sincosl): Set errno to EDOM for infinite argument.
23614         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23615         (__sincosl): Set errno to EDOM for infinite argument.
23616         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23617         (__sincosl): Set errno to EDOM for infinite argument.
23618         * math/libm-test.inc (sincos_test_data): Test errno setting.
23620 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23622         * string/strxfrm_l.c: Remove #define STRCMP.
23623         * string/strcoll_l.c: Remove #define STRLEN.
23624         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23625         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23627 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23629         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23630         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23631         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23632         * sysdeps/mips/mips64/Makefile: ... here.
23633         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23634         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23635         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23636         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23637         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23638         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23639         * sysdeps/mips/mips64/n64/Implies: Likewise.
23641 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23643         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23644         <sys/time.h>, <string.h>, and <errno.h>.
23645         (dest_offset, dest_address, value, zero): Remove unused variables.
23646         (ldouble): Remove typedef.
23647         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23648         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23649         1).  Fix code style.
23650         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23651         (check): Function removed.
23652         (CHECK): New macro.
23653         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23654         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23655         Don't call set_sigaction_FP and remove_sigaction_FP here.
23656         (ldouble_test): Just use 'long double' as macro argument, no need for
23657         the 'ldouble' typedef.
23658         (do_test): Set up SIGFPE handler at start, using plain signal rather
23659         than sigaction.  Fix code style.
23661 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23663         [BZ #17949]
23664         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23665         jump label.
23667 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23669         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23670         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23672         * sysdeps/powerpc/configure.ac: Remove file.
23673         * sysdeps/powerpc/configure: Likewise.
23675         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23676         [sysdep_routines]: Remove wordcopy-power6 object.
23677         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23678         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23679         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23680         (__memmove_ppc32): Likewise.
23681         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23682         file.
23683         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23684         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23685         Remove preprocessor.
23687         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23688         [sysdep_routines]: Remove wide chars objects.
23689         [wcsmbs]: New rule for wide char objects.
23691         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23692         Remove wordcopy-power6 obejct.
23693         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23694         Use local call for wordcopy and memcpy symbols.
23695         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23696         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23697         implementation for loader.
23698         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23700         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23701         Remove wordcopy-power7 object.
23702         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23703         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23704         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23705         (_wordcopy_fwd_dest_aligned): Likewise.
23706         (_wordcopy_bwd_aligned): Likewise.
23707         (_wordcopy_bwd_dest_aligned): Likewise.
23709         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23710         Rewrite to call __memmove_ppc instead of include default
23711         implementation.
23713         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23714         Remove wide chars objects.
23715         [wcsmbs]: New rule for wide char objects.
23717 2015-02-09  Andreas Schwab  <schwab@suse.de>
23719         [BZ #17912]
23720         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23721         in terms of __O_DIRECTORY.
23723 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23725         * time/getdate.c: Include <stdbool.h>.
23726         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23727         call PTR_MANGLE.
23728         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23729         PTR_DEMANGLE.
23731 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23733         Add ersatz _Static_assert on older C hosts
23734         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23735         pre-C11 C platform that is not known to support _Static_assert.
23737 2015-02-07  Richard Braun  <rbraun@sceen.net>
23739         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23740         sigstate.
23741         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23743 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23745         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23746         priority against unexistent AIO_PRIO_DELTA_MAX.
23747         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23748         instead of int.
23749         * misc/fchflags.c (fchflags): Likewise.
23750         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23751         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23752         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23753         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23754         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23755         Declare macros.
23756         [__USE_MISC] (chflags, fchflags): Declare functions.
23757         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23758         EINVAL when nfds is greater than FD_SETSIZE.
23759         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23760         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23761         45.
23762         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23763         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23764         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23765         MACH_RCV_TIMED_OUT.
23766         * hurd/hurd/signal.h (_hurd_self_sigstate,
23767         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23768         Explicit casts from void *.
23769         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23770         * abi-tags: Rename gnu-gnu os into gnu.
23772         [BZ #4719]
23773         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23774         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23775         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23776         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23777         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23778         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23780         [BZ #17944]
23781         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23782         duplicates ADDR->sun_path with sockaddr LEN limitation.
23783         * sysdeps/mach/hurd/connect.c: Include <string.h>
23784         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23785         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23786         * sysdeps/mach/hurd/sendto.c: Likewise.
23787         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23788         implementing it by hand.
23790 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23792         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23793         Use sfi_breg on ldr.
23794         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23795         Likewise.
23797         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23798         it's defined.
23799         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23800         Test SIGSETXID only if it's defined.
23802         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23804         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23805         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23807         * nptl/tst-align2.c: Moved ...
23808         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23809         * nptl/Makefile (tests): Remove tst-align2.
23810         * sysdeps/unix/sysv/linux/Makefile
23811         [$(subdir) = nptl] (tests): Add tst-align-clone.
23812         * nptl/tst-getpid1.c: Moved ...
23813         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23814         * nptl/tst-getpid2.c: Moved ...
23815         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23816         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23817         * sysdeps/unix/sysv/linux/Makefile
23818         [$(subdir) = nptl] (tests): ... here.
23819         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23820         * sysdeps/unix/sysv/linux/Makefile
23821         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23823         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23824         Drop trailing \n from perror argument.  Use return rather than exit.
23826         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23827         on [SA_SIGINFO].
23828         * nptl/tst-cancel21.c (do_test): Likewise.
23829         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23830         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23831         [!SA_SIGINFO]: Make it a stub test.
23833         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23834         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23836         * posix/tst-getlogin.c: Move to ...
23837         * login/tst-getlogin.c: ... here.
23838         * posix/Makefile (tests): Move tst-getlogin to ...
23839         * login/Makefile (tests): ... here.
23841         * libio/tst-atime.c (do_test): Move local variables SV and E
23842         inside [ST_NOATIME] conditional.
23844         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23846         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23848         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23849         (wait_code): New function replaces macro.
23850         Call nanosleep rather than syscall.
23852         * nptl/pt-system.c: Rewritten.  Put everything under
23853         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23854         Use IFUNC to redirect when possible.
23856         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23857         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23858         Use IFUNC to redirect when possible.
23860         * nptl/pt-fork.c: Rewritten.  Put everything under
23861         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23862         Use IFUNC to redirect when possible.
23863         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23865         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23866         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23867         unconditionally nowadays.  This included the only reference to
23868         __vdso_clock_gettime that appears outside libc proper.
23869         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23870         Remove version set (containing only __vdso_clock_gettime).
23871         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23872         Add attribute_hidden.
23873         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23874         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23875         libc_hidden_data_def.
23876         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23877         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23879         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23880         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23881         setrpcent, and getrpcport to ...
23882         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23883         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23884         getrpcbynumber_r, and getrpcent_r to ...
23885         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23886         * inet/getrpcbyname.c: Moved ...
23887         * sunrpc/getrpcbyname.c: ... here.
23888         * inet/getrpcbyname_r.c: Moved ...
23889         * sunrpc/getrpcbyname_r.c: ... here.
23890         * inet/getrpcbynumber.c: Moved ...
23891         * sunrpc/getrpcbynumber.c: ... here.
23892         * inet/getrpcbynumber_r.c: Moved ...
23893         * sunrpc/getrpcbynumber_r.c: ... here.
23894         * inet/getrpcent.c: Moved ...
23895         * sunrpc/getrpcent.c: ... here.
23896         * inet/getrpcent_r.c: Moved ...
23897         * sunrpc/getrpcent_r.c: ... here.
23898         * inet/Makefile (routines): Move those to ...
23899         * sunrpc/Makefile (routines): ... here.
23900         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23901         the $(subdirs) list.
23902         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23903         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23904         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23905         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23907         * elf/Makefile (routines): Include $(all-dl-routines), not just
23908         $(dl-routines).
23909         (rtld-routines): Likewise.  Use = rather than :=.
23910         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23911         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23912         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23913         * sysdeps/arm/Makefile: Likewise.
23914         * sysdeps/i386/Makefile: Likewise.
23915         * sysdeps/x86_64/Makefile: Likewise.
23916         * sysdeps/hppa/Makefile [$(subdir) = elf]
23917         (sysdep_routines, sysdep-rtld-routines): Don't add
23918         $(sysdep-dl-routines) to these.
23919         * sysdeps/ia64/Makefile: Likewise.
23920         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23921         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23922         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23923         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23924         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23925         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23926         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23927         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23928         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23929         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23930         these; sysdep-dl-routines alone is enough.
23932 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23934         [BZ #17932]
23935         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23936         where multiplication results in zero and third argument is finite
23937         and nonzero.
23938         * math/auto-libm-test-in: Add more tests of fma.
23939         * math/auto-libm-test-out: Regenerated.
23941         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23942         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23943         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23944         (_FP_CMP_EQ): Likewise.
23945         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23947         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23948         extra argument CHECK_NAN.  Redefine as wrapper around
23949         _FP_EXTEND_CNAN.
23951 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23953         * version.h (RELEASE): Set to "stable".
23954         (VERSION): Set to "2.21"
23955         * include/features.h (__GLIBC_MINOR__): Set to 21.
23957         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23959 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23960             Paul Eggert  <eggert@cs.ucla.edu>
23962         [BZ #16618]
23963         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23964         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23965         size in bytes. Store needed elements in wpmax. Use needed size
23966         in bytes for extend_alloca.
23968 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23970         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23971         binutls 2.25, and texinfo 5.2.
23972         * INSTALL: Regenerate.
23973         * sysdeps/nios2/configure: Regenerate.
23974         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23975         * manual/contrib.texi: Update.
23976         * po/be.po: Update.
23977         * po/bg.po: Update.
23978         * po/ca.po: Update.
23979         * po/cs.po: Update.
23980         * po/da.po: Update.
23981         * po/de.po: Update.
23982         * po/el.po: Update.
23983         * po/eo.po: Update.
23984         * po/es.po: Update.
23985         * po/fi.po: Update.
23986         * po/fr.po: Update.
23987         * po/gl.po: Update.
23988         * po/hr.po: Update.
23989         * po/hu.po: Update.
23990         * po/ia.po: Update.
23991         * po/id.po: Update.
23992         * po/it.po: Update.
23993         * po/ja.po: Update.
23994         * po/ko.po: Update.
23995         * po/lt.po: Update.
23996         * po/nb.po: Update.
23997         * po/nl.po: Update.
23998         * po/pl.po: Update.
23999         * po/pt_BR.po: Update.
24000         * po/ru.po: Update.
24001         * po/rw.po: Update.
24002         * po/sk.po: Update.
24003         * po/sl.po: Update.
24004         * po/sv.po: Update.
24005         * po/tr.po: Update.
24006         * po/uk.po: Update.
24007         * po/vi.po: Update.
24008         * po/zh_CN.po: Update.
24009         * po/zh_TW.po: Update.
24011         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24012         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24013         * sysdeps/hppa/dl-irel.h: Remove #warning.
24014         * sysdeps/hppa/entry.h: Provide prototype for
24015         __canonicalize_funcptr_for_compare and cast argument.
24016         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24017         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24018         * sysdeps/hppa/sotruss-lib.c: New file.
24019         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24020         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24021         (atomic_compare_and_exchange_bool_acq): Likewise.
24022         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24023         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24025         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24026         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24027         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24029 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24031         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24032         called function in non-PIC case.
24034 2015-01-31  David S. Miller  <davem@davemloft.net>
24036         * sysdeps/sparc/sparc32/bits/atomic.h
24037         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24038         unlock not after it.
24039         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24040         volatile register usage warnings from the compiler.
24042         * sysdeps/sparc/nptl/sem_init.c: Delete.
24043         * sysdeps/sparc/nptl/sem_post.c: Delete.
24044         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24045         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24046         * sysdeps/sparc/sparc32/sem_init.c: New file.
24047         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24048         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24049         padding explicitly initialized.
24050         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24051         padding for in-semaphore spinlock.
24052         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24053         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24054         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24055         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24056         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24057         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24058         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24059         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24060         version.
24061         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24062         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24064 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24066         [BZ #17801]
24067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24068         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24069         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24070         New.
24071         (index_AVX_Fast_Unaligned_Load): Likewise.
24072         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24073         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24074         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24075         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24076         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24077         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24078         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24079         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24080         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24082 2015-01-29  Andreas Schwab  <schwab@suse.de>
24084         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24086 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24088         [BZ #17892]
24089         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24091 2015-01-28  Martin Sebor  <msebor@redhat.com>
24093         * math/README.libm-test: Clarify. Add "How to read the test output."
24095 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24097         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24098         Define to 0.
24100 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24102         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24103         (__HAVE_64B_ATOMICS): Define to 0.
24105 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24107         [BZ #17885]
24108         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24109         value to set as new flag.
24111         [BZ #16576]
24112         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24113         and use _ARCH_PPCSQ instead.
24114         (__ieee754_sqrt): Likewise.
24115         (__ieee754_sqrtf): Likewise.
24116         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24117         _ARCH_PPCSQ is defined.
24118         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24119         fsqrt instruction.
24120         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24121         _ARCH_PPCSQ is defined.
24122         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24123         fsqrts instruction.
24124         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24126 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24128         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24129         bug (GCC BZ #64739).
24131 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24133         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24134         Mark _retval as used.
24135         (lll_futex_wake_unlock): Likewise.
24136         (lll_futex_timed_wait_requeue_pi): Likewise.
24138         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24139         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24140         register variables.
24142         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24143         libm_hidden_def.
24145         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24146         (__bswap_64): Mark as __always_inline.
24148 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24150         [BZ #15378]
24151         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24152         when none of the search directories exist.
24154 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24156         [BZ #17869]
24157         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24158         power8 in .machine directive.
24160         [BZ #17868]
24161         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24162         set dependency from opd value.
24164 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24167         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24168         architecture.
24170 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24172         [BZ #17870]
24173         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24174         with uint64_t.
24175         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24176         (uint64_t) 1.
24177         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24178         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24179         Replace 1UL with (uint64_t) 1.
24180         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24181         int with uint64_t.
24183 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24185         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24186         (if_freenameindex): Likewise.
24188         * resource/getrlimit64.c: Add missing libc_hidden_def.
24190 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24192         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24193         __label__.
24194         (_FP_FMA): Likewise.
24195         (_FP_TO_INT_ROUND): Likewise.
24196         (_FP_FROM_INT): Likewise.
24198 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24200         [BZ #16418]
24201         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24202         Make code racy and cancel safe.
24204 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24206         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24207         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24208         attribution.
24210         * pwd/tst-getpw.c: Rewrite.
24212         [BZ #17702]
24213         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24214         (modules-names): Add moddummy1 and moddummy2.
24215         ($(objpfx)tst-rec-dlopen): Define.
24216         * dlfcn/moddummy1.c: New file.
24217         * dlfcn/moddummy2.c: New file.
24218         * dlfcn/tst-rec-dlopen.c: New file.
24219         * elf/dl-cache.c (_dl_load_cache_lookup):
24220         Return char*. Copy result with alloca/strcpy/strdup.
24221         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24222         returns char*. Free cached. If not saving realname
24223         free cached.
24224         * elf/dl-open.c (dl_open_worker): Do not assert that
24225         _r_debug->r_state is RT_CONSISTENT.
24226         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24227         returns char*.
24229 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24230             Carlos O'Donell  <carlos@redhat.com>
24232         [BZ #12674]
24233         * nptl/sem_waitcommon.c: New file.
24234         * nptl/sem_wait.c: Include sem_waitcommon.c.
24235         (__sem_wait_cleanup, do_futex_wait): Remove.
24236         (__new_sem_wait): Adapt.
24237         (__new_sem_trywait): New function.
24238         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24239         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24240         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24241         (sem_timedwait): Adapt.
24242         * nptl/sem_post.c (__new_sem_post): Adapt.
24243         (futex_wake): New function.
24244         (__old_sem_post): Add release MO fence.
24245         * nptl/sem_open.c (sem_open): Adapt.
24246         * nptl/sem_init.c (__new_sem_init): Adapt.
24247         (futex_private_if_supported): New function.
24248         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24249         (__old_sem_getvalue): Add using previous code.
24250         * sysdeps/nptl/internaltypes.h: Adapt.
24251         * nptl/tst-sem13.c (do_test): Adapt.
24252         * nptl/tst-sem11.c (main): Adapt.
24253         * nptl/sem_trywait.c: Remove.
24254         * nptl/DESIGN-sem.txt: Remove.
24255         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24256         (gen-as-const-headers): Remove structsem.sym.
24257         * nptl/structsem.sym: Remove.
24258         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24259         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24260         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24261         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24262         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24263         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24264         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24265         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24266         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24267         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24268         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24269         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24270         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24271         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24272         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24273         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24274         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24275         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24276         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24277         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24278         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24279         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24281 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24283         * INSTALL: Regenerated.
24285         * po/libc.pot: Regenerated.
24287 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24288             Sandra Loosemore  <sandra@codesourcery.com>
24289             Andrew Jenner  <andrew@codesourcery.com>
24290             Joseph Myers  <joseph@codesourcery.com>
24291             Nathan Sidwell  <nathan@codesourcery.com>
24293         * NEWS: Mention new Nios II port.
24294         * sysdeps/nios2/Implies: New file.
24295         * sysdeps/nios2/Makefile: New file.
24296         * sysdeps/nios2/Subdirs: New file.
24297         * sysdeps/nios2/Versions: New file.
24298         * sysdeps/nios2/__longjmp.S: New file.
24299         * sysdeps/nios2/abort-instr.h: New file.
24300         * sysdeps/nios2/backtrace.c: New file.
24301         * sysdeps/nios2/bits/endian.h: New file.
24302         * sysdeps/nios2/bits/fenv.h: New file.
24303         * sysdeps/nios2/bits/link.h: New file.
24304         * sysdeps/nios2/bits/setjmp.h: New file.
24305         * sysdeps/nios2/bsd-_setjmp.S: New file.
24306         * sysdeps/nios2/bsd-setjmp.S: New file.
24307         * sysdeps/nios2/configure: New generated file.
24308         * sysdeps/nios2/configure.ac: New file.
24309         * sysdeps/nios2/crti.S: New file.
24310         * sysdeps/nios2/crtn.S: New file.
24311         * sysdeps/nios2/dl-init.c: New file.
24312         * sysdeps/nios2/dl-machine.h: New file.
24313         * sysdeps/nios2/dl-sysdep.h: New file.
24314         * sysdeps/nios2/dl-tls.h: New file.
24315         * sysdeps/nios2/dl-trampoline.S: New file.
24316         * sysdeps/nios2/gccframe.h: New file.
24317         * sysdeps/nios2/gmp-mparam.h: New file.
24318         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24319         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24320         * sysdeps/nios2/ldsodefs.h: New file.
24321         * sysdeps/nios2/libc-tls.c: New file.
24322         * sysdeps/nios2/libm-test-ulps: New file.
24323         * sysdeps/nios2/machine-gmon.h: New file.
24324         * sysdeps/nios2/math-tests.h: New file.
24325         * sysdeps/nios2/math_private.h: New file.
24326         * sysdeps/nios2/memusage.h: New file.
24327         * sysdeps/nios2/nptl/Makefile: New file.
24328         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24329         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24330         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24331         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24332         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24333         * sysdeps/nios2/nptl/tls.h: New file.
24334         * sysdeps/nios2/preconfigure: New file.
24335         * sysdeps/nios2/s_fma.c: New file.
24336         * sysdeps/nios2/s_fmaf.c: New file.
24337         * sysdeps/nios2/setjmp.S: New file.
24338         * sysdeps/nios2/sfp-machine.h: New file.
24339         * sysdeps/nios2/sotruss-lib.c: New file.
24340         * sysdeps/nios2/stackguard-macros.h: New file.
24341         * sysdeps/nios2/stackinfo.h: New file.
24342         * sysdeps/nios2/start.S: New file.
24343         * sysdeps/nios2/sysdep.h: New file.
24344         * sysdeps/nios2/tls-macros.h: New file.
24345         * sysdeps/nios2/tst-audit.h: New file.
24346         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24347         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24348         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24349         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24350         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24351         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24352         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24353         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24354         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24355         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24356         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24357         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24358         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24359         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24360         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24361         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24362         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24363         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24364         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24365         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24366         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24367         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24368         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24369         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24370         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24371         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24372         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24373         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24374         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24375         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24376         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24377         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24378         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24379         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24380         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24381         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24382         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24383         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24384         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24385         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24386         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24387         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24388         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24389         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24391 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24393         [BZ #17844]
24394         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24395         (getutent): Use weak_alias in non SHARED case
24396         and default_symbol_version in SHARED case.
24397         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24398         (getutent_r, pututline): Likewise.
24399         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24400         (getutid): Likewise.
24401         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24402         (getutid_r): Likewise.
24403         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24404         (getutline): Likewise.
24405         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24406         (getutline_r): Likewise.
24407         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24408         (updwtmp): Likewise.
24410 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24412         [BZ #17848]
24413         * sysdeps/s390/s390-32/memcmp.S
24414         (memcmp_g5): Rename to __memcmp_g5.
24415         * sysdeps/s390/s390-32/memcpy.S
24416         (memcpy_g5): Rename to __memcpy_g5.
24417         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24418         (memcpy_mvcle) Rename to __memcpy_mvcle.
24419         * sysdeps/s390/s390-32/memset.S
24420         (memset_g5): Rename to __memset_g5.
24421         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24422         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24423         and use prefixed functions.
24424         * sysdeps/s390/s390-32/multiarch/memcmp.S
24425         (memcmp_z196): Rename to __memcmp_z196.
24426         (memcmp_z10): Rename to __memcmp_z10.
24427         (memcmp): Set alias to __memcmp_g5.
24428         (bcmp): Set alias to __memcmp_g5.
24429         * sysdeps/s390/s390-32/multiarch/memcpy.S
24430         (memcpy_z196): Rename to __memcpy_z196.
24431         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24432         (memcpy_z10): Rename to __memcpy_z10.
24433         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24434         (memcpy): Set alias to __memcpy_g5.
24435         * sysdeps/s390/s390-32/multiarch/memset.S
24436         (memset_z196): Rename to __memset_z196.
24437         Jump to __memset_mvcle instead of memset_mvcle.
24438         (memset_z10): Rename to __memset_z10.
24439         Jump to __memset_mvcle instead of memset_mvcle.
24440         (memset_mvcle) Rename to __memset_mvcle.
24441         (memset): Set alias to __memset_g5.
24442         * sysdeps/s390/s390-64/memcmp.S
24443         (memcmp_z900): Rename to __memcmp_z900.
24444         * sysdeps/s390/s390-64/memcpy.S
24445         (memcpy_z900): Rename to __memcpy_z900.
24446         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24447         (memcpy_mvcle) Rename to __memcpy_mvcle.
24448         * sysdeps/s390/s390-64/memset.S
24449         (memset_z900): Rename to __memset_z900.
24450         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24451         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24452         and use prefixed functions.
24453         * sysdeps/s390/s390-64/multiarch/memcmp.S
24454         (memcmp_z196): Rename to __memcmp_z196.
24455         (memcmp_z10): Rename to __memcmp_z10.
24456         (memcmp): Set alias to __memcmp_z900.
24457         (bcmp): Set alias to __memcmp_z900.
24458         * sysdeps/s390/s390-64/multiarch/memcpy.S
24459         (memcpy_z196): Rename to __memcpy_z196.
24460         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24461         (memcpy_z10): Rename to __memcpy_z10.
24462         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24463         (memcpy): Set alias to __memcpy_z900.
24464         * sysdeps/s390/s390-64/multiarch/memset.S
24465         (memset_z196): Rename to __memset_z196.
24466         Jump to __memset_mvcle instead of memset_mvcle.
24467         (memset_z10): Rename to __memset_z10.
24468         Jump to __memset_mvcle instead of memset_mvcle.
24469         (memset_mvcle) Rename to __memset_mvcle.
24470         (memset): Set alias to __memset_z900.
24472 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24474         [BZ #17748]
24475         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24476         __fesetenv instead of fesetenv.
24478 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24480         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24481         macro.
24483 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24485         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24486         regression on LE.
24488         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24489         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24490         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24491         strncmp-power8 object.
24492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24493         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24494         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24495         * NEWS: Update.
24497 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24498             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24500         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24501         trailing byte check.
24503 2015-01-13  David S. Miller  <davem@davemloft.net>
24505         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24507 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24509         * login/logout.c (logout): Use memset rather than bzero.
24510         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24511         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24512         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24513         (_gethtbyaddr): Likewise.
24514         * locale/programs/simple-hash.c (bcopy): Macro removed.
24516 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24518         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24519         Add strcmp-power8 object.
24520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24521         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24522         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24523         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24524         __strcmp_power8 implementation.
24525         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24526         * NEWS: Update.
24528         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24529         Add strncpy-power8 and stpncpy-power8 objects.
24530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24531         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24532         implementations.
24533         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24534         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24535         __stpncpy_power8 implementation.
24536         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24537         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24538         __strncpy_power8 implementation.
24539         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24540         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24541         * NEWS: Update.
24543         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24544         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24545         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24547         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24548         strncat-power8 object.
24549         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24550         __strcat_power8 implementation.
24551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24552         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24553         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24554         optimized strcat for power8.
24556         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24557         strcpy-power8 and stpcpy-power8 objects.
24558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24559         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24560         implementations.
24561         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24562         multiarch stpcpy implementation for POWER8.
24563         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24564         multiarch strcpy implementation for POWER8.
24565         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24566         __strcpy_power8 function.
24567         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24568         stpcpy for POWER8.
24569         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24570         strcpy for POWER8.
24571         * NEWS: Update.
24573 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24575         [BZ #16009]
24576         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24577         weights and rules. Use do_xfrm_cached if data fits in cache,
24578         do_xfrm otherwise.  Moved former main loop to...
24579         * (do_xfrm_cached): New function.
24580         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24581         find_idx, find_position and stack_push.
24582         * (find_idx): New function.
24583         * (find_position): Likewise.
24584         * localedata/sort-test.sh: Added test run for do_xfrm.
24585         * localedata/xfrm-test.c (main): Added command line option
24586         -nocache to run the test with strings that are too large for
24587         the STRXFRM cache.
24589 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24591         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24592         variable to lll_futex_wake call, not the value itself.
24594 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24596         [BZ #17803]
24597         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24598         twom64.  Adjust value to 0x1p-64L.
24599         (__scalblnl): Only return standard underflowing result for K <=
24600         -64 not K <= -63; adjust exponent for underflowing result by 64
24601         not 63.
24602         * math/libm-test.inc (scalbn_test_data): Add more tests.
24603         (scalbln_test_data): Likewise.
24605         [BZ #17834]
24606         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24607         0x1p63L.
24608         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24609         not HX.
24610         * math/libm-test.inc (scalbn_test_data): Add more tests.
24611         (scalbln_test_data): Likewise.
24613 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24614             Stefani Seibold  <stefani@seibold.net>
24616         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24617         (sysdep_routines): Add dl-vdso here, ...
24618         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24619         (sysdep_routines): ... not here.
24620         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24621         fallback when vDSO is not presented.
24622         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24623         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24624         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24625         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24626         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24627         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24628         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24629         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24630         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24631         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24632         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24633         fallback configurable symbol when vDSO is not available.
24634         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24635         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24636         be able to redefine fallback symbol when vDSO is not available.
24637         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24638         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24640 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24642         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24643         (TLS_INIT_TP): Add tm_capable initialization.
24644         (TLS_DEFINE_INIT_TP): Likewise.
24645         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24646         TCB.
24647         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24648         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24649         calculation.
24650         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24651         transactoion is lock elision is built and TCB tm_capable is set.
24652         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24654         (INTERNAL_SYSCALL_NCS): Likewise.
24655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24656         (INTERNAL_SYSCALL_NCS): Likewise.
24657         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24659         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24660         for powerpc.
24661         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24662         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24663         and remove it for 32 bits case.
24664         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24665         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24666         initialization.
24667         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24668         Disable lock elision with rdlocks if elision is not available.
24670         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24671         (sysdep_routines): Add lock elision objects.
24672         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24673         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24674         [pthread_mutex_t] (__elision): Add field.
24675         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24676         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24677         elision definitions for powerpc.
24678         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24679         implementation of lock elision for powerpc.
24680         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24681         implementation of timed lock elision for powerpc.
24682         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24683         implementation of trylock with lock elision for powerpc.
24684         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24685         implementaion of unlock for lock elision for powerpc.
24686         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24687         automatic enable lock elision for mutexes.
24688         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24689         transaction execution definitions for powerpc.
24690         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24691         definitions.
24692         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24693         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24694         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24695         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24696         * NEWS: Update.
24698 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24700         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24701         for #include of <shm-directory.h>.
24703 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24705         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24706         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24708 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24710         [BZ #17791]
24711         * NEWS: Mention bug fix.
24712         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24713         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24714         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24716 2015-01-09  Torvald Riegel <triegel@redhat.com>
24718         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24720 2015-01-09  Torvald Riegel <triegel@redhat.com>
24722         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24724 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24726         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24727         pointer and cast to uintptr_t.
24729 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24731         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24732         removed.
24733         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24735 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24737         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24738         of 0.
24740 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24742         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24743         <nptl/pthreadP.h> instead.
24744         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24746         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24747         already defined.
24748         [__SIGRTMIN] (init): Function removed.
24749         [__SIGRTMIN] (initialized): Variable removed.
24750         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24751         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24752         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24753         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24754         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24755         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24756         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24757         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24758         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24759         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24760         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24761         * sysdeps/nptl/allocrtsig.c: New file.
24762         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24763         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24764         * sysdeps/generic/testrtsig.h: File removed.
24766         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24767         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24769         * nptl/nptl-init.c (pthread_functions): Conditionalize
24770         .ptr__nptl_setxid initialization on [SIGSETXID].
24772         * sysdeps/nptl/sys/procfs.h: New file.
24773         * nptl_db/Makefile (headers): Add it.
24774         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24776         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24777         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24778         * nptl/pthread_attr_setaffinity.c: Include it.
24779         * nptl/pthread_setattr_default_np.c: Likewise.
24780         * nptl/check-cpuset.h: New file.
24782 2015-01-08  Richard Henderson  <rth@redhat.com>
24784         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24785         (CFLAGS-tst-execstack-prog.c): Likewise.
24786         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24788 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24789             Sandra Loosemore  <sandra@codesourcery.com>
24790             Andrew Jenner  <andrew@codesourcery.com>
24791             Joseph Myers  <joseph@codesourcery.com>
24792             Nathan Sidwell  <nathan@codesourcery.com>
24794         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24795         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24796         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24797         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24798         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24799         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24800         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24801         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24802         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24803         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24804         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24805         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24806         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24807         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24808         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24809         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24810         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24812 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24814         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24815         timespec struct member in syscall macro.
24816         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24817         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24818         first timeval struct member in syscall macro.
24819         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24821 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24823         [BZ #17748]
24824         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24825         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24826         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24827         __feupdateenv and define as weak alias of __feupdateenv.  Use
24828         libm_hidden_weak.
24829         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24830         libm_hidden_def.
24831         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24832         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24833         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24834         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24835         libm_hidden_def.
24836         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24837         __feupdateenv and define as weak alias of __feupdateenv.  Use
24838         libm_hidden_weak.
24839         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24840         libm_hidden_def.
24841         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24842         __feupdateenv and define as weak alias of __feupdateenv.  Use
24843         libm_hidden_weak.
24844         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24845         libm_hidden_def.
24846         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24847         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24848         (__feupdateenv): Likewise.
24849         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24850         __feupdateenv and define as weak alias of __feupdateenv.  Use
24851         libm_hidden_weak.
24852         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24853         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24854         libm_hidden_def.
24855         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24856         function.
24857         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24858         libm_hidden_def.
24859         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24860         __feupdateenv instead of feupdateenv.
24861         (default_libc_feupdateenv_test): Likewise.
24862         (libc_feresetround_ctx): Likewise.
24864 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24866         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24867         prototype.
24869 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24871         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24872         COLL_SYM in a couple of places to avoid uninitialized variable
24873         wanings on tilegx gcc 4.8.2.
24875 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24877         * sysdeps/aarch64/strcpy.S: New file.
24878         * sysdeps/aarch64/stpcpy.S: New file.
24879         * NEWS: Updated.
24881 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24883         * sysdeps/aarch64/strrchr.S: New file.
24884         * NEWS: Updated.
24886 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24888         [BZ #17658]
24889         * stdlib/setenv.c: Fix memory leak when setting large,
24890         duplicate string.
24892 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24894         [BZ #17273]
24895         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24896         and tabs from buffer before parsing fstab entry.
24897         * misc/tst-mntent.c (main): Add test for mount entry with
24898         trailing spaces and tabs.
24900 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24902         [BZ #17748]
24903         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24904         * math/fesetround.c (fesetround): Rename to __fesetround and
24905         define as weak alias of __fesetround.  Use libm_hidden_weak.
24906         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24907         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24908         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24909         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24910         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24911         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24912         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24913         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24914         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24915         __fesetround_inline.
24916         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24917         __fesetround_inline instead of __fesetround.
24918         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24919         __fesetround and define as weak alias of __fesetround.  Use
24920         libm_hidden_weak.  Call __fesetround_inline instead of
24921         __fesetround.
24922         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24923         __fesetround and define as weak alias of __fesetround.  Use
24924         libm_hidden_weak.
24925         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24926         Likewise.
24927         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24928         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24929         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24930         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24931         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24932         __fesetround and define as weak alias of __fesetround.  Use
24933         libm_hidden_weak.
24934         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24935         __fesetround instead of fesetround.
24936         (default_libc_feholdexcept_setround): Likewise.
24937         (libc_feholdsetround_ctx): Likewise.
24938         (libc_feholdsetround_noex_ctx): Likewise.
24940         [BZ #17748]
24941         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24942         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24943         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24944         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24945         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24946         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24947         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24948         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24949         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24950         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24951         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24952         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24953         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24954         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24955         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24956         libm_hidden_def.
24957         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24958         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24959         Likewise.
24960         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24961         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24962         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24963         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24964         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24965         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24966         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24967         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24968         __fesetenv instead of fesetenv.
24969         (libc_feresetround_noex_ctx): Likewise.
24970         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24971         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24972         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24973         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24974         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24975         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24976         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24977         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24978         (__feupdateenv): Likewise.
24979         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24980         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24981         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24982         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24984 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24986         [BZ #17806]
24987         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24988         addresses have been freed.
24990 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24992         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24993         and nservall.
24995 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24997         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24998         Clean up check_pf allocation pattern. addresses
25000 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25002         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25003         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25004         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25005         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25006         * nptl/pthread_join.c (pthread_join): Likewise.
25007         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25008         * sysdeps/posix/waitid.c (__waitid): Likewise.
25009         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25010         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25011         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25012         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25013         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25014         Likewise.
25015         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25016         (__libc_pread64): Likewise.
25017         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25018         (__libc_pwrite): Likewise.
25019         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25020         (__libc_pwrite64): Likewsie.
25021         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25022         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25023         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25024         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25025         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25026         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25027         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25029         Likewise.
25030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25031         (__libc_pread64): Likewise.
25032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25033         Likewise.
25034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25035         (__libc_pwrite64): Likewise.
25036         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25037         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25038         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25039         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25040         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25041         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25042         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25043         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25044         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25045         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25046         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25047         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25048         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25049         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25050         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25051         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25052         Likewise.
25054 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25056         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25057         (CFLAGS-test-double.c): Likewise.
25058         (CFLAGS-test-ldouble.c): Likewise.
25059         (CPPFLAGS-test-ifloat.c): Likewise.
25060         (CPPFLAGS-test-idouble.c): Likewise.
25061         (CPPFLAGS-test-ildoubl.c): Likewise.
25062         (CFLAGS-test-test-fenv.c): Remove variable.
25063         (CFLAGS-test-misc.c): Likewise.
25065 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25067         [BZ #17797]
25068         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25069         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25070         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25071         CLOCKS_PER_SEC == 1000000.
25072         * time/clocktest.c (main): Replace %ld with %jd and cast to
25073         intmax_t.
25075 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25077         * sysdeps/generic/unwind-resume.h: New file.
25078         * sysdeps/gnu/unwind-resume.c: Include it.
25079         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25080         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25081         argument list.
25082         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25083         global rather than static.
25084         (_Unwind_Resume): Update user.
25085         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25086         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25087         rather than static.  Add __attribute__ ((cold)).
25088         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25089         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25090         * sysdeps/arm/arm-unwind-resume.S: New file.
25091         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25092         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25093         * sysdeps/arm/Makefile [$(subdir) = csu]
25094         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25095         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25096         Add rt-arm-unwind-resume.
25097         [$(subdir) = nptl]
25098         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25099         Add pt-arm-unwind-resume.
25100         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25101         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25103 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25105         [BZ #17748]
25106         * include/fenv.h (__feholdexcept): Declare.  Use
25107         libm_hidden_proto.
25108         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25109         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25110         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25111         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25112         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25113         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25114         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25115         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25116         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25117         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25118         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25119         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25120         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25121         (feholdexcept): Likewise.
25122         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25123         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25124         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25125         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25126         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25127         __feholdexcept instead of feholdexcept.
25128         (default_libc_feholdexcept_setround): Likewise.
25130 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25132         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25133         to avoid using stl/str to align destination.
25135 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25137         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25139 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25141         [BZ #17796]
25142         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25143         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25144         Define as weak alias not strong alias.
25146 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25148         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25149         bltzal with addiupc.
25150         (RTLD_START): Ditto.
25152 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25154         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25155         for __vdso_* functions in declarations.
25156         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25157         definitions.
25158         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25159         INTERNAL_VSYSCALL): Use struct return types to check for error.
25161         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25162         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25163         function with cast from llround().
25164         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25165         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25166         Define.
25168 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25170         [BZ #17793]
25171         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25172         Define as weak alias not strong alias.
25174         [BZ #17635]
25175         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25176         ...
25177         * ctype/ctype-extn.c: ... here.
25178         (__isblank_l): Move to ...
25179         * ctype/ctype-c99_l.c: ... here.  New file.
25180         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25181         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25182         Remove variable.
25183         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25184         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25185         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25186         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25187         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25189         [BZ #17777]
25190         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25191         (posix_fadvise64): Define as weak alias not strong alias.
25192         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25193         (posix_fallocate64): Likewise.
25194         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25195         Remove variable.
25196         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25197         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25198         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25199         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25200         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25202 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25204         [BZ #16191]
25205         * NEWS: Mention bug fix.
25206         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25207         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25208         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25209         (HOST_STACK_END_ADDR): Likewise.
25211 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25213         [BZ #17748]
25214         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25215         * math/fegetround.c (fegetround): Rename to __fegetround and
25216         define as weak alias of __fegetround.  Use libm_hidden_weak.
25217         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25218         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25219         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25220         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25221         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25222         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25223         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25224         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25225         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25226         Undefine after rather than before function definition; use
25227         parentheses around function name in definition.
25228         (__fegetround): Also undefine macro after function definition.
25229         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25230         __fegetround and define as weak alias of __fegetround.  Use
25231         libm_hidden_weak.  Do not undefine as macro.
25232         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25233         Likewise.
25234         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25235         __fegetround and define as weak alias of __fegetround.  Use
25236         libm_hidden_weak.
25237         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25238         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25239         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25240         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25241         __fegetround and define as weak alias of __fegetround.  Use
25242         libm_hidden_weak.
25243         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25244         __fegetround instead of fegetround.
25246         [BZ #17782]
25247         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25248         Condition macro definition on [__USE_MISC].
25250         [BZ #17781]
25251         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25252         (struct sigaction): Change type of sa_flags field to int.
25254         [BZ #17780]
25255         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25256         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25257         __glibc_reserved0.
25259         * nptl/version.c (banner): Use single year in copyright notice.
25261         * NEWS: Update copyright dates.
25262         * catgets/gencat.c (print_version): Likewise.
25263         * csu/version.c (banner): Likewise.
25264         * debug/catchsegv.sh: Likewise.
25265         * debug/pcprofiledump.c (print_version): Likewise.
25266         * debug/xtrace.sh (do_version): Likewise.
25267         * elf/ldconfig.c (print_version): Likewise.
25268         * elf/ldd.bash.in: Likewise.
25269         * elf/pldd.c (print_version): Likewise.
25270         * elf/sotruss.sh: Likewise.
25271         * elf/sprof.c (print_version): Likewise.
25272         * iconv/iconv_prog.c (print_version): Likewise.
25273         * iconv/iconvconfig.c (print_version): Likewise.
25274         * locale/programs/locale.c (print_version): Likewise.
25275         * locale/programs/localedef.c (print_version): Likewise.
25276         * login/programs/pt_chown.c (print_version): Likewise.
25277         * malloc/memusage.sh (do_version): Likewise.
25278         * malloc/memusagestat.c (print_version): Likewise.
25279         * malloc/mtrace.pl: Likewise.
25280         * manual/libc.texinfo: Likewise.
25281         * nptl/version.c (banner): Likewise.
25282         * nscd/nscd.c (print_version): Likewise.
25283         * nss/getent.c (print_version): Likewise.
25284         * nss/makedb.c (print_version): Likewise.
25285         * posix/getconf.c (main): Likewise.
25286         * scripts/test-installation.pl: Likewise.
25287         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25289 2015-01-02  Will Newton  <will.newton@linaro.org>
25291         * sysdeps/arm/armv7/configure: Removed.
25292         * sysdeps/arm/armv7/configure.ac: Likewise.
25294 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25296         * All files with FSF copyright notices: Update copyright dates
25297         using scripts/update-copyrights.
25298         * intl/plural.c: Regenerated.
25299         * locale/programs/charmap-kw.h: Likewise.
25300         * locale/programs/locfile-kw.h: Likewise.
25302 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25304         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25306 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25308         [BZ #17748]
25309         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25310         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25311         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25312         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25313         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25314         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25315         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25316         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25317         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25318         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25319         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25320         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25321         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25322         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25323         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25324         libm_hidden_def.
25325         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25326         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25327         Likewise.
25328         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25329         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25330         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25331         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25332         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25333         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25334         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25335         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25336         __fegetenv instead of fegetenv.
25337         (libc_feholdsetround_noex_ctx): Likewise.
25339 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25341         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25342         (Elf_MIPS_ABIFlags_v0): New structure.
25343         (EF_MIPS_FP64): Define.
25344         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25345         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25346         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25347         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25348         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25349         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25350         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25351         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25352         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25353         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25354         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25355         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25356         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25357         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25358         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25359         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25360         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25361         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25362         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25363         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25364         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25365         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25366         field.
25367         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25368         EF_MIPS_FP64.
25369         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25370         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25371         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25372         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25373         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25374         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25375         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25376         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25377         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25378         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25379         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25380         record the current FP ABI extension.
25381         (mips-mode-switch): Define to show if kernel headers support mode
25382         switching.
25383         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25384         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25385         supported SYSV ABI version to 3.
25386         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25387         feature.
25389 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25390             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25392         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25393         path.
25394         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25396 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25398         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25399         __fegetround and redefine to call __fegetround.  Remove condition
25400         on [!__NO_MATH_INLINES].
25401         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25402         function.
25403         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25404         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25405         Remove macro.
25406         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25407         instead of <fenv_libc.h>.
25408         (__llrintl): Call fegetround instead of __fegetround.
25409         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25410         instead of <fenv_libc.h>.
25411         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25412         (__lrintl): Call fegetround instead of __fegetround.
25413         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25414         instead of <fenv_libc.h>.
25415         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25416         (__rintl): Call fegetround instead of __fegetround.
25418 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25420         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25421         arrays.
25423 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25425         [BZ #17775]
25426         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25427         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25428         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25430 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25432         * sysdeps/i386/tls-macros.h: Include <features.h>.
25433         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25434         (TLS_IE): Likewise.
25435         (TLS_LD): Likewise.
25436         (TLS_GD): Likewise.
25437         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25438         define for GCC >= 5.0.
25440 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25442         * math/test-fenv.c (test_single_exception, set_single_exc,
25443         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25444         feexcp_mask_test, feenable_test, fe_single_test): Add
25445         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25446         case where they are not used.
25447         * math/libm-test.inc: Likewise.
25448         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25449         unused in the absence of FP rounding/exception support.
25450         * stdio-common/tst-printf-round.c: Likewise.
25451         * stdlib/tst-strtod-round.c: Likewise.
25452         * stdlib/tst-strtod-underflow.c: Likewise.
25454 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25456         [BZ #17723]
25457         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25458         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25459         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25460         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25461         libm_hidden_weak.
25462         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25463         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25464         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25465         libm_hidden_def.
25466         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25467         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25468         libm_hidden_weak.
25469         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25470         Likewise.
25471         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25472         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25473         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25474         libm_hidden_weak.
25475         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25476         libm_hidden_def.
25477         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25478         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25479         (__feraiseexcept): Likewise.
25480         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25481         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25482         libm_hidden_weak.
25483         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25484         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25485         libm_hidden_def.
25486         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25487         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25488         Use libm_hidden_def.
25489         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25490         libm_hidden_def.
25491         (feraiseexcept): Define as weak not strong alias.  Use
25492         libm_hidden_weak.
25493         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25494         New inline function.  Factored out of ...
25495         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25496         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25497         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25498         feraiseexcept.
25499         * math/w_acos.c (__acos): Likewise.
25500         * math/w_asin.c (__asin): Likewise.
25501         * math/w_ilogb.c (__ilogb): Likewise.
25502         * math/w_j0.c (y0): Likewise.
25503         * math/w_j1.c (y1): Likewise.
25504         * math/w_jn.c (yn): Likewise.
25505         * math/w_log.c (__log): Likewise.
25506         * math/w_log10.c (__log10): Likewise.
25507         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25508         * sysdeps/aarch64/fpu/math_private.h
25509         (libc_feupdateenv_test_aarch64): Likewise.
25510         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25511         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25512         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25513         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25514         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25515         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25516         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25517         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25518         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25519         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25521 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25523         [BZ #17732]
25524         * io/test-utime.c (main): Replace %ld with %jd and cast to
25525         intmax_t.
25526         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25527         * nptl/tst-mutex5.c: Include <stdint.h>.
25528         (do_test): Replace %ld with %jd and cast to intmax_t.
25529         * posix/tst-regex.c (run_test): Likewise.
25530         (run_test_backwards): Likewise.
25531         * rt/tst-clock.c: Include <stdint.h>.
25532         (clock_test): Replace %ld with %jd and cast to intmax_t.
25533         * rt/tst-cpuclock1.c: Include <stdint.h>.
25534         (do_test): Replace %lu with %ju and cast to uintmax_t.
25535         * rt/tst-cpuclock2.c: Include <stdint.h>.
25536         (do_test): Replace %lu with %ju and cast to uintmax_t.
25537         * rt/tst-mqueue1.c: Include <stdint.h>.
25538         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25539         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25540         intmax_t.
25541         * rt/tst-mqueue4.c (do_test): Likewise.
25542         * rt/tst-timer4.c: Include <stdint.h>.
25543         (check_ts): Replace %ld with %jd and cast to intmax_t.
25544         (do_test): Likewise.
25545         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25546         and cast to intmax_t.
25547         * sysdeps/pthread/tst-timer.c (main): Likewise.
25548         * time/clocktest.c (main): Likewise.
25549         * time/tst-posixtz.c (do_test): Likewise.
25550         * timezone/tst-timezone.c (main): Likewise.
25552 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25553             H.J. Lu  <hongjiu.lu@intel.com>
25555         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25556         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25557         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25558         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25559         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25560         version if bit_Fast_Unaligned_Load is set.
25561         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25562         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25563         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25564         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25565         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25566         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25567         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25568         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25569         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25570         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25571         to 4.
25572         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25573         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25574         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25575         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25577 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25579         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25580         instead of #if to avoid a Wundef warning.
25581         * stdlib/tst-limits.c (do_test): Likewise.
25583         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25584         parallel other exception macros.
25585         (fegetenv): Convert from macro to extern inline so that it applies
25586         retroactively to inline functions already seen by the compiler.
25587         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25589         * posix/Makefile (before-compile): Use $(objpfx) for
25590         posix-conf-vars-def.h.
25592 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25594         * posix/getconf.c (main): Use size_t for type of I.
25595         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25596         NSPEC.
25598         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25599         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25600         * posix/posix-envs.def: Likewise.
25601         * sysdeps/posix/sysconf.c: Likewise.
25602         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25603         (specs): Remove array.
25604         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25605         array.
25607         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25608         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25609         (__sysconf): Use CONF_IS_* macros.
25611         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25612         ($(objpfx)posix-conf-vars-def.h): New target.
25613         * posix/posix-conf-vars.list: New file.
25614         * posix/posix-conf-vars.h: New file.
25615         * posix/confstr.c: Include posix-conf-vars.h.
25616         (confstr): Use CONF_IS_* macros.
25617         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25618         CONF_IS_* macros.
25619         * scripts/gen-posix-conf-vars.awk: New file.
25621 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25623         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25624         fegetround): Add no-op macros to avoid linknamespace issues.
25626         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25627         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25629         * sysdeps/unix/sysv/linux/tile/sysdep.h
25630         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25631         assembly-specific section to avoid a redefinition warning.
25633         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25634         long before casting to pointer to avoid a cast warning.
25636 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25638         * sysdeps/tile/tilegx/Implies: New file.
25640 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25642         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25644 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25646         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25648 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25650         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25651         not define.
25652         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25653         <kernel-features.h>.
25654         (__utimes) [__NR_utimes]: Make code unconditional.
25655         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25656         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25657         (__ASSUME_UTIMES): Do not undefine.
25658         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25659         (__ASSUME_UTIMES): Likewise.
25660         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25661         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25662         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25663         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25665 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25667         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25669 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25671         [BZ #17747]
25672         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25673         alias to weak alias for j0l, y0l.
25674         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25675         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25677         [BZ #17746]
25678         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25679         conversion.
25681 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25683         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25684         to zero if not already defined.
25686 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25688         [BZ #17724]
25689         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25690         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25691         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25692         (char *) casts added.
25693         * sysdeps/ieee754/k_standardf.c: New file.
25694         * sysdeps/ieee754/k_standardl.c: Likewise.
25695         * math/Makefile (libm-support): Remove k_standard.
25696         (libm-calls): Add k_standard.
25698 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25700         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25701         Optimize to avoid an unnecessary FPCR read.
25703 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25705         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25706         Optimize to reduce FPCR/FPSR accesses.
25708 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25710         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25711         Call libc_fetestexcept_aarch64.
25713 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25715         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25716         Call libc_fesetround_aarch64.
25718 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25720         [BZ #17733]
25721         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25722         (__bind): Do not define as weak alias.
25723         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25724         define.
25725         (__getsockname): Do not define as weak alias.
25727 2014-12-22  Will Newton  <will.newton@linaro.org>
25729         * manual/install.texi: Document that we require bison 2.7
25730         or above.
25731         * INSTALL: Regenerate.
25732         * configure.ac: Use AC_CHECK_PROG_VER instead of
25733         AC_PATH_PROG when checking for bison and check for
25734         version 2.7 or above.
25735         * configure: Regenerate.
25737 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25739         [BZ #17745]
25740         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25741         * sysdeps/tile/ffsll.c (ffsll): To here.
25743         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25745 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25747         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25748         if not defined.
25749         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25750         definition.
25751         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25752         hidden ___tls_get_addr.
25753         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25754         hidden __tls_get_addr.
25755         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25756         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25757         Likewise.
25759 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25761         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25762         _dl_init call.
25764 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25766         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25767         from "call _dl_init@PLT".
25768         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25770 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25772         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25773         guarantees.
25775 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25777         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25779 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25781         [BZ #17744]
25782         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25783         strnlen.
25785 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25787         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25788         of multu on MIPSr6.
25789         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25790         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25791         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25792         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25793         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25795 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25797         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25798         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25799         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25800         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25801         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25802         mips32r6/mips64r6.
25803         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25805 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25807         * string/strncat.c (STRNCAT): Simplify implementation.
25809 2014-12-19  David S. Miller  <davem@davemloft.net>
25811         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25812         access the quad as both a long double and as a series of 4 words.
25814         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25815         link_map->l_info array access.
25817 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25819         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25821         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25822         * math/atest-exp2.c (TIMEOUT): Likewise.
25823         * math/atest-sincos.c (TIMEOUT): Likewise.
25825 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25827         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25828         -Wno-error with -fno-builtin-lround.
25830 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25832         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25833         Contains futex constants and functions moved over from ...
25834         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25835         <lowlevellock-futex.h>.
25836         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25837         (lll_timedwait_tid): Add comments and parentheses around macro
25838         arguments.
25840 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25842         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25843         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25844         (__lll_private_flag): Remove.
25845         (lll_futex_wait): Likewise.
25846         (lll_futex_timed_wait): Likewise.
25847         (lll_futex_wake): Likewise.
25848         (lll_futex_requeue): Likewise.
25849         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25850         (__lll_timedwait_tid): Spell out argument names.
25851         (lll_timedwait_tid): Add comments and parentheses around macro
25852         arguments.
25853         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25854         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25856 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25858         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25859         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25860         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25861         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25862         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25863         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25864         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25865         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25866         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25867         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25868         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25869         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25870         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25871         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25872         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25873         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25874         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25875         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25876         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25878 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25880         * sysdeps/x86_64/x32/Makefile: New file.
25882 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25884         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25885         1L with (mp_limb_t) 1.
25887 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25889         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25890         * nptl/libc_pthread_init.c: ... here.
25891         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25892         * nptl/register-atfork.c: ... here.
25894         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25895         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25896         Use assert_perror to check its return value.
25897         (__gai_create_helper_thread): Likewise.
25899         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25901         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25903 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25905         [BZ #17725]
25906         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25907         __profil_counter.
25908         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25909         Likewise.
25910         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25911         Likewise.
25912         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25913         Likewise.
25914         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25915         (profil_counter): Likewise.
25916         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25917         (profil_counter): Likewise.
25918         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25919         Likewise.
25920         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25921         Likewise.
25922         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25923         (profil_counter): Likewise.
25924         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25925         Likewise.
25926         [!__profil_counter] (profil_counter): Define as weak alias of
25927         __profil_counter.
25928         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25929         (profil_counter): Rename to __profil_counter.
25930         [!__profil_counter] (profil_counter): Define as weak alias of
25931         __profil_counter.
25932         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25933         (profil_counter): Rename to __profil_counter.
25934         [!__profil_counter] (profil_counter): Define as weak alias of
25935         __profil_counter.
25936         * sysdeps/posix/profil.c: Update comment referring to
25937         profil_counter.
25938         (__profil): Use __profil_counter instead of profil_counter.
25939         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25940         __profil_counter.  Use __profil_counter_ushort and
25941         __profil_counter_uint in definitions.
25942         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25943         instead of profil_counter_uint and profil_counter_ushort.
25945         [BZ #17722]
25946         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25947         define as weak alias of __inet_makeaddr.
25948         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25949         as weak alias of __inet_addr.
25950         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25951         as weak alias of __inet_pton.  Use libc_hidden_weak.
25952         * include/arpa/inet.h (__inet_pton): Declare.  Use
25953         libc_hidden_proto.
25954         (inet_makeaddr): Don't use libc_hidden_proto.
25955         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25956         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25957         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25958         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25959         Remove variable.
25960         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25961         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25963 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25965         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25967 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25969         * stdio-common/bug-vfprintf-nargs.c (do_test):
25970         Cast value to intptr_t to avoid format warning
25971         for usage with PRIdPTR printing macro.
25973 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25975         * libio/tst-widetext.c (do_test):
25976         Use format type %td instead of %Zd for ptrdiff_t
25977         in order to avoid format warning.
25979 2014-12-17  Andreas Schwab  <schwab@suse.de>
25981         * nscd/mem.c (gc): Add size_t cast to match printf format.
25983 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25985         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25986         (init): Apply PTR_MANGLE to pointers before storing them.
25987         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25988         before using them.
25990 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25992         [BZ #17719]
25993         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25994         define as weak alias of __memrchr.
25995         (__memrchr): Do not define as strong alias of memrchr.
25996         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25997         Remove variable.
25998         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25999         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26000         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26002         [BZ #17717]
26003         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26004         define as weak alias of __if_nametoindex.  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         (if_freenameindex): Rename to __if_freenameindex and define as
26008         weak alias of __if_freenameindex.
26009         (if_nameindex): Rename to __if_nameindex and define as weak alias
26010         of __if_nameindex.
26011         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26012         __if_nametoindex and define as weak alias of __if_nametoindex.
26013         Use libc_hidden_weak.
26014         (if_freenameindex): Rename to __if_freenameindex and define as
26015         weak alias of __if_freenameindex.
26016         (if_nameindex): Rename to __if_nameindex and define as weak alias
26017         of __if_nameindex.
26018         (if_indextoname): Rename to __if_indextoname and define as weak
26019         alias of __if_indextoname.  Use libc_hidden_weak.
26020         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26021         __if_nametoindex and define as weak alias of __if_nametoindex.
26022         Use libc_hidden_weak.
26023         (if_freenameindex): Rename to __if_freenameindex and define as
26024         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26025         (if_nameindex_netlink): Use __if_freenameindex instead of
26026         if_freenameindex.
26027         (if_nameindex): Rename to __if_nameindex and define as weak alias
26028         of __if_nameindex.  Use libc_hidden_weak.
26029         (if_indextoname): Rename to __if_indextoname and define as weak
26030         alias of __if_indextoname.  Use libc_hidden_weak.
26031         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26032         libc_hidden_proto.
26033         [!_ISOMAC] (__if_freenameindex): Likewise.
26034         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26035         if_nametoindex.
26036         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26037         variable.
26038         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26039         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26040         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26041         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26042         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26043         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26044         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26046         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26047         Remove variable.
26048         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26049         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26051 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26053         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26054         subscript above bounds'
26056         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26057         bounds.
26059 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26061         * libio/tst-fopenloc.c: Use test-skeleton.c.
26063         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26064         (entry): Rename to ITEM.
26065         (do_test, comp): Adjust.
26067         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26069 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26071         * string/tester.c: Include <libc-internal.h>.
26072         (test_memset): Ignore -Wmemset-transposed-args.
26074 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26076         * misc/tst-mntent2.c (do_test): Fix warning.
26078 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26080         * elf/tst-unique4lib.cc(a): Mark as used.
26082 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26084         [BZ #17630]
26085         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26086         names.
26088 2014-12-16  Allan McRae  <allan@archlinux.org>
26090         * stdio-common/Makefile (tests): Re-add bug26.
26092 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26094         [BZ #17657]
26095         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26096         static array.
26098 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26100         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26101         (__lll_lock_wait): Likewise.
26102         (__lll_timedlock_wait): Likewise.
26103         (__lll_timedwait_tid): Likewise.
26104         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26105         (__lll_robust_timedlock_wait): Likewise.
26106         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26107         (lll_cond_trylock): Likewise.
26108         (__lll_lock): Likewise.
26109         (__lll_robust_lock): Likewise.
26110         (__lll_cond_lock): Likewise.
26111         (lll_robust_cond_lock): Likewise.
26112         (__lll_timedlock): Likewise.
26113         (__lll_robust_timedlock): Likewise.
26114         (__lll_unlock): Likewise.
26115         (__lll_robust_unlock): Likewise.
26116         (lll_wait_tid): Likewise.
26117         (lll_timedwait_tid): Likewise.
26119 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26121         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26123 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26125         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26127 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26129         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26130         * stdio-common/tst-sprintf.c: Likewise.
26132 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26134         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26136 2014-12-15  Jeff Law  <law@redhat.com>
26138         [BZ #16617]
26139         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26140         on the heap.  (CVE-2012-3406)
26141         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26142         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26143         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26145 2014-12-15  Will Newton  <will.newton@linaro.org>
26147         * manual/install.texi: Bump required version of texinfo
26148         to 4.7 from 4.5.
26149         * INSTALL: Regenerated.
26150         * configure.ac: Check for makeinfo version 4.7 and above.
26151         * configure: Regenerated.
26153 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26155         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26156         PREFIX, string constant to insert between directory and name.
26157         * sysdeps/posix/shm_open.c: Update caller.
26158         * sysdeps/posix/shm_unlink.c: Likewise.
26159         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26160         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26161         (SEM_SHM_PREFIX): New macro.
26162         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26163         [$(have-thread-library) = no].
26164         * nptl/Makefile (libpthread-routines): Add shm-directory.
26165         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26166         * sysdeps/nptl/shm-directory.h: New file.
26167         * sysdeps/posix/shm-directory.c
26168         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26169         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26170         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26171         INTERNAL_SYSCALL.
26172         (__where_is_shmfs): Function removed.
26173         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26174         Variables removed.
26175         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26176         Use SHM_GET_NAME.
26177         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26179         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26180         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26181         unconditional for use inside libpthread.
26182         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26184 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26186         * nptl/pthread_getaffinity.c: New file.
26187         * nptl/pthread_setaffinity.c: New file.
26188         * nptl/pthread_getname.c: New file.
26189         * nptl/pthread_setname.c: New file.
26191         * nptl/pthread_create.c (START_THREAD_DEFN)
26192         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26194 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26195             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26197         * resolv/res_send.c (send_vc): Disable warning resplen may
26198         be used uninitialized.
26200 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26202         * nptl/tst-mutex6.c
26203         (ATTR_NULL): New define checks ATTR against NULL.
26204         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26205         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26207 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26209         [BZ #17581]
26210         * malloc/hooks.c
26211         (mem2mem_check): Revert my previous change.
26212         (malloc_check_get_size): Revert my previous change.
26213         (mem2chunk_check): Revert my previous change.
26215 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26217         * sysdeps/posix/shm-directory.c: New file.
26218         * sysdeps/posix/shm-directory.h: New file.
26219         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26220         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26221         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26222         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26223         Transmute EPERM to EACCES.
26224         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26225         from ...
26226         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26227         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26229 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26231         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26232         pointer and cast to uintptr_t.
26233         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26234         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26235         Add cast to avoid warning.
26236         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26238 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26240         * nptl/semaphore.h: Move to ...
26241         * sysdeps/pthread/semaphore.h: ... here.
26242         * Makefile (installed-headers): Change nptl/semaphore.h to
26243         sysdeps/pthread/semaphore.h.
26245 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26247         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26248         generated error format strings.
26250         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26251         -Wformat-extra-args warnings for scanf formats.
26252         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26253         test of zero-length format (duh).
26254         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26255         corner-case scanf format test.
26256         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26257         generated fprintf format string.
26258         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26259         corner-case sprintf format tests.
26260         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26261         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26262         -Wformat-extra-args warnings throughout.
26263         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26264         (CFLAGS-scanf4.c): Likewise.
26265         (CFLAGS-scanf7.c): Likewise.
26266         (CFLAGS-tst-sprintf.c): Likewise.
26267         (CFLAGS-tst-printf.c): Likewise.
26268         (CFLAGS-tst-printfsz.c): Likewise.
26270 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26272         * include/cpio.h: New file.
26273         * include/fmtmsg.h: Likewise.
26275         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26276         corresponding format argument to size_t.
26277         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26278         arguments.
26279         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26280         corresponding format argument to size_t.
26281         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26282         arguments.
26283         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26284         corresponding format argument to size_t.
26285         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26286         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26287         (CFLAGS-tst-mbswcs2.c): Likewise.
26288         (CFLAGS-tst-mbswcs3.c): Likewise.
26289         (CFLAGS-tst-mbswcs4.c): Likewise.
26290         (CFLAGS-tst-mbswcs5.c): Likewise.
26291         (CFLAGS-tst-trans.c): Likewise.
26293 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26295         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26296         rather than assuming they won't contain any '%'s.
26298 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26300         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26301         inhibit_loop_to_libcall to avoid recursive calls.
26302         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26303         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26305 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26307         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26308         prototype.
26310 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26312         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26313         integer value instead of boolean.
26315 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26317         * malloc/malloc.c: Fix powerof2 check.
26319 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26321         * locale/programs/locfile.h (maybe_swap_uint32):
26322         Remove inline and add unused attribute.
26324 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26326         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26327         Truncating assembler expression to a .long expression.
26329 2014-12-11  Andreas Schwab  <schwab@suse.de>
26331         * elf/rtld.c (struct map_args): Constify str member.
26332         (do_preload): Constify fname argument.
26334 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26336         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26337         constants definition.
26339 2014-12-11  Andreas Schwab  <schwab@suse.de>
26341         [BZ #16657]
26342         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26343         FORCE_ELISION instead of DO_ELISION.
26344         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26345         Remove.
26346         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26347         Likewise.
26349         * iconvdata/gconv-modules: Remove duplicate entry.
26351 2014-12-11  Will Newton  <will.newton@linaro.org>
26353         Merge gettext 0.19.3 into intl/.
26355         This involves a number of cosmetic changes to comments
26356         and ANSI function definitions and prototypes throughout
26357         all the files. The gettext copyright header is used but
26358         with the date ranges taken from the glibc copy.
26360         * NEWS: Add gettext merge to 2.21.
26361         * intl/bindtextdom.c: Switch to gettext copyright.
26362         Use ANSI definitions and prototypes.
26363         Use gl_* locking primitives rather than __libc_* ones.
26364         Use __builtin_expect rather than __glibc_likely/unlikely.
26365         * intl/dcgettext.c: Switch to gettext copyright.
26366         Use ANSI definitions and prototypes.
26367         * intl/dcigettext.c: Switch to gettext copyright.
26368         Use ANSI definitions and prototypes.
26369         (INTDIV0_RAISES_SIGFPE): New define.
26370         Use gl_* locking primitives rather than __libc_* ones.
26371         Include eval-plural.h instead of plural-eval.c.
26372         Use __builtin_expect rather than __glibc_likely/unlikely.
26373         * intl/dcngettext.c: Switch to gettext copyright.
26374         Use ANSI definitions and prototypes.
26375         * intl/dgettext.c: Likewise.
26376         * intl/dngettext.c: Likewise.
26377         * intl/plural-eval.c: Renamed to...
26378         * intl/eval-plural.h: ...this.
26379         * intl/explodename.c: Switch to gettext copyright.
26380         Use ANSI definitions and prototypes.
26381         (_nl_explode_name): Use strchr instead of __rawmemchr.
26382         * intl/finddomain.c: Switch to gettext copyright.
26383         Use ANSI definitions and prototypes.
26384         Use gl_* locking primitives rather than __libc_* ones.
26385         (_nl_find_domain): Use malloc rather than alloca for
26386         allocation of temporary locale name.
26387         * intl/gettext.c: Switch to gettext copyright.
26388         Use ANSI definitions and prototypes.
26389         * intl/gettextP.h: Switch to gettext copyright.
26390         Use ANSI definitions and prototypes.
26391         Use gl_* locking primitives rather than __libc_* ones.
26392         * intl/gmo.h: Switch to gettext copyright.
26393         (struct sysdep_string): Move struct segment_pair outside of
26394         struct definition.
26395         * intl/hash-string.c: Use ANSI definitions and prototypes.
26396         * intl/hash-string.h: Switch to gettext copyright.
26397         Use ANSI definitions and prototypes.
26398         * intl/l10nflist.c: Switch to gettext copyright.
26399         Use ANSI definitions and prototypes.
26400         (_nl_normalize_codeset): Avoid integer overflow.
26401         * intl/loadinfo.h: Switch to gettext copyright.
26402         Use ANSI definitions and prototypes.
26403         (LIBINTL_DLL_EXPORTED): New define.
26404         (PATH_SEPARATOR): New define.
26405         * intl/loadmsgcat.c: Switch to gettext copyright.
26406         * intl/localealias.c: Switch to gettext copyright.
26407         Use ANSI definitions and prototypes.
26408         (_nl_expand_alias): Use PATH_SEPARATOR.
26409         * intl/ngettext.c: Switch to gettext copyright.
26410         Use ANSI definitions and prototypes.
26411         * intl/plural-exp.c: Likewise.
26412         * intl/plural-exp.h: Switch to gettext copyright.
26413         Use ANSI definitions and prototypes.
26414         (struct expression): Move definition of enum operator outside
26415         of struct definition.
26416         * intl/plural.c: Regenerate.
26417         * intl/plural.y: Switch to gettext copyright.
26418         Use ANSI definitions and prototypes.
26419         Port to bison 3.0.
26420         * intl/textdomain.c: Switch to gettext copyright.
26421         Use ANSI definitions and prototypes.
26422         Use gl_* locking primitives rather than __libc_* ones.
26424 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26426         * debug/warning-nop.c: Add used atrribute.
26428 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26430         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26432         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26433         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26434         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26436 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26437             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26439         [BZ #17634]
26440         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26441         Undefine after defining function.  Define as weak alias of
26442         __wcschr.  Use libc_hidden_weak.
26443         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26444         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26445         (libc_hidden_def): Also define __GI___wcschr alias.
26446         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26447         __wcschr and define as weak alias of __wcschr.
26448         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26449         __wcschr.
26450         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26451         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26452         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26453         libc_hidden_weak.  Do not use libc_hidden_def.
26454         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26455         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26456         __GI___wcschr alias.
26457         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26458         [IS_IN (libc)] (wcschr): Define as macro expanding to
26459         __redirect_wcschr.
26460         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26461         [IS_IN (libc)] (__wcschr_power6): Likewise.
26462         [IS_IN (libc)] (__wcschr_power7): Likewise.
26463         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26464         instead of wcschr.
26465         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26466         __libc_wcschr.
26467         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26468         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26469         __wcschr and define as weak alias of __wcschr.  Use
26470         libc_hidden_builtin_def.
26471         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26472         as weak alias of __wcschr.  Use libc_hidden_weak.
26473         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26474         wcschr.
26475         * time/era.c (_nl_init_era_entries): Likewise.
26476         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26477         variable.
26478         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26479         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26481 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26483         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26484         format for long int variable.
26486 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26488         [BZ #10672]
26489         * manual/search.texi: (Array Sort Function): Remove claim how to make
26490         qsort stable.
26492 2014-12-10  Andreas Schwab  <schwab@suse.de>
26494         [BZ #12847]
26495         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26496         user-controlled locks.
26498 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26500         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26501         register.
26503 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26505         * configure.ac (--disable-werror): New configure option.
26506         (enable_werror): New AC_SUBST.
26507         * configure: Regenerated.
26508         * config.make.in (enable-werror): New variable.
26509         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26510         -Wno-error=undef.
26511         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26512         * manual/install.texi (Configuring and compiling): Document
26513         --disable-werror.
26514         * INSTALL: Regenerated.
26515         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26516         (CFLAGS-tst-chk2.c): Likewise.
26517         (CFLAGS-tst-chk3.c): Likewise.
26518         (CFLAGS-tst-chk4.cc): Likewise.
26519         (CFLAGS-tst-chk5.cc): Likewise.
26520         (CFLAGS-tst-chk6.cc): Likewise.
26521         (CFLAGS-tst-lfschk1.c): Likewise.
26522         (CFLAGS-tst-lfschk2.c): Likewise.
26523         (CFLAGS-tst-lfschk3.c): Likewise.
26524         (CFLAGS-tst-lfschk4.cc): Likewise.
26525         (CFLAGS-tst-lfschk5.cc): Likewise.
26526         (CFLAGS-tst-lfschk6.cc): Likewise.
26528         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26529         (main): Disable -Wdeprecated-declarations around calls to
26530         register_printf_function.
26532         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26533         (do_test): Disable -Wdiv-by-zero around some calls to
26534         fwrite_unlocked and fread_unlocked.
26536         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26537         (DIAG_POP_NEEDS_COMMENT): Likewise.
26538         (_DIAG_STR1): Likewise.
26539         (_DIAG_STR): Likewise.
26540         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26541         * stdio-common/bug21.c: Include <libc-internal.h>.
26542         (do_test): Disable -Wformat around call to sscanf.
26543         * stdio-common/scanf14.c: Include <libc-internal.h>.
26544         (main): Disable -Wformat around some calls to scanf functions.
26546 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26548         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26550 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26552         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26553         stack variable alignment.
26555 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26557         [BZ #17682]
26558         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26559         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26560         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26561         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26562         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26563         __getrlimit instead of getrlimit.
26564         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26565         __gettimeofday instead of gettimeofday.
26566         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26567         Likewise.
26568         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26569         Likewise.
26570         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26571         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26572         Remove variable.
26573         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26574         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26576 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26578         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26579         for wide-character tests.
26581 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26583         * io/openat64.c: #include <libc-internal.h>
26584         (__openat64): Prototypify.  Use ignore_value on MODE.
26585         * io/openat.c: Likewise.
26586         * misc/reboot.c: #include <libc-internal.h>
26587         (reboot): Prototypify.  Use ignore_value on HOWTO.
26588         * misc/ptrace.c: #include <libc-internal.h>
26589         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26591 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26593         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26594         XPG4, UNIX98 and XOPEN2K.
26595         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26596         Remove variable.
26597         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26599 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26601         * libio/fileops.c: Use ISO C style for function definitions.
26602         * libio/iofopen.c: Likewise.
26603         * libio/wfileops.c: Likewise.
26605         [BZ #17653]
26606         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26607         offset on EOF.
26608         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26609         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26610         (fgets_func): Function pointer to fgets and fgetws.
26611         (do_ftell_test): Add test to verify ftell value after read
26612         EOF.
26613         (do_test): Set fgets_func.
26615         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26616         O_TRUNC flag for w and w+ modes.
26617         (do_rewind_test): Likewise.
26618         (do_ftell_test): Likewise.
26619         (do_write_test): Likewise.
26621         [BZ #17647]
26622         * libio/fileops.c (do_ftell): Seek only when there are
26623         unflushed writes.
26624         * libio/wfileops.c (do_ftell_wide): Likewise.
26625         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26626         test case.
26627         (do_one_test): Call it.
26629 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26631         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26632         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26633         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26634         Remove variable.
26635         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26636         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26637         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26639 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26641         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26642         Remove variable.
26643         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26645         [BZ #17668]
26646         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26647         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26648         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26649         __freeifaddrs.  Use libc_hidden_weak.
26650         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26651         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26652         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26653         __freeifaddrs.  Use libc_hidden_weak.
26654         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26655         __getifaddrs and define as weak alias of __getifaddrs.  Use
26656         libc_hidden_weak.
26657         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26658         __freeifaddrs.  Use libc_hidden_weak.
26659         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26660         Remove variable.
26661         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26662         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26664 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26666         [BZ #17601]
26667         * sysdeps/mips/start.S (__start): Use indirect jump to call
26668         __libc_start_main.
26670 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26672         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26674         * nptl/tst-mutex1.c: Include <stdbool.h>.
26675         [!ATTR] (ATTR_NULL): New macro.
26676         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26677         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26678         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26680         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26681         to char *.
26683         [BZ #17665]
26684         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26685         Change conditional to [__USE_MISC].
26687         [BZ #17664]
26688         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26689         fgets_unlocked.
26690         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26691         __fgets_unlocked.
26692         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26693         fgets_unlocked.
26694         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26695         Remove variable.
26696         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26697         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26698         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26699         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26700         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26701         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26702         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26703         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26704         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26706         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26708 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26710         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26711         Remove strpbrk objects.
26712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26713         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26714         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26715         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26716         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26717         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26719         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26720         Remove strcspn objects.
26721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26722         (__libc_ifunc_impl_list): Remove strcspn implementation.
26723         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26724         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26725         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26726         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26728         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26729         Remove strspn objetcs.
26730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26731         (__libc_ifunc_impl_list): Remove strspn implementation.
26732         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26733         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26734         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26735         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26737 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26739         [BZ #17581]
26740         * malloc/hooks.c
26741         (mem2mem_check): Add a terminator to the chain of checking blocks.
26742         (malloc_check_get_size): Use it here.
26743         (mem2chunk_check): Ditto.
26745 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26747         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26748         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26750 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26752         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26754         * nptl/nptl-init.c: Include libc-internal.h.
26755         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26757         * elf/ldconfig.c (search_dir): Expand comment.
26759 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26761         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26762         variable.
26763         (linknamespace-symlist-stdlibs-tests): Likewise.
26764         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26765         instead of $(objpfx)symlist-stdlibs.
26766         (linknamespace-libs-isoc): New variable.
26767         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26768         (linknamespace-libs-ISO): New variable.
26769         (linknamespace-libs-ISO99): Likewise.
26770         (linknamespace-libs-ISO11): Likewise.
26771         (linknamespace-libs-XPG3): Likewise.
26772         (linknamespace-libs-XPG4): Likewise.
26773         (linknamespace-libs-POSIX): Likewise.
26774         (linknamespace-libs-UNIX98): Likewise.
26775         (linknamespace-libs-XOPEN2K): Likewise.
26776         (linknamespace-libs-POSIX2008): Likewise.
26777         (linknamespace-libs-XOPEN2K8): Likewise.
26778         ($(objpfx)symlist-stdlibs): Replace by
26779         $(linknamespace-symlist-stdlibs-tests).  Use
26780         $(linknamespace-libs-$*) as set of libraries.
26781         ($(linknamespace-header-tests)): Update dependencies.  Use
26782         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26783         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26784         * conform/linknamespace.pl: Remove comment about considering
26785         definitions of symbols from irrelevant libraries.
26787 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26789         [BZ #13862]
26790         * elf/dl-tls.c: Include <atomic.h>.
26791         (oom): Remove #ifdef SHARED/#endif.
26792         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26793         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26794         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26795         big enough.
26796         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26797         * nptl/Makefile (tests): Add tst-stack4.
26798         (modules-names): Add tst-stack4mod.
26799         ($(objpfx)tst-stack4): New.
26800         (tst-stack4mod.sos): Likewise.
26801         ($(objpfx)tst-stack4.out): Likewise.
26802         ($(tst-stack4mod.sos)): Likewise.
26803         (clean): Likewise.
26804         * nptl/tst-stack4.c: New file.
26805         * nptl/tst-stack4mod.c: Likewise.
26807 2014-11-27  J. Brown  <jb999@gmx.de>
26809         * sysdeps/x86/bits/string.h: Add recent CPUs.
26811 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26813         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26814         sigblock.
26816         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26817         feof.
26819         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26820         variable.
26822 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26824         * nscd/connections.c: Include libc-internal.h because of macro
26825         usage ignore_value.
26827 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26829         * string/bits/string3.h (__warn_memset_zero_len): Don't
26830         declare for gcc newer than 5.0.
26831         (memset): Don't test for zero-length __LEN for gcc newer than
26832         5.0.
26834 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26836         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26837         size_t for %zu format.
26839         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26840         difference, not %ju.
26842 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26844         * include/libc-internal.h (ignore_value): New macro.
26845         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26846         with ignore_value.
26848         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26849         definition.
26851         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26852         pthread_cleanup_push to void *.
26854         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26855         Undefine.
26857         [BZ #16619]
26858         [BZ #16740]
26859         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26860         instead of 1L << 52.
26862         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26863         * libio/bug-rewind2.c (do_test): Likewise.
26865         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26866         * debug/test-strcpy_chk-ifunc.c: Likewise.
26867         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26868         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26869         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26870         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26871         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26872         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26873         * Rules [$(multi-arch) = no] (tests): Do not filter out
26874         $(tests-ifunc).
26875         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26876         * debug/Makefile (tests-ifunc): Remove variable.
26877         (tests): Do not add $(tests-ifunc).
26878         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26879         (tests): Do not add $(tests-ifunc).
26880         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26881         [TEST_IFUNC]: Remove conditionals.
26882         * string/test-string.h (TEST_IFUNC): Remove macro.
26883         [TEST_IFUNC]: Remove conditionals.
26885         * string/test-strchr.c [!WIDE] (L): New macro.
26886         [WIDE] (L): Likewise.
26887         (check1): Use CHAR instead of char.  Use L on string and character
26888         constants.
26890 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26892         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26893         tests.
26894         * sysdeps/powerpc/bits/atomic.h
26895         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26896         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26897         (atomic_exchange_and_add_acq): Likewise.
26898         (atomic_exchange_and_add_rel): Likewise.
26899         * sysdeps/powerpc/powerpc32/bits/atomic.h
26900         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26901         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26902         * sysdeps/powerpc/powerpc64/bits/atomic.h
26903         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26904         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26906 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26908         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26909         Change synchronization of __sched_fifo_min_prio and
26910         __sched_fifo_max_prio.
26911         * nptl/pthread_mutexattr_getprioceiling.c
26912         (pthread_mutexattr_getprioceiling): Likewise.
26913         * nptl/pthread_mutexattr_setprioceiling.c
26914         (pthread_mutexattr_setprioceiling): Likewise.
26915         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26916         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26917         Likewise.
26919 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26921         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26922         void.
26924 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26926         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26927         third argument const.
26929 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26931         fnmatch: work around GCC compiler warning bug with uninit var
26932         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26933         This works around a bug with x86-64 GCC 4.9.2 and earlier
26934         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26935         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26936         used uninitialized in this function [-Wmaybe-uninitialized]".
26938 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26940         * posix/bug-regex31.c (main): Return RES not 0.
26942 2014-11-25  Anton Blanchard <anton@samba.org>
26944         * sysdeps/powerpc/bits/atomic.h
26945         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26947 2014-11-24  Sterling Augustine  <saugustine@google.com>
26949         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26951 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26953         [BZ #17608]
26954         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26956 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26958         [BZ #17633]
26959         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26960         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26961         variable.
26962         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26963         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26965 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26967         * string/strncpy.c (strncpy): Improve performance by using memset.
26969 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26971         * string/strcpy.c (strcpy):
26972         Improve performance by using strlen and memcpy.
26974 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26976         * string/strcoll_l.c (get_next_seq): __always_inline.
26977         * string/strcoll_l.c (do_compare): __always_inline.
26979 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26981         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26982         defined.
26983         * include/mqueue.h: Likewise.
26984         * include/stdlib.h: Likewise.
26986         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26987         (get_null_defines): Adjust.
26988         * sunrpc/Makefile: Adjust comment.
26989         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26990         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26991         (CFLAGS-interp.c): Likewise.
26992         (CFLAGS-ldconfig.c): Likewise.
26993         (CPPFLAGS-.os): Likewise.
26994         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26995         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26996         * extra-modules.mk (extra-modules.mk): Likewise.
26997         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26998         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26999         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27000         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27001         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27002         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27003         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27004         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27005         * iconvdata/Makefile (CPPFLAGS): Likewise.
27006         (cpp-srcs-left): Add libof for all iconvdata routines.
27007         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27008         * include/assert.h: Likewise.
27009         * include/ctype.h: Likewise.
27010         * include/errno.h: Likewise.
27011         * include/libc-symbols.h: Likewise.
27012         * include/math.h: Likewise.
27013         * include/netdb.h: Likewise.
27014         * include/resolv.h: Likewise.
27015         * include/stdio.h: Likewise.
27016         * include/stdlib.h: Likewise.
27017         * include/string.h: Likewise.
27018         * include/sys/stat.h: Likewise.
27019         * include/wctype.h: Likewise.
27020         * intl/l10nflist.c: Likewise.
27021         * libidn/idn-stub.c: Likewise.
27022         * libio/libioP.h: Likewise.
27023         * nptl/libc_multiple_threads.c: Likewise.
27024         * nptl/pthreadP.h: Likewise.
27025         * posix/regex_internal.h: Likewise.
27026         * resolv/res_hconf.c: Likewise.
27027         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27028         * sysdeps/arm/memmove.S: Likewise.
27029         * sysdeps/arm/sysdep.h: Likewise.
27030         * sysdeps/generic/_itoa.h: Likewise.
27031         * sysdeps/generic/symbol-hacks.h: Likewise.
27032         * sysdeps/gnu/errlist.awk: Likewise.
27033         * sysdeps/gnu/errlist.c: Likewise.
27034         * sysdeps/i386/i586/memcpy.S: Likewise.
27035         * sysdeps/i386/i586/memset.S: Likewise.
27036         * sysdeps/i386/i686/memcpy.S: Likewise.
27037         * sysdeps/i386/i686/memmove.S: Likewise.
27038         * sysdeps/i386/i686/mempcpy.S: Likewise.
27039         * sysdeps/i386/i686/memset.S: Likewise.
27040         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27041         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27042         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27043         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27044         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27045         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27046         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27047         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27048         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27049         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27050         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27051         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27052         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27053         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27054         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27055         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27056         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27057         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27058         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27059         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27060         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27061         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27062         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27063         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27064         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27065         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27066         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27067         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27068         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27069         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27070         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27071         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27072         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27073         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27074         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27075         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27076         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27077         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27078         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27079         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27080         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27081         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27082         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27083         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27084         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27085         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27086         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27087         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27088         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27089         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27090         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27091         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27092         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27093         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27094         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27095         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27096         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27097         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27098         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27099         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27100         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27101         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27102         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27103         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27104         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27105         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27106         * sysdeps/posix/closedir.c: Likewise.
27107         * sysdeps/posix/opendir.c: Likewise.
27108         * sysdeps/posix/readdir.c: Likewise.
27109         * sysdeps/posix/rewinddir.c: Likewise.
27110         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27111         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27112         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27113         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27114         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27115         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27116         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27117         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27118         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27119         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27120         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27121         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27122         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27123         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27124         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27125         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27126         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27127         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27128         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27129         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27130         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27131         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27132         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27133         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27134         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27135         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27136         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27137         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27138         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27140         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27145         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27146         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27147         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27148         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27149         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27150         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27151         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27152         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27153         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27154         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27155         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27156         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27157         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27158         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27159         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27160         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27161         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27162         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27163         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27164         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27165         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27166         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27167         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27168         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27169         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27170         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27171         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27172         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27173         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27174         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27175         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27176         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27177         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27178         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27179         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27180         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27181         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27182         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27183         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27184         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27185         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27186         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27187         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27188         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27189         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27190         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27191         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27192         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27193         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27194         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27195         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27196         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27197         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27198         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27199         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27200         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27201         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27202         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27203         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27204         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27205         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27206         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27207         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27208         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27209         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27210         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27211         * sysdeps/unix/alpha/sysdep.S: Likewise.
27212         * sysdeps/unix/alpha/sysdep.h: Likewise.
27213         * sysdeps/unix/make-syscalls.sh: Likewise.
27214         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27215         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27216         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27217         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27218         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27219         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27220         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27221         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27222         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27223         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27224         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27225         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27226         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27227         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27228         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27229         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27230         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27231         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27232         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27233         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27234         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27235         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27236         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27237         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27238         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27239         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27240         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27243         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27244         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27245         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27246         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27247         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27248         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27249         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27250         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27251         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27252         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27253         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27254         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27255         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27256         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27257         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27258         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27259         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27260         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27261         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27262         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27264         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27265         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27266         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27267         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27268         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27269         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27270         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27271         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27272         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27273         * sysdeps/x86_64/memcpy.S: Likewise.
27274         * sysdeps/x86_64/memmove.c: Likewise.
27275         * sysdeps/x86_64/memset.S: Likewise.
27276         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27277         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27278         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27279         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27280         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27281         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27282         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27283         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27284         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27285         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27286         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27287         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27288         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27289         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27290         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27291         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27292         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27293         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27294         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27295         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27296         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27297         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27298         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27299         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27300         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27301         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27302         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27303         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27304         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27305         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27306         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27307         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27308         * sysdeps/x86_64/strcmp.S: Likewise.
27310         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27312         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27313         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27314         * elf/rtld-Rules: Likewise.
27315         * elf/setup-vdso.h: Likewise.
27316         * include/assert.h: Likewise.
27317         * include/bits/stdlib-float.h: Likewise.
27318         * include/errno.h: Likewise.
27319         * include/sys/stat.h: Likewise.
27320         * include/unistd.h: Likewise.
27321         * sysdeps/aarch64/setjmp.S: Likewise.
27322         * sysdeps/alpha/setjmp.S: Likewise.
27323         * sysdeps/arm/__longjmp.S: Likewise.
27324         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27325         * sysdeps/arm/setjmp.S: Likewise.
27326         * sysdeps/arm/sysdep.h: Likewise.
27327         * sysdeps/generic/_itoa.h: Likewise.
27328         * sysdeps/generic/dl-sysdep.h: Likewise.
27329         * sysdeps/generic/ldsodefs.h: Likewise.
27330         * sysdeps/i386/dl-tls.h: Likewise.
27331         * sysdeps/i386/setjmp.S: Likewise.
27332         * sysdeps/m68k/setjmp.c: Likewise.
27333         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27334         * sysdeps/mach/hurd/opendir.c: Likewise.
27335         * sysdeps/posix/getcwd.c: Likewise.
27336         * sysdeps/posix/opendir.c: Likewise.
27337         * sysdeps/posix/profil.c: Likewise.
27338         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27339         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27340         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27341         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27342         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27343         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27344         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27345         * sysdeps/s390/dl-tls.h: Likewise.
27346         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27347         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27348         * sysdeps/sh/sh3/setjmp.S: Likewise.
27349         * sysdeps/sh/sh4/setjmp.S: Likewise.
27350         * sysdeps/unix/alpha/sysdep.h: Likewise.
27351         * sysdeps/unix/arm/sysdep.S: Likewise.
27352         * sysdeps/unix/i386/sysdep.S: Likewise.
27353         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27354         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27355         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27356         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27357         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27358         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27359         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27360         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27361         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27362         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27363         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27364         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27365         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27368         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27369         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27370         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27371         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27372         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27373         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27375         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27376         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27377         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27378         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27379         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27380         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27381         * sysdeps/x86_64/setjmp.S: Likewise.
27383         * include/math.h: Use IS_IN instead of IS_IN_libm.
27384         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27385         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27386         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27387         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27388         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27389         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27390         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27391         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27392         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27393         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27394         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27395         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27396         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27397         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27398         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27399         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27400         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27401         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27402         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27403         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27404         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27405         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27406         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27407         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27408         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27409         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27410         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27411         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27412         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27413         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27414         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27415         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27416         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27418         Likewise.
27419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27420         Likewise.
27421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27422         Likewise.
27423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27424         Likewise.
27425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27426         Likewise.
27427         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27428         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27429         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27430         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27431         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27432         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27438         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27439         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27440         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27441         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27442         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27443         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27444         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27445         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27446         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27447         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27448         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27449         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27450         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27451         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27453         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27455         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27456         * nptl/pthreadP.h: Likewise.
27457         * nptl_db/structs.def: Likewise.
27458         * sysdeps/arm/sysdep.h: Likewise.
27459         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27460         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27461         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27462         * sysdeps/unix/alpha/sysdep.h: Likewise.
27463         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27464         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27465         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27466         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27467         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27468         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27469         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27470         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27471         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27472         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27473         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27474         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27475         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27476         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27479         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27480         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27481         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27482         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27483         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27484         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27485         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27486         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27487         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27488         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27490         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27491         * nptl/pthreadP.h: Likewise.
27492         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27493         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27494         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27495         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27496         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27497         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27498         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27499         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27500         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27501         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27502         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27503         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27505         Likewise.
27506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27507         Likewise.
27508         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27509         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27510         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27511         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27512         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27513         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27514         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27515         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27517         * dlfcn/dladdr.c: Use IS_IN.
27518         * dlfcn/dladdr1.c: Likewise.
27519         * dlfcn/dlclose.c: Likewise.
27520         * dlfcn/dlerror.c: Likewise.
27521         * dlfcn/dlinfo.c: Likewise.
27522         * dlfcn/dlmopen.c: Likewise.
27523         * dlfcn/dlopen.c: Likewise.
27524         * dlfcn/dlsym.c: Likewise.
27525         * dlfcn/dlvsym.c: Likewise.
27527         * include/ifaddrs.h: Use IS_IN.
27528         * inet/check_pf.c: Likewise.
27529         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27530         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27532         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27533         IS_IN_ldconfig.
27534         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27535         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27537         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27538         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27539         IS_IN (libc).
27541         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27543         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27544         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27545         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27546         * include/libc-symbols.h (IS_IN_LIB): New macro.
27547         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27548         * include/netdb.h: Likewise.
27549         * include/stap-probe.h: Remove all uses of IN_LIB.
27551         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27552         instead of IN_MODULE.
27553         * include/libc-symbols.h (IN_MODULE): Define using
27554         MODULE_NAME.
27555         (PASTE_NAME, PASTE_NAME1): New macros.
27556         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27557         of IN_LIB.
27558         (STAP_PROBE_ASM): Likewise.
27560 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27562         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27563         __mach_init in dlopened libc.
27565 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27567         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27568         * sysdeps/arm/preconfigure: Regenerate.
27570 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27572         * nptl/pthread_create.c (__pthread_create_2_1): Set
27573         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27574         when copying values from IATTR into PD.
27576 2014-11-21  Will Newton  <will.newton@linaro.org>
27577             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27579         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27580         Refactor inline-asm.  Also add comment.
27582         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27583         ElfW macro instead of hardcoded Elf64 types.
27584         (la_aarch64_gnu_pltenter): Likewise.
27585         * sysdeps/aarch64/dl-machine.h
27586         (elf_machine_runtime_setup): Use ElfW(Addr).
27588         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27589         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27590         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27591         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27592         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27593         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27594         (R_AARCH64_TLS_DTPMOD): This.
27595         (R_AARCH64_TLS_DTPREL64): Rename to ...
27596         (R_AARCH64_TLS_DTPREL): This.
27597         (R_AARCH64_TLS_TPREL64): Rename to ...
27598         (R_AARCH64_TLS_TPREL): This.
27599         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27600         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27601         R_AARCH64_TLS_TPREL64.
27602         (elf_machine_rela): Likewise.
27604 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27606         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27607         by setting it to 0.  64b atomics are not supported currently.
27609 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27611         [BZ #16469]
27612         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27613         search domain names.
27615 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27617         [BZ #16469]
27618         * NEWS: Update.
27619         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27620         trailing dot.
27621         * posix/tst-getaddrinfo5.c: New.
27622         * posix/Makefile (tests): Add it.
27624 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27626         [BZ #14498]
27627         * NEWS: Fixed.
27628         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27629         after parsing line but before break_if_match.
27630         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27631         if there is a protocol mismatch.
27633 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27635         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27636         because the potential race is on the user-supplied stream.
27638 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27640         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27641         string literal if not passed a buffer.
27642         * manual/job.texi (ctermid): Update reasoning, note deviation
27643         from posix, suggest mtasurace when not passed a buffer, for
27644         future non-preliminary safety notes.
27646 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27648         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27649         of not passing it a buffer.
27650         Reported by Peng Haitao.
27652 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27654         * manual/Makefile ($(objpfx)stamp-summary): Require
27655         check-safety.sh to pass.
27656         * manual/check-safety.sh: Wish for verification that every
27657         @deftypefn and @deftypefun is followed by a @safety remark.
27659 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27661         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27663         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27664         PTHREAD_CANCEL_ASYNCHRONOUS.
27665         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27666         send SIGCANCEL.
27668         * nptl/default-sched.h: New file.
27669         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27670         * nptl/pthread_create.c: Include it.
27671         (__pthread_create_2_1): Use collect_default_sched instead of making
27672         Linux syscalls here directly.
27674 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27676         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27677         __pthread_once): Use C11 atomics.
27679 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27681         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27683 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27685         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27686         atomic_thread_fence_acquire, atomic_thread_fence_release,
27687         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27688         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27689         atomic_compare_exchange_weak_relaxed,
27690         atomic_compare_exchange_weak_acquire,
27691         atomic_compare_exchange_weak_release,
27692         atomic_exchange_acquire, atomic_exchange_release,
27693         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27694         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27695         atomic_fetch_and_acquire,
27696         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27698 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27700         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27701         USE_ATOMIC_COMPILER_BUILTINS): Define.
27702         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27703         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27704         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27705         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27706         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27707         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27708         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27709         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27710         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27711         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27712         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27713         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27714         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27715         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27716         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27718         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27719         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27720         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27721         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27722         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27723         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27724         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27725         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27726         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27727         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27728         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27729         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27730         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27732         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27734         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27736         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27737         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27738         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27740         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27743 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27745         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27746         the sched_priority value here.  It was already checked when the user
27747         called pthread_attr_setschedparam.
27749         * nptl/tst-bad-schedattr.c: New file.
27750         * nptl/Makefile (tests): Add it.
27752 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27753             Florian Weimer  <fweimer@redhat.com>
27754             Joseph Myers  <joseph@codesourcery.com>
27755             Adam Conrad  <adconrad@0c3.net>
27756             Andreas Schwab  <schwab@suse.de>
27757             Brooks  <bmoses@google.com>
27759         [BZ #17625]
27760         * wordexp-test.c (__dso_handle): Add prototype.
27761         (__register_atfork): Likewise.
27762         (__app_register_atfork): New function.
27763         (registered_forks): New global.
27764         (register_fork): New function.
27765         (test_case): Add 3 new tests for WRDE_CMDSUB.
27766         (main): Call __app_register_atfork.
27767         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27768         fork count is non-zero fail the test.
27769         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27770         is set.
27771         (parse_dollars): Remove check for WRDE_NOCMD.
27772         (parse_dquote): Likewise.
27774 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27776         * Makeconfig (built-modules): List non-library modules to be
27777         built.
27778         (module-cppflags): Include libc-modules.h for
27779         everything except shlib-versions.v.i.
27780         (CPPFLAGS): Use it.
27781         (before-compile): Add libc-modules.h.
27782         ($(common-objpfx)libc-modules.h,
27783         $(common-objpfx)libc-modules.stmp): New targets.
27784         (common-generated): Add libc-modules.h and libc-modules.stmp.
27785         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27786         * include/libc-symbols.h: Don't include libc-modules.h.
27787         * include/libc-modules.h: Remove file.
27788         * scripts/gen-libc-modules.awk: New script to generate
27789         libc-modules.h.
27790         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27791         Depend on libc-modules.stmp.
27793         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27795         * Makeconfig (in-module): Get value of libof set for the
27796         translation unit.
27797         (CPPFLAGS): Use $(in-module).
27798         * Makerules: Don't suffix routine names for nonlib.
27799         * include/libc-modules.h: New file.
27800         * include/libc-symbols.h: Include libc-modules.h
27801         (IS_IN): New macro to replace IS_IN_* macros.
27802         * elf/Makefile: Set libof-* for each routine.
27803         * elf/rtld-Rules: Likewise.
27804         * extra-modules.mk: Likewise.
27805         * iconv/Makefile: Likewise.
27806         * iconvdata/Makefile: Likewise.
27807         * locale/Makefile: Likewise.
27808         * malloc/Makefile: Likewise.
27809         * nss/Makefile: Likewise.
27810         * sysdeps/gnu/Makefile: Likewise.
27811         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27812         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27813         * sysdeps/s390/s390-64/Makefile: Likewise.
27814         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27815         CPPFLAGS for nscd instead of nonlib.
27817 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27819         * nptl/createthread.c: New file.
27821         * nptl/createthread.c: Moved ...
27822         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27824         * nptl/createthread.c: Add proper top-line comment.
27825         (do_clone): Folded into ...
27826         (create_thread): ... here.  Take new arguments STOPPED_START and
27827         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27828         increment __nptl_threads, do event-reporting logic, do
27829         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27830         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27831         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27832         just send SIGCANCEL.
27833         * nptl/pthread_create.c: Forward-declare create_thread before
27834         including createthread.c.
27835         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27836         declaration, and new macro START_THREAD_SELF to replace argument.
27837         Remove return statement.
27838         (report_thread_creation): New function.
27839         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27840         synchronization logic, and __nptl_nthreads increment here, around
27841         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27842         PD->parent_cancelhandling here, before create_thread.  When
27843         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27844         __deallocate_stack, and ENOMEM translation here.
27846 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27848         [BZ #17616]
27849         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27850         (mptwo): Rename to __mptwo.
27851         (__inv): Use __mptwo instead of mptwo.
27852         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27853         (mptwo): Rename to __mptwo.
27854         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27855         of mpone and __mptwo instead of mptwo.
27856         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27857         instead of mpone.
27858         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27859         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27860         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27861         of mpone and __mptwo instead of mptwo.
27862         (__mpranred): Use __mpone instead of mpone.
27863         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27864         variable.
27865         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27866         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27867         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27868         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27869         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27870         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27871         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27872         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27873         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27874         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27875         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27876         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27877         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27878         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27879         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27880         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27881         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27882         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27883         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27885 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27887         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27888         replace BSD Handler xref with BSD Signal Handling.
27890 2014-11-17  Richard Henderson  <rth@redhat.com>
27892         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27893         (_FP_PACK_RAW_2): Remove.
27894         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27895         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27896         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27897         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27898         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27899         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27900         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27901         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27902         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27903         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27904         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27905         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27906         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27907         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27908         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27909         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27911 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27913         * signal/signal.h [__USE_MISC]
27914         (struct sigvec): Remove type.
27915         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27916         (sigvec): Remove declaration.
27917         * sysdeps/posix/sigvec.c: Moved ...
27918         * signal/sigvec.c: ... here, replacing old file.
27919         (struct sigvec): New type, copied from old signal.h definition.
27920         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27921         (__sigvec): Convert definition to prototype.
27922         (sigvec): Replace weak_alias with compat_symbol.
27923         * signal/Versions (libc: GLIBC_2.21): New version set.
27924         * include/signal.h: Remove __sigvec declaration.
27925         * sysdeps/unix/bsd/sigvec.c: Remove file.
27926         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27927         * manual/signal.texi (BSD Handler): Remove subsection.
27928         Move siginterrupt up to ...
27929         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27930         (Blocking in BSD): Fold subsection into its parent.
27931         * NEWS: Mention sigvec removal.
27933 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27935         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27936         (DLA_FMS): Make definition conditional only on [__FMA4__].
27937         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27938         definition.
27940         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27941         Make definition conditional only on [PROF].
27942         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27943         definition.
27944         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27945         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27947         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27948         !__GNUC__].
27949         * include/signal.h (__sigpause): Move declaration above call to
27950         libc_hidden_proto.
27951         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27952         variable.
27953         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27954         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27956 2014-11-14  David S. Miller  <davem@davemloft.net>
27958         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27959         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27961 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27963         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27964         * configure: Regenerated.
27965         * manual/install.texi (Tools for Compilation): Document a
27966         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27967         compiler verified to work.
27968         * INSTALL: Regenerated.
27970         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27971         redeclare with asm name.
27972         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27973         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27974         including <string.h>.
27975         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27976         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27977         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27978         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27979         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27980         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27981         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27983 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27985         * stdlib/strtol.c (__strtol): Use prototype definition.
27987         [BZ #17594]
27988         * stdlib/strtol.c (SYM__): New macro.
27989         (SYM__1): Likewise.
27990         (__strtol): Likewise.
27991         (strtol): Rename to __strtol and define as weak alias of
27992         __strtol.  Use libc_hidden_weak.
27994 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27996         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27997         Use numbered labels in inline assembly.
27999 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28001         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28002         Add setjmp LIBC_PROBE.
28003         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28004         Likewise.
28005         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28006         Add longjmp, longjmp_target LIBC_PROBE.
28007         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28008         Likewise.
28010 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28012         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28013         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28014         to get rid of unused variable warning.
28016 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28018         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28019         Check for unwind_backtrace ==  NULL only in SHARED case.
28020         (__backchain_backtrace): Compile only in SHARED case.
28021         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28022         Likewise.
28023         (__backchain_backtrace): Declare as static.
28025 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28027         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28028         (__libc_multiple_threads_ptr): Variable moved ...
28029         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28031 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28033         * conform/GlibcConform.pm: New file.
28034         * conform/conformtest.pl: Use GlibcConform module.
28035         * conform/linknamespace.pl: New file.
28036         * conform/list-header-symbols.pl: Likewise.
28037         * conform/Makefile (linknamespace-symlists-base): New variable.
28038         (linknamespace-symlists-tests): Likewise.
28039         (linknamespace-header-base): Likewise.
28040         (linknamespace-header-tests): Likewise.
28041         (tests-special): Add new tests.
28042         ($(linknamespace-symlists-tests)): New rule.
28043         (linknamespace-libs): New variable.
28044         ($(objpfx)symlist-stdlibs): New rule.
28045         ($(linknamespace-header-tests)): Likewise.
28046         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28047         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28048         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28049         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28050         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28051         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28052         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28053         (test-xfail-ISO/math.h/linknamespace): Likewise.
28054         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28055         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28056         (test-xfail-ISO/time.h/linknamespace): Likewise.
28057         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28058         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28059         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28060         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28061         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28062         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28063         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28064         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28065         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28066         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28067         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28068         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28069         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28070         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28071         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28072         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28073         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28074         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28075         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28076         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28077         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28078         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28079         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28080         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28081         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28082         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28083         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28084         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28085         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28086         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28087         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28088         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28089         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28090         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28091         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28092         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28093         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28094         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28095         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28096         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28097         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28098         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28099         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28100         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28101         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28102         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28103         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28104         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28105         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28106         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28107         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28108         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28109         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28110         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28111         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28112         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28113         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28114         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28115         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28116         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28117         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28118         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28119         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28120         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28121         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28122         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28123         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28124         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28125         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28126         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28127         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28128         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28129         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28130         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28131         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28132         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28133         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28134         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28135         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28136         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28137         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28138         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28139         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28140         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28141         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28142         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28143         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28144         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28145         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28146         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28147         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28148         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28149         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28150         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28151         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28152         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28153         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28154         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28155         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28156         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28157         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28158         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28159         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28160         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28161         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28162         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28163         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28164         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28165         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28166         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28167         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28168         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28169         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28170         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28171         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28172         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28173         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28174         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28175         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28176         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28177         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28178         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28179         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28180         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28181         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28182         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28183         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28184         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28185         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28186         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28187         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28188         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28189         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28190         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28191         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28192         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28193         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28194         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28195         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28196         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28197         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28198         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28199         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28200         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28201         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28202         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28203         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28204         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28205         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28206         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28208         [BZ #17589]
28209         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28210         of fgets_unlocked.
28212         [BZ #17585]
28213         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28214         (memmem): Rename to __memmem and define as weak alias of
28215         __memmem.  Use libc_hidden_weak.
28216         (__memmem): Use libc_hidden_def.
28217         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28218         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28219         memmem.
28221         [BZ #17582]
28222         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28223         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28224         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28225         and define as weak alias of __fgets_unlocked.  Use
28226         libc_hidden_weak.
28227         (__fgets_unlocked): Use libc_hidden_def.
28228         * include/stdio.h (__fgets_unlocked): Declare.  Use
28229         libc_hidden_proto.
28230         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28231         __fgets_unlocked instead of fgets_unlocked.
28232         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28233         (GET_NPROCS_CONF_PARSER): Likewise.
28234         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28235         (GET_NPROCS_CONF_PARSER): Likewise.
28237         [BZ #17574]
28238         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28239         weak alias of __wmemset.  Use libc_hidden_weak.
28240         (__wmemset): Use libc_hidden_def.
28241         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28242         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28243         of wmemset.
28245         [BZ #17573]
28246         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28247         with asm name __mempcpy.
28248         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28250         [BZ #17572]
28251         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28252         and define as weak alias of __rawmemchr.
28253         (__rawmemchr): Do not define as strong alias of rawmemchr.
28255         [BZ #17571]
28256         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28257         alias of __qsort_r.
28258         (qsort): Call __qsort_r instead of qsort_r.
28259         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28260         (__qsort_r): Declare.  Call libc_hidden_proto.
28261         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28262         instead of qsort_r.
28263         * nscd/gai.c (__qsort_r): Define to qsort_r.
28264         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28265         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28266         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28268         [BZ #17570]
28269         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28270         define as weak alias of __malloc_info.
28272         [BZ #17584]
28273         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28274         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28275         (__rewinddir): Use libc_hidden_def.
28276         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28277         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28278         (__rewinddir): Use libc_hidden_def.
28279         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28280         weak alias of __rewinddir.  Don't use libc_hidden_def.
28281         (__rewinddir): Use libc_hidden_def.
28282         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28283         (__rewinddir): Use libc_hidden_proto.
28284         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28285         rewinddir.
28286         (__getcwd): Use __rewinddir instead of rewinddir.
28288         [BZ #17583]
28289         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28290         alias of __fileno.  Use libc_hidden_weak.
28291         (__fileno): Use libc_hidden_def.
28292         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28293         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28294         alias of __ftello.
28295         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28296         __ftello.
28297         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28298         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28299         libc_hidden_def.
28300         (fread_unlocked): Don't use libc_hidden_ver.
28301         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28302         and define as weak alias of __fread_unlocked.  Don't use
28303         libc_hidden_def.
28304         (__fread_unlocked): Use libc_hidden_def.
28305         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28306         (ftello): Don't use libc_hidden_proto.
28307         (__ftello): Declare.  Use libc_hidden_proto.
28308         (fread_unlocked): Don't use libc_hidden_proto.
28309         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28310         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28311         and __ftello instead of fileno, fread_unlocked and ftello.
28313 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28315         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28316         GOT12.
28317         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28318         Likewise.
28319         (_dl_start_user): Likewise.
28320         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28322 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28323             Siddhesh Poyarekar  <siddhesh@redhat.com>
28325         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28326         Move argv and envp down instead of moving argc up.
28327         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28329 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28331         [BZ #17506]
28332         * test-skeleton.c (main): Return successful if one of
28333         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28334         * string/tst-strcoll-overflow.c: Define expected status.
28336 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28338         [BZ #17475]
28339         * locale/iso-639.def: Define Bhili and Tulu language codes.
28341 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28343         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28345 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28347         [BZ #17555]
28348         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28350 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28352         * configure.ac: Updated check of minimal required version to
28353         2.22.
28354         * manual/install.texi (Tools for Compilation): Updated version
28355         number.
28356         * configure: Regenerated.
28357         * INSTALL: Likewise.
28359 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28361         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28362         __tls_get_addr.
28364 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28366         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28367         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28368         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28369         libc_hidden_weak.
28370         (waitpid): Define as alias of __waitpid.
28371         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28372         __waitpid.
28373         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28374         libc_hidden_weak.
28375         (waitpid): Define as alias of __waitpid.
28376         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28377         __libc_waitpid alias.
28378         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28379         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28380         Likewise.
28381         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28382         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28383         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28384         alias.
28385         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28386         __waitpid.
28387         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28388         libc_hidden_weak.
28389         (waitpid): Define as alias of __waitpid.
28391 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28393         * manual/llio.texi: Add comment that write safety has been
28394         fixed in Linux.
28396         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28397         (localplt-build-dso): Add elf/ld.so.
28398         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28399         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28400         and free for ld.so.
28401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28402         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28404         Likewise.
28405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28406         Likewise.
28407         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28408         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28409         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28410         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28411         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28412         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28413         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28414         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28415         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28416         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28417         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28419 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28421         [BZ #14132]
28422         * include/libc-symbols.h (INTUSE): Remove macro.
28423         (INTDEF): Likewise.
28424         (INTVARDEF): Likewise.
28425         (_INTVARDEF): Likewise.
28426         (INTDEF2): Likewise.
28427         (INTVARDEF2): Likewise.
28428         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28429         rtld_hidden_def instead of INTVARDEF.
28430         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28431         (_dl_starting_up_internal): Remove declaration.
28432         (_dl_starting_up): Use rtld_hidden_proto.
28433         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28434         declaration.
28435         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28436         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28437         _dl_starting_up.
28438         * elf/dl-writev.h (_dl_writev): Likewise.
28439         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28440         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28441         _dl_starting_up_internal.
28443 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28445         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28446         test-skeleton.c.
28448 2014-11-05  Will Newton  <will.newton@linaro.org>
28450         * benchtests/Makefile: (bench-malloc): Add malloc thread
28451         scalability benchmark.
28452         * benchtests/bench-malloc-threads.c: New file.
28454 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28456         * sysdeps/aarch64/strchrnul.S: New file.
28458 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28460         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28461         definition.
28462         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28463         Likwise.
28464         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28465         Likewise.
28466         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28467         Likewise.
28468         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28469         Likewise.
28470         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28471         Likewise.
28473 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28475         * catgets/test-gencat.c: Use test-skeleton.c.
28476         * catgets/tst-catgets.c: Likewise.
28477         * csu/tst-empty.c: Likewise.
28478         * elf/tst-audit2.c: Likewise.
28479         * elf/tst-global1.c: Likewise.
28480         * elf/tst-pathopt.c: Likewise.
28481         * elf/tst-piemod1.c: Likewise.
28482         * elf/tst-tls10.c: Likewise.
28483         * elf/tst-tls11.c: Likewise.
28484         * elf/tst-tls12.c: Likewise.
28485         * gnulib/tst-gcc.c: Likewise.
28486         * iconvdata/tst-e2big.c: Likewise.
28487         * iconvdata/tst-loading.c: Likewise.
28488         * iconv/tst-iconv1.c: Likewise.
28489         * iconv/tst-iconv2.c: Likewise.
28490         * inet/test-inet6_opt.c: Likewise.
28491         * inet/tst-gethnm.c: Likewise.
28492         * inet/tst-network.c: Likewise.
28493         * inet/tst-ntoa.c: Likewise.
28494         * intl/tst-codeset.c: Likewise.
28495         * intl/tst-gettext2.c: Likewise.
28496         * intl/tst-gettext3.c: Likewise.
28497         * intl/tst-ngettext.c: Likewise.
28498         * intl/tst-translit.c: Likewise.
28499         * io/test-stat.c: Likewise.
28500         * libio/test-fmemopen.c: Likewise.
28501         * libio/tst-freopen.c: Likewise.
28502         * libio/tst-sscanf.c: Likewise.
28503         * libio/tst-ungetwc1.c: Likewise.
28504         * libio/tst-ungetwc2.c: Likewise.
28505         * libio/tst-widetext.c: Likewise.
28506         * localedata/tst-ctype.c: Likewise.
28507         * localedata/tst-digits.c: Likewise.
28508         * localedata/tst-leaks.c: Likewise.
28509         * localedata/tst-mbswcs1.c: Likewise.
28510         * localedata/tst-mbswcs2.c: Likewise.
28511         * localedata/tst-mbswcs3.c: Likewise.
28512         * localedata/tst-mbswcs4.c: Likewise.
28513         * localedata/tst-mbswcs5.c: Likewise.
28514         * localedata/tst-setlocale.c: Likewise.
28515         * localedata/tst-trans.c: Likewise.
28516         * localedata/tst-wctype.c: Likewise.
28517         * localedata/tst-xlocale1.c: Likewise.
28518         * login/tst-grantpt.c: Likewise.
28519         * malloc/tst-calloc.c: Likewise.
28520         * malloc/tst-malloc.c: Likewise.
28521         * malloc/tst-mallocstate.c: Likewise.
28522         * malloc/tst-mcheck.c: Likewise.
28523         * malloc/tst-mtrace.c: Likewise.
28524         * malloc/tst-obstack.c: Likewise.
28525         * math/atest-exp2.c: Likewise.
28526         * math/atest-exp.c: Likewise.
28527         * math/atest-sincos.c: Likewise.
28528         * math/test-matherr.c: Likewise.
28529         * math/test-misc.c: Likewise.
28530         * math/test-powl.c: Likewise.
28531         * math/tst-definitions.c: Likewise.
28532         * misc/tst-dirname.c: Likewise.
28533         * misc/tst-efgcvt.c: Likewise.
28534         * misc/tst-fdset.c: Likewise.
28535         * misc/tst-hsearch.c: Likewise.
28536         * misc/tst-mntent2.c: Likewise.
28537         * nptl/tst-sem7.c: Likewise.
28538         * nptl/tst-sem8.c: Likewise.
28539         * nptl/tst-sem9.c: Likewise.
28540         * nss/test-netdb.c: Likewise.
28541         * posix/tst-fnmatch.c: Likewise.
28542         * posix/tst-getlogin.c: Likewise.
28543         * posix/tst-gnuglob.c: Likewise.
28544         * posix/tst-mmap.c: Likewise.
28545         * pwd/tst-getpw.c: Likewise.
28546         * resolv/tst-inet_ntop.c: Likewise.
28547         * rt/tst-timer.c: Likewise.
28548         * stdio-common/test-fseek.c: Likewise.
28549         * stdio-common/test-popen.c: Likewise.
28550         * stdio-common/test-vfprintf.c: Likewise.
28551         * stdio-common/tst-cookie.c: Likewise.
28552         * stdio-common/tst-fileno.c: Likewise.
28553         * stdio-common/tst-gets.c: Likewise.
28554         * stdio-common/tst-obprintf.c: Likewise.
28555         * stdio-common/tst-perror.c: Likewise.
28556         * stdio-common/tst-sprintf2.c: Likewise.
28557         * stdio-common/tst-sprintf3.c: Likewise.
28558         * stdio-common/tst-sprintf.c: Likewise.
28559         * stdio-common/tst-swprintf.c: Likewise.
28560         * stdio-common/tst-tmpnam.c: Likewise.
28561         * stdio-common/tst-unbputc.c: Likewise.
28562         * stdio-common/tst-wc-printf.c: Likewise.
28563         * stdlib/tst-environ.c: Likewise.
28564         * stdlib/tst-fmtmsg.c: Likewise.
28565         * stdlib/tst-limits.c: Likewise.
28566         * stdlib/tst-rand48-2.c: Likewise.
28567         * stdlib/tst-rand48.c: Likewise.
28568         * stdlib/tst-random2.c: Likewise.
28569         * stdlib/tst-random.c: Likewise.
28570         * stdlib/tst-strtol.c: Likewise.
28571         * stdlib/tst-strtoll.c: Likewise.
28572         * stdlib/tst-tls-atexit.c: Likewise.
28573         * stdlib/tst-xpg-basename.c: Likewise.
28574         * string/test-ffs.c: Likewise.
28575         * string/tst-bswap.c: Likewise.
28576         * string/tst-inlcall.c: Likewise.
28577         * string/tst-strtok.c: Likewise.
28578         * string/tst-strxfrm.c: Likewise.
28579         * sysdeps/x86_64/tst-audit10.c: Likewise.
28580         * sysdeps/x86_64/tst-audit3.c: Likewise.
28581         * sysdeps/x86_64/tst-audit4.c: Likewise.
28582         * sysdeps/x86_64/tst-audit5.c: Likewise.
28583         * time/tst-ftime_l.c: Likewise.
28584         * time/tst-getdate.c: Likewise.
28585         * time/tst-mktime3.c: Likewise.
28586         * time/tst-mktime.c: Likewise.
28587         * time/tst-posixtz.c: Likewise.
28588         * time/tst-strptime2.c: Likewise.
28589         * time/tst-strptime3.c: Likewise.
28590         * wcsmbs/tst-btowc.c: Likewise.
28591         * wcsmbs/tst-mbrtowc.c: Likewise.
28592         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28593         * wcsmbs/tst-wchar-h.c: Likewise.
28594         * wcsmbs/tst-wcpncpy.c: Likewise.
28595         * wcsmbs/tst-wcrtomb.c: Likewise.
28596         * wcsmbs/tst-wcsnlen.c: Likewise.
28597         * wcsmbs/tst-wcstof.c: Likewise.
28599 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28601         [BZ #14132]
28602         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28603         INTDEF.
28604         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28605         declaration.
28606         (_dl_mcount): Use rtld_hidden_proto.
28607         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28608         _dl_mcount.
28609         * elf/rtld.c (_rtld_global_ro): Likewise.
28611         [BZ #14132]
28612         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28613         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28614         of _dl_init_internal.
28615         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28616         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28617         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28618         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28619         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28620         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28621         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28622         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28623         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28624         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28625         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28626         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28627         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28628         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28629         * sysdeps/tile/dl-start.S (_start): Likewise.
28630         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28631         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28633         [BZ #14132]
28634         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28635         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28636         (rtld_progname): Make macro definition unconditional.
28637         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28638         INTDEF.
28639         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28640         (dl_main): Likewise.
28641         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28642         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28643         instead of _dl_argv_internal.
28644         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28645         __GI__dl_argv instead of INTUSE(_dl_argv).
28646         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28647         __GI__dl_argv instead of _dl_argv_internal.
28649         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28650         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28651         macro.
28652         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28653         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28654         New macro.
28655         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28656         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28657         macro.
28658         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28659         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28661 2014-11-04  Andreas Schwab  <schwab@suse.de>
28663         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28665 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28667         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28668         mtvsrd instruction in binary form.
28670 2014-11-03  Andreas Schwab  <schwab@suse.de>
28672         [BZ #17522]
28673         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28674         for less than MB_LEN_MAX use a local buffer of that size.
28675         * libio/tst-fputws.c: New file.
28676         * libio/Makefile (tests): Add tst-fputws.
28678 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28680         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28681         the size of the fpu_fr.fpu_dregs[] array.
28683 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28685         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28686         (__nanosleep): Do not define as alias.
28687         (nanosleep): Define as alias of __nanosleep.
28688         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28689         __libc_nanosleep name.
28691 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28693         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28694         install.texi in comment.
28696 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28698         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28699         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28700         ... add here and use lwsync or sync ...
28701         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28702         ... and add here using lwsync.
28704 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28706         * elf/dl-machine-reject-phdr.h: New file.
28707         * elf/dl-load.c: #include that.
28708         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28709         if that returned true.
28711 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28713         [BZ #17496]
28714         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28715         gen-as-const-headers chunk.  Add a big scare comment after the last
28716         safe place to touch before-compile.
28718 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28720         * manual/install.texi (Tools for Compilation): Update autoconf
28721         version requirements.
28722         * INSTALL: Regenerated.
28724         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28725         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28726         (__libc_pselect): Likewise.
28728         [BZ #14138]
28729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28734 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28736         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28737         correct barrier instruction.
28738         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28739         Likewise.
28740         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28741         Likewise.
28743 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28745         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28746         after defining inlines.  Instead, just use parens to defeat macro
28747         expansion of __isctype in its declaration.
28749 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28751         * include/sys/uio.h (__libc_readv): Remove declaration.
28752         (__libc_writev): Likewise.
28753         * misc/readv.c (__libc_readv): Rename to __readv.
28754         (__readv): Do not define as alias.
28755         (readv): Define as alias of __readv.
28756         * misc/writev.c (__libc_writev): Rename to __writev.
28757         (__writev): Do not define as alias.
28758         (writev): Define as alias of __writev.
28759         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28760         (__readv): Do not define as alias.
28761         (readv): Define unconditionally as alias of __readv.
28762         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28763         (__writev): Do not define as alias.
28764         (writev): Define unconditionally as alias of __writev.
28765         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28766         name.
28767         (writev): Do not define __libc_writev name.
28769 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28771         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28772         (convert_charseq): New function, broken out of ...
28773         (use_from_charmap): ... here.  Call it.
28774         (use_to_charmap): Use convert_charseq and free instead of duplicating
28775         its code with a variable-length stack struct.
28777 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28779         * include/fcntl.h (__libc_creat): Remove declaration.
28780         * io/creat.c (__libc_creat): Rename to creat.
28781         (creat): Do not define as alias.
28782         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28783         of creat instead of __libc_creat.
28784         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28785         to creat.
28786         (creat): Do not define as alias.
28787         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28788         __libc_creat.
28789         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28790         __libc_creat name.
28791         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28792         Likewise.
28794 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28796         * manual/llio.texi: Add comments discussing why write() may be
28797         considered MT-unsafe on Linux.
28799 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28801         * dl-load.c (local_strdup): Remove.
28802         (expand_dynamic_string_token): Use __strdup.
28803         (decompose_rpath): Likewise.
28804         (_dl_map_object): Likewise.
28806 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28808         [BZ #14132]
28809         * sysdeps/generic/unwind-dw2-fde.c
28810         (__register_frame_info_bases_internal): Do not declare.
28811         (__register_frame_info_table_bases_internal): Likewise.
28812         (__deregister_frame_info_bases_internal): Likewise.
28813         (__register_frame_info_bases): Declare and use hidden_proto before
28814         definition.  Use hidden_def instead of INTDEF.
28815         (__register_frame_info_table_bases): Likewise.
28816         (__deregister_frame_info_bases): Likewise.
28817         (__register_frame_info): Do not use INTUSE.
28818         (__register_frame): Likewise.
28819         (__register_frame_info_table): Likewise.
28820         (__register_frame_table): Likewise.
28821         (__deregister_frame_info): Likewise.
28822         (__deregister_frame): Likewise.
28824 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28826         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28827         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28828         not undefine.
28829         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28830         Likewise.
28831         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28832         Likewise.
28834 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28836         [BZ #14138]
28837         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28838         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28839         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28840         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28841         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28842         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28843         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28844         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28845         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28846         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28847         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28848         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28849         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28850         syscall.
28851         (setfsuid): Likewise.
28852         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28853         (setfsuid): Likewise.
28854         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28855         (setfsuid): Likewise.
28856         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28857         Likewise.
28858         (setfsuid): Likewise.
28859         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28860         (setfsuid): Likewise.
28861         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28862         Likewise.
28863         (setfsuid): Likewise.
28865 2014-10-27  Andreas Schwab  <schwab@suse.de>
28867         [BZ #17501]
28868         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28869         check for Slow_SSE4_2 feature bit.
28870         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28871         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28872         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28873         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28875 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28877         * configure.ac: Validate compiler version with a empirical test of
28878         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28879         $CC -v output.
28880         * configure: Regenerated.
28882         * inet/htons.c (htons): Prototypify.
28883         * inet/htonl.c (htonl): Likewise.
28885 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28887         * string/strncat.c (strncat): Improve performance by using strlen.
28889 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28891         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28893 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28895         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28896         Call libc_fetestexcept_aarch64.
28898 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28900         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28901         Call libc_feholdexcept_aarch64.
28903 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28905         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28906         Call get_rounding_mode.
28908 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28910         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28911         Simplify logic.
28913 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28915         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28916         Simplify logic.
28918 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28920         [BZ #14138]
28921         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28922         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28923         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28924         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28925         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28926         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28927         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28928         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28929         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28930         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28931         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28932         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28933         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28934         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28935         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28936         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28937         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28938         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28939         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28940         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28941         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28942         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28943         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28944         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28945         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28946         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28947         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28948         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28949         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28950         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28951         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28952         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28953         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28954         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28955         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28956         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28957         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28958         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28959         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28960         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28961         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28962         syscall.
28963         (geteuid): Likewise.
28964         (getgid): Likewise.
28965         (getuid): Likewise.
28966         (getresgid): Likewise.
28967         (getresuid): Likewise.
28968         (getgroups): Likewise.
28969         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28970         (geteuid): Likewise.
28971         (getgid): Likewise.
28972         (getuid): Likewise.
28973         (getresgid): Likewise.
28974         (getresuid): Likewise.
28975         (getgroups): Likewise.
28976         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28977         (geteuid): Likewise.
28978         (getgid): Likewise.
28979         (getuid): Likewise.
28980         (getresgid): Likewise.
28981         (getresuid): Likewise.
28982         (getgroups): Likewise.
28983         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28984         Likewise.
28985         (geteuid): Likewise.
28986         (getgid): Likewise.
28987         (getuid): Likewise.
28988         (getresgid): Likewise.
28989         (getresuid): Likewise.
28990         (getgroups): Likewise.
28991         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28992         (geteuid): Likewise.
28993         (getgid): Likewise.
28994         (getuid): Likewise.
28995         (getresgid): Likewise.
28996         (getresuid): Likewise.
28997         (getgroups): Likewise.
28998         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28999         Likewise.
29000         (geteuid): Likewise.
29001         (getgid): Likewise.
29002         (getuid): Likewise.
29003         (getgroups): Likewise.
29005         [BZ #14138]
29006         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29007         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29008         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29009         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29010         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29011         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29012         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29013         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29014         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29015         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29016         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29017         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29018         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29019         __chown.
29020         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29021         (lchown): Likewise.
29022         (fchown): Likewise.
29023         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29024         Likewise.
29025         (lchown): Likewise.
29026         (fchown): Likewise.
29027         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29028         (lchown): Likewise.
29029         (fchown): Likewise.
29030         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29031         Likewise.
29032         (lchown): Likewise.
29033         (fchown): Likewise.
29035 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29037         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29038         Simplify logic.
29040 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29042         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29043         Cleanup logic.
29045 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29047         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29048         Remove unused include.
29050 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29052         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29053         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29054         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29055         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29057 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29058             Helge Deller <deller@gmx.de>
29060         [BZ #17508]
29061         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29062         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29063         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29065 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29067         [BZ #14132]
29068         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29069         Remove macro definition.
29070         (__ashrdi3_v_glibc20): Likewise.
29071         (__lshrdi3_v_glibc20): Likewise.
29072         (__cmpdi2_v_glibc20): Likewise.
29073         (__ucmpdi2_v_glibc20): Likewise.
29074         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29075         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29076         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29077         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29078         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29079         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29081 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29083         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29084         old GNU extension [0] syntax.
29085         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29086         alloca rather than an array member with variable length.
29087         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29088         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29089         (parse_opt): ... here.  Likewise use alloca there.
29090         Validate the -i argument before checking for rootness.
29091         (send_shutdown): New function, broken out of ...
29092         (parse_opt): ... here.
29094 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29096         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29097         macro to get at the _rt_local_ro field.
29098         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29099         ([PIC] case) or _dl_hwcap ([!PIC] case).
29100         * sysdeps/arm/setjmp.S: Likewise.
29102         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29103         * sysdeps/arm/configure.ac: New check to define it.
29104         * sysdeps/arm/configure: Regenerated.
29105         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29106         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29107         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29108         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29109         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29110         Use move/movt pair instead of a load.
29111         (LDST_GLOBAL): Macro removed.
29112         (LDR_GLOBAL): New macro replaces it.
29113         (LDR_HIDDEN): New macro.
29114         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29115         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29117         * setjmp/tst-setjmp-static.c: New file.
29118         * setjmp/Makefile (tests): Add it.
29119         (tests-static): New variable.
29121 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29123         [BZ #17485]
29124         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29126 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29128         [BZ #14132]
29129         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29131 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29133         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29135 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29137         * io/fts.c (dirent_not_directory): New function.
29138         (fts_build): Call it.
29140 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29142         * nptl/version.c (__nptl_main): Use normal __write rather than
29143         INTERNAL_SYSCALL.
29144         (banner): Update copyright years.
29146         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29147         gettimeofday.
29148         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29149         * nptl/pthread_cond_timedwait.c: Likewise.
29150         * nptl/pthread_mutex_timedlock.c: Likewise.
29151         * nptl/sem_timedwait.c: Likewise.
29153         * sysdeps/nptl/bits/libc-lock.h
29154         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29155         (__libc_lock_init_recursive): Return void, not 0.
29156         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29157         (__libc_rwlock_init): Likewise.
29158         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29160 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29162         [BZ #15215]
29163         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29164         (__pthread_once_slow): ... here.
29165         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29166         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29168 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29170         [BZ #15215]
29171         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29172         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29173         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29174         * nptl/pthread_once.c (__pthread_once): Likewise.
29175         Update comments.
29177 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29179         [BZ #14138]
29180         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29181         name.
29182         (writev): Use __libc_writev as strong name.
29183         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29184         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29186 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29188         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29190         * sysdeps/i386/nptl/tls.h
29191         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29192         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29193         New macros.
29194         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29195         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29196         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29197         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29198         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29199         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29201         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29202         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29203         on [__NR_futex].
29204         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29205         broken out of ...
29206         (__pthread_mutex_init): ... here.  Call it.
29207         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29208         Conditionalize PI cases on [__NR_futex].
29209         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29210         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29211         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29213         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29214         conditional on [SIGSETXID].
29215         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29216         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29217         is defined.  Likewise for SIGSETXID.
29218         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29219         Conditionalize definitions on [SIGSETXID].
29220         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29221         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29222         unblocking on [SIGCANCEL].
29224         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29225         [__NR_set_robust_list].
29227 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29229         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29230         (do_compare): Likewise.
29232 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29234         [BZ #15884]
29235         * string/strcoll_l.c: Don't include stdio.h.
29236         (coll_seq): Remove members idxarr and rulearr.
29237         (get_next_seq_cached): Remove function.
29238         (get_next_seq): Likewise.
29239         (get_next_seq_nocache): Rename to get_next_seq.
29240         (do_compare): Remove function.
29241         (do_compare_nocache): Rename to do_compare.
29242         (STRCOLL): Remove weight and rules cache.
29244 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29246         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29247         * sysdeps/arm/sfp-machine.h: ... to here.
29248         * sysdeps/arm/Implies: Remove arm/soft-fp.
29250 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29252         * conform/data/sys/utsname.h-data (*_t): Allow.
29253         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29254         [POSIX] (WEXITED): Do not expect constant.
29255         [POSIX] (WSTOPPED): Likewise.
29256         [POSIX] (WNOHANG): Likewise.
29257         [POSIX] (WNOWAIT): Likewise.
29258         [POSIX] (siginfo_t): Do not expect type or elements.
29259         [POSIX] (pid_t): Do not expect type.
29260         [POSIX] (signal.h): Do not allow header.
29261         [POSIX] (sys/resource.h): Likewise.
29262         [POSIX] (si_*): Do not allow pattern.
29263         [POSIX] (W*): Likewise.
29264         [POSIX] (P_*): Likewise.
29265         [POSIX] (BUS_*): Likewise.
29266         [POSIX] (CLD_*): Likewise.
29267         [POSIX] (FPE_*): Likewise.
29268         [POSIX] (ILL_*): Likewise.
29269         [POSIX] (POLL_*): Likewise.
29270         [POSIX] (SEGV_*): Likewise.
29271         [POSIX] (SI_*): Likewise.
29272         [POSIX] (TRAP_*): Likewise.
29273         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29274         variable.
29276 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29278         [BZ #12926]
29279         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29280         infinite loop when __recvmsg returns 0.
29282 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29284         * CANCEL-FCT-WAIVE: Remove file.
29285         * CANCEL-FILE-WAIVE: Likewise.
29287         [BZ #14132]
29288         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29289         instead of INTVARDEF.
29290         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29291         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29292         rtld_hidden_data_def instead of INTVARDEF.
29293         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29294         * elf/dl-deps.c (expand_dst): Likewise.
29295         * elf/dl-load.c (_dl_dst_count): Likewise.
29296         (_dl_dst_substitute): Likewise.
29297         (decompose_rpath): Likewise.
29298         (_dl_init_paths): Likewise.
29299         (open_path): Likewise.
29300         (_dl_map_object): Likewise.
29301         * elf/rtld.c (dl_main): Likewise.
29302         (process_dl_audit): Likewise.
29303         (process_envvars): Likewise.
29304         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29305         Remove declaration.
29306         (__libc_enable_secure): Use rtld_hidden_proto.
29308 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29310         * elf/dl-load.c
29311         (add_path): New function broken out of _dl_rtld_di_serinfo.
29312         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29314 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29316         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29317         parentheses around macro arguments.
29318         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29319         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29320         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29321         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29322         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29323         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29324         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29325         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29326         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29329         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29330         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29331         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29332         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29333         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29334         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29335         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29336         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29337         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29338         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29339         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29340         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29341         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29342         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29343         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29344         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29345         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29346         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29347         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29348         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29349         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29350         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29351         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29352         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29353         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29354         Likewise.
29355         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29356         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29357         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29358         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29359         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29360         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29361         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29362         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29363         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29364         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29365         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29366         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29367         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29368         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29370         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29371         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29372         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29373         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29374         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29375         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29376         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29377         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29378         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29379         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29380         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29381         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29382         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29383         (_FP_FRAC_SRS_1): Likewise.
29384         (_FP_FRAC_CLZ_1): Likewise.
29385         (_FP_MUL_MEAT_1_imm): Likewise.
29386         (_FP_MUL_MEAT_1_wide): Likewise.
29387         (_FP_MUL_MEAT_1_hard): Likewise.
29388         (_FP_SQRT_MEAT_1): Likewise.
29389         (_FP_FRAC_ASSEMBLE_1): Likewise.
29390         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29391         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29392         (__FP_CLZ_2): Likewise.
29393         (_FP_MUL_MEAT_2_wide): Likewise.
29394         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29395         (_FP_MUL_MEAT_2_gmp): Likewise.
29396         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29397         (_FP_SQRT_MEAT_2): Likewise.
29398         (_FP_FRAC_ASSEMBLE_2): Likewise.
29399         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29400         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29401         (_FP_FRAC_CLZ_4): Likewise.
29402         (_FP_MUL_MEAT_4_wide): Likewise.
29403         (_FP_MUL_MEAT_4_gmp): Likewise.
29404         (_FP_SQRT_MEAT_4): Likewise.
29405         (_FP_FRAC_ASSEMBLE_4): Likewise.
29406         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29407         * soft-fp/op-common.h (_FP_CMP): Likewise.
29408         (_FP_CMP_EQ): Likewise.
29409         (_FP_CMP_UNORD): Likewise.
29410         (_FP_TO_INT): Likewise.
29411         (_FP_FROM_INT): Likewise.
29412         [!__FP_CLZ] (__FP_CLZ): Likewise.
29413         (_FP_DIV_HELP_imm): Likewise.
29414         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29415         Likewise.
29416         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29417         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29418         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29419         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29420         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29421         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29422         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29423         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29424         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29425         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29426         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29427         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29428         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29429         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29430         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29431         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29432         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29433         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29434         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29435         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29436         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29437         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29438         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29439         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29440         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29441         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29442         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29443         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29444         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29445         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29446         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29447         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29448         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29449         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29450         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29451         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29452         (FP_UNPACK_RAW_SP): Likewise.
29453         (FP_PACK_RAW_S): Likewise.
29454         (FP_PACK_RAW_SP): Likewise.
29455         (FP_UNPACK_S): Likewise.
29456         (FP_UNPACK_SP): Likewise.
29457         (FP_UNPACK_SEMIRAW_S): Likewise.
29458         (FP_UNPACK_SEMIRAW_SP): Likewise.
29459         (FP_PACK_S): Likewise.
29460         (FP_PACK_SP): Likewise.
29461         (FP_PACK_SEMIRAW_S): Likewise.
29462         (FP_PACK_SEMIRAW_SP): Likewise.
29463         (_FP_SQRT_MEAT_S): Likewise.
29464         (FP_CMP_S): Likewise.
29465         (FP_CMP_EQ_S): Likewise.
29466         (FP_CMP_UNORD_S): Likewise.
29467         (FP_TO_INT_S): Likewise.
29468         (FP_FROM_INT_S): Likewise.
29470         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29472         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29473         (FP_EX_INVALID_IMZ): Likewise.
29474         (FP_EX_INVALID_IMZ_FMA): Likewise.
29475         (FP_EX_INVALID_ISI): Likewise.
29476         (FP_EX_INVALID_ZDZ): Likewise.
29477         (FP_EX_INVALID_IDI): Likewise.
29478         (FP_EX_INVALID_SQRT): Likewise.
29479         (FP_EX_INVALID_CVI): Likewise.
29480         (FP_EX_INVALID_VC): Likewise.
29481         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29482         "invalid" exceptions.
29483         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29484         (_FP_ADD_INTERNAL): Likewise.
29485         (_FP_MUL): Likewise.
29486         (_FP_FMA): Likewise.
29487         (_FP_DIV): Likewise.
29488         (_FP_CMP_CHECK_NAN): Likewise.
29489         (_FP_SQRT): Likewise.
29490         (_FP_TO_INT): Likewise.
29491         (FP_EXTEND): Likewise.
29493 2014-10-09  Allan McRae  <allan@archlinux.org>
29495         * po/fr.po: Update French translation from translation project.
29497 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29499         [BZ #14132]
29500         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29501         of INTDEF.
29502         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29503         (__cxa_atexit): Use libc_hidden_proto.
29504         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29506         [BZ #14132]
29507         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29508         declaration.
29509         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29510         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29511         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29512         [!_ISOMAC] (__iswctype_internal): Likewise.
29513         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29514         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29515         alias.
29516         (fcntl): Remove __fcntl_internal alias.
29517         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29518         __connect_internal alias.
29519         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29520         Likewise.
29522         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29523         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29524         FP_DENORM_ZERO.
29525         (_FP_CHECK_FLUSH_ZERO): New macro.
29526         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29527         (_FP_CMP): Likewise.
29528         (_FP_CMP_EQ): Likewise.
29529         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29530         FP_DENORM_ZERO.
29531         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29532         (FP_TRUNC): Likewise.
29534         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29535         treated as invalid conversion, not as normal exponent.
29537         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29538         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29539         (_FP_CMP_EQ): Likewise.
29540         (_FP_CMP_UNORD): Likewise.
29541         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29542         (FP_CMP_EQ_D): Likewise.
29543         (FP_CMP_UNORD_D): Likewise.
29544         * soft-fp/extended.h (FP_CMP_E): Likewise.
29545         (FP_CMP_EQ_E): Likewise.
29546         (FP_CMP_UNORD_E): Likewise.
29547         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29548         (FP_CMP_EQ_Q): Likewise.
29549         (FP_CMP_UNORD_Q): Likewise.
29550         * soft-fp/single.h (FP_CMP_S): Likewise.
29551         (FP_CMP_EQ_S): Likewise.
29552         (FP_CMP_UNORD_S): Likewise.
29553         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29554         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29555         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29556         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29557         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29558         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29559         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29560         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29561         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29562         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29563         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29564         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29565         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29566         to FP_CMP_Q.
29567         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29568         FP_CMP_Q.
29569         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29570         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29571         FP_CMP_EQ_Q.
29572         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29573         FP_CMP_Q.
29574         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29575         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29576         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29577         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29578         FP_CMP_EQ_Q.
29579         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29580         FP_CMP_Q.
29581         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29582         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29583         FP_CMP_EQ_Q.
29584         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29585         FP_CMP_Q.
29586         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29587         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29588         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29589         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29590         FP_CMP_EQ_Q.
29592         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29593         a subnormal result, set the underflow exception if trapping on
29594         underflow is enabled.
29595         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29596         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29597         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29598         redefine to 0.
29599         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29600         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29601         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29602         * soft-fp/extendxftf2.c (__extendxftf2): Use
29603         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29605         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29606         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29607         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29608         FP_HANDLE_EXCEPTIONS.
29609         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29610         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29611         FP_HANDLE_EXCEPTIONS.
29612         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29613         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29614         FP_HANDLE_EXCEPTIONS.
29615         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29616         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29617         FP_HANDLE_EXCEPTIONS.
29619 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29621         [BZ #14132]
29622         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29623         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29624         use INTUSE.
29625         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29626         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29627         Remove alias.
29628         (__adjtimex): Define using libc_hidden_ver.
29629         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29630         Remove declaration.
29631         (ntp_gettime): Call __adjtimex directly.
29632         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29633         Remove declaration.
29634         (ntp_gettimex): Call __adjtimex directly.
29635         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29636         __adjtimex_internal alias.
29638 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29640         [BZ #17460]
29641         * nscd/nscd.c (more_help): Rewrite list of tables collection
29642         using xstrdup and asprintf.
29644         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29646 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29647             Roland McGrath  <roland@hack.frob.com>
29649         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29650         (do_lookup_unique): ... local function 'enter' here; update callers.
29652 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29654         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29655         compat_symbol calls on [SHARED].
29656         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29657         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29658         Remove.
29659         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29660         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29661         (oldsetrlimit): Remove.
29662         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29664         (lchown): New syscall entry.
29665         (oldsetrlimit): Remove.
29666         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29667         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29668         (oldsetrlimit): Remove.
29669         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29671         [BZ #14138]
29672         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29673         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29674         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29675         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29676         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29677         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29678         (fchown): Likewise.
29679         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29680         (fchown): Likewise.
29681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29682         Likewise.
29684 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29686         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29687         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29688         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29689         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29690         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29691         Likewise.
29692         (__old_sem_post): Likewise.
29694 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29696         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29697         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29698         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29699         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29700         Use INLINE_VSYSCALL macro.
29701         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29702         __vdso_clock_gettime.
29703         * sysdeps/unix/sysv/linux/tile/init-first.c
29704         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29705         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29706         __vdso_clock_gettime.
29708         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29709         to set up frame more cleanly.
29711         * sysdeps/tile/memcmp.c: New file.
29713         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29715         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29716         * sysdeps/tile/tilegx/strcasestr.c: New file.
29717         * sysdeps/tile/tilegx/strnlen.c: New file.
29718         * sysdeps/tile/tilegx/strstr.c: New file.
29720         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29722 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29724         * nptl/tst-setuid3.c: Write errors to stdout.
29726 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29728         * elf/dl-deps.c
29729         (preload): New functions broken out of _dl_map_object_deps.
29730         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29732 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29734         [BZ #14138]
29735         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29736         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29738 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29740         * sysdeps/mips/strcmp.S: New.
29742 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29744         [BZ #14138]
29745         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29746         (linkat): Likewise.
29747         (mkdirat): Likewise.
29748         (readlinkat): Likewise.
29749         (renameat): Likewise.
29750         (symlinkat): Likewise.
29751         (unlinkat): Likewise.
29752         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29753         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29754         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29755         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29756         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29757         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29758         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29760 2014-09-30  Will Newton  <will.newton@linaro.org>
29762         * math/math.h: Define long double math functions if
29763         _LIBC_TEST is defined.
29764         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29766         * localedata/Makefile: Move assignment to tests-special
29767         into an ifdef testing run-built-tests.
29768         * timezone/Makefile: Likewise.
29770 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29772         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29773         with $(BASH) not $(SHELL).
29775 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29776             Matthew LeGendre  <legendre1@llnl.gov>
29778         [BZ #17411]
29779         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29780         l_reloc_result.
29782 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29784         * stdio-common/printf_fp.c
29785         (hack_digit): New function, broken out of ...
29786         (__printf_fp): ... local function here.  Update call sites.
29787         hack_digit now takes an additional parameter that is a pointer
29788         to a struct of the referenced locals.  Those locals moved inside
29789         the struct and references updated.
29791 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29793         * aclocal.m4: Require autoconf 2.69.
29794         * configure: Regenerated.
29795         * sysdeps/aarch64/configure: Likewise.
29796         * sysdeps/alpha/configure: Likewise.
29797         * sysdeps/arm/armv7/configure: Likewise.
29798         * sysdeps/arm/configure: Likewise.
29799         * sysdeps/ia64/configure: Likewise.
29800         * sysdeps/mach/configure: Likewise.
29801         * sysdeps/mips/configure: Likewise.
29802         * sysdeps/s390/configure: Likewise.
29803         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29806         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29807         file.
29808         * sysdeps/ia64/configure.ac: Likewise.
29810 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29813         specify symbol version for ld.so.  Do not include entry for
29814         libpthread.
29815         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29816         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29817         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29819         [BZ #14171]
29820         * Makeconfig [$(build-shared) = yes]
29821         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29822         makefiles.
29823         [$(build-shared) = yes && $(soversions.mk-done) = t]
29824         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29825         [$(build-shared) = yes && $(soversions.mk-done) = t]
29826         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29827         to Makerules.
29828         [$(build-shared) = yes && $(soversions.mk-done) = t]
29829         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29830         here.
29831         [$(build-shared) = yes && $(soversions.mk-done) = t]
29832         (common-generated): Don't append gnu/lib-names.h and
29833         gnu/lib-names.stmp here.
29834         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29835         (lib-names-h-abi): New variable.
29836         [$(build-shared) = yes && $(soversions.mk-done) = t]
29837         (lib-names-stmp-abi): Likewise.
29838         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29839         abi-variants] (before-compile): Append
29840         $(common-objpfx)$(lib-names-h-abi).
29841         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29842         abi-variants] (common-generated): Append gnu/lib-names.h.
29843         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29844         abi-variants] (install-others-nosubdir): Depend on
29845         $(inst_includedir)/$(lib-names-h-abi).
29846         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29847         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29848         [$(build-shared) = yes && $(soversions.mk-done) = t]
29849         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29850         [$(build-shared) = yes && $(soversions.mk-done) = t]
29851         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29852         [$(build-shared) = yes && $(soversions.mk-done) = t]
29853         (common-generated): Append $(lib-names-h-abi) and
29854         $(lib-names-stmp-abi).
29855         * scripts/lib-names.awk: Do not handle multi being set.
29856         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29857         Remove variable.
29858         (abi-lp64_be-ld-soname): Likewise.
29859         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29860         Likewise.
29861         (abi-hard-ld-soname): Likewise.
29862         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29863         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29864         Remove variable.
29865         (abi-o32_hard-ld-soname): Likewise.
29866         (abi-o32_soft_2008-ld-soname): Likewise.
29867         (abi-o32_hard_2008-ld-soname): Likewise.
29868         (abi-n32_soft-ld-soname): Likewise.
29869         (abi-n32_hard-ld-soname): Likewise.
29870         (abi-n32_soft_2008-ld-soname): Likewise.
29871         (abi-n32_hard_2008-ld-soname): Likewise.
29872         (abi-n64_soft-ld-soname): Likewise.
29873         (abi-n64_hard-ld-soname): Likewise.
29874         (abi-n64_soft_2008-ld-soname): Likewise.
29875         (abi-n64_hard_2008-ld-soname): Likewise.
29876         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29877         Likewise.
29878         (abi-64-v2-ld-soname): Likewise.
29879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29880         ld.so entries.
29881         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29882         variable.
29883         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29884         entry.
29885         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29886         variable.
29887         (abi-64-ld-soname): Likewise.
29888         (abi-x32-ld-soname): Likewise.
29889         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29890         entry.
29891         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29893 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29895         [BZ #14138]
29896         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29897         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29898         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29899         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29900         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29901         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29902         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29903         syscall entry for GLIBC_2.2 symbol version.
29904         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29905         Likewise.
29906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29907         (setrlimit): Likewise.
29908         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29909         Likewise.
29911 2014-09-23  Will Newton  <will.newton@linaro.org>
29913         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29914         _LINUX_ARM_SYSDEP_H include guard too.
29915         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29916         define.
29918 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29920         * sysdeps/unix/sysv/linux/eventfd.c:
29921         Make first argument unsigned.
29922         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29923         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29925 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29927         [BZ #16852]
29928         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29929         * socket/sys/socket.h: Likewise.
29930         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29932 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29934         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29936 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29938         * time/tst-ftime.c: New test.
29939         * time/Makefile (tests): Add tst-ftime.
29941 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29943         * soft-fp/extended.h: Fix comment formatting.
29944         * soft-fp/op-1.h: Likewise.
29945         * soft-fp/op-2.h: Likewise.
29946         * soft-fp/op-4.h: Likewise.
29947         * soft-fp/op-8.h: Likewise.
29948         * soft-fp/op-common.h: Likewise.
29949         * soft-fp/soft-fp.h: Likewise.
29951         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29953 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29955         [BZ #6652]
29956         * Makeconfig (soversions-default-setname): Remove variable.
29957         ($(common-objpfx)soversions.i): Don't pass default_setname to
29958         soversions.awk.
29959         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29960         oldest_abi to abi-versions.awk.
29961         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29962         * config.make.in (oldest-abi): Remove variable.
29963         * configure.ac (--enable-oldest-abi): Remove configure option.
29964         * configure: Regenerated.
29965         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29966         text.
29967         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29968         * scripts/soversions.awk: Do not handle default_setname variable.
29969         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29970         variable.
29971         * sysdeps/mach/hurd/configure: Regenerated.
29972         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29973         variable.
29974         * sysdeps/unix/sysv/linux/configure: Regenerated.
29976 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29978         * elf/Makefile (CFLAGS-interp.c): Remove.
29979         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29980         path string.
29981         * elf/interp.c: Include generated runtime-linker.h
29983         * Makerules (lib%.so): Don't include $(+interp) in
29984         prerequisites.
29985         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29986         * dlfcn/eval.c: Remove file.
29988         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29989         macros.
29991         [BZ #17266]
29992         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29993         4.2 and newer.
29995         [BZ #17370]
29996         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29998 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29999             Jakub Jelinek  <jakub@redhat.com>
30001         [BZ #17266]
30002         * libio/stdio.h: Check definition of __fortify_function
30003         instead of __extern_always_inline to include bits/stdio2.h.
30004         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30005         check if __extern_always_inline is defined.
30006         [__USE_MISC || __USE_XOPEN]: Likewise.
30007         [__USE_ISOC99] Likewise.
30008         * misc/sys/cdefs.h (__fortify_function): Define only if
30009         __extern_always_inline is defined.
30010         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30011         __extern_always_inline and __extern_inline only for g++-4.3
30012         and newer or a compatible gcc.
30014 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30016         [BZ #17371]
30017         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30018         last change to handle zero prefix length.
30020 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30022         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30023         _SC_REGEX_VERSION.
30025         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30026         _POSIX_RAW_SOCKETS.
30028 2014-09-13  Allan McRae  <allan@archlinux.org>
30030         * po/ru.po: Update Russian translation from translation project.
30032 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30034         * locale/programs/locale.c (show_locale_vars): Inline local function
30035         into its sole call site.  Clean up some style nits.
30036         (print_item): New function, broken out of ...
30037         (show_info): ... local function here.  Clean up style nits.
30039         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30040         out of ...
30041         (set_class_defaults): ... local function set_default here.
30042         Define set_default as a macro locally to pass constant parameters.
30043         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30044         rather than a shared local.
30046         * stdlib/rpmatch.c (try): New function, broken out of ...
30047         (rpmatch): ... local function here.  Also, prototypify definition.
30049 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30051         * scripts/soversions.awk: Do not handle configuration names.
30052         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30053         vendor and os variables to soversions.awk.
30054         * configure.ac: Do not modify gnu-* host_os.
30055         * configure: Regenerated
30056         * shlib-versions: Remove first column with configuration names.
30057         * nptl/shlib-versions: Likewise.
30058         * nptl_db/shlib-versions: Likewise.
30059         * sysdeps/hppa/shlib-versions: Likewise.
30060         * sysdeps/m68k/shlib-versions: Likewise.
30061         * sysdeps/mach/hurd/shlib-versions: Likewise.
30062         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30063         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30064         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30065         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30066         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30067         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30068         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30069         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30071         Likewise.
30072         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30073         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30074         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30075         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30076         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30077         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30078         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30079         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30082         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30084         Regenerated.
30085         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30087         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30089         * shlib-versions: Remove OS-specific entries.  Moved to files in
30090         sysdeps.
30091         * sysdeps/mach/hurd/shlib-versions: New file.
30092         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30094         * nptl/shlib-versions: Remove architecture-specific entries.
30095         Moved to files in sysdeps.
30096         * shlib-versions: Likewise.
30097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30098         file.
30099         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30100         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30101         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30102         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30104         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30105         (UDP_NO_CHECK6_RX): Likewise.
30107 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30109         * sysdeps/posix/sysconf.c (__sysconf): Spell
30110         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30112 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30114         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30115         loading.
30116         * iconv/Versions (__gconv_transliterate): Export for use from
30117         gconv modules.
30118         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30119         (struct __gconv_trans_data, __gconv_trans_fct,
30120         __gconv_trans_context_fct, __gconv_trans_query_fct,
30121         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30122         definitions.
30123         (struct __gconv_step_data): Remove __trans member.
30124         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30125         longer hidden.  Remove unused trans_data argument.
30126         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30127         (__gconv_translit_find): Remove declaration.
30128         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30129         prototype.
30130         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30131         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30132         trans_data argument.  Add hidden definition.
30133         (__gconv_translit_find): Remove.
30134         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30135         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30136         * iconv/skeleton.c: Remove transliteration initialization.
30137         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30138         __gconv_step_data initialization.
30139         * libio/iofwide.c (__libio_translit_): Remove.
30140         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30141         * wcsmbs/btowc.c (__btowc): Likewise.
30142         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30143         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30144         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30145         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30146         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30147         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30148         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30149         * wcsmbs/wctob.c (wctob): Likewise.
30151 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30153         [BZ #16194]
30154         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30155         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30156         register usage.
30157         * sysdeps/x86/Makefile: Adjust.
30159 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30160             Roland McGrath  <roland@hack.frob.com>
30162         * locale/weight.h: Add include guard.
30163         (findidx): Make static rather than auto; take new parameters
30164         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30165         * locale/weightwc.h: Likewise.
30166         * posix/fnmatch_loop.c
30167         (FCT): Change type of EXTRA from int32_t to wint_t.
30168         Don't include either header inside the function.
30169         Call FINDIDX rather than findidx, and pass new arguments.
30170         #undef FINDIDX at the end of the file.
30171         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30172         FINDIDX before including fnmatch_loop.c for the non-wide version.
30173         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30174         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30175         for the wide version.
30176         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30177         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30178         Pass new arguments to findidx.
30179         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30180         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30181         Don't #include it inside the function.  Pass new arguments to findidx.
30182         * posix/regex_internal.h
30183         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30184         (re_string_elem_size_at): Don't #include it inside the function.
30185         Pass new arguments to findidx.
30186         * string/strcoll_l.c: #include WEIGHT_H at top level.
30187         (get_next_seq): Don't #include it inside the function.
30188         Pass new arguments to findidx.
30189         (get_next_seq_nocache): Likewise.
30190         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30191         (STRXFRM): Don't #include it inside the function.
30192         Pass new arguments to findidx.
30194 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30196         [BZ #17344]
30197         * malloc/malloc.c (unlink): Turn asserts into a call to
30198         malloc_printerr.
30200 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30202         [BZ #17370]
30203         * libio/wfileops (do_ftell_wide): Free OUT.
30205 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30207         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30209 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30211         [BZ #17363]
30212         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30213         group if the current group is empty.
30215 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30217         * benchtests/bench-memset.c (test_main): Add more test from size
30218         from 32 to 512 bytes.
30219         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30220         Add POWER8 memset object.
30221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30222         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30223         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30224         implementation.
30225         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30226         Likewise.
30227         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30228         multiarch POWER8 memset optimization.
30229         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30230         POWER8 memset optimization.
30232         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30233         Remove bzero multiarch objects.
30234         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30235         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30236         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30237         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30238         Remove define.
30239         [__bzero]: Redefine to specific name.
30240         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30241         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30242         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30243         define.
30244         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30245         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30247 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30249         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30250         warnings into errors.
30252         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30253         __cxa_thread_atexit_impl prototype.
30255 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30257         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30258         Fix capitalization of error message.
30260 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30262         * sysdeps/mips/preconfigure: Modify ABI tests.
30264 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30266         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30268 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30269             Carlos O'Donell  <carlos@systemhalted.org>
30271         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30272         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30273         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30274         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30275         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30276         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30277         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30278         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30279         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30280         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30281         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30282         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30283         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30284         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30285         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30286         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30287         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30288         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30289         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30290         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30291         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30292         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30293         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30294         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30295         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30296         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30297         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30298         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30299         Deconditionalize the code that was previously under [RESET_PID].
30300         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30301         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30302         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30303         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30304         include sysdep.h.
30306 2014-09-08  Allan McRae  <allan@archlinux.org>
30308         * version.h (RELEASE): Set to "development".
30309         (VERSION): Set to "2.20.90"
30311 2014-09-07  Allan McRae  <allan@archlinux.org
30313         * version.h (RELEASE): Set to "stable".
30314         (VERSION): Set to "2.20"
30315         * include/features.h (__GLIBC_MINOR__): Set to 20.
30317         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30318         Liebler.
30320         * po/ko.po: Update Korean translation from translation project.
30322 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30324         [BZ #17354]
30325         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30326         macro for handling signed relocations.
30328 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30330         [BZ #17325]
30331         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30332         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30333         assert.
30334         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30335         * iconvdata/ibm935.c (BODY): Likewise.
30336         * iconvdata/ibm937.c (BODY): Likewise.
30337         * iconvdata/ibm939.c (BODY): Likewise.
30338         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30339         assert.
30340         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30341         script.
30342         * iconvdata/run-iconv-test.sh: New test loop for checking for
30343         decoder crashers.
30345 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30347         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30348         libm_hidden_ver.
30350 2014-09-01  Allan McRae  <allan@archlinux.org>
30352         * po/eo.po: Update Esperanto translation from translation project.
30354         * po/ca.po: Update Catalan translation from translation project.
30356 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30358         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30359         __proc_dostop call.
30361 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30363         [BZ #17319]
30364         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30365         to call set_thread_area instead of hand written asm.
30366         (__NR_set_thread_area): Removed define.
30367         (TLS_FLAG_WRITABLE): Likewise.
30368         (__ASSUME_SET_THREAD_AREA): Remove check.
30369         (TLS_EBX_ARG): Remove define.
30370         (TLS_LOAD_EBX): Likewise.
30372 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30374         Simplify atomicity of socket creation in bind.
30376         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30377         looking up the name after linking the file.
30379 2014-08-27  Allan McRae  <allan@archlinux.org>
30381         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30383 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30385         [BZ #17187]
30386         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30387         trans_compare, open_translit, __gconv_translit_find):
30388         Remove module loading code.
30390 2014-08-26  Allan McRae  <allan@archlinux.org>
30392         * po/vi.po: Update Vietnamese translation from translation project.
30394         * po/uk.po: Update Ukrainian translation from translation project.
30396         * po/fr.po: Update French translation from translation project.
30398         * po/ru.po: Update Russian translation from translation project.
30400         * po/pl.po: Update Polish translation from translation project.
30402         * po/cs.po: Update Czech translation from translation project.
30404         * po/de.po: Update German translation from translation project.
30406         * po/bg.po: Update Bulgarian translation from translation project.
30408         * po/sv.po: Update Sweedish translation from translation project.
30410         * po/nl.po: Update Dutch translation from translation project.
30412         * po/es.po: Update Spanish translation from translation project.
30414 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30416         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30418         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30419         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30420         (CPPFLAGS-iconvconfig): Likewise.
30421         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30423         * include/libc-symbols.h: Remove unnecessary check for
30424         NOT_IN_libc.
30425         * nptl/pthreadP.h: Likewise.
30426         * sysdeps/aarch64/setjmp.S: Likewise.
30427         * sysdeps/alpha/setjmp.S: Likewise.
30428         * sysdeps/arm/sysdep.h: Likewise.
30429         * sysdeps/i386/setjmp.S: Likewise.
30430         * sysdeps/m68k/setjmp.c: Likewise.
30431         * sysdeps/posix/getcwd.c: Likewise.
30432         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30433         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30434         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30435         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30436         * sysdeps/sh/sh3/setjmp.S: Likewise.
30437         * sysdeps/sh/sh4/setjmp.S: Likewise.
30438         * sysdeps/unix/alpha/sysdep.h: Likewise.
30439         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30440         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30441         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30442         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30445         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30446         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30447         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30448         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30449         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30450         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30451         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30452         * sysdeps/x86_64/setjmp.S: Likewise.
30454 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30456         [BZ #17263]
30457         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30458         <stdint.h>.
30459         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30460         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30462 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30464         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30466         [BZ #17262]
30467         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30468         and __x86_64__ when disabling x87 inline functions.
30470 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30472         [BZ #17259]
30473         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30474         asm statement with __cpuid_count.
30476 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30478         * configure.ac: Change __ehdr_start code to dereference the struct.
30479         Run readelf on the output to look for relocations.
30480         * configure: Regenerated.
30482 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30484         [BZ #17261]
30485         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30486         value to 0.
30487         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30489 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30491         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30493 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30495         [BZ #16892]
30496         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30497         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30499 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30501         * malloc/malloc.c: Fix typo in comment.
30503 2014-08-09  Allan McRae  <allan@archlinux.org>
30505         * Regenerate libc.po.
30507 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30509         * intl/tst-gettext2.sh: Check every lang file for creation.
30511 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30513         * sysdeps/aarch64/fpu/math_private.h
30514         (libc_feholdsetround_noex_aarch64_ctx): New function.
30516 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30518         * sysdeps/arm/armv6/strcpy.S (strcpy):
30519         Fix performance issue in misaligned cases.
30521 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30523         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30524         Move definition from termios.h.
30525         (struct termio): Likewise.
30526         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30527         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30528         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30529         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30530         Likewise.
30531         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30532         Move definition to ioctl-types.h
30533         (struct termio): Likewise.
30534         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30535         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30536         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30537         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30538         Likewise.
30540 2014-08-05  Richard Henderson  <rth@redhat.com>
30542         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30543         exceptions.
30544         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30545         Add fraiseexcpt.
30546         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30547         Use __feraiseexcept.
30548         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30549         Protect libm symbols with IS_IN_libm.
30551         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30553 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30555         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30557 2014-08-04  Will Newton  <will.newton@linaro.org>
30559         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30560         file.
30562 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30564         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30565         variants for each function.
30567 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30569         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30570         appended ...
30571         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30572         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30573         appended ...
30574         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30575         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30576         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30577         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30578         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30579         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30580         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30581         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30582         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30583         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30584         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30585         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30586         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30587         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30588         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30589         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30590         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30591         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30592         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30593         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30594         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30595         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30596         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30597         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30598         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30599         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30600         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30601         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30602         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30603         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30604         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30605         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30606         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30607         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30608         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30609         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30610         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30611         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30612         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30613         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30614         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30615         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30616         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30617         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30618         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30619         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30620         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30621         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30622         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30623         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30624         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30625         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30626         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30627         Update #include.
30628         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30629         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30631 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30633         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30634         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30635         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30636         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30637         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30638         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30640 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30642         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30643         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30644         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30645         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30647 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30649         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30650         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30651         (__libc_vfork): Define function under this name.
30652         (__vfork): Define as an alias.
30653         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30654         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30656 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30658         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30659         that was previously under [RESET_PID].
30660         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30662 2014-08-04  Andreas Schwab  <schwab@suse.de>
30664         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30666 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30668         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30669         (main): Likewise.
30671 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30673         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30675 2014-08-01  Richard Henderon  <rth@redhat.com>
30677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30678         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30679         typo in exact zero test.
30680         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30681         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30682         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30684 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30686         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30687         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30688         * sysdeps/arm/sysdep.h: ... here.
30689         [!__ASSEMBLER__]: Include <stdint.h>.
30691 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30693         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30694         (HAVE_WCTYPE_H): Likewise.
30695         (HAVE_ISWCTYPE): Likewise.
30696         (ENABLE_NLS): Likewise.
30697         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30698         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30700         * posix/regex_internal.c: Check if DEBUG is defined and is
30701         set.
30703         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30704         (HAVE_MBSRTOWCS): Likewise.
30705         * posix/fnmatch.c: Include string.h unconditionally.
30707 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30709         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30710         reversal.
30712 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30714         * sysdeps/generic/safe-fatal.h: New file.
30715         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30716         * nptl/forward.c: Include it.
30717         (__pthread_unwind): Use __safe_fatal as default action, rather
30718         than a bogus use of INTERNAL_SYSCALL that could never work.
30720         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30721         * configure.ac (libc_cv_builtin_trap): New test.
30722         * configure: Regenerated.
30723         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30724         (ABORT_INSTRUCTION): Define using __builtin_trap.
30726         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30727         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30728         * sysdeps/nptl/nptl-signals.h: New file.
30729         * nptl/pthreadP.h: Include <nptl-signals.h>.
30731 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30733         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30734         (ONE_DIRECTION): Define.
30735         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30736         (ONE_DIRECTION): Define.
30737         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30738         (ONE_DIRECTION): Define.
30740 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30742         * sysdeps/s390/Makefile: Delete file.
30743         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30744         * sysdeps/s390/__longjmp.c: Delete file.
30745         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30746         Remove fields __flags and __reserved.
30747         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30748         and add versioning.
30749         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30750         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30751         * sysdeps/s390/rtld-setjmp.S: Likewise.
30752         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30753         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30754         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30755         * sysdeps/s390/s390-32/setjmp.S: ... here.
30756         Add versioning.
30757         (__sigsetjmp): Remove setting __flags field.
30758         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30759         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30760         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30761         * sysdeps/s390/s390-64/setjmp.S: ... here.
30762         Add versioning.
30763         (__sigsetjmp): Remove setting __flags field.
30764         * sysdeps/s390/setjmp.S: Delete file.
30765         * sysdeps/s390/sigjmp.c: Likewise.
30766         * sysdeps/s390/v1-longjmp.c: Likewise.
30767         * sysdeps/s390/v1-setjmp.h: Likewise.
30768         * sysdeps/s390/v1-sigjmp.c: Likewise.
30769         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30770         Remove v1-longjmp_chk.
30771         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30772         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30773         Include debug/longjmp_chk.c and add versioning.
30774         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30775         Include nptl/pt-longjmp.c and add versioning.
30776         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30777         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30778         Include __longjmp.c.
30779         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30780         Move to ...
30781         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30782         (__getcontext): Remove setting __flags field.
30783         Add versioning.
30784         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30785         Don't restore upper high grps.
30786         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30787         Likewise.
30788         (__swapcontext): Remove setting uc_flags field.
30789         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30790         Delete file.
30791         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30792         Include __longjmp.c.
30793         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30794         Move to ...
30795         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30796         (__getcontext): Remove setting __flags field.
30797         Add versioning.
30798         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30799         (__swapcontext): Remove setting uc_flags field.
30800         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30801         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30802         Remove fields uc_high_gprs and __reserved.
30803         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30804         New file with reverted content.
30805         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30806         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30807         Regenerated.
30808         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30809         Regenerated.
30811 2014-07-31  Andreas Schwab  <schwab@suse.de>
30813         * config.h.in (HAVE_IFUNC): Define to 0.
30814         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30815         definedness.
30817 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30820         memmove-avx-unaligned, memcpy-avx-unaligned and
30821         mempcpy-avx-unaligned.
30822         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30823         Add tests for AVX memcpy functions.
30824         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30825         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30826         memcpy_chk.
30827         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30828         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30829         memmove_chk.
30830         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30831         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30832         mempcpy_chk.
30833         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30834         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30835         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30837 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30839         [BZ #17213]
30840         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30841         powerpc64le.
30843 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30845         [BZ #16839]
30846         * manual/llio.texi: Add section about open file description locks.
30847         * manual/examples/ofdlocks.c: Example of open file description
30848         lock usage.
30849         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30850         F_OFD_SETLK, and F_OFD_SETLKW.
30852 2014-07-23  Allan McRae  <allan@archlinux.org>
30854         * po/es.po: Update Spanish translation from translation project.
30856 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30858         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30860 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30862         [BZ #17078]
30863         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30864         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30865         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30867 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30869         [BZ #17088]
30870         * math/fesetenv.c (__fesetenv)
30871         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30872         * math/feupdateenv.c (__feupdateenv)
30873         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30875         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30876         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30877         (__ASSUME_SOCKETCALL): Do not define.
30879         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30880         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30881         (__ASSUME_SOCKETCALL): Do not define.
30882         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30883         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30884         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30885         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30886         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30887         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30888         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30889         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30891         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30892         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30893         (__ASSUME_SOCKETCALL): Do not define.
30894         (__ASSUME_IPC64): Define unconditionally.
30895         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30896         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30897         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30898         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30899         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30900         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30901         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30902         Likewise.
30904         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30905         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30906         (__ASSUME_SOCKETCALL): Do not define.
30907         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30908         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30909         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30910         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30911         (__ASSUME_REQUEUE_PI): Define unconditionally.
30912         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30913         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30914         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30915         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30916         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30917         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30919         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30920         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30921         (__ASSUME_SOCKETCALL): Do not define.
30922         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30923         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30924         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30925         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30926         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30927         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30929         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30930         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30931         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30932         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30933         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30934         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30935         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30936         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30937         (__ASSUME_GETCPU_SYSCALL): Likewise.
30939         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30940         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30941         cases for individual architectures.
30942         * sysdeps/gnu/configure: Regenerated.
30943         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30944         LIBC_SLIBDIR_RTLDDIR.
30945         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30946         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30947         LIBC_SLIBDIR_RTLDDIR.
30948         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30950         LIBC_SLIBDIR_RTLDDIR.
30951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30952         Regenerated.
30953         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30954         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30955         file.
30956         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30957         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30958         file.
30959         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30960         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30961         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30962         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30964         * sysdeps/aarch64/shlib-versions: Move to ...
30965         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30966         * sysdeps/alpha/shlib-versions: Move to ...
30967         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30968         * sysdeps/arm/shlib-versions: Move to ...
30969         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30970         * sysdeps/hppa/shlib-versions: Move all contents except for
30971         libgcc_s entry to ...
30972         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30973         entry from ...
30974         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30975         * sysdeps/ia64/shlib-versions: Move to ...
30976         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30977         entry from ...
30978         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30979         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30980         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30981         * sysdeps/microblaze/shlib-versions: Move to ...
30982         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30983         * sysdeps/mips/shlib-versions: Move to ...
30984         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30985         entry from ...
30986         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30987         * sysdeps/tile/shlib-versions: Move to ...
30988         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30989         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30990         from ...
30991         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30992         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30993         entry from ...
30994         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30996 2014-07-17  Will Newton  <will.newton@linaro.org>
30998         * sysdeps/arm/bits/atomic.h
30999         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31000         (__arch_compare_and_exchange_bool_16_int): Likewise.
31001         (__arch_compare_and_exchange_bool_64_int): Likewise.
31003         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31004         into an #else block.
31006 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31008         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31009         just Linux configurations.  Test empirically that the compiler sets
31010         __ARM_EABI__, rather than using the tuple to decide.
31011         * sysdeps/arm/preconfigure: Regenerated.
31012         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31013         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31014         contents appended ...
31015         * sysdeps/arm/configure.ac: ... here.
31016         * sysdeps/arm/configure: Regenerated.
31018 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31020         * nptl/pthread_kill.c: New file.
31021         * nptl/pthread_sigmask.c: New file.
31022         * nptl/pthread_sigqueue.c: New file.
31024         * sysdeps/nptl/lowlevellock.h: New file.
31025         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31026         * sysdeps/nptl/lowlevellock-futex.h: New file.
31028         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31029         Remove dead declarations.
31031 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31033         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31034         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31035         config-cflags-avx2.
31036         * sysdeps/x86_64/configure.ac: Likewise.
31037         * sysdeps/i386/configure: Regenerated.
31038         * sysdeps/x86_64/configure: Likewise.
31039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31040         memset-avx2 only if config-cflags-avx2 is yes.
31041         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31042         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31043         defined.
31044         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31045         only if HAVE_AVX2_SUPPORT is defined.
31046         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31048 2014-07-14  Alan Modra  <amodra@gmail.com>
31050         [BZ #17153]
31051         * elf/elf.h (DT_PPC64_NUM): Correct value.
31052         * NEWS: Add to fixed bug list.
31054 2014-07-13  Jim Meyering  <meyering@fb.com>
31056         [BZ 17150]
31057         regex: don't deref NULL upon heap allocation failure
31058         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31059         failure in one more place.
31060         To trigger the segfault, configure grep -with-included-regex,
31061         build it, and run these commands:
31062         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31064 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31066         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31068 2014-07-11  Richard Henderson  <rth@redhat.com>
31070         * sysdeps/aarch64/libm-test-ulps: Update.
31072 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31074         [BZ #17135]
31075         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31076         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31077         (__nptl_setxid): Initialize error member.  Call
31078         __nptl_setxid_error.
31079         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31080         * nptl/descr.h (struct xid_command): Add error member.
31081         * nptl/tst-setuid3.c: New file.
31082         * nptl/Makefile (tests): Add it.
31084 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31086         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31087         New define.
31088         (__lll_trylock): Use __lll_base_trylock.
31089         (__lll_cond_trylock): Likewise.
31091 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31093         * nptl/pthread_create.c (start_thread): Use atomic_or and
31094         lll_futex_wake directly rather than lll_robust_dead.
31095         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31096         (lll_robust_dead): Macro removed.
31097         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31098         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31099         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31100         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31101         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31102         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31103         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31104         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31105         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31106         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31107         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31108         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31109         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31110         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31111         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31113         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31114         Use atomic_compare_and_exchange_val_acq directly rather than
31115         lll_robust_trylock.
31116         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31117         (__lll_robust_trylock, lll_robust_trylock): Removed.
31118         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31119         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31120         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31121         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31122         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31123         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31124         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31125         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31126         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31127         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31128         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31129         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31130         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31131         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31133 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31135         * manual/locale.texi (Locale Names): New section documenting
31136         locale name syntax.  Adjust menu and node chaining accordingly.
31137         (Choosing Locale): Reference Locale Names, Locale Categories.
31138         Mention setting LC_ALL=C.  Reflect that name syntax is now
31139         documented.
31140         (Locale Categories): New section title.  Reference Locale Names.
31141         LC_ALL is an environment variable, but not a category.
31142         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31143         description, now in Locale Name.  Reference that section.  Locale
31144         name syntax is now documented.
31146 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31148         [BZ #17137]
31149         * locale/findlocale.c (name_present, valid_locale_name): New
31150         functions.
31151         (_nl_find_locale): Use the loc_name variable to store name
31152         candidates.  Call name_present and valid_locale_name to check and
31153         validate locale names.  Return an error if the locale is invalid.
31155 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31157         * locale/setlocale.c (setlocale): Use strdup for allocating
31158         composite name copy.
31160 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31162         Sync up with gnulib.
31163         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31164         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31165         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31166         and _GL_ARG_NONNULL.
31167         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31168         [!_LIBC]: Include code for Windows and Cygwin.
31169         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31170         Include prototype for int strerror_r.
31171         [!_LIBC] (is_open): New function.
31172         (flush_stdout): New function.
31173         (print_errno_message): Use it.
31174         (error): Likewise.
31175         (error_at_line): Likewise.
31176         (error_tail) Add function attribute macros.  Use
31177         __builtin_expect.
31179         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31181         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31183         * io/ftw.c: Include sys/param.h unconditionally.
31185         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31187         [BZ #17125]
31188         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31189         libc_freeres_ptr.
31190         (freecache): New function to free CACHE on exit.
31192         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31193         initialization.
31195 2014-07-09  David S. Miller  <davem@davemloft.net>
31197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31199         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31200         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31201         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31202         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31203         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31204         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31205         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31206         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31207         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31208         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31209         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31210         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31211         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31213 2014-07-09  Andreas Schwab  <schwab@suse.de>
31215         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31216         output.
31217         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31218         (do_test): Likewise.
31220         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31222 2014-07-09  Will Newton  <will.newton@linaro.org>
31224         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31225         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31226         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31227         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31228         * sysdeps/hppa/start.S (_start): Likewise.
31230 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31232         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31234         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31235         defined.
31237 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31239         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31240         after checking that it is non-NULL.
31242         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31244 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31246         * sysdeps/powerpc/memmove.c: Remove file.
31247         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31248         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31249         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31250         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31251         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31252         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31253         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31254         string memmove instead of removed powerpc one.
31256         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31257         [weak_alias]: Fix compiler warning due trailing data.
31258         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31259         [weak_alias]: Likewise.
31260         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31261         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31263         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31264         (__libc_ifunc_impl_list): Add memmove functions.
31266 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31268         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31269         Remove code.
31270         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31271         Likewise.
31272         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31273         Likewise.
31274         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31275         Likewise.
31276         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31277         Likewise.
31278         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31279         Likewise.
31280         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31281         Likewise.
31282         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31283         Likewise.
31284         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31285         Likewise.
31286         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31287         Likewise.
31288         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31289         Likewise.
31290         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31291         Likewise.
31292         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31293         Likewise.
31294         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31295         Likewise.
31296         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31297         Likewise.
31298         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31299         Likewise.
31300         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31301         Likewise.
31303 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31305         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31306         to avoid alignment traps in non-cacheable memory.
31307         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31310         multiarch objects.
31311         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31312         file: multiarch power7 memmove.
31313         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31314         multiarch default memmove.
31315         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31316         multiarch memove for powerpc32/power4.
31318         * string/bcopy.c: Use full path to include memmove.c.
31319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31320         multiarch objects.
31321         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31322         bcopy for powerpc64.
31323         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31324         bcopy for powerpc64.
31325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31326         and memmove implementations.
31327         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31328         optimized multiarch memmove for POWER7/powerpc64.
31329         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31330         default multiarch memmove for powerpc64.
31331         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31332         multiarch for powerpc64.
31333         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31334         for POWER7/powerpc64.
31335         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31336         memmove for POWER7/powerpc64.
31338         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31339         glibc default one.
31341         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31342         __ELF_NATIVE_CLASS equal to 64.
31344 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31346         * sysdeps/nptl/lowlevellock.h: File removed.
31348         * NEWS: NPTL is no longer an add-on!
31349         * nptl/internaltypes.h: Moved ...
31350         * sysdeps/nptl/internaltypes.h: ... here.
31351         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31352         * sysdeps/nptl/fork.c: Likewise.
31353         * sysdeps/nptl/gai_misc.h: Likewise.
31354         * sysdeps/nptl/librt-cancellation.c: Likewise.
31355         * sysdeps/nptl/jmp-unwind.c: Likewise.
31356         * sysdeps/nptl/setxid.h: Likewise.
31357         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31358         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31359         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31360         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31361         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31362         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31363         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31364         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31365         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31366         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31367         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31368         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31369         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31370         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31371         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31372         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31373         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31374         * nptl/Makeconfig: Moved ...
31375         * sysdeps/nptl/Makeconfig: ... here.
31376         * nptl/configure: File removed.
31377         * nptl/ANNOUNCE: File removed.
31378         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31379         * sysdeps/unix/sysv/linux/configure: Regenerated.
31381         * nptl/Makefile (routines): Add libc_pthread_init,
31382         libc_multiple_threads, register-atfork and unregister-atfork.
31383         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31384         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31385         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31386         pthread-pi-defines.sym, structsem.sym.
31387         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31388         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31389         [$(subdir) = nptl] (tests): Add tst-setgetname.
31390         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31391         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31392         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31393         [!LIBC_SIGACTION]: Remove aliases.
31394         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31395         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31396         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31397         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31398         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31399         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31400         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31401         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31402         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31403         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31404         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31405         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31406         __libc_allocate_rtsig_private.
31407         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31408         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31409         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31410         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31411         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31412         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31413         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31414         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31415         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31416         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31417         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31418         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31419         * nptl/internaltypes.h: ... here.
31420         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31421         * sysdeps/nptl/jmp-unwind.c: ... here.
31422         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31423         * nptl/libc-lowlevellock.c: ... here.
31424         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31425         * nptl/libc_multiple_threads.c: ... here.
31426         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31427         * nptl/libc_pthread_init.c: ... here.
31428         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31429         * nptl/lowlevelbarrier.sym: ... here.
31430         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31431         * nptl/lowlevelcond.sym: ... here.
31432         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31433         * nptl/lowlevellock.c: ... here.
31434         * nptl/lowlevellock.h: Moved ...
31435         * sysdeps/nptl/lowlevellock.h: ... here.
31436         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31437         * nptl/lowlevelrobustlock.c: ... here.
31438         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31439         * nptl/lowlevelrobustlock.sym: ... here.
31440         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31441         * nptl/lowlevelrwlock.sym: ... here.
31442         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31443         * nptl/pt-fork.c: ... here.
31444         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31445         * nptl/pthread-pi-defines.sym: ... here.
31446         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31447         * nptl/pthread_attr_getaffinity.c: ... here.
31448         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31449         * nptl/pthread_attr_setaffinity.c: ... here.
31450         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31451         * nptl/pthread_mutex_cond_lock.c: ... here.
31452         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31453         Update #include.
31454         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31455         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31456         * nptl/pthread_once.c: ... here, replacing old file.
31457         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31458         * nptl/pthread_yield.c: ... here.
31459         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31460         * nptl/register-atfork.c: ... here.
31461         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31462         * nptl/sem_post.c: ... here.
31463         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31464         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31465         * nptl/sem_timedwait.c: ... here.
31466         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31467         * nptl/sem_trywait.c: ... here.
31468         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31469         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31470         * nptl/sem_wait.c: ... here.
31471         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31472         * nptl/structsem.sym: ... here.
31473         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31474         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31475         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31476         * nptl/unregister-atfork.c: ... here.
31477         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31478         * nptl/unwindbuf.sym: ... here.
31479         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31480         * sysdeps/nptl/fork.c: ... here.
31481         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31482         * sysdeps/nptl/fork.h: ... here.
31483         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31484         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31485         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31486         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31487         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31488         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31489         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31490         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31491         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31492         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31493         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31494         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31495         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31496         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31497         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31498         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31499         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31500         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31501         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31502         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31503         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31504         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31505         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31506         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31507         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31508         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31509         * sysdeps/unix/sysv/linux/raise.c: ... here.
31510         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31511         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31512         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31513         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31514         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31515         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31516         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31517         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31518         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31519         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31520         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31521         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31522         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31523         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31524         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31526 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31528         * sysdeps/generic/memcopy.h: Add comment for
31529         MEMCPY_OK_FOR_FWD_MEMMOVE.
31531 2014-07-04  Will Newton  <will.newton@linaro.org>
31533         * string/memchr.c: Merge from gnulib.
31534         [_LIBC]: Remove conditionals.
31535         (__ptr_t): Remove define.
31536         (LONG_MAX_32_BITS): Likewise.
31537         (LONG_MAX): Likewise.
31538         (MEMCHR): Use ANSI prototype and optimize algorithm.
31540         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31542 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31544         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31545         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31547         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31548         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31549         in a bare environment with no <stdlib.h> installed.
31550         * sysdeps/nptl/configure: Regenerated.
31552         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31554         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31555         AC_EGREP_CPP for kernel header checks, so they only succeed if
31556         including <linux/version.h> actually works right.
31557         * sysdeps/unix/sysv/linux/configure: Regenerated.
31559         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31560         value so it's not diagnosed as unused.
31562         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31563         thing) with "ifeq ($(subdir),rt)".
31565 2014-07-03  Richard Henderson  <rth@redhat.com>
31567         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31568         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31569         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31571         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31572         (math_force_eval): New.
31574         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31575         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31577         * sysdeps/alpha/fpu/s_round.c: Remove file.
31578         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31580         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31581         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31582         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31583         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31584         (_dl_start, print_statistics): Likewise.
31585         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31586         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31588         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31589         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31590         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31591         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31592         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31593         (HP_SMALL_TIMING_AVAIL): Define.
31594         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31595         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31596         (HP_SMALL_TIMING_AVAIL): Define.
31597         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31598         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31600         * sysdeps/aarch64/hp-timing.h: New file.
31602         * sysdeps/generic/hp-timing.h: Remove dead comment.
31603         * sysdeps/generic/hp-timing-common.h: New file.
31604         * sysdeps/alpha/hp-timing.h: Include it.
31605         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31606         * sysdeps/i386/i686/hp-timing.h: Likewise.
31607         * sysdeps/ia64/hp-timing.h: Likewise.
31608         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31609         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31610         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31611         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31612         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31613         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31614         (hp_timing_t): New.
31616         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31617         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31618         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31619         * elf/rtld.c (_dl_start_final): Likewise.
31620         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31621         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31622         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31623         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31624         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31625         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31626         (HP_TIMING_DIFF_INIT): Remove.
31627         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31628         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31629         (HP_TIMING_DIFF_INIT): Remove.
31630         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31631         * sysdeps/i386/i686/hp-timing.c: Remove file.
31632         * sysdeps/x86_64/hp-timing.c: Remove file.
31633         * sysdeps/ia64/hp-timing.c: Remove file.
31634         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31635         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31636         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31637         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31639         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31640         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31641         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31642         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31643         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31644         (HP_TIMING_ACCUM): Remove.
31645         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31646         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31647         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31649         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31650         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31651         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31652         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31653         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31654         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31655         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31656         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31658         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31660 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31662         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31664 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31666         Sync up with gettext.
31667         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31668         [_MSC_VER]: Include malloc.h
31669         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31670         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31671         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31672         TEMP_FAILURE_RETRY.  Cast return of alloca.
31673         [!_LIBC] Call gl_rwlock_init.
31674         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31676 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31678         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31679         before checking its value.
31681 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31683         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31685         * debug/memcpy_chk.c: Don't include pagecopy.h.
31686         * debug/mempcpy_chk.c: Likewise.
31687         * string/memcpy.c: Likewise.
31688         * string/memmove.c: Likewise.
31689         * sysdeps/powerpc/memmove.c: Likewise.
31690         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31691         definition of PAGE_COPY_FWD_MAYBE here...
31692         * sysdeps/generic/pagecopy.h: ... from here.
31693         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31695 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31696             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31698         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31700         optimizations.
31701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31702         (__libc_ifunc_impl_list): Likewise.
31703         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31704         multiarch strcat for PPC64.
31705         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31706         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31708 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31710         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31712 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31714         * intl/loadmsgcat.c: Remove declaration of
31715         get_sysdep_segment_value.
31716         (get_sysdep_segment_value): Use ISO C style.
31717         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31718         semicolon.  Fix typo and formatting in comment.
31719         (_nl_unload_domain): Use ISO C style.
31721         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31723 2014-07-02  Will Newton  <will.newton@linaro.org>
31725         * malloc/obstack.c: Merge from gnulib master.
31726         [HAVE_CONFIG_H]: Remove conditional code.
31727         [!_LIBC]: Include config.h.
31728         [!ELIDE_CODE]: Don't include inttypes.h, include
31729         stdint.h unconditionally.
31730         (print_and_abort): Mark as _Noreturn.
31731         (_obstack_allocated_p): Mark as __attribute_pure__.
31732         (obstack_free): Rename to __obstack_free.
31733         [!__attribute__]: Remove conditional code.
31734         * malloc/obstack.h: Merge from gnulib master.
31735         [__cplusplus]: Move conditional down.
31736         [!__attribute_pure__]: Define __attribute_pure__ here
31737         if it is not already defined.
31738         (_obstack_memory_used): Mark as __attribute_pure__.
31739         [!__obstack_free]: Define as obstack_free.
31740         [__GNUC__]: Remove check for ancient NeXT gcc.
31742 2014-07-02  Will Newton  <will.newton@linaro.org>
31743             Paul Eggert  <eggert@cs.ucla.edu>
31745         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31747 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31749         * resolv/gethnamaddr.c: Add comment warning that the file is
31750         not maintained.
31752 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31754         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31755         entries.
31757         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31758         entry for aio_cancel and aio_cancel64.
31759         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31760         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31761         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31762         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31763         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31764         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31765         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31766         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31767         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31768         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31769         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31770         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31771         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31773 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31775         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31776         * nptl/pthread_mutex_lock.c: Likewise.
31777         * nptl/pthread_mutex_timedlock.c: Likewise.
31778         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31780 2014-07-01  Richard henderson  <rth@redhat.com>
31782         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31783         (__isnan, __isnanl): Remove.
31784         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31786         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31788 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31790         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31792 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31794         * resolv/nss_dns/dns-host.c (getanswer_r)
31795         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31797 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31799         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31800         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31801         undefine.
31802         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31803         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31805 2014-07-01  Roland McGrath <roland@hack.frob.com>
31807         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31808         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31810         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31811         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31813         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31814         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31815         ... here.
31816         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31817         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31819         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31820         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31821         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31822         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31824         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31825         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31826         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31827         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31828         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31829         Moved ...
31830         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31831         ... here.
31832         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31833         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31834         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31835         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31836         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31837         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31838         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31839         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31840         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31841         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31842         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31843         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31844         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31845         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31846         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31847         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31848         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31849         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31850         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31851         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31852         ... here.
31853         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31854         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31855         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31856         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31857         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31858         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31859         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31860         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31862 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31864         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31865         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31866         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31867         Add sysdep.
31869 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31873 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31875         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31876         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31878         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31880         * sysdeps/arm/libm-test-ulps: Regenerated.
31882 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31883             Roland McGrath <roland@hack.frob.com>
31885         * test-skeleton.c (signal_handler): Kill the whole process group
31886         before killing the child individually.
31887         (main): Report any failure on `setpgid'.
31889 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31891         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31892         from _TLS_H to _ARM_NPTL_TLS_H.
31893         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31894         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31896 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31898         [BZ #16539]
31899         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31900         (__expm1l): Return argument unchanged when small but not
31901         subnormal.
31903         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31904         include macro name.
31905         (_FP_UNPACK_RAW_1_P): Likewise.
31906         (_FP_PACK_RAW_1): Likewise.
31907         (_FP_PACK_RAW_1_P): Likewise.
31908         (_FP_MUL_MEAT_1_wide): Likewise.
31909         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31910         (_FP_MUL_MEAT_1_hard): Likewise.
31911         (_FP_DIV_MEAT_1_imm): Likewise.
31912         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31913         (_FP_DIV_MEAT_1_udiv): Likewise.
31914         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31915         (_FP_UNPACK_RAW_2): Likewise.
31916         (_FP_UNPACK_RAW_2_P): Likewise.
31917         (_FP_PACK_RAW_2): Likewise.
31918         (_FP_PACK_RAW_2_P): Likewise.
31919         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31920         (_FP_MUL_MEAT_2_wide): Likewise.
31921         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31922         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31923         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31924         (_FP_MUL_MEAT_2_gmp): Likewise.
31925         (_FP_DIV_MEAT_2_udiv): Likewise.
31926         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31927         (_FP_FRAC_SRL_4): Likewise.
31928         (_FP_FRAC_SRST_4): Likewise.
31929         (_FP_FRAC_SRS_4): Likewise.
31930         (_FP_UNPACK_RAW_4): Likewise.
31931         (_FP_UNPACK_RAW_4_P): Likewise.
31932         (_FP_PACK_RAW_4): Likewise.
31933         (_FP_PACK_RAW_4_P): Likewise.
31934         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31935         (_FP_MUL_MEAT_4_wide): Likewise.
31936         (_FP_MUL_MEAT_4_gmp): Likewise.
31937         (umul_ppppmnnn): Likewise.
31938         (_FP_DIV_MEAT_4_udiv): Likewise.
31939         (__FP_FRAC_ADD_4): Likewise.
31940         (__FP_FRAC_SUB_3): Likewise.
31941         (__FP_FRAC_SUB_4): Likewise.
31942         (__FP_FRAC_DEC_3): Likewise.
31943         (__FP_FRAC_DEC_4): Likewise.
31944         (__FP_FRAC_ADDI_4): Likewise.
31945         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31946         (_FP_FRAC_SRL_8): Likewise.
31947         (_FP_FRAC_SRS_8): Likewise.
31949         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31950         include macro name.
31951         (FP_UNPACK_RAW_EP): Likewise.
31952         (FP_PACK_RAW_E): Likewise.
31953         (FP_PACK_RAW_EP): Likewise.
31954         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31955         (_FP_ISSIGNAN): Likewise.
31956         (_FP_ADD_INTERNAL): Likewise.
31957         (_FP_FMA): Likewise.
31958         (_FP_CMP): Likewise.
31959         (_FP_SQRT): Likewise.
31960         (_FP_TO_INT): Likewise.
31961         (_FP_FROM_INT): Likewise.
31962         (FP_EXTEND): Likewise.
31963         (_FP_DIV_MEAT_N_loop): Likewise.
31965 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31967         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31968         throughout.
31970 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31972         [BZ #17097]
31973         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31974         result with correct sign in case of exponents that produce
31975         overflow except for X very close to 1.
31977 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31979         mktime: merge #if/#ifdef usage from glibc
31980         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31981         as that works with both Glibc's and Gnulib's style.
31982         See thread starting at Siddhesh Poyarekar's bug report at:
31983         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31985 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31987         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31988         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31989         * sysdeps/tile/tilegx/memmove.c: Remove file.
31991 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31993         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31994         abi-name definition.
31995         * scripts/soversions.awk: Do not handle or generate ABI lines.
31996         * shlib-versions: Remove ABI entries.
31997         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31998         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32000 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32003         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32004         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32005         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32007         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32009         Moved ...
32010         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32011         ... here.
32012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32013         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32015         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32017         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32019         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32021         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32023         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32025         Moved ...
32026         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32027         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32028         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32030         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32031         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32032         Moved ...
32033         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32035         Moved ...
32036         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32038         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32040         Moved ...
32041         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32042         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32043         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32045         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32047         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32049         Moved ...
32050         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32052         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32053         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32054         Moved ...
32055         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32056         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32057         Moved ...
32058         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32059         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32060         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32061         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32062         Moved ...
32063         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32064         ... here.
32065         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32066         Identical file removed.
32067         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32068         Moved ...
32069         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32070         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32071         Identical file removed.
32072         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32073         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32074         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32075         Moved ...
32076         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32077         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32078         Identical file removed.
32079         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32080         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32081         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32082         Identical file removed.
32083         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32084         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32085         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32086         Identical file removed.
32087         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32088         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32089         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32090         Identical file removed.
32091         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32092         Moved ...
32093         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32094         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32095         Identical file removed.
32096         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32097         Moved ...
32098         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32099         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32100         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32101         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32102         Identical file removed.
32103         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32104         Moved ...
32105         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32106         ... here.
32107         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32108         Identical file removed.
32109         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32110         Moved ...
32111         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32112         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32113         Identical file removed.
32114         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32115         Moved ...
32116         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32117         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32118         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32119         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32120         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32121         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32122         Moved ...
32123         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32124         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32125         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32127         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32128         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32129         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32130         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32131         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32133 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32135         [BZ #17092]
32136         * nscd/nscd.c (monitor_child): Return exit status of child
32137         instead of return value from wait syscall.
32139 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32141         * configure.ac (libc_commonpagesize): Remove variable.
32142         (libc_relro_required): Likewise.
32143         (libc_cv_z_relro): Remove configure test.
32144         * configure: Regenerated.
32145         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32146         variable.
32147         (libc_relro_required): Likewise.
32148         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32149         (libc_relro_required): Likewise.
32150         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32151         (libc_relro_required): Likewise.
32152         * sysdeps/arm/preconfigure: Regenerated.
32153         * sysdeps/ia64/preconfigure: Remove file.
32154         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32155         variable.
32156         (libc_relro_required): Likewise.
32158         [BZ #16561]
32159         [BZ #16562]
32160         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32161         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32162         recompute overflowing results in original rounding mode.
32163         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32164         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32165         recompute overflowing results in original rounding mode.
32166         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32167         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32168         recompute overflowing results in original rounding mode.
32169         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32170         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32171         recompute overflowing results in original rounding mode.
32172         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32173         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32174         recompute overflowing results in original rounding mode.
32175         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32176         (libc_feholdsetround_ctx): New macro.
32177         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32178         * sysdeps/i386/fpu/libm-test-ulps: Update.
32179         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32181 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32183         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32184         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32185         corresponding .cpsetup call.
32187 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32189         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32190         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32191         * sysdeps/arm/Makefile [$(subdir) = csu]
32192         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32193         (static-only-routines): Add aeabi_read_tp here.
32194         (shared-only-routines): Add libc-aeabi_read_tp here.
32195         (CFLAGS-libc-start.c): Add -fexceptions here.
32196         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32197         (sysdep_routines, static-only-routines, shared-only-routines):
32198         Don't add to these here.
32199         (CFLAGS-libc-start.c): Likewise.
32201         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32202         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32203         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32204         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32205         * sysdeps/arm/Makefile [$(subdir) = rt]
32206         (librt-sysdep_routines, librt-shared-only-routines):
32207         Append rt-aeabi_unwind_cpp_pr1 here.
32208         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32209         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32210         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32211         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32212         Append nptl-aeabi_unwind_cpp_pr1 here.
32213         (tests): Filter out tst-cleanupx4 here.
32214         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32215         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32216         Don't do those here.
32218 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32220         * scripts/list-sources.sh: Do not handle ports specially.
32222 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32224         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32225         * sysdeps/arm/feupdateenv.c: Likewise.
32227         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32229 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32231         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32232         trailing whitespace removed.
32233         * scripts/config.guess: Update to version 2014-03-23.
32234         * scripts/config.sub: Update to version 2014-05-01
32235         * scripts/install-sh: Update to version 2013-12-25.23.
32236         * scripts/move-if-change: Update from gnulib.
32238 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32240         * debug/memmove_chk.c: Remove pagecopy.h include.
32242 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32244         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32245         identical to gnulib mktime.
32247 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32249         * configure.ac: Do not test for machine being rs6000.  Do not test
32250         for powerpc*-*soft.
32251         * configure: Regenerated.
32253         [BZ #11505]
32254         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32255         test.
32256         * configure: Regenerated.
32257         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32258         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32259         Remove configure test.
32260         * sysdeps/arm/configure: Regenerated.
32261         * sysdeps/nptl/configure.ac: Do not check
32262         libc_cv_asm_cfi_directives.
32263         * sysdeps/nptl/configure: Regenerated.
32264         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32265         * sysdeps/x86_64/nptl/configure: Remove generated file.
32266         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32267         unconditional.
32268         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32270 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32272         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32273         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32274         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32275         it is defined.
32277         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32278         instead of whether it is defined.
32279         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32280         * sysdeps/hppa/dl-machine.h: Likewise.
32281         * sysdeps/ia64/dl-machine.h: Likewise.
32282         * sysdeps/m68k/dl-machine.h: Likewise.
32283         * sysdeps/microblaze/dl-machine.h: Likewise.
32284         * sysdeps/mips/dl-machine.: Likewise.
32285         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32286         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32287         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32288         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32289         * sysdeps/sh/dl-machine.h: Likewise.
32290         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32291         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32292         * sysdeps/tile/dl-machine.h: Likewise.
32293         * sysdeps/x86_64/dl-machine.h: Likewise.
32295         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32296         code.
32297         (verify_persistent_db): Likewise.
32299 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32302         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32304         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32306         Moved ...
32307         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32308         ... here.
32309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32310         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32312         Identical file removed.
32313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32314         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32316         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32318         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32320         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32322         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32324         Moved ...
32325         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32327         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32329         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32331         Moved ...
32332         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32334         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32336         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32338         Identical file removed.
32339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32340         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32342         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32344         Moved ...
32345         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32346         ... here.
32347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32348         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32350         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32352         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32354         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32356         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32358         Moved ...
32359         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32361         Moved ...
32362         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32364         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32366         Moved ...
32367         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32369         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32371         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32372         folded into ...
32373         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32374         * sysdeps/unix/sysv/linux/s390/Versions
32375         (libpthread: GLIBC_2.19): New version set.
32376         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32377         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32378         (librt: GLIBC_2.3.3): New version set.
32379         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32380         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32381         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32382         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32383         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32384         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32385         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32386         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32387         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32388         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32389         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32390         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32391         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32392         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32393         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32394         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32395         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32396         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32397         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32398         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32399         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32400         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32401         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32402         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32403         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32404         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32405         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32406         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32407         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32408         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32409         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32410         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32411         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32412         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32413         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32414         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32415         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32416         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32417         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32418         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32419         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32420         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32421         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32422         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32423         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32425         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32426         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32427         (__libc_vfork): Define the function under this name.
32428         [!NOT_IN_libc] (__vfork): Make this an alias.
32429         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32431         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32432         (__libc_vfork): Define the function under this name.
32433         [!NOT_IN_libc] (__vfork): Make this an alias.
32434         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32435         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32436         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32437         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32438         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32439         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32441         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32442         code that was previously under [RESET_PID].
32443         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32444         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32445         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32447         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32448         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32449         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32450         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32451         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32452         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32453         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32454         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32455         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32456         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32457         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32458         Moved ...
32459         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32460         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32461         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32462         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32463         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32464         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32465         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32466         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32467         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32468         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32469         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32470         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32471         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32472         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32473         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32474         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32475         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32476         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32477         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32478         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32479         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32480         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32481         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32482         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32483         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32484         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32485         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32486         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32487         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32489 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32491         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32492         that was previously under [RESET_PID].
32493         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32495 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32497         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32498         not undefine and redefine.
32499         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32500         [O_CLOEXEC]: Make code unconditional.
32501         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32502         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32503         <kernel-features.h>.
32504         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32505         conditional variable definition.
32506         (shm_open) [O_CLOEXEC]: Make code unconditional.
32507         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32508         code.
32510         * configure.ac (USE_REGPARMS): Don't define here.
32511         * configure: Regenerated.
32512         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32513         * sysdeps/i386/configure: Regenerated.
32515         * nptl/createthread.c: Don't include kernel-features.h.
32516         * nptl/pthread_cancel.c: Likewise.
32517         * nptl/pthread_condattr_setclock.c: Likewise.
32518         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32519         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32520         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32521         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32522         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32523         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32524         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32525         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32526         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32527         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32528         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32529         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32530         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32531         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32532         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32533         * nscd/gai.c: Likewise.
32534         * nss/nss_db/db-open.c: Likewise.
32535         * sysdeps/generic/ldsodefs.h: Likewise.
32536         * sysdeps/sh/nptl/tls.h: Likewise.
32537         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32538         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32539         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32540         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32541         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32542         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32543         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32544         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32545         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32546         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32547         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32548         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32549         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32550         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32551         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32552         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32553         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32554         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32555         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32556         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32557         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32558         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32559         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32560         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32561         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32562         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32563         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32564         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32565         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32566         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32567         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32568         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32569         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32570         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32571         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32572         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32573         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32574         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32575         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32576         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32577         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32578         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32579         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32580         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32581         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32582         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32583         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32584         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32585         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32586         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32587         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32588         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32589         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32590         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32591         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32592         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32593         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32594         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32617         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32618         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32619         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32620         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32621         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32622         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32623         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32624         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32625         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32626         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32627         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32628         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32629         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32630         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32631         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32632         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32633         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32634         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32635         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32636         * sysdeps/unix/sysv/linux/system.c: Likewise.
32637         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32638         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32639         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32640         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32641         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32642         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32643         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32645         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32646         * configure: Regenerated.
32647         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32649         * configure.ac (base_machine): Do not set specially for particular
32650         machines here.
32651         * configure: Regenerated.
32652         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32653         settings from configure.ac.
32654         * sysdeps/i386/preconfigure: New file.
32655         * sysdeps/s390/preconfigure: Likewise.
32656         * sysdeps/sh/preconfigure: Likewise.
32657         * sysdeps/sparc/preconfigure: Likewise.
32659 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32661         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32662         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32663         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32664         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32665         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32666         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32667         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32668         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32669         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32670         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32671         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32672         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32673         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32674         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32675         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32676         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32677         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32678         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32679         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32681         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32682         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32683         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32684         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32685         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32686         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32687         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32688         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32689         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32690         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32691         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32692         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32693         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32694         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32695         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32696         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32697         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32698         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32699         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32700         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32701         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32702         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32703         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32704         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32705         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32706         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32707         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32708         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32709         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32710         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32711         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32712         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32713         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32714         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32715         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32716         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32717         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32718         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32721         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32723         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32725         Moved ...
32726         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32727         ... here.
32728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32729         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32731         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32733         Moved ...
32734         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32736         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32738         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32740         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32742         Moved ...
32743         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32745         Moved ...
32746         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32748         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32750         Moved ...
32751         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32753         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32755         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32757         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32759         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32761         Moved ...
32762         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32763         ... here.
32764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32765         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32767         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32769         Moved ...
32770         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32772         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32774         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32776         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32778         Moved ...
32779         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32781         Moved ...
32782         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32784         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32786         Moved ...
32787         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32789         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32791         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32793 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32795         * timezone/checktab.awk: Update from tzcode 2014e.
32796         * timezone/private.h: Likewise.
32797         * timezone/tzfile.h: Likewise.
32798         * timezone/zdump.c: Likewise.
32799         * timezone/zic.c: Likewise.
32801         * sysdeps/unix/sysv/linux/kernel-features.h
32802         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32803         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32804         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32805         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32806         Remove conditional code.
32808 2014-06-25  Will Newton  <will.newton@linaro.org>
32810         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32811         (_dl_arm_cap_flags): Add HWCAP2 values.
32812         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32813         (_DL_HWCAP_COUNT): Increase to 37.
32814         (_DL_HWCAP_LAST): New define.
32815         (_DL_HWCAP2_LAST): New define.
32816         (_dl_procinfo): Add support for printing
32817         AT_HWCAP2 entries.
32818         (_dl_string_hwcap): Use _dl_hwcap_string.
32820 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32824 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32826         * README: Do not mention ports directory.
32828         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32829         Remove macro.
32830         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32831         <kernel-features.h>.
32832         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32833         conditional variable definition.
32834         (__futimes): Update comment.
32835         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32836         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32838         [BZ #16560]
32839         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32840         arguments close to 0.
32841         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32842         Likewise.
32843         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32844         Likewise.
32845         * math/auto-libm-test-in: Add more tests of exp10.
32846         * math/auto-libm-test-out: Regenerated.
32847         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32849         * sysdeps/unix/sysv/linux/kernel-features.h
32850         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32851         * sysdeps/unix/sysv/linux/readv.c: Do not include
32852         <kernel-features.h>.
32853         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32854         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32855         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32856         unconditional.
32857         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32858         conditional code.
32859         * sysdeps/unix/sysv/linux/writev.c: Do not include
32860         <kernel-features.h>.
32861         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32862         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32863         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32864         unconditional.
32865         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32866         conditional code.
32868 2014-06-25  Will Newton  <will.newton@linaro.org>
32870         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32871         comment changes throughout the file.  Remove checks
32872         for HAVE_*_H definitions that are not required.
32873         (__gen_tempname): Call abort if an unknown kind value is
32874         passed.
32876 2014-06-25  Andreas Schwab  <schwab@suse.de>
32878         [BZ #17086]
32879         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32880         scalbln, scalblnf, scalblnl in libc.
32882 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32884         [BZ #17086]
32885         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32886         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32887         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32889 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32891         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32892         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32893         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32894         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32895         Update #include.
32896         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32897         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32898         Update #include.
32899         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32900         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32901         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32902         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32903         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32904         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32905         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32906         * sysdeps/x86/bits/semaphore.h: ... here.
32907         * sysdeps/x86/nptl/elide.h: Moved ...
32908         * sysdeps/x86/elide.h: ... here.
32909         * sysdeps/x86_64/nptl/Implies: File removed.
32910         * sysdeps/i386/nptl/Implies: File removed.
32912 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32914         [BZ #16539]
32915         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32916         return the argument for normal arguments with exponent below -64.
32917         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32918         Likewise.
32919         * math/auto-libm-test-in: Add another test of expm1.
32920         * math/auto-libm-test-out: Regenerated.
32922         [BZ #16287]
32923         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32924         calling __erfcl for arguments at least 16.
32925         * math/auto-libm-test-in: Add more tests of erf.
32926         * math/auto-libm-test-out: Regenerated.
32928         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32929         individual architectures.
32930         * sysdeps/unix/sysv/linux/configure: Regenerated.
32931         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32932         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32933         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32934         (ldd_rewrite_script): Define variable.
32935         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32937         file.
32938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32939         generated file.
32940         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32941         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32942         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32943         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32944         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32945         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32946         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32947         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32949 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32951         [BZ #17084]
32952         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32953         Rename member __data.d to __data.__elision_data.
32955 2014-06-24  Wilco  <wdijkstr@arm.com>
32957         * NEWS: Add 16918 to fixed bug list.
32959 2014-06-24  Wilco  <wdijkstr@arm.com>
32961         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32963 2014-06-24  Wilco  <wdijkstr@arm.com>
32965         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32966         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32967         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32968         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32969         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32970         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32971         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32972         Use _FPU_MASK_RM.
32974 2014-06-24  Wilco  <wdijkstr@arm.com>
32976         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32978 2014-06-24  Wilco  <wdijkstr@arm.com>
32980         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32981         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32982         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32983         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32985 2014-06-24  Wilco  <wdijkstr@arm.com>
32987         [BZ #16918]
32988         * sysdeps/arm/feupdateenv.c (feupdateenv):
32989         Rewrite to reduce FPSCR accesses and fix return value.
32991 2014-06-24  Wilco  <wdijkstr@arm.com>
32993         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32994         Optimize to avoid unnecessary FPSCR writes.
32995         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32996         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32997         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32998         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33000 2014-06-24  Wilco  <wdijkstr@arm.com>
33002         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33003         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33004         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33005         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33006         Call libc_fetestexcept_vfp.
33007         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33008         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33009         __SOFTFP__ ifdef so that they can be built for softfp.
33011 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33013         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33014         argument type signed char.
33016         * Makerules (check-abi): Dump diff of symlist if the test
33017         fails.
33019 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33021         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33022         using abort.
33024         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33025         Remove unused variable ST.
33027 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33029         [BZ #16354]
33030         [BZ #17061]
33031         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33032         small arguments before calling __expm1.
33033         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33034         small arguments before calling __expm1f.
33035         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33036         small arguments before calling __expm1l.
33037         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33038         Likewise.
33039         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33040         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33041         spurious underflow for some cosh tests.
33042         * math/auto-libm-test-out: Regenerated.
33043         * sysdeps/i386/fpu/libm-test-ulps: Update.
33045         [BZ #17050]
33046         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33047         (__ieee754_y1): Set errno if return value overflows.
33048         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33049         (__ieee754_y1f): Set errno if return value overflows.
33050         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33051         (__ieee754_y1l): Set errno if return value overflows.
33052         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33053         (__ieee754_y1l): Set errno if return value overflows.
33054         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33055         * math/auto-libm-test-out: Regenerated.
33057         * math/gen-auto-libm-tests.c: Document use of
33058         ignore-zero-inf-sign.
33059         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33060         (input_flags): Add ignore-zero-inf-sign.
33061         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33062         * math/gen-libm-test.pl (generate_testfile): Handle
33063         ignore-zero-inf-sign.
33064         * math/auto-libm-test-in: Mark some cpow tests with
33065         ignore-zero-inf-sign and some with xfail-rounding.
33066         * math/auto-libm-test-out: Regenerated.
33067         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33068         * sysdeps/i386/fpu/libm-test-ulps: Update.
33069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33071         [BZ #16315]
33072         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33073         overflowing or underflowing operations take place with sign of
33074         result.
33075         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33076         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33077         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33078         (__ieee754_pow): Recompute overflowing and underflowing results in
33079         original rounding mode.
33080         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33081         (__powl_helper): Allow negative argument X and scale negated value
33082         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33083         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33084         overflowing or underflowing operations take place with sign of
33085         result.
33086         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33087         Include <math.h>.
33088         * math/auto-libm-test-in: Add more tests of pow.
33089         * math/auto-libm-test-out: Regenerated.
33090         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33091         (pow_tonearest_test_data): Remove.
33092         (pow_test_tonearest): Likewise.
33093         (pow_towardzero_test_data): Likewise.
33094         (pow_test_towardzero): Likewise.
33095         (pow_downward_test_data): Likewise.
33096         (pow_test_downward): Likewise.
33097         (pow_upward_test_data): Likewise.
33098         (pow_test_upward): Likewise.
33099         (main): Don't call removed functions.
33100         * sysdeps/i386/fpu/libm-test-ulps: Update.
33101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33103 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33106         Moved ...
33107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33109         Moved ...
33110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33112         Moved ...
33113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33115         Moved ...
33116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33118         File removed.
33119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33120         File removed.
33121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33122         File removed.
33123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33124         File removed.
33125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33126         File removed.
33127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33128         File removed.
33129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33130         File removed.
33131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33132         File removed.
33133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33134         File removed.
33135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33136         File removed.
33137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33138         File removed.
33139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33140         File removed.
33141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33142         Moved ...
33143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33145         Moved ...
33146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33147         ... here.
33148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33149         Moved ...
33150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33152         Moved ...
33153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33155         Moved ...
33156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33158         Moved ...
33159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33161         Moved ...
33162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33164         Moved ...
33165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33167         Moved ...
33168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33171         ... here.
33172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33173         Moved ...
33174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33176         Moved ...
33177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33178         ... here.
33179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33180         Moved ...
33181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33182         ... here.
33183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33184         Moved ...
33185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33186         ... here.
33187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33188         Moved ...
33189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33191         Moved ...
33192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33196         Moved ...
33197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33198         ... here.
33199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33200         Moved ...
33201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33202         ... here.
33203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33204         Moved ...
33205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33207         Moved ...
33208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33210         Moved ...
33211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33213         Moved ...
33214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33216         Moved ...
33217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33218         ... here.
33219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33220         Moved ...
33221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33223         Moved ...
33224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33226         Moved ...
33227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33229         Moved ...
33230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33234         Moved ...
33235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33237         Moved ...
33238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33240         Moved ...
33241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33242         ... here.
33243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33244         Moved ...
33245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33246         ... here.
33247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33248         Moved ...
33249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33250         ... here.
33251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33252         Moved ...
33253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33255         Moved ...
33256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33258         Moved ...
33259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33261         Moved ...
33262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33263         ... here.
33264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33265         Moved ...
33266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33267         ... here.
33268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33269         Moved ...
33270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33271         ... here.
33272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33273         Moved ...
33274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33276         Moved ...
33277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33279 2014-06-23  Will Newton  <will.newton@linaro.org>
33280             Wilco  <wdijkstr@arm.com>
33282         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33283         implementation.  Include get-rounding-mode.h.
33284         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33285         [!libc_feholdsetround_noex_ctx]: Define
33286         libc_feholdsetround_noex_ctx.
33287         [!libc_feholdsetround_noexf_ctx]: Define
33288         libc_feholdsetround_noexf_ctx.
33289         [!libc_feholdsetround_noexl_ctx]: Define
33290         libc_feholdsetround_noexl_ctx.
33291         (libc_feholdsetround_ctx): New function.
33292         (libc_feresetround_ctx): New function.
33293         (libc_feholdsetround_noex_ctx): New function.
33294         (libc_feresetround_noex_ctx): New function.
33296 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33298         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33299         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33300         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33301         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33302         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33303         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33305         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33306         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33307         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33308         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33309         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33310         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33311         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33312         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33313         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33314         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33315         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33316         Moved ...
33317         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33318         ... here.
33319         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33320         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33322         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33323         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33324         Moved ...
33325         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33326         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33327         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33328         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33329         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33330         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33331         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33332         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33333         Moved ...
33334         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33335         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33336         Moved ...
33337         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33338         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33339         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33341         Moved ...
33342         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33343         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33344         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33345         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33346         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33347         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33348         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33349         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33350         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33351         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33352         Moved ...
33353         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33354         ... here.
33355         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33356         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33357         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33358         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33359         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33360         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33361         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33362         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33364         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33366         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33367         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33368         Moved ...
33369         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33370         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33371         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33372         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33373         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33374         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33375         Moved ...
33376         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33377         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33378         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33379         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33380         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33382         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33383         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33384         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33385         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33386         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33387         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33388         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33389         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33390         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33391         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33392         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33393         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33394         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33395         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33396         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33397         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33398         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33399         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33400         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33401         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33402         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33403         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33404         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33405         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33406         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33407         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33408         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33409         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33411 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33413         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33414         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33415         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33416         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33417         (IPV6_PMTUDISC_INTERFACE): Likewise.
33418         (IPV6_PMTUDISC_OMIT): Likewise.
33420 2014-06-23  Andreas Schwab  <schwab@suse.de>
33422         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33423         Remove unused errout label.
33425 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33427         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33428         macro: hardware supports Vector Crypto instructions.
33430 2014-06-23  Will Newton  <will.newton@linaro.org>
33432         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33433         rather than __builtin_expect.
33435         * elf/dl-lookup.c (undefined_msg): Remove variable.
33436         (_dl_lookup_symbol_x): Replace undefined_msg with string
33437         literal.
33439         * elf/dl-lookup.c (do_lookup_unique): New function.
33440         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33441         to a separate function.
33443 2014-06-23  Andreas Schwab  <schwab@suse.de>
33445         [BZ #17079]
33446         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33447         before reading the next line.
33449 2014-06-23  Will Newton  <will.newton@linaro.org>
33451         * test-skeleton.c (signal_handler): Use printf and %m
33452         rather than perror.  Use printf rather than fprintf to
33453         stderr.  Use puts rather than fputs to stderr.
33454         (main): Likewise.
33456 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33458         * nscd/nscd.c (thread_info_t): Remove typedef.
33459         (thread_info): Remove variable.
33461 2014-06-21  Allan McRae  <allan@archlinux.org>
33463         * NEWS: Mention CVE-2014-4043.
33465 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33467         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33468         * nptl/smp.h: ... here.
33470         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33472         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33473         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33474         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33475         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33477         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33478         * nptl/stack-aliasing.h: New file.
33479         * sysdeps/i386/i686/stack-aliasing.h: New file.
33480         * sysdeps/i386/i686/nptl/Makefile: File removed.
33481         * sysdeps/x86_64/stack-aliasing.h: New file.
33482         * sysdeps/x86_64/nptl/Makefile
33483         (CFLAGS-pthread_create.c): Variable removed.
33485         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33486         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33487         old file.
33488         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33489         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33490         old file.
33492 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33494         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33495         (__ASSUME_SIGFRAME_V2): Remove macro.
33496         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33497         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33498         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33499         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33500         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33501         Declare as function.  Remove conditional macro definitions.
33502         (__default_rt_sa_restorer): Likewise.
33503         (__default_sa_restorer_v1): Remove declaration.
33504         (__default_sa_restorer_v2): Likewise.
33505         (__default_rt_sa_restorer_v1): Likewise.
33506         (__default_rt_sa_restorer_v2): Likewise.
33507         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33508         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33509         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33511 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33513         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33514         (libpthread-routines): Add sysdep.
33515         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33516         * sysdeps/unix/sysv/linux/sparc/Versions
33517         (libpthread: GLIBC_2.3.3): New version set.
33518         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33519         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33520         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33521         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33522         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33523         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33524         Moved ...
33525         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33526         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33527         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33528         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33529         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33530         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33531         * sysdeps/sparc/nptl/sem_init.c: ... here.
33532         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33533         * sysdeps/sparc/nptl/sem_post.c: ... here.
33534         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33535         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33536         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33537         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33538         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33539         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33540         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33541         (libpthread-routines): Add cpu_relax.
33542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33543         File removed.
33544         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33545         (librt: GLIBC_2.3.3): New version set.
33546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33547         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33548         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33549         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33552         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33554         Moved ...
33555         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33557         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33559         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33561         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33563         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33565         Moved ...
33566         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33567         Update #include.
33568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33569         Moved ...
33570         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33571         Update #include.
33572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33573         Moved ...
33574         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33575         Update #include.
33576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33577         Moved ...
33578         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33579         Update #include.
33580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33581         Moved ...
33582         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33583         Update #include.
33584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33585         Moved ...
33586         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33587         Update #include.
33588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33589         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33591         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33593         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33595         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33597         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33599         Moved ...
33600         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33601         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33602         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33604         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33606 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33608         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33609         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33610         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33611         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33612         * nscd/nscd.c: Likewise.
33613         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33614         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33615         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33616         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33618         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33619         <kernel-features.h>.
33620         (init_mq_netlink): Remove conditional have_sock_cloexec
33621         definitions.  Remove code conditional on have_sock_cloexec < 0.
33622         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33623         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33624         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33625         <kernel-features.h>.
33626         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33627         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33629 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33632         Add tests for memset_chk and memset.
33634         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33635         with AVX2_Usable.
33637 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33639         [BZ #16046]
33640         * elf/tst-dl-iter-static.c: New file.
33641         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33643         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33644         error.
33646 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33648         * sysdeps/unix/sysv/linux/kernel-features.h
33649         (__ASSUME_F_GETOWN_EX): Remove macro.
33650         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33651         <kernel-features.h>.
33652         (miss_F_GETOWN_EX): Remove variable or macro.
33653         (do_fcntl): Do not check miss_F_GETOWN_EX.
33654         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33656         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33657         Remove macro.
33658         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33659         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33660         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33662         * sysdeps/unix/sysv/linux/kernel-features.h
33663         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33664         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33665         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33666         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33668 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33670         [BZ #17075]
33671         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33672         Fix calculation of the symbol's value.
33673         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33674         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33675         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33676         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33677         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33678         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33679         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33680         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33681         (modules-names): Add `tst-armtlsdescmod',
33682         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33683         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33684         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33685         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33686         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33687         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33688         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33689         ($(objpfx)tst-armtlsdescloc): New dependency.
33690         ($(objpfx)tst-armtlsdescextnow): Likewise.
33691         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33692         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33693         TLS scheme support.
33694         * sysdeps/arm/configure: Regenerate.
33696 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33698         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33699         (__atfct_seterrno_2): Likewise.
33700         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33701         <kernel-features.h>.
33702         (__ASSUME_ATFCTS): Do not undefine and redefine.
33703         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33704         (__have_atfcts): Remove conditional definition.
33705         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33706         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33707         unreachable if [__ASSUME_ATFCTS].
33708         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33709         not undefine and redefine.
33710         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33711         <kernel-features.h>.
33712         (faccessat) [__NR_faccessat]: Make code unconditional.
33713         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33714         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33715         <kernel-features.h>.
33716         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33717         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33718         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33719         <kernel-features.h>.
33720         (fchownat) [__NR_fchownat]: Make code unconditional.
33721         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33722         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33723         <kernel-features.h>.
33724         (futimesat) [__NR_futimesat]: Make code unconditional.
33725         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33726         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33727         <kernel-features.h>.
33728         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33729         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33730         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33731         <kernel-features.h>.
33732         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33733         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33734         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33735         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33736         <kernel-features.h>.
33737         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33738         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33739         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33740         <kernel-features.h>.
33741         (linkat) [__NR_linkat]: Make code unconditional.
33742         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33743         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33744         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33745         <kernel-features.h>.
33746         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33747         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33748         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33749         <kernel-features.h>.
33750         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33751         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33752         * sysdeps/unix/sysv/linux/openat.c: Do not include
33753         <kernel-features.h>.
33754         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33755         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33756         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33757         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33758         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33759         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33760         <kernel-features.h>.
33761         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33762         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33763         result of INLINE_SYSCALL directly, not via int variable.
33764         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33765         <kernel-features.h>.
33766         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33767         (renameat) [__NR_renameat]: Make code unconditional.
33768         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33769         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33770         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33771         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33772         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33773         (__ASSUME_ATFCTS): Do not undefine and redefine.
33774         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33775         <kernel-features.h>.
33776         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33777         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33778         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33779         <kernel-features.h>.
33780         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33781         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33782         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33783         (__ASSUME_ATFCTS): Do not undefine and redefine.
33784         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33785         <kernel-features.h>.
33786         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33787         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33788         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33789         <kernel-features.h>.
33790         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33791         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33793 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33795         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33797 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33799         [BZ #17069]
33800         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33801         constructed tree before returning error.
33802         * posix/bug-regexp36.c: Expand test case.
33804 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33806         [BZ #6803]
33807         * math/libm-test.inc (scalbln_test_date):
33808         Add errno expectations.
33809         * math/w_scalblnf.c: New File.
33810         Add wrapper which checks for setting errno to ERANGE.
33811         Add weak_alias for corresponding scalbln function.
33812         * math/w_scalbln.c: Likewise.
33813         * math/w_scalblnl.c: Likewise.
33814         * math/Makefile (libm-calls): Add w_scalbln.
33815         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33816         Remove weak_alias for corresponding scalbln function.
33817         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33818         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33819         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33820         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33821         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33822         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33823         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33824         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33825         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33826         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33827         Remove long_double_symbol for scalblnl function in libm, libc.
33828         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33829         Add wrapper which checks for setting errno to ERANGE.
33830         Add long_double_symbol for scalblnl function in libm, libc.
33831         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33832         Remove long_double_symbol for scalblnl in libm.
33833         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33834         Add wrapper which checks for setting errno to ERANGE.
33835         Add long_double_symbol for scalblnl function in libm.
33836         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33837         Do not use wrapper because of own implementation.
33839 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33841         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33842         3 bytes for __pad1 for x32.
33843         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33845 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33846             H.J. Lu  <hongjiu.lu@intel.com>
33848         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33849         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33850         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33851         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33852         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33854 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33856         [BZ #17069]
33857         * posix/regcomp.c (parse_expression): Deallocate partially
33858         constructed tree before returning error.
33859         * posix/Makefile.c (tests): Add bug-regex36.
33860         (generated): Add bug-regex36.mtrace.
33861         (tests-special): Add $(objpfx)bug-regex36-mem.out
33862         (bug-regex36-ENV): New variable.
33863         ($(objpfx)bug-regex36-mem.out): New rule.
33864         * posix/bug-regex36.c: New file.
33866 2014-06-19  Will Newton  <will.newton@linaro.org>
33868         * malloc/malloc.c (systrim): If extra is zero then return
33869         early.
33871 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33873         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33875 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33877         * sysdeps/aarch64/strchr.S: New file.
33879 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33881         [BZ #17022]
33882         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33883         from arguments -2 or below.
33884         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33885         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33887 2014-06-18  Andreas Schwab  <schwab@suse.de>
33889         [BZ #17062]
33890         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33891         of a bracket expr not to run off the end of the string.
33892         * posix/Makefile (tests): Add tst-fnmatch3.
33893         * posix/tst-fnmatch3.c: New file.
33895 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33897         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33898         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33899         [$(cross-compiling) = no]: Likewise.
33900         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33901         [$(cross-compiling) = no]: Likewise.
33903 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33905         [BZ #17031]
33906         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33907         double, adjusted for any remainder from the high double.
33908         * math/libm-test.inc (nearbyint): Add tests.
33909         (rint): Likewise.
33911 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33913         * nptl/sysdeps/powerpc/Makefile: Moved ...
33914         * sysdeps/powerpc/nptl/Makefile: ... here.
33915         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33916         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33917         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33918         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33919         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33920         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33921         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33922         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33923         * nptl/sysdeps/powerpc/tls.h: Moved ...
33924         * sysdeps/powerpc/nptl/tls.h: ... here.
33926 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33928         [BZ #16681]
33929         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33930         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33931         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33932         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33933         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33934         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33935         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33936         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33937         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33939 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33941         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33943 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33945         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33946         defined operator.
33948         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33949         $TIMEOUTFACTOR.
33951 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33953         [BZ #17058]
33954         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33955         non-executed part of the test.
33957 2014-06-16  Andreas Schwab  <schwab@suse.de>
33959         * string/bits/string2.h (strdup, strndup): Update feature guard.
33961 2014-06-14  David S. Miller  <davem@davemloft.net>
33963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33965 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33967         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33968         that was previously under [RESET_PID].
33969         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33971         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33972         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33973         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33974         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33975         (__libc_vfork): New strong alias.
33976         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33978 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33980         * sysdeps/generic/elide.h: New file.
33982 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33984         * Makefile (installed-headers): Adjust path of pthread.h header.
33986 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33988         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33989         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33990         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33991         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33993         * nptl/sysdeps/s390/Makefile: Moved ...
33994         * sysdeps/s390/nptl/Makefile: ... here.
33995         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33996         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33997         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33998         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33999         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34000         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34001         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34002         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34003         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34004         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34005         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34006         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34007         * nptl/sysdeps/s390/tls.h: Moved ...
34008         * sysdeps/s390/nptl/tls.h: ... here.
34010         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34011         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34013 2014-06-13  David S. Miller  <davem@davemloft.net>
34015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34018         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34022         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34023         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34024         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34025         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34026         Remove RESET_PID cpp guards.
34027         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34028         Remove RESET_PID cpp guards.
34029         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34031 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34033         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34034         __sp to uintptr_t.
34036 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34038         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34039         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34040         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34041         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34042         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34043         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34044         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34045         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34046         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34047         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34048         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34049         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34050         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34051         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34052         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34053         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34054         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34055         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34056         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34057         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34059         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34060         (pthread_rwlock_rdlock): Add elision.
34061         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34062         (pthread_rwlock_wrlock): Add elision.
34063         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34064         (pthread_rwlock_trywrlock): Add elision.
34065         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34066         (pthread_rwlock_tryrdlock): Add elision.
34067         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34068         (pthread_rwlock_tryrdlock): Add elision unlock.
34069         * nptl/sysdeps/pthread/pthread.h:
34070         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34071         (PTHREAD_RWLOCK_INITIALIZER,
34072         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34073         Handle new elision field.
34074         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34075         * sysdeps/arm/nptl/bits/pthreadtypes.h
34076         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34077         * sysdeps/sh/nptl/bits/pthreadtypes.h
34078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34079         * sysdeps/tile/nptl/bits/pthreadtypes.h
34080         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34081         * sysdeps/a/nptl/bits/pthreadtypes.h
34082         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34083         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34085         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34087         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34088         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34089         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34091         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34093         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34095         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34097         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34099         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34100         (elision_init): Set try_xbegin to zero when no RTM.
34101         * sysdeps/x86/nptl/bits/pthreadtypes.h
34102         (pthread_rwlock_t): Change __pad1 to __rwelision.
34103         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34105 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34107         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34108         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34109         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34110         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34112 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34114         [BZ #16996]
34115         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34116         that the cached result has been set before returning it.
34118 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34120         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34121         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34122         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34123         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34124         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34125         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34127         * nptl/sysdeps/sparc/Makefile: Moved ...
34128         * sysdeps/sparc/nptl/Makefile: ... here.
34129         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34130         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34131         * nptl/sysdeps/sparc/tls.h: Moved ...
34132         * sysdeps/sparc/nptl/tls.h: ... here.
34133         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34134         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34135         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34136         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34137         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34138         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34139         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34140         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34141         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34142         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34143         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34144         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34145         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34146         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34147         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34148         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34149         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34150         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34151         Update #include.
34152         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34153         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34154         Update #include.
34155         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34156         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34157         Update #include.
34158         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34159         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34160         Update #include.
34162         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34164         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34165         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34167         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34168         (struct list_links): Type removed.
34169         (struct thread_node, struct timer_node): Replace struct list_links
34170         with struct list_head.
34171         (list_unlink_ip): Likewise.
34172         * sysdeps/pthread/timer_routines.c
34173         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34174         (list_append, list_insbefore): Likewise.
34175         (list_init): Function removed.
34176         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34177         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34178         * sysdeps/pthread/Makefile: ... here, new file.
34180         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34181         * sysdeps/nptl/Implies: ... here.
34182         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34183         * nptl/sysdeps/pthread/list.h: Moved ...
34184         * include/list.h: ... here.
34185         * nptl/sysdeps/pthread/createthread.c: Moved ...
34186         * nptl/createthread.c: ... here.
34187         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34188         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34189         * nptl/pt-longjmp.c: ... here.
34190         * nptl/sysdeps/pthread/Makefile: Moved ...
34191         * sysdeps/nptl/Makefile: ... here.
34192         * nptl/sysdeps/pthread/Subdirs: Moved ...
34193         * sysdeps/nptl/Subdirs: ... here.
34194         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34195         * sysdeps/nptl/aio_misc.h: ... here.
34196         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34197         * sysdeps/nptl/bits/libc-lock.h: ... here.
34198         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34199         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34200         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34201         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34202         * nptl/sysdeps/pthread/configure: Moved ...
34203         * sysdeps/nptl/configure: ... here.
34204         * nptl/sysdeps/pthread/configure.ac: Moved ...
34205         * sysdeps/nptl/configure.ac: ... here.
34206         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34207         * sysdeps/nptl/gai_misc.h: ... here.
34208         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34209         * sysdeps/nptl/librt-cancellation.c: ... here.
34210         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34211         * sysdeps/nptl/malloc-machine.h: ... here.
34212         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34213         * sysdeps/nptl/pthread-functions.h: ... here.
34214         * nptl/sysdeps/pthread/pthread.h: Moved ...
34215         * sysdeps/nptl/pthread.h: ... here.
34216         * nptl/sysdeps/pthread/setxid.h: Moved ...
34217         * sysdeps/nptl/setxid.h: ... here.
34218         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34219         * sysdeps/nptl/sigfillset.c: ... here.
34220         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34221         * sysdeps/nptl/tcb-offsets.h: ... here.
34222         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34223         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34224         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34225         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34226         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34227         * sysdeps/pthread/allocalim.h: ... here.
34228         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34229         * sysdeps/pthread/bits/sigthread.h: ... here.
34230         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34231         * sysdeps/pthread/flockfile.c: ... here.
34232         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34233         * sysdeps/pthread/ftrylockfile.c: ... here.
34234         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34235         * sysdeps/pthread/funlockfile.c: ... here.
34236         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34237         * sysdeps/pthread/posix-timer.h: ... here.
34238         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34239         * sysdeps/pthread/timer_create.c: ... here.
34240         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34241         * sysdeps/pthread/timer_delete.c: ... here.
34242         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34243         * sysdeps/pthread/timer_getoverr.c: ... here.
34244         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34245         * sysdeps/pthread/timer_gettime.c: ... here.
34246         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34247         * sysdeps/pthread/timer_routines.c: ... here.
34248         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34249         * sysdeps/pthread/timer_settime.c: ... here.
34250         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34251         * sysdeps/pthread/tst-timer.c: ... here.
34252         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34253         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34255         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34256         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34258         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34259         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34260         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34261         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34262         Update #include target.
34263         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34264         * sysdeps/i386/i686/nptl/Makefile: ... here.
34265         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34266         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34267         Update #include target.
34268         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34269         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34270         * nptl/sysdeps/i386/Makefile: Moved ...
34271         * sysdeps/i386/nptl/Makefile: ... here.
34272         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34273         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34274         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34275         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34276         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34277         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34278         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34279         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34280         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34281         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34282         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34283         * nptl/sysdeps/i386/tls.h: Moved ...
34284         * sysdeps/i386/nptl/tls.h: ... here.
34286         * sysdeps/sh/Makefile [$(subdir) = csu]
34287         (gen-as-const-headers): Add tcb-offsets.sym.
34288         * nptl/sysdeps/sh/Makefile: File removed.
34289         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34290         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34291         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34292         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34293         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34294         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34295         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34296         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34297         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34298         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34299         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34300         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34301         * nptl/sysdeps/sh/tls.h: Moved ...
34302         * sysdeps/sh/nptl/tls.h: ... here.
34303         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34304         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34305         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34306         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34307         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34308         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34309         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34310         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34311         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34312         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34313         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34314         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34315         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34316         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34317         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34318         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34319         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34320         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34321         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34322         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34323         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34324         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34325         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34326         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34328         Moved ...
34329         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34330         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34331         Moved ...
34332         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34333         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34334         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34335         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34336         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34337         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34338         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34339         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34340         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34341         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34342         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34343         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34344         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34345         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34346         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34347         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34348         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34349         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34350         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34352 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34354         * posix/spawn_faction_addopen.c: Include string.h.
34356 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34358         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34359         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34360         * nptl/sysdeps/x86_64/Makefile: Moved ...
34361         * sysdeps/x86_64/nptl/Makefile: ... here.
34362         * nptl/sysdeps/x86_64/configure: Moved ...
34363         * sysdeps/x86_64/nptl/configure: ... here.
34364         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34365         * sysdeps/x86_64/nptl/configure.ac: ... here.
34366         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34367         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34368         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34369         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34370         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34371         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34372         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34373         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34374         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34375         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34376         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34377         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34378         * nptl/sysdeps/x86_64/tls.h: Moved ...
34379         * sysdeps/x86_64/nptl/tls.h: ... here.
34380         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34381         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34382         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34383         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34385         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34387 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34391 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34393         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34394         type.
34395         [POSIX] (off_t): Likewise.
34396         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34397         [POSIX] (S_ISBLK): Require macro.
34398         [POSIX] (S_ISCHR): Likewise.
34399         [POSIX] (S_ISDIR): Likewise.
34400         [POSIX] (S_ISFIFO): Likewise.
34401         [POSIX] (S_ISREG): Likewise.
34402         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34403         optional-macro.
34404         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34405         type.
34406         [POSIX] (time_t): Likewise.
34407         [POSIX] (timer_t): Likewise.
34409 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34411         [BZ #17048]
34412         * posix/spawn_int.h (struct __spawn_action): Make the path string
34413         non-const to support deallocation.
34414         * posix/spawn_faction_addopen.c
34415         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34416         * posix/spawn_faction_destroy.c
34417         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34418         path in all spawn_do_open actions.
34419         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34420         posix_spawn_file_actions_addopen.
34422 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34424         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34425         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34426         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34427         conditional code always true.
34428         (__libc_vfork): New alias.
34430 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34432         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34433         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34435         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34437         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34438         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34440         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34441         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34443         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34444         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34446 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34448         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34449         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34450         multiarch strcmp for PPC64.
34451         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34452         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34454         multiarch optimizations.
34455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34456         (__libc_ifunc_impl_list): Likewise.
34458 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34460         * benchtests/scripts/validate_benchout.py: New script.
34461         * benchtests/Makefile (bench-func): Call it.
34462         * benchtests/scripts/benchout.schema.json: New file.
34464 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34466         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34467         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34468         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34469         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34470         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34471         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34472         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34473         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34474         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34475         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34476         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34477         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34478         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34479         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34480         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34481         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34483         Moved ...
34484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34485         ... here.
34486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34487         Moved ...
34488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34490         Moved ...
34491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34492         ... here.
34493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34494         Moved ...
34495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34496         ... here.
34497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34498         Moved ...
34499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34501         Moved ...
34502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34503         ... here.
34504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34505         Moved ...
34506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34507         ... here.
34508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34509         Moved ...
34510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34512         Moved ...
34513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34514         ... here.
34515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34516         Moved ...
34517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34518         ... here.
34519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34520         Moved ...
34521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34522         ... here.
34523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34524         Moved ...
34525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34527         Moved ...
34528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34529         ... here.
34530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34531         Moved ...
34532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34533         ... here.
34534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34535         Moved ...
34536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34537         ... here.
34538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34539         Moved ...
34540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34542         Moved ...
34543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34544         ... here.
34545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34546         Moved ...
34547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34548         ... here.
34549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34550         Moved ...
34551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34553         Moved ...
34554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34555         ... here.
34556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34557         Moved ...
34558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34560         Moved ...
34561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34563         Moved ...
34564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34565         ... here.
34566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34567         Moved ...
34568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34569         ... here.
34570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34571         Moved ...
34572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34573         ... here.
34574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34575         Moved ...
34576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34578         Moved ...
34579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34580         ... here.
34581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34582         Moved ...
34583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34584         ... here.
34585         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34586         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34587         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34588         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34589         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34590         Moved ...
34591         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34592         ... here.
34593         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34594         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34595         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34596         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34597         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34598         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34600         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34602         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34604         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34605         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34606         Moved ...
34607         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34608         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34609         Moved ...
34610         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34611         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34612         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34614         Moved ...
34615         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34616         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34617         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34618         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34619         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34620         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34621         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34623 2014-06-10  Wilco  <wdijkstr@arm.com>
34625         * math/test-fenv-return.c: New file.
34626         * math/Makefile: Add new test test-fenv-return.
34628 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34630         [BZ #17042]
34631         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34632         when x - 1 is zero.
34633         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34634         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34635         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34636         0.0L for an argument of 1.0L.
34637         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34638         Likewise.
34639         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34640         value when x - 1 is zero.
34641         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34642         * sysdeps/i386/fpu/libm-test-ulps: Update.
34643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34645 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34647         [BZ #15119]
34648         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34650 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34652         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34653         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34655 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34657         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34658         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34660         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34661         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34663         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34664         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34666         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34667         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34669         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34670         if not already defined.
34671         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34672         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34673         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34674         (TLS_INIT_TP): Use it.
34675         (TLS_DEFINE_INIT_TP): New macro.
34676         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34678 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34680         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34681         constant.
34682         [POSIX] (IXANY): Likewise.
34683         [POSIX] (OLCUC): Likewise.
34684         [POSIX || POSIX2008] (CBAUD): Do not allow.
34685         [POSIX || POSIX2008] (DEFECHO): Likewise.
34686         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34687         [POSIX || POSIX2008] (ECHOKE): Likewise.
34688         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34689         [POSIX || POSIX2008] (EXTA): Likewise.
34690         [POSIX || POSIX2008] (EXTB): Likewise.
34691         [POSIX || POSIX2008] (FLUSHO): Likewise.
34692         [POSIX || POSIX2008] (LOBLK): Likewise.
34693         [POSIX || POSIX2008] (PENDIN): Likewise.
34694         [POSIX || POSIX2008] (SWTCH): Likewise.
34695         [POSIX || POSIX2008] (VDISCARD): Likewise.
34696         [POSIX || POSIX2008] (VDSUSP): Likewise.
34697         [POSIX || POSIX2008] (VLNEXT): Likewise.
34698         [POSIX || POSIX2008] (VREPRINT): Likewise.
34699         [POSIX || POSIX2008] (VSTATUS): Likewise.
34700         [POSIX || POSIX2008] (VWERASE): Likewise.
34701         (B*): Change to B[0123456789]*.
34702         * conform/data/time.h-data [POSIX || UNIX98]
34703         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34704         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34705         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34706         [POSIX] (tm_*): Do not allow.
34708 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34710         * Makefile (install): Don't set LANGUAGE.
34711         * Makefile.in (install): Likewise.
34712         * assert/Makefile (test-assert-ENV): Remove variable.
34713         (test-assert-perr-ENV): Likewise.
34714         * elf/Makefile (neededtest4-ENV): Likewise.
34715         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34716         [$(cross-compiling) = no]: Don't set LANGUAGE.
34717         * io/ftwtest-sh (LANG): Remove variable.
34718         * libio/Makefile (tst-widetext-ENV): Likewise.
34719         * manual/install.texi (Running make install): Don't refer to
34720         environment settings for make install.
34721         * INSTALL: Regenerated.
34722         * nptl/tst-tls6.sh: Don't set LANG.
34723         * posix/globtest.sh (LANG): Remove variable.
34724         * string/Makefile (tester-ENV): Likewise.
34725         (inl-tester-ENV): Likewise.
34726         (noinl-tester-ENV): Likewise.
34727         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34728         [$(cross-compiling) = no]: Don't set LANGUAGE.
34729         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34730         without explicit environment settings.
34732 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34734         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34735         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34736         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34737         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34739 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34741         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34742         other files in the crypt directory.
34743         * crypt/crypt.c: Remove duplicate includes.
34744         * crypt/crypt-entry.c: Likewise.
34745         * crypt/crypt_util.c: Likewise.
34747 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34749         * Makeconfig (run-program-env): New variable.
34750         (run-program-prefix-before-env): Likewise.
34751         (run-program-prefix-after-env): Likewise.
34752         (run-program-prefix): Define in terms of new variables.
34753         (built-program-cmd-before-env): New variable.
34754         (built-program-cmd-after-env): Likewise.
34755         (built-program-cmd): Define in terms of new variables.
34756         (test-program-prefix-before-env): New variable.
34757         (test-program-prefix-after-env): Likewise.
34758         (test-program-prefix): Define in terms of new variables.
34759         (test-program-cmd-before-env): New variable.
34760         (test-program-cmd-after-env): Likewise.
34761         (test-program-cmd): Define in terms of new variables.
34762         * Rules (make-test-out): Use $(run-program-env).
34763         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34764         (help): Do not mention environment variables.  Mention
34765         --timeoutfactor option.
34766         (timeoutfactor): New variable.
34767         (blacklist_exports): Remove function.
34768         (exports): Remove variable.
34769         (command): Do not include ${exports}.
34770         * manual/install.texi (Configuring and compiling): Do not mention
34771         test wrappers preserving environment variables.  Mention that last
34772         assignment to a variable must take precedence.
34773         * INSTALL: Regenerated.
34774         * benchtests/Makefile (run-bench): Use $(run-program-env).
34775         * catgets/Makefile ($(objpfx)test1.cat): Use
34776         $(built-program-cmd-before-env), $(run-program-env) and
34777         $(built-program-cmd-after-env).
34778         ($(objpfx)test2.cat): Do not specify environment variables
34779         explicitly.
34780         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34781         $(run-program-env) and $(built-program-cmd-after-env).
34782         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34783         $(run-program-env) and $(test-program-cmd-after-env).
34784         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34785         explicitly.
34786         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34787         run_program_env and test_program_cmd_after_env arguments.
34788         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34789         * elf/tst-pathopt.sh: Use run_program_env argument.
34790         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34791         $(test-wrapper-env) and $(run-program-env).
34792         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34793         run_program_env arguments.
34794         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34795         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34796         $(test-program-prefix-before-env), $(run-program-env) and
34797         $(test-program-prefix-after-env).
34798         ($(objpfx)tst-gettext2.out): Likewise.
34799         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34800         run_program_env and test_program_prefix_after_env arguments.
34801         * intl/tst-gettext2.sh: Likewise.
34802         * intl/tst-gettext4.sh: Do not set environment variables
34803         explicitly.
34804         * intl/tst-gettext6.sh: Likewise.
34805         * intl/tst-translit.sh: Likewise.
34806         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34807         $(test-program-prefix-before-env), $(run-program-env) and
34808         $(test-program-prefix-after-env).
34809         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34810         run_program_env and test_program_prefix_after_env arguments.
34811         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34812         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34813         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34814         explicitly with each use of ${test_wrapper_env}.
34815         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34816         $(test-program-prefix-before-env), $(run-program-env) and
34817         $(test-program-prefix-after-env).
34818         * posix/tst-getconf.sh: Do not set environment variables
34819         explicitly.
34820         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34821         run_program_env and test_program_prefix_after_env arguments.
34822         * stdio-common/tst-printf.sh: Do not set environment variables
34823         explicitly.
34824         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34825         $(test-program-prefix-before-env), $(run-program-env) and
34826         $(test-program-prefix-after-env).
34827         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34828         run_program_env and test_program_prefix_after_env arguments.
34829         Split $test calls into $test_pre and $test.
34830         * timezone/Makefile (build-testdata): Use
34831         $(built-program-cmd-before-env), $(run-program-env) and
34832         $(built-program-cmd-after-env).
34834 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34836         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34837         strlen for non SHARED builds.
34839 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34841         * nptl/allocatestack.c (check_list): Inlined function...
34842         (__reclaim_stacks): ... here.
34844 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34846         [BZ #15698]
34847         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34848         memory overrun.
34850 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34852         * Rules (make-test-out): Include
34853         LOCPATH=$(common-objpfx)localedata in default environment.
34854         * debug/Makefile (tst-chk1-ENV): Remove variable.
34855         (tst-chk2-ENV): Likewise.
34856         (tst-chk3-ENV): Likewise.
34857         (tst-chk4-ENV): Likewise.
34858         (tst-chk5-ENV): Likewise.
34859         (tst-chk6-ENV): Likewise.
34860         (tst-lfschk1-ENV): Likewise.
34861         (tst-lfschk2-ENV): Likewise.
34862         (tst-lfschk3-ENV): Likewise.
34863         (tst-lfschk4-ENV): Likewise.
34864         (tst-lfschk5-ENV): Likewise.
34865         (tst-lfschk6-ENV): Likewise.
34866         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34867         (tst-iconv7-ENV): Likewise.
34868         * intl/Makefile (LOCPATH-ENV): Likewise.
34869         (tst-codeset-ENV): Likewise.
34870         (tst-gettext3-ENV): Likewise.
34871         (tst-gettext5-ENV): Likewise.
34872         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34873         (tst-fopenloc-ENV): Likewise.
34874         (tst-fgetws-ENV): Remove variable.
34875         (tst-ungetwc1-ENV): Likewise.
34876         (tst-ungetwc2-ENV): Likewise.
34877         (bug-ungetwc2-ENV): Likewise.
34878         (tst-swscanf-ENV): Likewise.
34879         (bug-ftell-ENV): Likewise.
34880         (tst-fgetwc-ENV): Likewise.
34881         (tst-fseek-ENV): Likewise.
34882         (tst-ftell-partial-wide-ENV): Likewise.
34883         (tst-ftell-active-handler-ENV): Likewise.
34884         (tst-ftell-append-ENV): Likewise.
34885         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34886         (tst-regexloc-ENV): Likewise.
34887         (bug-regex1-ENV): Likewise.
34888         (tst-regex-ENV): Likewise.
34889         (tst-regex2-ENV): Likewise.
34890         (bug-regex5-ENV): Likewise.
34891         (bug-regex6-ENV): Likewise.
34892         (bug-regex17-ENV): Likewise.
34893         (bug-regex18-ENV): Likewise.
34894         (bug-regex19-ENV): Likewise.
34895         (bug-regex20-ENV): Likewise.
34896         (bug-regex22-ENV): Likewise.
34897         (bug-regex23-ENV): Likewise.
34898         (bug-regex25-ENV): Likewise.
34899         (bug-regex26-ENV): Likewise.
34900         (bug-regex30-ENV): Likewise.
34901         (bug-regex32-ENV): Likewise.
34902         (bug-regex33-ENV): Likewise.
34903         (bug-regex34-ENV): Likewise.
34904         (bug-regex35-ENV): Likewise.
34905         (tst-rxspencer-ENV): Likewise.
34906         (tst-rxspencer-no-utf8-ENV): Likewise.
34907         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34908         (tst-sscanf-ENV): Likewise.
34909         (tst-swprintf-ENV): Likewise.
34910         (tst-swscanf-ENV): Likewise.
34911         (test-vfprintf-ENV): Likewise.
34912         (scanf13-ENV): Likewise.
34913         (bug14-ENV): Likewise.
34914         (tst-grouping-ENV): Likewise.
34915         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34916         (tst-strtod3-ENV): Likewise.
34917         (tst-strtod4-ENV): Likewise.
34918         (tst-strtod5-ENV): Likewise.
34919         (testmb2-ENV): Likewise./
34920         * string/Makefile (tst-strxfrm-ENV): Likewise.
34921         (tst-strxfrm2-ENV): Likewise.
34922         (bug-strcoll1-ENV): Likewise.
34923         (test-strcasecmp-ENV): Likewise.
34924         (test-strncasecmp-ENV): Likewise.
34925         * time/Makefile (tst-strptime-ENV): Likewise.
34926         (tst-ftime_l-ENV): Likewise.
34927         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34928         (tst-mbrtowc-ENV): Likewise.
34929         (tst-wcrtomb-ENV): Likewise.
34930         (tst-mbrtowc2-ENV): Likewise.
34931         (tst-c16c32-1-ENV): Likewise.
34932         (tst-mbsnrtowcs-ENV): Likewise.
34934 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34936         * manual/resource.texi (How to get information about the memory
34937         subsystem?): Fix typo.
34938         Reported by Peon de la Parra Ivan <peon@keba.com>
34940 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34942         [BZ #16882]
34943         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34944         (pthread_spin_lock): Branch out of spin loop to proper location.
34945         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34946         (pthread_spin_lock): Likewise.
34948         * nptl/tst-spin4.c: New test.
34949         * nptl/Makefile (tests): Add tst-spin4.
34951 2014-06-03  Andreas Schwab  <schwab@suse.de>
34953         [BZ #15946]
34954         * resolv/res_send.c (send_dg): Reload file descriptor after
34955         calling reopen.
34957 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34959         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34961 2014-06-03  Richard Henderson  <rth@redhat.com>
34963         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34964         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34965         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34966         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34967         in the SAVE_PID block.
34968         (__libc_vfork): New alias.
34969         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34971         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34972         child in registers, not on the stack.  Remove RESET_PID conditionals.
34973         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34975 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34977         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34979 2014-06-03  Wilco  <wdijkstr@arm.com>
34981         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34982         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34983         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34984         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34985         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34986         Likewise.
34988 2014-06-03  Wilco  <wdijkstr@arm.com>
34990         * sysdeps/aarch64/fpu/math_private.h
34991         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34992         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34993         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34994         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34995         Fix declarations.
34997 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34999         * crypt/crypt-private.h: Include ufc-crypt.h.
35000         (__b64_from_24bit): Declare extern.
35001         * crypt/crypt_util.c(__b64_from_24bit): New function.
35002         (b64t): New static const variable.
35003         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35004         (b64t): Remove variable.
35005         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35006         * crypt/sha256-crypt.c: Include crypt-private.h.
35007         (b64t): Remove variable.
35008         (__sha256_crypt_r): Remove b64_from_24bit and replace
35009         with __b64_from_24bit.
35010         * crypt/sha512-crypt.c: Likewise.
35012 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35014         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35015         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35016         Label the code __libc_vfork rather than __vfork.
35017         [!NOT_IN_libc] (vfork): Define as weak alias.
35018         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35019         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35020         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35022 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35024         * malloc/malloc.c (malloc_info): Fix format specifier for
35025         n_mmaps.
35027 2014-06-02  Wilco  <wdijkstr@arm.com>
35029         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35030         FPCR write.
35032 2014-06-02  Wilco  <wdijkstr@arm.com>
35034         [BZ #17009]
35035         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35036         Rewrite to reduce FPCR/FPSR accesses.
35038 2014-06-01  David S. Miller  <davem@davemloft.net>
35040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35042 2014-05-31  David S. Miller  <davem@davemloft.net>
35044         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35045         to occur in round to nearest mode when |x| >= 2.0
35047 2014-05-30  Richard Henderson  <rth@twiddle.net>
35049         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35050         (PSEUDO_RET_NOERRNO): Remove.
35051         (ret): Don't redefine.
35052         (ret_NOERRNO): Define in terms of ret.
35053         (ret_ERRVAL): Likewise.
35055         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35056         use of PSEUDO_RET; perform the error check directly.
35058 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35060         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35061         with __int128_t.
35063 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35065         * malloc/malloc (malloc_info): Fix formatting.
35067 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35068             Roland McGrath  <roland@hack.frob.com>
35070         * malloc/malloc (malloc_info): Also print mmapped statistics.
35072 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35074         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35075         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35077 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35079         * malloc/malloc.c (malloc_info): Inline mi_arena.
35081 2014-05-29  Richard Henderson  <rth@twiddle.net>
35083         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35084         Remove comma before expanding ASM_ARGS_##nr.
35085         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35086         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35087         of ASM_ARGS_##nr.
35088         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35089         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35090         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35091         (ASM_ARGS_1): Add leading comma.
35093         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35094         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35095         to __errno_location.
35096         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35097         Remove the expected plt for __errno_location.
35099         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35100         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35101         call to __read_tp.
35103         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35104         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35105         it and break it down.
35106         (DOCARGS_0, DOCARGS_1): Do nothing.
35107         (DOCARGS_2): Update to store into the new stack frame.
35108         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35109         (UNDOCARGS_1): Update to restore from the new stack frame.
35110         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35111         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35113         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35114         (SINGLE_THREAD_P): New parameter for result regno.
35115         (PSEUDO): Update to match; use cbz instead of beq.
35117         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35118         Use ENTRY to define the _nocancel entry point.  Share the syscall
35119         and syscall error check paths with the cancel path.
35120         (PSEUDO_END): New.
35122         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35123         whitespace; tabs before and after asm mnemonics.
35125 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35127         [BZ #15132]
35128         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35129         Call fstat64 or stat64 internally, depending on arguments passed.
35130         Replace stat buffer argument with file descriptor argument.
35131         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35132         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35133         Pass fd to __internal_statvfs instead of calling fstat64.
35134         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35135         Pass fd to __internal_statvfs64 instead of calling fstat64.
35136         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35137         Pass -1 to __internal_statvfs instead of calling stat64.
35138         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35139         Pass -1 to __internal_statvfs64 instead of calling stat64.
35141 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35143         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35144         that was previously under [RESET_PID].
35145         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35147         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35148         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35150 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35152         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35154         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35155         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35157 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35159         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35161 2014-05-27  Andreas Schwab  <schwab@suse.de>
35163         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35164         TLS_INIT_TP macro.
35165         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35166         * elf/rtld.c (init_tls, dl_main): Likewise.
35167         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35168         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35169         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35170         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35171         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35172         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35173         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35174         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35175         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35176         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35177         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35178         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35179         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35180         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35181         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35182         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35183         * sysdeps/generic/tls.h: Update description.
35185 2014-05-27  Will Newton  <will.newton@linaro.org>
35187         [BZ #16990]
35188         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35189         and restore r2 rather than just restoring.
35191 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35193         [BZ #16724]
35194         * libio/tst-ftell-append.c: New test case.
35195         * libio/Makefile (tests): Add test case.
35196         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35197         append mode.
35198         * libio/wfileops.c (do_ftell_wide): Likewise.
35200 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35204         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35205         ...
35206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35208         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35209         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35210         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35211         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35212         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35213         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35215         Moved ...
35216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35218         Moved ...
35219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35220         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35221         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35222         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35223         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35224         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35225         ...
35226         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35227         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35228         Moved ...
35229         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35230         here.
35231         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35232         ...
35233         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35234         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35235         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35237         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35238         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35239         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35240         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35243         merge into ...
35244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35245         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35246         ...
35247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35249         ...
35250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35252         Moved ...
35253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35254         here.
35255         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35256         Moved ...
35257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35258         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35259         Moved ...
35260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35263         conditional [RESET_PID].
35264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35266         removed.
35267         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35268         removed.
35270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35271         <tcb-offsets.h>.
35272         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35273         (__libc_vfork): New strong alias.
35274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35275         removed.
35276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35277         Removed.
35279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35280         <tcb-offsets.h>.
35281         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35282         (__libc_vfork): New strong alias.
35283         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35284         removed.
35285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35286         removed.
35288 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35290         * malloc/malloc.c (mi_arena): New function.
35291         (malloc_info): Remove nested function mi_arena. Call non-nosted
35292         function mi_arena.
35294 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35296         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35297         by insrwi.
35298         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35299         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35300         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35301         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35302         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35303         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35304         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35306 2014-05-26  Andreas Schwab  <schwab@suse.de>
35308         [BZ #16984]
35309         * locale/programs/repertoire.c (repertoire_read): Add slash
35310         between I18NPATH element and file name.
35311         * locale/programs/locfile.c (locfile_read): Likewise.
35313 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35315         * nptl/pthread_mutexattr_settype.c
35316         (__pthread_mutexattr_settype):
35317         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35319 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35321         * nptl/tst-mutex5 (do_test):
35322         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35324 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35326         * benchtests/README: Document 'init' directive.
35327         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35328         BENCH_INIT.
35329         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35330         (parse_file): Recognize 'init' directive.
35332 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35334         [BZ #16796]
35335         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35336         alignment of struct pthread.
35338 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35340         [BZ #16878]
35341         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35342         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35343         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35344         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35346 2014-05-25  Richard Henderson  <rth@twiddle.net>
35348         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35349         (SINGLE_THREAD_P_PIC): Remove.
35350         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35351         (SINGLE_THREAD_P_PIC): Remove.
35353         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35354         branch to syscall error ...
35355         (PSEUDO): ... here.
35356         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35357         from __local_syscall_error to .Lsyscall_error.
35358         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35359         (SYSCALL_ERROR): Update label name.
35361         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35362         Do not use DOARGS/UNDOARGS.
35363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35364         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35365         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35366         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35367         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35369         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35370         block comment.
35372         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35373         define if !NOT_IN_libc.
35374         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35375         define with non-default symbol versions.
35377 2014-05-23  Richard Henderson  <rth@twiddle.net>
35379         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35380         (vfork, __vfork): Define via compat_symbol.
35382         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35383         [!HAVE_IFUNC] (vfork_compat): Remove.
35384         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35386 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35388         [BZ #16978]
35389         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35390         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35391         variable.
35393 2014-05-23  Richard Henderson  <rth@twiddle.net>
35395         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35396         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35397         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35398         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35400         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35401         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35402         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35403         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35404         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35405         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35406         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35407         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35408         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35409         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35410         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35411         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35412         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35413         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35414         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35415         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35416         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35417         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35418         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35419         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35420         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35421         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35422         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35423         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35424         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35425         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35426         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35427         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35428         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35429         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35430         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35431         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35432         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35433         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35434         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35435         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35436         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35437         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35438         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35439         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35440         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35441         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35442         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35443         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35444         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35445         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35446         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35447         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35448         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35449         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35450         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35451         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35452         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35453         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35454         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35455         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35457         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35458         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35459         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35460         before exiting on error.
35461         (__libc_vfork): New strong alias.
35462         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35463         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35465         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35466         that was previously under [RESET_PID].
35467         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35469         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35471 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35473         [BZ #16977]
35474         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35475         value when x - 1 is zero.
35476         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35477         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35478         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35479         0.0L for an argument of 1.0L.
35480         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35481         Likewise.
35482         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35483         value when x - 1 is zero.
35484         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35485         * sysdeps/i386/fpu/libm-test-ulps: Update.
35486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35488 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35490         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35491         alphasort and versionsort.
35493 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35495         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35496         macro.
35497         [copysignf]: Likewise.
35499 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35501         * crypt/md5-crypt.c: Fix formatting.
35503 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35505         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35506         (b64_from_24bit): New function.
35508 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35510         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35511         libc_hidden_builtin_def to ifunc.
35512         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35513         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35515 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35517         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35518         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35520 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35522         * nscd/Depend (linuxthreads): Remove.
35523         (nptl): Add.
35524         * resolv/Depend (linuxthreads): Remove.
35525         * rt/Depend (linuxthreads): Remove.
35527         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35528         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35529         $(common-objpfx)elf/.
35530         (link-libc-before-gnulib): Likewise.
35531         (elfobjdir): Remove variable.
35532         * Makefile (install): Use $(elf-objpfx) instead of
35533         $(common-objpfx)elf/.
35534         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35535         $(elfobjdir)/.
35536         (link-libc-deps): Likewise.
35537         ($(common-objpfx)libc.so): Likewise.
35538         ($(common-objpfx)linkobj/libc.so): Likewise.
35539         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35540         instead of $(common-objpfx)elf/.
35541         (symbolic-link-list): Likewise.
35542         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35543         [$(cross-compiling) = no]: Likewise.
35544         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35545         $(elfobjdir)/.
35546         (static-gnulib-arch): Likewise.
35547         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35548         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35549         $(common-objpfx)elf/.
35551 2014-05-21  Richard Henderson  <rth@redhat.com>
35553         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35554         (SINGLE_THREAD_P): Use the correct width load.  Fold
35555         into the ldr offset.
35557         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35558         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35560 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35562         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35563         (libgcc_s_resume): Use __attribute_used__.
35564         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35565         Likewise.
35567 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35569         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35570         optimization when used with float constants.
35572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35574 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35576         [BZ #16915]
35577         * locale/nl_langinfo_l.c: Make direct reference to every
35578         _nl_current_CATEGORY symbol.
35579         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35580         (tests-static): Add tst-langinfo-static.
35581         (tests-special): Add tst-langinfo-static.out.
35582         ($(objpfx)tst-langinfo.out): Redirect output.
35583         ($(objpfx)tst-langinfo-static.out): New.
35584         * localedata/tst-langinfo.sh: Send output to stdout.
35585         * localedata/tst-langinfo-static.c: New file.
35587         [BZ #16965]
35588         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35589         when the shift amount is modulo the limb size.
35591 2014-05-20  Richard Henderson  <rth@redhat.com>
35593         [BZ #16967]
35594         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35595         Change type of sa_flags from unsigned int to int.
35597         [BZ #16966]
35598         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35600         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35602 2014-05-20  Will Newton  <will.newton@linaro.org>
35604         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35605         Test the return value of the system call in the nocancel case.
35607 2014-05-20  Will Newton  <will.newton@linaro.org>
35608             Yvan Roux  <yvan.roux@linaro.org>
35610         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35611         #include of asm/ptrace.h.
35612         (PTRACE_GET_THREAD_AREA): Remove #undef.
35613         (PTRACE_GETHBPREGS): Likewise.
35614         (PTRACE_SETHBPREGS): Likewise.
35615         (struct user_regs_struct): New structure.
35616         (struct user_fpsimd_struct): New structure.
35617         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35618         #include of asm/ptrace.h and second #include of sys/user.h.
35619         (PTRACE_GET_THREAD_AREA): Remove #undef.
35620         (PTRACE_GETHBPREGS): Likewise.
35621         (PTRACE_SETHBPREGS): Likewise.
35622         (ELF_NGREG): Use new struct user_regs_struct.
35623         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35625 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35627         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35628         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35630 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35632         [BZ #16958]
35633         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35634         membar to avoid block loads/stores to overlap previous stores.
35636 2014-05-17  Richard Henderson  <rth@redhat.com>
35638         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35639         Create the __##syscall_name##_nocancel entry point.
35640         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35641         Remove; let the sysdep-cancel.h code create it.
35643 2014-05-17  David S. Miller  <davem@davemloft.net>
35645         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35646         Protect with __USE_GNU.
35647         (TIOCSET_TEMPT): Likewise.
35648         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35649         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35650         these are already provided in bits/ioctl-types.h
35652 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35654         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35655         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35657         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35658         Use wait4 regardless of [__NR_waitpid].
35660 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35662         PR libgcc/60166
35663         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35664         (_FP_NANSIGN_Q): Set the quiet bit.
35666 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35668         * benchtests/Makefile
35669         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35670         not $(common-objpfx)math/libm.so.
35671         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35672         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35673         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35674         $(common-objpfx)dlfcn/libdl.so.
35675         ($(objpfx)tst-audit8): Depend on $(libm), not
35676         $(common-objpfx)math/libm.so.
35677         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35678         not $(common-objpfx)dlfcn/libdl.so.
35679         * math/Makefile
35680         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35681         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35682         [$(build-shared) = yes].
35683         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35684         $(common-objpfx)nptl/libpthread.so.
35685         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35686         $(common-objpfx)math/libm.so$(libm.so-version) or
35687         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35688         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35689         $(common-objpfx)dlfcn/libdl.so.
35690         * setjmp/Makefile (link-libm): Remove variable.
35691         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35692         * stdio-common/Makefile (link-libm): Remove variable.
35693         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35694         * stdlib/Makefile (link-libm): Remove variable.
35695         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35696         ($(objpfx)tst-strtod-round): Likewise.
35697         ($(objpfx)tst-tininess): Likewise.
35698         ($(objpfx)tst-strtod-underflow): Likewise.
35699         ($(objpfx)tst-strtod6): Likewise.
35700         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35701         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35702         $(common-objpfx)dlfcn/libdl.so.
35704 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35706         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35707         BSD terminal modes definitions.
35709 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35711         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35712         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35714         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35715         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35716         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35717         Don't do #include_next.
35718         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35719         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35720         Don't do #include_next.
35721         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35722         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35723         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35724         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35726 2014-05-16  Allan McRae  <allan@archlinux.org>
35728         * po/sv.po: Update Swedish translation from translation project.
35730         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35731         in sed expression.
35733 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35735         [BZ #16917]
35736         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35737         errno if the TIOCGPTN ioctl fails with an error different than
35738         EINVAL.
35739         * login/tst-ptsname.c: New file.
35740         * login/Makefile (tests): Add tst-ptsname.
35742         [BZ #16943]
35743         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35744         and prlimit64.
35746 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35748         [BZ #16849]
35749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35750         herrno to return EAI_AGAIN.
35752 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35754         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35755         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35756         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35757         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35758         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35759         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35760         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35761         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35762         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35763         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35764         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35765         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35766         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35767         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35768         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35769         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35770         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35771         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35772         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35773         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35774         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35775         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35776         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35777         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35778         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35779         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35780         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35781         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35782         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35783         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35785         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35787         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35789         Moved ...
35790         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35792         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35794         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35796         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35798         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35800         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35802         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35804         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35806         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35808         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35810         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35812         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35814         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35816         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35818         Moved ...
35819         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35821         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35823         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35825         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35827         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35829         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35831         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35833         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35835         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35837         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35839         Moved ...
35840         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35842         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35844         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35845         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35846         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35847         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35848         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35849         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35850         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35851         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35852         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35853         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35854         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35855         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35856         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35857         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35858         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35859         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35860         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35861         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35862         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35863         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35864         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35865         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35866         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35867         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35868         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35869         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35870         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35871         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35872         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35873         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35874         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35876         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35877         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35879         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35880         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35881         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35882         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35883         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35884         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35885         Moved ...
35886         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35887         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35888         Moved ...
35889         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35890         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35891         Moved ...
35892         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35893         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35894         Moved ...
35895         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35896         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35897         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35898         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35899         Moved ...
35900         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35901         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35902         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35903         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35904         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35905         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35906         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35907         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35908         Moved ...
35909         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35910         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35911         Moved ...
35912         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35913         ... here.
35914         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35915         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35916         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35917         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35918         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35919         Moved ...
35920         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35921         ... here.
35922         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35923         Moved ...
35924         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35925         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35926         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35927         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35928         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35929         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35930         Moved ...
35931         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35932         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35933         Moved ...
35934         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35935         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35936         Moved ...
35937         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35938         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35939         Moved ...
35940         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35941         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35942         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35943         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35944         Moved ...
35945         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35946         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35947         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35948         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35949         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35950         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35951         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35952         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35953         Moved ...
35954         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35955         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35956         Moved ...
35957         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35958         ... here.
35959         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35960         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35961         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35962         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35963         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35964         Moved ...
35965         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35966         ... here.
35967         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35968         Moved ...
35969         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35970         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35971         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35972         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35973         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35974         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35975         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35976         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35977         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35978         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35979         Moved ...
35980         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35981         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35982         Moved ...
35983         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35984         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35985         Moved ...
35986         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35987         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35988         Moved ...
35989         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35990         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35991         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35992         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35993         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35994         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35995         Moved ...
35996         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35997         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35998         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35999         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36000         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36001         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36002         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36003         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36004         Moved ...
36005         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36006         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36007         Moved ...
36008         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36009         ... here.
36010         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36011         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36012         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36013         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36014         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36015         Moved ...
36016         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36017         ... here.
36018         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36019         Moved ...
36020         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36021         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36022         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36023         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36024         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36025         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36026         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36027         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36028         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36029         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36030         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36032         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36033         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36035         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36036         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36038         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36039         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36040         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36041         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36042         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36043         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36044         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36045         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36046         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36047         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36048         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36049         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36050         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36051         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36052         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36053         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36054         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36055         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36056         Moved ...
36057         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36058         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36059         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36060         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36061         Moved ...
36062         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36063         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36064         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36065         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36066         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36068         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36070         Moved ...
36071         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36072         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36073         Moved ...
36074         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36075         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36076         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36078         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36080         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36081         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36082         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36083         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36084         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36085         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36086         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36087         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36088         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36089         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36090         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36092         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36093         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36094         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36095         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36096         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36098         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36099         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36100         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36101         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36102         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36103         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36104         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36105         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36106         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36107         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36110         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36112         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36113         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36114         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36115         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36116         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36117         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36118         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36119         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36120         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36121         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36122         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36123         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36124         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36125         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36127         Update #include.
36128         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36129         Likewise.
36130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36131         Likewise.
36132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36133         Likewise.
36134         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36135         Likewise.
36136         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36137         Likewise.
36138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36139         Likewise.
36140         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36141         Likewise.
36142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36143         Likewise.
36144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36145         Likewise.
36146         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36147         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36148         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36150         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36151         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36152         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36153         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36154         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36155         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36156         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36157         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36158         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36159         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36160         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36162         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36163         that was previously under [RESET_PID].
36164         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36165         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36166         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36168         * sysdeps/i386/nptl/Implies: New file.
36169         * sysdeps/x86_64/nptl/Implies: New file.
36170         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36171         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36172         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36173         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36175         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36176         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36177         (__libc_vfork): New strong alias.
36178         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36179         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36181         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36182         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36183         (__libc_vfork): New strong alias.
36184         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36185         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36187         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36188         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36189         (__libc_vfork): New strong alias.
36190         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36191         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36192         * nptl/pt-vfork.c: New file.
36193         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36194         (libpthread: GLIBC_2.20): New version set (empty).
36196 2014-05-14  Will Newton  <will.newton@linaro.org>
36198         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36199         rather than #if.
36201 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36203         [BZ #16564]
36204         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36205         arguments with exponent 65 or above.
36206         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36207         arguments 0x1p113L or above.
36208         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36209         to arguments 0x1p107L or above.
36210         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36211         positive arguments with exponent 65 or above.
36212         * math/auto-libm-test-in: Add more tests of log1p.
36213         * math/auto-libm-test-out: Regenerated.
36215         [BZ #16928]
36216         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36217         non-finite arguments is +0.
36218         * math/s_cacosf.c (__cacosf): Likewise.
36219         * math/s_cacosl.c (__cacosl): Likewise.
36220         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36221         * sysdeps/i386/fpu/libm-test-ulps: Update.
36222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36224         [BZ #16927]
36225         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36226         value.
36227         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36228         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36229         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36230         for explicit high bit of mantissa when testing for argument equal
36231         to 1.
36232         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36233         * sysdeps/i386/fpu/libm-test-ulps: Update.
36234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36236         [BZ #16516]
36237         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36238         (__erf): Scale by 16 instead of 8 in potentially underflowing
36239         case.  Ensure exception if result actually underflows.
36240         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36241         (__erff): Scale by 16 instead of 8 in potentially underflowing
36242         case.  Ensure exception if result actually underflows.
36243         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36244         (efx8): Remove variable.
36245         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36246         case.  Ensure exception if result actually underflows.
36247         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36248         (efx8): Remove variable.
36249         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36250         case.  Ensure exception if result actually underflows.
36251         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36252         (efx8): Remove variable.
36253         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36254         case.  Ensure exception if result actually underflows.
36255         * math/auto-libm-test-in: Add more tests of erf.
36256         * math/auto-libm-test-out: Regenerated.
36258 2014-05-14  Andreas Schwab  <schwab@suse.de>
36260         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36261         Remove code conditionalized on USE___THREAD.
36263         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36264         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36265         not definedness.
36267 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36269         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36270         Define unconditionally.
36271         (__ASSUME_O_CLOEXEC): Likewise.
36272         (__ASSUME_SOCK_CLOEXEC): Likewise.
36273         (__ASSUME_IN_NONBLOCK): Likewise.
36274         (__ASSUME_PIPE2): Likewise.
36275         (__ASSUME_EVENTFD2): Likewise.
36276         (__ASSUME_SIGNALFD4): Likewise.
36277         (__ASSUME_DUP3): Likewise.
36278         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36279         (__ASSUME_DUP3): Do not define.
36280         (__ASSUME_EVENTFD2): Likewise.
36281         (__ASSUME_IN_NONBLOCK): Likewise.
36282         (__ASSUME_O_CLOEXEC): Likewise.
36283         (__ASSUME_PIPE2): Likewise.
36284         (__ASSUME_SIGNALFD4): Likewise.
36285         (__ASSUME_SOCK_CLOEXEC): Likewise.
36286         (__ASSUME_UTIMES): Undefine.
36287         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36288         (__ASSUME_UTIMES): Do not define.
36289         (__ASSUME_O_CLOEXEC): Likewise.
36290         (__ASSUME_SOCK_CLOEXEC): Likewise.
36291         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36292         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36293         0x020621].
36294         (__ASSUME_PIPE2): Likewise.
36295         (__ASSUME_EVENTFD2): Likewise.
36296         (__ASSUME_SIGNALFD4): Likewise.
36297         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36298         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36299         Do not define.
36300         (__ASSUME_EVENTFD2): Likewise.
36301         (__ASSUME_SIGNALFD4): Likewise.
36302         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36303         (__ASSUME_32BITUIDS): Likewise.
36304         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36305         (__ASSUME_IPC64): Likewise.
36306         (__ASSUME_ST_INO_64_BIT): Likewise.
36307         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36308         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36309         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36310         (__ASSUME_UTIMES): Do not define.
36311         (__ASSUME_PSELECT): Likewise.
36312         (__ASSUME_PPOLL): Likewise.
36313         (__ASSUME_O_CLOEXEC): Likewise.
36314         (__ASSUME_SOCK_CLOEXEC): Likewise.
36315         (__ASSUME_IN_NONBLOCK): Likewise.
36316         (__ASSUME_PIPE2): Likewise.
36317         (__ASSUME_EVENTFD2): Likewise.
36318         (__ASSUME_SIGNALFD4): Likewise.
36319         (__ASSUME_DUP3): Likewise.
36320         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36321         (__ASSUME_UTIMES): Likewise.
36322         (__ASSUME_O_CLOEXEC): Likewise.
36323         (__ASSUME_SOCK_CLOEXEC): Likewise.
36324         (__ASSUME_IN_NONBLOCK): Likewise.
36325         (__ASSUME_PIPE2): Likewise.
36326         (__ASSUME_EVENTFD2): Likewise.
36327         (__ASSUME_SIGNALFD4): Likewise.
36328         (__ASSUME_DUP3): Likewise.
36329         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36330         (__ASSUME_UTIMES): Likewise.
36331         (__ASSUME_O_CLOEXEC): Likewise.
36332         (__ASSUME_SOCK_CLOEXEC): Likewise.
36333         (__ASSUME_IN_NONBLOCK): Likewise.
36334         (__ASSUME_PIPE2): Likewise.
36335         (__ASSUME_EVENTFD2): Likewise.
36336         (__ASSUME_SIGNALFD4): Likewise.
36337         (__ASSUME_DUP3): Likewise.
36338         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36339         Likewise.
36340         (__ASSUME_UTIMES): Likewise.
36341         (__ASSUME_EVENTFD2): Likewise.
36342         (__ASSUME_SIGNALFD4): Likewise.
36343         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36344         (__ASSUME_O_CLOEXEC): Likewise.
36345         (__ASSUME_SOCK_CLOEXEC): Likewise.
36346         (__ASSUME_IN_NONBLOCK): Likewise.
36347         (__ASSUME_PIPE2): Likewise.
36348         (__ASSUME_EVENTFD2): Likewise.
36349         (__ASSUME_SIGNALFD4): Likewise.
36350         (__ASSUME_DUP3): Likewise.
36351         (__ASSUME_UTIMES): Undefine.
36353         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36354         feclearexcept.  Remove symbol versioning code.
36355         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36356         symbol versioning code.
36357         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36358         symbol versioning code.
36359         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36360         feupdateenv.  Remove symbol versioning code.
36361         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36362         fegetexceptflag.  Remove symbol versioning code.
36363         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36364         fesetexceptflag.  Remove symbol versioning code.
36365         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36366         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36367         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36368         (__posix_fadvise64_l32): Remove prototype.
36369         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36370         code.
36372 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36374         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36375         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36376         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36377         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36379 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36381         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36382         current working directory
36384 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36386         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36387         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36388         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36389         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36390         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36391         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36392         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36393         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36394         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36395         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36396         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36397         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36398         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36399         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36400         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36401         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36402         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36403         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36404         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36405         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36406         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36407         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36408         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36409         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36410         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36411         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36412         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36413         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36414         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36415         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36416         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36417         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36418         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36419         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36420         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36421         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36422         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36423         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36424         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36425         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36426         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36427         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36429         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36430         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36432         * sysdeps/unix/sysv/linux/arm/Makefile
36433         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36434         Add rt-aeabi_unwind_cpp_pr1.
36435         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36436         Add nptl-aeabi_unwind_cpp_pr1.
36437         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36438         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36439         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36440         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36441         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36442         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36444         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36445         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36446         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36447         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36449         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36450         Deconditionalize the code that was previously under [RESET_PID].
36451         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36453         * sysdeps/generic/exit-thread.h: New file.
36454         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36455         * include/unistd.h (__exit_thread): Remove declaration.
36456         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36457         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36458         * csu/libc-start.c: Include <exit-thread.h>.
36459         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36460         * nptl/pthread_create.c: Include <exit-thread.h>.
36461         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36462         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36463         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36464         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36465         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36466         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36467         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36468         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36469         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36470         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36471         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36472         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36473         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36474         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36475         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36476         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36477         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36479 2014-05-13  Andreas Schwab  <schwab@suse.de>
36481         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36483 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36485         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36486         (__ASSUME_UTIMES): Do not condition on kernel version.
36487         (__ASSUME_PSELECT): Define unconditionally.
36488         (__ASSUME_PPOLL): Likewise.
36489         (__ASSUME_ATFCTS): Likewise.
36490         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36491         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36492         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36493         (__ASSUME_UTIMENSAT): Define unconditionally.
36494         (__ASSUME_PRIVATE_FUTEX): Likewise.
36495         (__ASSUME_FALLOCATE): Likewise.
36496         (__ASSUME_O_CLOEXEC): Likewise.
36497         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36498         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36499         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36500         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36501         (__ASSUME_IN_NONBLOCK): Likewise.
36502         (__ASSUME_PIPE2): Likewise.
36503         (__ASSUME_EVENTFD2): Likewise.
36504         (__ASSUME_SIGNALFD4): Likewise.
36505         (__ASSUME_DUP3): Likewise.
36506         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36507         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36508         (__ASSUME_AT_RANDOM): Likewise.
36509         (__ASSUME_PREADV): Likewise.
36510         (__ASSUME_PWRITEV): Likewise.
36511         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36512         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36513         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36514         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36515         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36516         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36517         (__ASSUME_O_CLOEXEC): Define unconditionally.
36518         (__ASSUME_PSELECT): Do not undefine conditionally.
36519         (__ASSUME_PPOLL): Likewise.
36520         (__ASSUME_ATFCTS): Likewise.
36521         (__ASSUME_SET_ROBUST_LIST): Likewise.
36522         (__ASSUME_UTIMENSAT): Likewise.
36523         (__ASSUME_FDATASYNC): Define unconditionally.
36524         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36525         (__ASSUME_SIGFRAME_V2): Likewise.
36526         )__ASSUME_EVENTFD2): Likewise.
36527         (__ASSUME_SIGNALFD4): Likewise.
36528         (__ASSUME_PSELECT): Do not undefine conditionally.
36529         (__ASSUME_PPOLL): Likewise.
36530         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36531         (__ASSUME_PSELECT): Define unconditionally.
36532         (__ASSUME_PPOLL): Likewise.
36533         (__ASSUME_O_CLOEXEC): Likewise.
36534         (__ASSUME_SOCK_CLOEXEC): Likewise.
36535         (__ASSUME_IN_NONBLOCK): Likewise.
36536         (__ASSUME_PIPE2): Likewise.
36537         (__ASSUME_EVENTFD2): Likewise.
36538         (__ASSUME_SIGNALFD4): Likewise.
36539         (__ASSUME_DUP3): Likewise.
36540         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36541         (__ASSUME_O_CLOEXEC): Likewise.
36542         (__ASSUME_SOCK_CLOEXEC): Likewise.
36543         (__ASSUME_IN_NONBLOCK): Likewise.
36544         (__ASSUME_PIPE2): Likewise.
36545         (__ASSUME_EVENTFD2): Likewise.
36546         (__ASSUME_SIGNALFD4): Likewise.
36547         (__ASSUME_DUP3): Likewise.
36548         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36549         (__ASSUME_EVENTFD2): Likewise.
36550         (__ASSUME_SIGNALFD4): Likewise.
36551         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36553 2014-05-12  Andreas Schwab  <schwab@suse.de>
36555         [BZ #16932]
36556         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36557         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36558         than maximum RPC packet size.
36559         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36560         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36561         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36562         (_nss_nis_getservbyport_r): Likewise.
36564 2014-05-12  Will Newton  <will.newton@linaro.org>
36566         * malloc/Makefile (tests): Add tst-mallopt.
36567         * malloc/tst-mallopt.c: New file.
36569 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36571         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36572         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36574 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36576         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36577         (tst-tlsmod6.so): Likewise.
36579 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36581         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36583 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36585         [BZ #16064]
36586         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36587         and <dl-procinfo.h>.
36588         (__fegetenv): Save SSE state in envp->__eip if supported.
36589         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36590         envp->__eip if supported.
36591         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36592         and <dl-procinfo.h>.
36593         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36594         __data_offset and __data_selector in environment to 0.  Set SSE
36595         state if supported.
36596         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36597         test-fenv-sse.
36598         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36599         -mfpmath=sse.
36600         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36602 2014-05-09  Will Newton  <will.newton@linaro.org>
36604         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36605         and libc_relro_required for ARM.
36606         * sysdeps/arm/preconfigure: Regenerate.
36608 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36609             Stefan Liebler  <stli@linux.vnet.ibm.com>
36611         * config.make.in (enable-lock-elision): New Makefile variable.
36612         * configure.ac: Likewise.
36613         * configure: Regenerate.
36614         * sysdeps/s390/configure.ac:
36615         Add check for gcc transactions support.
36616         * sysdeps/s390/configure: Regenerate.
36617         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36618         Build elision files if enabled.
36619         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36620         Add lock elision support for s390.
36621         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36622         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36623         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36624         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36625         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36626         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36627         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36628         Likewise.
36629         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36630         Likewise.
36631         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36632         Likewise.
36633         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36634         Likewise.
36635         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36636         (__lll_timedlock_elision, __lll_lock_elision)
36637         (__lll_unlock_elision, __lll_trylock_elision)
36638         (lll_timedlock_elision, lll_lock_elision)
36639         (lll_unlock_elision, lll_trylock_elision): Add.
36640         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36641         (pthread_mutex_t): Add lock elision support for s390.
36643 2014-05-14  Wilco  <wdijkstr@arm.com>
36645         * sysdeps/arm/fclrexcpt.c: Cleanup.
36646         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36647         * sysdeps/arm/feenablxcpt.c: Cleanup.
36648         * sysdeps/arm/fegetenv.c: Cleanup.
36649         * sysdeps/arm/fegetexcept.c: Cleanup.
36650         * sysdeps/arm/fegetround.c: Cleanup.
36651         * sysdeps/arm/feholdexcpt.c: Cleanup.
36652         * sysdeps/arm/fesetenv.c: Cleanup.
36653         * sysdeps/arm/fesetround.c: Cleanup.
36654         * sysdeps/arm/feupdateenv.c: Cleanup.
36655         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36656         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36657         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36658         * sysdeps/arm/ftestexcept.c: Cleanup.
36659         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36660         * sysdeps/arm/setfpucw.c: Cleanup.
36662 2014-05-09  Will Newton  <will.newton@linaro.org>
36664         * sysdeps/arm/armv7/strcmp.S: New file.
36665         * NEWS: Mention addition of ARMv7 optimized strcmp.
36667 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36669         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36670         look for %.ac rather than %.in.
36672         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36673         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36674         * sysdeps/mach/hurd/configure: Regenerated.
36675         * sysdeps/unix/sysv/linux/configure: Regenerated.
36677         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36679 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36681         [BZ# 16922]
36682         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36683         (LONG_SUB): Ditto.
36684         (PTR_SUB): Ditto.
36686 2014-05-07  Andreas Schwab  <schwab@suse.de>
36688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36689         when skipping over non-matching result from nscd.
36691 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36693         [BZ #16876]
36694         * nptl/sockperf.c (client): Check socket return value.
36696         [BZ #16877]
36697         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36698         nscd security class.
36700 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36702         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36703         * sysdeps/arm/unwind.h: ... here.
36705 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36707         [BZ# 16916]
36708         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36709         Define.
36711 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36713         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36714         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36715         multiarch strncpy for PPC64.
36716         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36717         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36719         multiarch optimizations.
36720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36721         (__libc_ifunc_impl_list): Likewise.
36722         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36723         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36724         multiarch stpncpy for PPC64.
36725         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36726         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36728 2014-05-06  Andreas Schwab  <schwab@suse.de>
36730         [BZ #16912]
36731         * gmon/mcount.c (_MCOUNT_DECL): Use
36732         atomic_compare_and_exchange_bool_acq instead of
36733         catomic_compare_and_exchange_bool_acq.
36735 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36737         * elf/Makefile (others, install-bin): Remove pldd.
36738         (pldd-modules): Variable removed.
36739         ($(objpfx)pldd): Target removed.
36740         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36741         (others, install-bin): Append pldd here.
36742         ($(objpfx)pldd): New target.
36744         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36745         to 0, so the first #if test emitted later doesn't see it undefined.
36746         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36747         * sysdeps/gnu/errlist.c: Regenerated.
36749 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36751         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36752         [libc_hidden_builtin_def]: Define to empty value.
36753         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36754         [libc_hidden_builtin_def]: Likewise.
36755         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36756         [libc_hidden_builtin_def]: Likewise.
36757         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36758         [libc_hidden_builtin_def]: Likewise.
36759         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36760         __redirect_memcpy and define ifunc as default hidden symbol.
36761         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36762         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36764 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36766         * locale/iso-4217.def: Reintroduce XDR currency.
36768 2014-05-04  Allan McRae  <allan@archlinux.org>
36770         * po/eo.po: Update Esperanto translation from translation project.
36772 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36774         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36775         and FEATURE_INDEX_MAX to 1.
36776         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36778 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36780         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36781         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36782         * iconvdata/big5.c (ONE_DIRECTION): Define.
36783         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36784         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36785         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36786         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36787         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36788         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36789         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36790         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36791         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36792         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36793         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36794         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36795         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36796         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36797         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36798         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36799         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36800         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36801         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36802         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36803         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36804         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36805         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36806         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36807         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36808         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36809         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36810         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36811         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36812         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36813         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36814         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36815         * iconvdata/johab.c (ONE_DIRECTION): Define.
36816         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36817         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36818         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36819         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36820         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36821         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36822         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36823         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36824         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36825         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36827 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36829         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36830         (_IO_JUMPS_OFFSET): Define to 0.
36832         * nptl/sysdeps/pthread/bits/libc-lock.h
36833         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36834         (__libc_lock_define_initialized_recursive): Always define using
36835         initializer.  Modern compilers treat uninitialized (implicit zero) and
36836         explicit zero initializers the same (i.e. put the datum in bss).
36838 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36840         * nscd/nscd-client.h: Include <string.h>.
36842 2014-05-01  David S. Miller  <davem@davemloft.net>
36844         [BZ #16885]
36845         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36846         multiple zero bytes exist at the end of a string.
36847         Reported by Aurelien Jarno <aurelien@aurel32.net>
36849         * string/test-strcmp.c (check): Add explicit test for situations where
36850         there are multiple zero bytes after the first.
36852 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36854         [BZ #16890]
36855         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36856         when compiling wprintf.
36857         * stdio-common/tstdiomisc.c (t3): New function.
36858         (main): Call it.
36860 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36862         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36863         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36864         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36865         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36867 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36869         * stdlib/longlong.h: Updated from GCC.
36871 2014-05-01  Will Newton  <will.newton@linaro.org>
36872             Bernard Ogden  <bernie.ogden@linaro.org>
36874         * NEWS: Update fixed bug list.
36876         [BZ #15119]
36877         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36879 2014-04-30  David S. Miller  <davem@davemloft.net>
36881         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36882         (libc_feholdexcept_setround_sparc_ctx): New function.
36883         (libc_fesetenv_sparc_ctx): Likewise.
36884         (libc_feupdateenv_sparc_ctx): Likewise.
36885         (libc_feholdsetround_sparc_ctx): Likewise.
36886         (libc_feholdexcept_setround_ctx): Define.
36887         (libc_feholdexcept_setroundf_ctx): Likewise.
36888         (libc_feholdexcept_setroundl_ctx): Likewise.
36889         (libc_fesetenv_ctx): Likewise.
36890         (libc_fesetenvf_ctx): Likewise.
36891         (libc_fesetenvl_ctx): Likewise.
36892         (libc_feupdateenv_ctx): Likewise.
36893         (libc_feupdateenvf_ctx): Likewise.
36894         (libc_feupdateenvl_ctx): Likewise.
36895         (libc_feresetround_ctx): Likewise.
36896         (libc_feresetroundf_ctx): Likewise.
36897         (libc_feresetroundl_ctx): Likewise.
36898         (libc_feholdsetround_ctx): Likewise.
36899         (libc_feholdsetroundf_ctx): Likewise.
36900         (libc_feholdsetroundl_ctx): Likewise.
36902         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36903         with __USE_GNU instead of XOPEN cpp guards.
36905         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36906         0.
36908         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36909         with XOPEN cpp guards.
36911 2014-04-30  Julian Brown  <julian@codesourcery.com>
36913         [BZ #16888]
36914         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36915         handling.
36917 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36919         [BZ #9894]
36920         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36921         Change to 2.6.32.
36922         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36923         * sysdeps/unix/sysv/linux/configure: Regenerated.
36924         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36925         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36926         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36927         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36928         * README: Update reference to required Linux kernel version.
36929         * manual/install.texi (Linux): Update reference to required Linux
36930         kernel headers version.
36931         * INSTALL: Regenerated.
36933         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36934         header inclusion.
36935         [POSIX] (limits.h): Likewise.
36936         [POSIX] (math.h): Likewise.
36937         [POSIX] (sys/wait.h): Likewise.
36938         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36939         function.
36940         [POSIX] (stddef.h): Do not allow header inclusion.
36942 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36944         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36946 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36948         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36949         Return immediately after lll_futex_wake.
36951 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36953         [BZ #16791]
36954         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36955         structure.
36956         (datahead_init_pos): Call datahead_init_common early.
36957         (datahead_init_neg): Likewise.
36959         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36960         datahead_init_neg): New functions.
36961         * nscd/aicache.c (addhstaiX): Use them.
36962         * nscd/grpcache.c (cache_addgr): Likewise.
36963         * nscd/hstcache.c (cache_addhst): Likewise.
36964         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36965         * nscd/netgroupcache.c (do_notfound): Likewise.
36966         (addgetnetgrentX): Likewise.
36967         (addinnetgrX): Likewise.
36968         * nscd/pwdcache.c (cache_addpw): Likewise.
36969         * nscd/servicescache.c (cache_addserv): Likewise.
36971 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36972             Atsushi Onoe  <atsushi@onoe.org>
36974         [BZ #14308]
36975         [BZ #12994]
36976         [BZ #13651]
36977         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36978         one response is valid.
36979         * resolv/res_send.c (send_dg): Check for validity of other
36980         response if the current response is a referral.
36982 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36984         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36986 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36988         [BZ #16823]
36989         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36990         Always divide by positive zero when computing -Inf result.
36991         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36992         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36994 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36996         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36997         FPSCR if value do not change.
36998         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36999         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37000         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37001         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37002         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37003         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37004         function.
37006 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37008         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37009         * sysdeps/unix/sysv/linux/hppa: Move directory from
37010         ports/systeps/unix/sysv/linux/hppa.
37011         * README: Update listing for hppa-*-linux-gnu.
37013 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37015         [BZ #16754]
37016         * manual/stdio.texi (Hook functions): Fix types of stream hook
37017         functions.
37018         [BZ #16854]
37019         * socket/sys/socket.h: Fix typo in comment.
37021 2014-04-28  Wilco  <wdijkstr@arm.com>
37023         * sysdeps/arm/fenv_private.h: New file.
37024         * sysdeps/arm/math_private.h: New file.
37025         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37027 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37029         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37030         with __int128_t.
37031         (La_x86_64_retval): Likewise.
37033 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37035         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37036         fpsr if value didn't change.
37037         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37038         to fpcr if value didn't change.
37039         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37040         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37041         fpsr or fpcr if value didn't change.
37042         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37043         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37044         fpcr if value didn't change.
37045         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37046         to fpsr if value didn't change.
37048 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37050         * nptl/tst-sem3.c: Use test-skeleton.c
37051         (main): Rename to do_test.  Use return instead of
37052         exit.
37053         * nptl/tst-sem4.c: Use test-skeleton.c
37054         (main): Rename to do_test.
37056 2014-04-22  David S. Miller  <davem@davemloft.net>
37058         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37059         (struct sigaction): New struct member __glibc_reserved0, change
37060         type of sa_flags to int.
37062 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37064         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37065         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37067 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37069         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37070         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37072 2014-04-22  Will Newton  <will.newton@linaro.org>
37073             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37075         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37076         (__longjmp): Add longjmp and longjmp_target SystemTap
37077         probes.
37078         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37079         (__sigsetjmp): Add setjmp SystemTap probe.
37081 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37083         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37084         match manual order.
37086 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37088         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37090         * sysdeps/powerpc/fpu/fenv_private.h
37091         (libc_feholdexcept_setroundl_ctx): Define to
37092         libc_feholdexcept_setround_ppc_ctx.
37093         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37094         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37095         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37096         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37098 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37100         * sysdeps/aarch64/math-tests.h: New file.
37102 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37104         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37105         New.
37106         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37107         Check and set bit_AVX2_Usable.
37108         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37109         macro.
37110         (bit_AVX2): Likewise.
37111         (index_AVX2_Usable): Likewise.
37112         (CPUID_AVX2): Likewise.
37113         (HAS_AVX2): Likewise.
37115 2014-04-17  Will Newton  <will.newton@linaro.org>
37117         * manual/setjmp.texi (System V contexts): Add note that
37118         calling setcontext on a context created by a call to a
37119         signal handler is undefined.  Update text to note that
37120         setcontext from a signal handler is possible but not
37121         recommended.
37123         [BZ #16629]
37124         * stdlib/tst-setcontext.c: Include signal.h.
37125         (main): Check that the signal stack before and
37126         after swapcontext is the same.
37128         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37129         Re-implement to restore registers in user code and avoid
37130         rt_sigreturn system call.
37132 2014-04-17  Wilco  <wdijkstr@arm.com>
37134         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37135         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37136         * math/test-fenv.c: Skip exception trap tests on targets which only
37137         support non-stop mode.
37139 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37140             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37142         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37143         (libc_feholdsetround_aarch64_ctx)
37144         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37145         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37146         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37147         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37148         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37149         (libc_feresetround_noexl_ctx): Define.
37151 2014-04-16  Richard Henderson  <rth@redhat.com>
37153         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37155         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37156         unwind tables.
37158         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37159         const from the non-libc, non-ldso copy.
37161         * sysdeps/alpha/libm-test-ulps: Regenerate.
37163 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37164             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37166         * sysdeps/aarch64/fpu/math_private.h: New file.
37168 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37170         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37172 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37174         [BZ #16275]
37175         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37176         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37177         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37178         Intel MPX bound registers before _dl_profile_fixup.
37179         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37180         registers after _dl_profile_fixup.  Save and restore bound
37181         registers bnd0/bnd1 when calling _dl_call_pltexit.
37182         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37183         (LR_BND_OFFSET): Likewise.
37184         (LRV_BND0_OFFSET): Likewise.
37185         (LRV_BND1_OFFSET): Likewise.
37187 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37189         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37190         to...
37191         * sysdeps/mach/hurd/i386/tls.h: ... here.
37192         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37193         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37194         fields.
37196 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37198         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37200 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37202         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37204 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37206         [BZ #14770]
37207         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37208         * sysdeps/s390/configure: Regenerate.
37210         [BZ #16824]
37211         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37212         Set round-to-nearest internally to reduce error accumulation.
37214 2014-04-16  Alan Modra  <amodra@gmail.com>
37216         [BZ #16740]
37217         [BZ #16619]
37218         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37219         * math/libm-test.inc (frexp_test_data): Add tests.
37220         * NEWS: Update fixed bug list.
37222 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37224         * benchtests/Makefile: Depend on libraries in build directory.
37225         (bench-math): Separate out math tests.
37226         (bench-pthread): Separate out pthread tests.
37227         (bench): Include math and pthread tests.
37229 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37231         [BZ #16831]
37232         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37233         _dl_debug_initialize.
37235         * configure.ac: Remove SELinux header check.
37236         * configure: Regenerate.
37237         * nscd/selinux.c (perms): Array of const char* to permission names.
37238         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37239         default policy. Call string_to_security_class and string_to_av_perm to
37240         translate strings. Enforce default policy and call avs_has_perm with
37241         results of translated strings.
37243 2014-04-13  David S. Miller  <davem@davemloft.net>
37245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37247 2014-04-12  Allan McRae  <allan@archlinux.org>
37249         [BZ #16838]
37250         * manual/string.texi (Collation Functions): Fix qsort argument
37251         order in example.
37252         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37254 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37256         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37257         Make the test a no-op if there are no exceptions defined.
37259 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37261         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37262         enable-hardcoded-path-in-tests
37264 2014-04-11  Will Newton  <will.newton@linaro.org>
37266         * benchtests/Makefile (extra-objs): Add json-lib.o.
37267         (bench-func): Tidy up JSON output.
37268         * benchtests/bench-skeleton.c: Include json-lib.h.
37269         (main): Use JSON library functions to do output of
37270         benchmark results.
37271         * benchtests/bench-timing-type.c (main): Output the
37272         timing type simply, leaving formatting to the user.
37273         * benchtests/json-lib.c: New file.
37274         * benchtests/json-lib.h: Likewise.
37276 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37278         [BZ #15215]
37279         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37280         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37281         memory barriers.  Add comments.
37282         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37283         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37284         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37285         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37286         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37287         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37289 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37291         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37292         * sysdeps/s390/s390-64/configure.ac: ... this ...
37293         * sysdeps/s390/configure.ac: ... to here.
37294         * sysdeps/s390/s390-32/configure: Delete file.
37295         * sysdeps/s390/s390-64/configure: Delete file.
37296         * sysdeps/s390/configure: Regenerate.
37298 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37300         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37302 2014-04-11  Will Newton  <will.newton@linaro.org>
37304         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37305         to zero if it is not defined elsewhere.  (mtrim): Test
37306         the value of MALLOC_DEBUG with #if rather than #ifdef.
37308 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37310         * benchtests/pthread_once-inputs: New file.
37311         * benchtests/pthread_once-source.c: New file.
37312         * benchtests/README: Update documentation.
37314 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37315             H.J. Lu  <hongjiu.lu@intel.com>
37317         [BZ #16275]
37318         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37319         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37320         * sysdeps/x86_64/configure: Regenerated.
37321         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37322         macro.
37323         (REGISTER_SAVE_RAX): Likewise.
37324         (REGISTER_SAVE_RCX): Likewise.
37325         (REGISTER_SAVE_RDX): Likewise.
37326         (REGISTER_SAVE_RSI): Likewise.
37327         (REGISTER_SAVE_RDI): Likewise.
37328         (REGISTER_SAVE_R8): Likewise.
37329         (REGISTER_SAVE_R9): Likewise.
37330         (REGISTER_SAVE_BND0): Likewise.
37331         (REGISTER_SAVE_BND1): Likewise.
37332         (REGISTER_SAVE_BND2): Likewise.
37333         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37334         bound registers when calling _dl_fixup.
37336 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37338         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37339         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37340         of its definition.
37341         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37342         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37343         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37344         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37345         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37346         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37347         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37349 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37351         [BZ #15514]
37352         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37353         pathconf(_PC_NAME_MAX).
37355 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37357         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37358         Remove macro usage.
37359         (__PTHREAD_SPINS): Move definition to ...
37360         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37361         (__PTHREAD_SPINS): ... here.
37362         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37363         (__PTHREAD_SPIN): Likewise.
37364         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37365         (__PTHREAD_SPIN): Likewise.
37366         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37367         (__PTHREAD_SPIN): Likewise.
37368         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37369         (__PTHREAD_SPIN): Likewise.
37370         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37371         (__PTHREAD_SPIN): Likewise.
37372         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37373         (__PTHREAD_SPIN): Likewise.
37374         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37375         (__PTHREAD_SPIN): Likewise.
37376         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37377         (__PTHREAD_SPIN): Likewise.
37378         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37379         (__PTHREAD_SPIN): Likewise.
37380         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37381         (__PTHREAD_SPIN): Likewise.
37382         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37383         (__PTHREAD_SPIN): Likewise.
37384         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37385         (__PTHREAD_SPIN): Likewise.
37387         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37388         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37389         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37390         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37391         imply folder.
37392         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37393         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37394         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37395         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37396         correct imply path.
37397         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37398         strlen symbol for non multi-arch builds.
37399         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37400         missing hidden_def and weak_alias.
37402 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37404         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37406 2014-04-07  Will Newton  <will.newton@linaro.org>
37408         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37409         and contents.  [!_LIBC] Remove #ifndef and contents.
37410         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37411         * string/memccpy.c (__memccpy): Use ANSI prototype.
37412         * string/memfrob.c (memfrob): Likewise.
37413         * string/strcoll.c (STRCOLL): Likewise.
37414         * string/strlen.c (strlen): Likewise.
37415         * string/strtok.c (STRTOK): Likewise.
37416         * string/strcat.c: Remove unused #include of memcopy.h.
37417         (strcat): Use ANSI prototype.
37418         * string/strchr.c: Remove unused #include of memcopy.h.
37419         (strchr): Use ANSI prototype.
37420         * string/strcmp.c: Remove unused #include of memcopy.h.
37421         (strcmp): Use ANSI prototype.
37422         * string/strcpy.c: Remove unused #include of memcopy.h.
37423         (strcpy): Use ANSI prototype.
37425 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37427         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37428         * config.make.in (config-extra-cppflags): Set it from
37429         libc_extra_cppflags.
37430         * configure.ac (libc_extra_cflags): Make it accumulate over
37431         configure fragments.
37432         (libc_extra_cppflags): New flag.
37433         * configure. Regenerate.
37434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37435         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37436         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37439         [BZ #16815]
37440         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37441         result for FE_DOWNWARD rounding mode.
37442         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37443         Likewise.
37444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37446 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37448         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37449         in function argument name.
37451 2014-04-03  David Svoboda  <svoboda@cert.org>
37453         [BZ #5666]
37454         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37455         explicitly.
37457 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37459         * elf/dl-unmap-segments.h: New file.
37460         * sysdeps/generic/ldsodefs.h
37461         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37462         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37463         * elf/dl-fptr.c: Likewise.
37464         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37465         * sysdeps/aarch64/tlsdesc.c: Likewise.
37466         * sysdeps/arm/tlsdesc.c: Likewise.
37467         * sysdeps/i386/tlsdesc.c: Likewise.
37468         * sysdeps/tile/dl-runtime.c: Likewise.
37469         * sysdeps/x86_64/tlsdesc.c: Likewise.
37470         * elf/dl-load.h: New file.
37471         * elf/dl-load.c: Include it.
37472         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37473         Macros moved to dl-load.h.
37474         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37475         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37476         Use _dl_unmap_segments in place of __munmap.
37477         Break out segment-mapping loop into ...
37478         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37480 2014-04-03  Will Newton  <will.newton@linaro.org>
37482         * elf/dl-lookup.c (do_lookup_x): Remove comment
37483         referring to nested function and move variable
37484         declarations down to before first use.
37486 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37488         [BZ #16799]
37489         [BZ #16800]
37490         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37491         with 0 numerator.
37492         * math/s_catanf.c (__catanf): Likewise.
37493         * math/s_catanh.c (__catanh): Likewise.
37494         * math/s_catanhf.c (__catanhf): Likewise.
37495         * math/s_catanhl.c (__catanhl): Likewise.
37496         * math/s_catanl.c (__catanl): Likewise.
37497         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37498         by positive zero when computing -Inf result.
37499         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37500         (catanh_test): Likewise.
37501         * sysdeps/i386/fpu/libm-test-ulps: Update.
37502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37504         [BZ #16789]
37505         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37506         instead of using underflowing value in computing result.
37507         * math/s_clog10.c (__clog10): Likewise.
37508         * math/s_clog10f.c (__clog10f): Likewise.
37509         * math/s_clog10l.c (__clog10l): Likewise.
37510         * math/s_clogf.c (__clogf): Likewise.
37511         * math/s_clogl.c (__clogl): Likewise.
37512         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37513         (clog10_test): Likewise.
37514         * sysdeps/i386/fpu/libm-test-ulps: Update.
37515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37517 2014-04-02  Alan Modra  <amodra@gmail.com>
37519         [BZ #16739]
37520         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37521         output when value is near a power of two.  Use int64_t for lx and
37522         remove casts.  Use decimal rather than hex exponent constants.
37523         Don't use long double multiplication when double will suffice.
37524         * math/libm-test.inc (nextafter_test_data): Add tests.
37525         * NEWS: Add 16739 and 16786 to bug list.
37527         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37529         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37531 2014-04-01  Will Newton  <will.newton@linaro.org>
37533         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37534         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37536 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37538         [BZ #13347]
37539         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37540         * nptl/tst-setuid2.c: New file.
37541         * nptl/Makefile (xtests): Add tst-setuid2.
37543 2014-04-01  Alan Modra  <amodra@gmail.com>
37545         [BZ #16786]
37546         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37548 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37550         [BZ #6803]
37551         [BZ #6804]
37552         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37553         set errno as appropriate.
37554         * math/w_scalbf.c (__scalbf): Likewise.
37555         * math/w_scalbl.c (__scalbl): Likewise.
37556         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37557         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37558         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37559         Add more NaN tests.
37561         [BZ #16349]
37562         * math/w_atan2.c: Include <errno.h>.
37563         (__atan2): Set errno for result underflowing to zero.
37564         * math/w_atan2f.c: Include <errno.h>.
37565         (__atan2f): Set errno for result underflowing to zero.
37566         * math/w_atan2l.c: Include <errno.h>.
37567         (__atan2l): Set errno for result underflowing to zero.
37568         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37569         tests.
37570         * math/auto-libm-test-out: Regenerated.
37572 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37574         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37575         Encode instruction correctly in little endian.
37576         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37577         Likewise.
37578         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37579         Likewise.
37580         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37581         Likewise.
37582         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37583         Likewise.
37585 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37587         [BZ #9894]
37588         * sysdeps/unix/sysv/linux/kernel-features.h
37589         [__sparc__ && !__arch64__ && !__sparc_v9__]
37590         (__ASSUME_SET_ROBUST_LIST): Do not define.
37591         [__sparc__ && !__arch64__ && !__sparc_v9__]
37592         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37593         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37594         Likewise.
37595         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37596         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37597         (__ASSUME_REQUEUE_PI): Likewise.
37598         (__ASSUME_SET_ROBUST_LIST): Likewise.
37599         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37600         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37601         Undefine.
37602         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37603         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37604         Likewise.
37605         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37606         Likewise.
37607         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37608         Likewise.
37609         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37610         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37611         Undefine.
37612         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37613         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37614         Likewise.
37616         [BZ #16648]
37617         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37618         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37619         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37621 2014-03-31  Will Newton  <will.newton@linaro.org>
37623         * benchtests/Makefile (bench): Add ffs and ffsll to list
37624         of tests.
37625         * benchtests/ffs-inputs: New file.
37626         * benchtests/ffsll-inputs: Likewise.
37628 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37630         [BZ #16770]
37631         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37632         too large before casting to int.
37633         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37634         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37635         * math/libm-test.inc (scalb_test_data): Add more tests.
37637 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37639         * benchtests/Makefile (DETAILED_OPT): New make option.
37640         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37641         set.
37642         * benchtests/bench-skeleton.c: Include stdbool.h.
37643         (main): Store and print timings per input.
37644         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37645         member to each argument value.
37646         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37647         (_print_arg_data): Initialize per-input timing to 0.
37649         * benchtests/Makefile (timing-type): New binary.
37650         (bench-clean): Also remove bench-timing-type.
37651         (bench): New target for timing-type.
37652         (bench-func): Print output in JSON format.
37653         * benchtests/bench-skeleton.c (main): Print output in JSON
37654         format.
37655         * benchtests/bench-timing-type.c: New file.
37656         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37657         (TIMING_PRINT_STATS): Remove.
37658         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37659         name separately.
37661         * benchtests/bench-modf.c: Remove.
37662         * benchtests/modf-inputs: New inputs file.
37664 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37666         [BZ #16362]
37667         * math/s_clog10.c (M_PI_LOG10E): New macro.
37668         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37669         imaginary parts are 0.
37670         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37671         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37672         imaginary parts are 0.
37673         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37674         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37675         imaginary parts are 0.
37676         * math/libm-test.inc (clog10_test_data): Update expected results
37677         for when real and imaginary parts are 0.
37679 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37681         * elf/dl-load.c: Finish conversion of __builtin_expect into
37682         __glibc_{un}likely.
37684 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37686         [BZ #16348]
37687         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37688         1+x for argument with exponent below -67.
37689         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37690         Likewise.
37691         * math/auto-libm-test-in: Add more tests of exp.
37692         * math/auto-libm-test-out: Regenerated.
37694 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37696         [BZ #16759]
37697         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37698         (nscd_getnetgrent): Use it.
37700         [BZ #16760]
37701         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37702         of stpcpy.
37704 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37706         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37707         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37708         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37709         (lll_robust_unlock): Remove out of line section. Use cfi
37710         intrinsics.
37711         (LLL_STUB_UNWIND_INFO*): Remove.
37712         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37713         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37714         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37715         (lll_robust_unlock): Remove out of line section. Use cfi
37716         intrinsics.
37717         (LLL_STUB_UNWIND_INFO*): Remove.
37719 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37721         [BZ #16758]
37722         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37723         blank values.
37725 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37727         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37729 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37731         [BZ #16198]
37732         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37733         fnstenv.
37734         * math/test-fenv-preserve.c: New file.
37735         * math/Makefile (tests): Add test-fenv-preserve.
37737 2014-03-26  Will Newton <will.newton@linaro.org>
37739         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37741 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37743         * scripts/versionlist.awk: Partition the version sets and emit all
37744         GLIBC_* (sorted) before all others (sorted).
37746 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37748         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37749         GLIBC_2.2.5 version.
37751 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37753         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37754         calls.
37756         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37757         previous change.
37759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37761 2014-03-25  Andreas Schwab  <schwab@suse.de>
37763         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37764         label to be used after in6ailist is initialized.
37766 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37768         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37769         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37771 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37773         [BZ #16357]
37774         [BZ #16599]
37775         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37776         min_plus_half.
37777         (fp_formats): Update initializers.
37778         (init_fp_formats): Initialize new field.
37779         (output_for_one_input_case): Allow underflow for results up to
37780         min_plus_half.
37781         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37782         * math/auto-libm-test-in: Don't mark some underflows from asin and
37783         atanh as spurious.
37784         * math/auto-libm-test-out: Regenerated.
37785         * sysdeps/i386/fpu/libm-test-ulps: Update.
37786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37788 2014-03-25  Andreas Schwab  <schwab@suse.de>
37790         * libio/Makefile (tst-ftell-partial-wide-ENV)
37791         (tst-ftell-active-handler-ENV): Define.
37793 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37795         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37797 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37799         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37801 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37803         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37804         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37805         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37807 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37809         [BZ #16634]
37810         * elf/dl-load.c (open_verify): Add mode parameter.
37811         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37812         (open_path): Change from boolean 'secure' to complete flag 'mode'
37813         (_dl_map_object): Adjust.
37814         * elf/Makefile (tests): Add tst-dlopen-aout.
37815         * elf/tst-dlopen-aout.c: New test.
37817 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37819         [BZ #16714]
37820         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37821         (struct stat): Rename member pad0 to __glibc_reserved0.
37823         [BZ #16712]
37824         * sysdeps/s390/s390-32/bits/wordsize.h
37825         (__WORDSIZE32_SIZE_ULONG): New define.
37826         * sysdeps/s390/s390-64/bits/wordsize.h
37827         (__WORDSIZE32_SIZE_ULONG): Likewise.
37828         * sysdeps/generic/stdint.h (SIZE_MAX):
37829         Define as UL if __WORDSIZE32_SIZE_ULONG.
37831         [BZ #16713]
37832         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37833         (__glibc_reserved0): New variable.
37834         (sa_flags): Change type to int.
37836         * posix/Makefile (before-compile): Use += before-compile instead
37837         of a :=.
37839         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37840         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37842 2014-03-20  Andreas Schwab  <schwab@suse.de>
37844         [BZ #16743]
37845         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37846         non-matching result from nscd.
37848 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37850         * scripts/bench.py: Moved to ...
37851         * benchtests/scripts/bench.py: ... here.
37852         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37854 2014-03-24  Andreas Schwab  <schwab@suse.de>
37856         [BZ #16002]
37857         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37858         alloca_account and account alloca use for struct in6ailist.
37860 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37862         [BZ #16284]
37863         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37864         rounding mode to recompute results that overflow to infinity or
37865         underflow to zero.
37866         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37867         bug 16284.
37868         * math/auto-libm-test-out: Regenerated.
37869         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37870         (ccosh_test): Likewise.
37871         (csin_test_data): Use plus_oflow.
37872         (csin_test): Use ALL_RM_TEST.
37873         (csinh_test_data): Use plus_oflow.
37874         (csinh_test): Use ALL_RM_TEST.
37875         * sysdeps/i386/fpu/libm-test-ulps: Update.
37876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37878 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37880         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37881         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37882         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37884         [BZ #16731]
37885         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37886         when x - 1 is zero.
37887         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37888         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37889         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37890         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37891         argument is 1.
37892         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37893         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37894         zero.
37895         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37896         * sysdeps/i386/fpu/libm-test-ulps: Update.
37897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37899 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37901         * scripts/bench.pl: Remove file.
37902         * scripts/bench.py: New benchmark script.
37903         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37904         * benchtests/README: Mention python dependency.
37905         * scripts/pylintrc: New file.
37906         * scripts/pylint: New file.
37908         * bits/mathdef.h: Use #ifdef instead of #if.
37909         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37910         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37911         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37912         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37913         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37914         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37916 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37917             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37919         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37921         and strpbrk-ppc64 objects.
37922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37923         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37924         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37925         multiarch strpbrk for POWER7.
37926         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37927         multiarch strpbrk for PPC64.
37928         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37929         ifunc selector.
37930         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37931         strpbrk for POWER7.
37933 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37935         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37936         (atan_test): Likewise.
37937         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37938         (atanh_test): Use ALL_RM_TEST.
37939         (atan2_test_data): Likewise.
37940         (cabs_test): Likewise.
37941         (cacosh_test): Likewise.
37942         (carg_test): Likewise.
37943         (casin_test): Likewise.
37944         (casinh_test): Likewise.
37945         (cbrt_test): Likewise.
37946         (csqrt_test): Likewise.
37947         (erf_test): Likewise.
37948         (erfc_test): Likewise.
37949         (pow10_test): Likewise.
37950         (exp2_test): Likewise.
37951         (hypot_test): Likewise.
37952         (j0_test): Likewise.
37953         (j1_test): Likewise.
37954         (lgamma_test): Likewise.
37955         (gamma_test): Likewise.
37956         (sincos_test): Likewise.
37957         (tanh_test): Likewise.
37958         (y0_test): Likewise.
37959         (y1_test): Likewise.
37960         * sysdeps/i386/fpu/libm-test-ulps: Update.
37961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37963 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37965         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37966         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37967         and strcspn-ppc64 objects.
37968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37969         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37970         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37971         multiarch strcspn for POWER7.
37972         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37973         multiarch strcspn for PPC64.
37974         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37975         ifunc selector.
37976         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37977         strcspn for POWER7.
37979 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37981         * math/gen-libm-test.pl (generate_testfile): Expect only function
37982         name as argument to AUTO_TESTS_* and pass results for all rounding
37983         modes to parse_args.
37984         (parse_auto_input): Separate inputs of automatic tests from
37985         outputs before storing in %auto_tests.
37986         * math/libm-test.inc (acos_test_data): Update call to
37987         AUTO_TESTS_f_f.
37988         (acos_test): Use ALL_RM_TEST.
37989         (acos_tonearest_test_data): Remove.
37990         (acos_test_tonearest): Likewise.
37991         (acos_towardzero_test_data): Likewise.
37992         (acos_test_towardzero): Likewise.
37993         (acos_downward_test_data): Likewise.
37994         (acos_test_downward): Likewise.
37995         (acos_upward_test_data): Likewise.
37996         (acos_test_upward): Likewise.
37997         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37998         (asin_test_data): Likewise.
37999         (asin_test): Use ALL_RM_TEST.
38000         (asin_tonearest_test_data): Remove.
38001         (asin_test_tonearest): Likewise.
38002         (asin_towardzero_test_data): Likewise.
38003         (asin_test_towardzero): Likewise.
38004         (asin_downward_test_data): Likewise.
38005         (asin_test_downward): Likewise.
38006         (asin_upward_test_data): Likewise.
38007         (asin_test_upward): Likewise.
38008         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38009         (atan_test_data): Likewise.
38010         (atanh_test_data): Likewise.
38011         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38012         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38013         (carg_test_data): Likewise.
38014         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38015         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38016         (ccosh_test_data): Likewise.
38017         (cexp_test_data): Likewise.
38018         (clog_test_data): Likewise.
38019         (clog10_test_data): Likewise.
38020         (cos_test_data): Update call to AUTO_TESTS_f_f.
38021         (cos_test): Use ALL_RM_TEST.
38022         (cos_tonearest_test_data): Remove.
38023         (cos_test_tonearest): Likewise.
38024         (cos_towardzero_test_data): Likewise.
38025         (cos_test_towardzero): Likewise.
38026         (cos_downward_test_data): Likewise.
38027         (cos_test_downward): Likewise.
38028         (cos_upward_test_data): Likewise.
38029         (cos_test_upward): Likewise.
38030         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38031         (cosh_test): Use ALL_RM_TEST.
38032         (cosh_tonearest_test_data): Remove.
38033         (cosh_test_tonearest): Likewise.
38034         (cosh_towardzero_test_data): Likewise.
38035         (cosh_test_towardzero): Likewise.
38036         (cosh_downward_test_data): Likewise.
38037         (cosh_test_downward): Likewise.
38038         (cosh_upward_test_data): Likewise.
38039         (cosh_test_upward): Likewise.
38040         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38041         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38042         (ctan_test_data): Likewise.
38043         (ctan_test): Use ALL_RM_TEST.
38044         (ctan_tonearest_test_data): Remove.
38045         (ctan_test_tonearest): Likewise.
38046         (ctan_towardzero_test_data): Likewise.
38047         (ctan_test_towardzero): Likewise.
38048         (ctan_downward_test_data): Likewise.
38049         (ctan_test_downward): Likewise.
38050         (ctan_upward_test_data): Likewise.
38051         (ctan_test_upward): Likewise.
38052         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38053         (ctanh_test): Use ALL_RM_TEST.
38054         (ctanh_tonearest_test_data): Remove.
38055         (ctanh_test_tonearest): Likewise.
38056         (ctanh_towardzero_test_data): Likewise.
38057         (ctanh_test_towardzero): Likewise.
38058         (ctanh_downward_test_data): Likewise.
38059         (ctanh_test_downward): Likewise.
38060         (ctanh_upward_test_data): Likewise.
38061         (ctanh_test_upward): Likewise.
38062         (erf_test_data): Update call to AUTO_TESTS_f_f.
38063         (erfc_test_data): Likewise.
38064         (exp_test_data): Likewise.
38065         (exp_test): Use ALL_RM_TEST.
38066         (exp_tonearest_test_data): Remove.
38067         (exp_test_tonearest): Likewise.
38068         (exp_towardzero_test_data): Likewise.
38069         (exp_test_towardzero): Likewise.
38070         (exp_downward_test_data): Likewise.
38071         (exp_test_downward): Likewise.
38072         (exp_upward_test_data): Likewise.
38073         (exp_test_upward): Likewise.
38074         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38075         (exp10_test): Use ALL_RM_TEST.
38076         (exp10_tonearest_test_data): Remove.
38077         (exp10_test_tonearest): Likewise.
38078         (exp10_towardzero_test_data): Likewise.
38079         (exp10_test_towardzero): Likewise.
38080         (exp10_downward_test_data): Likewise.
38081         (exp10_test_downward): Likewise.
38082         (exp10_upward_test_data): Likewise.
38083         (exp10_test_upward): Likewise.
38084         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38085         (expm1_test_data): Likewise.
38086         (expm1_test): Use ALL_RM_TEST.
38087         (expm1_tonearest_test_data): Remove.
38088         (expm1_test_tonearest): Likewise.
38089         (expm1_towardzero_test_data): Likewise.
38090         (expm1_test_towardzero): Likewise.
38091         (expm1_downward_test_data): Likewise.
38092         (expm1_test_downward): Likewise.
38093         (expm1_upward_test_data): Likewise.
38094         (expm1_test_upward): Likewise.
38095         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38096         (fma_test): Use ALL_RM_TEST.
38097         (fma_towardzero_test_data): Remove.
38098         (fma_test_towardzero): Likewise.
38099         (fma_downward_test_data): Likewise.
38100         (fma_test_downward): Likewise.
38101         (fma_upward_test_data): Likewise.
38102         (fma_test_upward): Likewise.
38103         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38104         (j0_test_data): Update call to AUTO_TESTS_f_f.
38105         (j1_test_data): Likewise.
38106         (jn_test_data): Update call to AUTO_TESTS_if_f.
38107         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38108         (log_test_data): Update call to AUTO_TESTS_f_f.
38109         (log10_test_data): Likewise.
38110         (log1p_test_data): Likewise.
38111         (log2_test_data): Likewise.
38112         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38113         (pow_tonearest_test_data): Likewise.
38114         (sin_test_data): Update call to AUTO_TESTS_f_f.
38115         (sin_test): Use ALL_RM_TEST.
38116         (sin_tonearest_test_data): Remove.
38117         (sin_test_tonearest): Likewise.
38118         (sin_towardzero_test_data): Likewise.
38119         (sin_test_towardzero): Likewise.
38120         (sin_downward_test_data): Likewise.
38121         (sin_test_downward): Likewise.
38122         (sin_upward_test_data): Likewise.
38123         (sin_test_upward): Likewise.
38124         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38125         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38126         (sinh_test): Use ALL_RM_TEST.
38127         (sinh_tonearest_test_data): Remove.
38128         (sinh_test_tonearest): Likewise.
38129         (sinh_towardzero_test_data): Likewise.
38130         (sinh_test_towardzero): Likewise.
38131         (sinh_downward_test_data): Likewise.
38132         (sinh_test_downward): Likewise.
38133         (sinh_upward_test_data): Likewise.
38134         (sinh_test_upward): Likewise.
38135         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38136         (sqrt_test): Use ALL_RM_TEST.
38137         (sqrt_tonearest_test_data): Remove.
38138         (sqrt_test_tonearest): Likewise.
38139         (sqrt_towardzero_test_data): Likewise.
38140         (sqrt_test_towardzero): Likewise.
38141         (sqrt_downward_test_data): Likewise.
38142         (sqrt_test_downward): Likewise.
38143         (sqrt_upward_test_data): Likewise.
38144         (sqrt_test_upward): Likewise.
38145         (tan_test_data): Update call to AUTO_TESTS_f_f.
38146         (tan_test): Use ALL_RM_TEST.
38147         (tan_tonearest_test_data): Remove.
38148         (tan_test_tonearest): Likewise.
38149         (tan_towardzero_test_data): Likewise.
38150         (tan_test_towardzero): Likewise.
38151         (tan_downward_test_data): Likewise.
38152         (tan_test_downward): Likewise.
38153         (tan_upward_test_data): Likewise.
38154         (tan_test_upward): Likewise.
38155         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38156         (tgamma_test_data): Likewise.
38157         (y0_test_data): Likewise.
38158         (y1_test_data): Likewise.
38159         (yn_test_data): Update call to AUTO_TESTS_if_f.
38160         (main): Do not call removed functions.
38162 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38164         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38165         (ldexp_test_data): Remove.
38166         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38167         scalbn_test_data.
38168         (scalb_test): Use ALL_RM_TEST.
38170 2014-03-19  Andreas Schwab  <schwab@suse.de>
38172         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38174 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38176         [BZ #16649]
38177         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38178         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38179         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38180         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38181         (__ASSUME_PREADV): Undefine.
38182         (__ASSUME_PWRITEV): Likewise.
38184 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38186         * bits/mman-linux.h: Add comment about non-Linux use.
38187         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38188         bits/mman-linux.h resting place.
38190         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38191         * bits/mman-linux.h: ... here.
38193 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38195         * conform/conformtest.pl: Add standard definition when calling C
38196         preprocessor on data files.
38197         (checknamespace): Remove unused variable.
38199 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38201         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38202         minus_oflow, plus_uflow and minus_uflow in expected results.
38203         * math/libm-test.inc (scalbn_test_data): Add more tests of
38204         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38205         minus_uflow.
38206         (scalbn_test): Use ALL_RM_TEST.
38207         (scalbln_test_data): Add more tests of negative arguments.  Use
38208         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38209         (scalbln_test): Use ALL_RM_TEST.
38211 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38213         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38215 2014-03-18  Will Newton  <will.newton@linaro.org>
38217         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38218         inaccurate comment.
38220 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38222         * Makerules [!subdir] (check-abi): Exit with error status if a
38223         test failed.
38225 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38227         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38228         for rint.  Include results for all rounding modes.
38229         (nearbyint_test): Use ALL_RM_TEST.
38230         (rint_test_data): Include all tests used for nearbyint.
38232 2014-03-17  Will Newton  <will.newton@linaro.org>
38234         * nptl/sysdeps/pthread/pthread.h: Revert previous
38235         change.
38237         * sysdeps/generic/ldsodefs.h: Revert previous
38238         change.
38240         * libio/genops.c: Revert previous change.
38241         * libio/libioP.h: Likewise.
38242         * stdio-common/vfprintf.c: Likewise.
38244         * sysdeps/generic/math_private.h: Revert previous
38245         change.
38247         * sysdeps/generic/math_private.h: Check whether
38248         HAVE_RM_CTX is defined with #ifdef rather
38249         than #if.
38251         * argp/argp-fmtstream.h: Check whether
38252         __STRICT_ANSI__ is defined with #ifdef rather
38253         than #if.
38254         * argp/argp.h: Likewise.
38256         * libio/genops.c: Check whether
38257         _IO_JUMPS_OFFSET is defined with #ifdef rather
38258         than #if.
38259         * libio/libioP.h: Likewise.
38260         * stdio-common/vfprintf.c: Likewise.
38262         * sysdeps/generic/ldsodefs.h: Check whether
38263         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38264         than #if.
38266         * nptl/sysdeps/pthread/pthread.h: Check
38267         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38268         its value.
38270 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38272         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38273         setting O_APPEND.
38274         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38275         test case.
38277         [BZ #16680]
38278         * libio/fileops.c (_IO_file_open): Seek to end of file but
38279         don't cache the offset.
38280         (get_file_offset): Remove function.
38281         (do_ftell): Use cached offset when available.
38282         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38283         don't cache the offset.
38284         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38285         case.
38286         (do_one_test): Call it.
38287         (do_ftell_test): Fix up expected old offset for a+ mode.
38288         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38289         available.
38291         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38292         up test status with function return status.
38293         (do_write_test): Likewise.
38294         (do_append_test): Likewise.
38296         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38297         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38298         Remove.
38300 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38302         * math/gen-libm-test.pl (parse_args): Handle results specified for
38303         each rounding mode separately.
38304         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38305         tests and results from lrint_tonearest_test_data,
38306         lrint_towardzero_test_data, lrint_downward_test_data and
38307         lrint_upward_test_data.
38308         (lrint_test): Use ALL_RM_TEST.
38309         (lrint_tonearest_test_data): Remove.
38310         (lrint_test_tonearest): Likewise.
38311         (lrint_towardzero_test_data): Likewise.
38312         (lrint_test_towardzero): Likewise.
38313         (lrint_downward_test_data): Likewise.
38314         (lrint_test_downward): Likewise.
38315         (lrint_upward_test_data): Likewise.
38316         (lrint_test_upward): Likewise.
38317         (llrint_test_data): Merge in per-rounding-mode tests and results
38318         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38319         llrint_downward_test_data and llrint_upward_test_data.
38320         (llrint_test): Use ALL_RM_TEST.
38321         (llrint_tonearest_test_data): Remove.
38322         (llrint_test_tonearest): Likewise.
38323         (llrint_towardzero_test_data): Likewise.
38324         (llrint_test_towardzero): Likewise.
38325         (llrint_downward_test_data): Likewise.
38326         (llrint_test_downward): Likewise.
38327         (llrint_upward_test_data): Likewise.
38328         (llrint_test_upward): Likewise.
38329         (rint_test_data): Merge in per-rounding-mode tests and results
38330         from rint_tonearest_test_data, rint_towardzero_test_data,
38331         rint_downward_test_data and rint_upward_test_data.  Add
38332         per-rounding-mode results for tests not in those arrays.
38333         (rint_test): Use ALL_RM_TEST.
38334         (rint_tonearest_test_data): Remove.
38335         (rint_test_tonearest): Likewise.
38336         (rint_towardzero_test_data): Likewise.
38337         (rint_test_towardzero): Likewise.
38338         (rint_downward_test_data): Likewise.
38339         (rint_test_downward): Likewise.
38340         (rint_upward_test_data): Likewise.
38341         (rint_test_upward): Likewise.
38342         (main): Don't call removed functions.
38344 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38346         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38347         "Compiled on ..." crapola.  It is anti-useful.
38349 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38351         * scripts/evaluate-test.sh: Handle fourth argument to determine
38352         whether test run should stop on failure.
38353         * Makeconfig (stop-on-test-failure): New variable.
38354         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38355         $(stop-on-test-failure).
38356         * Makefile (tests): Give a summary of results from testing and
38357         exit with failure status if they include an ERROR or FAIL.
38358         (xtests): Likewise.
38359         * manual/install.texi (Configuring and compiling): Mention
38360         stop-on-test-failure=y.
38361         * INSTALL: Regenerated.
38363 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38365         * scripts/versionlist.awk: New file.
38366         * Makerules [$(build-shared) = yes]
38367         (postclean-generated): Add Versions.def, not Versions.def.v and
38368         Versions.def.v.i.
38369         ($(common-objpfx)Versions.def.v.i): Target removed.
38370         ($(common-objpfx)Versions.def): New target.
38371         ($(common-objpfx)Versions.all): Depend on that rather that
38372         $(common-objpfx)Versions.def.v.
38373         * Versions.def: File removed.
38375         * Makeconfig (+gccwarn): Add -Wundef.
38376         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38377         a dl-sysdep.h breaking its contract.
38378         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38379         * include/stackinfo.h: New file.
38380         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38381         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38382         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38383         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38384         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38385         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38386         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38387         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38388         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38389         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38390         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38391         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38392         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38393         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38394         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38396 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38398         [BZ #16707]
38399         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38400         implementation.
38401         * math/libm-test.inc (round_test_data): Add more tests.
38403         [BZ #16706]
38404         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38405         implementation.
38406         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38408         [BZ #16701]
38409         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38410         implementation.
38411         * math/libm-test.inc (ceil_test_data): Add more tests.
38413         * math/libm-test.inc (trunc_test_data): Add more tests related to
38414         BZ#16414.
38416 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38418         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38419         with #if rather than #ifdef.
38420         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38422 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38424         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38425         first.  Disable AVX-512 GCC support if assembler doesn't support
38426         it.
38427         * sysdeps/x86_64/configure: Regenerated.
38429 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38431         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38432         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38433         (__old_pthread_attr_setstack): Likewise.
38434         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38435         [!_STACK_GROWS_DOWN]: Likewise.
38437 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38439         * config.make.in (have-bash2): Delete.
38440         * configure.ac (libc_cv_have_bash2): Delete.
38441         * configure: Regenerate.
38442         * elf/Makefile (common-ldd-rewrite): Rename to ...
38443         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38444         (sh-ldd-rewrite): Delete.
38445         (bash-ldd-rewrite): Delete.
38446         (have-bash2): Delete checks.
38447         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38448         ldd-rewrite.
38450         * config.make.in (have-ksh): Delete.
38451         (KSH): Delete.
38452         * configure.ac (libc_cv_have_ksh): Delete.
38453         * configure: Regenerate.
38455         * elf/Makefile: Delete $(have-ksh) check.
38456         ($(objpfx)sotruss): Change KSH to BASH.
38457         * elf/sotruss.ksh: Rename to ...
38458         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38459         function style to match POSIX.  Drop ksh vim mode setting.
38461         * manual/time.texi (Specifying the Time Zone with TZ): Change
38462         Tuesday to Thursday.
38464         * debug/tst-longjmp_chk2.c: Update header comment.
38465         (stackoverflow_handler): Add comment.  Call assert on pass value.
38467 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38469         [BZ #16194]
38470         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38471         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38472         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38473         (La_x86_64_vector): Add zmm.
38474         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38475         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38476         ($(objpfx)tst-audit10): New target.
38477         ($(objpfx)tst-audit10.out): Likewise.
38478         (tst-audit10-ENV): New.
38479         (AVX512-CFLAGS): Likewise.
38480         (CFLAGS-tst-audit10.c): Likewise.
38481         (CFLAGS-tst-auditmod10a.c): Likewise.
38482         (CFLAGS-tst-auditmod10b.c): Likewise.
38483         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38484         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38485         * sysdeps/x86_64/configure: Regenerated.
38486         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38487         AVX-512 zmm register support.
38488         (_dl_x86_64_save_sse): Likewise.
38489         (_dl_x86_64_restore_sse): Likewise.
38490         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38491         size vector registers.
38492         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38493         (ZMM_SIZE): Likewise.
38494         * sysdeps/x86_64/tst-audit10.c: New file.
38495         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38496         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38498 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38500         * configure.ac (HAVE_EHDR_START): New check.
38501         * configure: Regenerated.
38502         * config.h.in (HAVE_EHDR_START): New #undef.
38503         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38504         assuming the lowest-addressed segment maps the start of the file.
38506 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38508         * INSTALL: Regenerated.
38510 2014-03-13  Will Newton  <will.newton@linaro.org>
38512         * manual/setjmp.texi (System V contexts): Improve
38513         clarity and grammar of documentation.
38515 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38517         [BZ #16381]
38518         * elf/Makefile (tests): Add tst-pie2.
38519         (tests-pie): Add tst-pie2.
38520         * elf/tst-pie2.c: New file.
38521         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38522         for ET_EXEC.
38523         * elf/rtld.c (map_doit): Load executable as lt_executable.
38524         (dl_main): Likewise.
38526 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38528         [BZ #16642]
38529         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38530         (__ASSUME_PSELECT): Undefine.
38532 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38534         [BZ #16689]
38535         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38536         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38537         static build.
38538         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38539         selector for static builds.
38541 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38543         [BZ #16695]
38544         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38545         key in the buffer.
38547 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38549         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38550         IFUNC selector for static builds.
38552 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38554         * sysdeps/mips/math_private.h [__mips_hard_float]
38555         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38556         libc_feresetround_mips_ctx.
38557         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38558         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38559         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38561         [BZ #16677]
38562         * math/s_nextafter.c (__nextafter): Do not return value from
38563         overflowing computation.
38564         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38565         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38566         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38567         Likewise.
38568         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38569         Likewise.
38570         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38571         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38573 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38575         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38576         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38577         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38578         the new mov targetting sp.
38580 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38582         [BZ #16683]
38583         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38584         Define it for static builds as well.
38585         (NO_BZERO_IMPL): Likewise.
38587 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38589         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38590         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38591         multiarch strspn for PPC64.
38592         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38593         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38595         (__libc_ifunc_impl_list): Likewise.
38596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38597         multiarch optimizations
38598         * string/strspn.c (strspn): Using macro to redefine symbol name.
38600 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38601             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38603         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38604         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38605         multiarch strncat for PPC64.
38606         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38607         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38609         (__libc_ifunc_impl_list): Likewise.
38610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38611         multiarch optimizations
38613 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38615         [BZ #16639]
38616         * nscd/nscd.service: Make service type forking.
38618 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38620         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38621         sign in non default rounding modes.
38622         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38624 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38626         * math/libm-test.inc (ALL_RM_TEST): New macro.
38627         (ceil_test): Use ALL_RM_TEST.
38628         (cimag_test): Likewise.
38629         (conj_test): Likewise.
38630         (copysign_test): Likewise.
38631         (cproj_test): Likewise.
38632         (creal_test): Likewise.
38633         (fabs_test): Likewise.
38634         (floor_test): Likewise.
38635         (fmax_test): Likewise.
38636         (fmin_test): Likewise.
38637         (fmod_test): Likewise.
38638         (fpclassify_test): Likewise.
38639         (frexp_test): Likewise.
38640         (ilogb_test): Likewise.
38641         (isfinite_test): Likewise.
38642         (finite_test): Likewise.
38643         (isgreater_test): Likewise.
38644         (isgreaterequal_test): Likewise.
38645         (isinf_test): Likewise.
38646         (isless_test): Likewise.
38647         (islessequal_test): Likewise.
38648         (islessgreater_test): Likewise.
38649         (isnan_test): Likewise.
38650         (isnormal_test): Likewise.
38651         (issignaling_test): Likewise.
38652         (isunordered_test): Likewise.
38653         (logb_test): Likewise.
38654         (logb_downward_test_data): Remove.
38655         (logb_test_downward): Likewise.
38656         (lround_test): Use ALL_RM_TEST.
38657         (llround_test): Likewise.
38658         (modf_test): Likewise.
38659         (nexttoward_test): Likewise.
38660         (remainder_test): Likewise.
38661         (drem_test): Likewise.
38662         (remainder_tonearest_test_data): Likewise.
38663         (remainder_test_tonearest): Likewise.
38664         (drem_test_tonearest): Likewise.
38665         (remainder_towardzero_test_data): Likewise.
38666         (remainder_test_towardzero): Likewise.
38667         (drem_test_towardzero): Likewise.
38668         (remainder_downward_test_data): Likewise.
38669         (remainder_test_downward): Likewise.
38670         (drem_test_downward): Likewise.
38671         (remainder_upward_test_data): Likewise.
38672         (remainder_test_upward): Likewise.
38673         (drem_test_upward): Likewise.
38674         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38675         (round_test): Use ALL_RM_TEST.
38676         (signbit_test): Likewise.
38677         (trunc_test): Likewise.
38678         (significand_test): Likewise.
38679         (main): Don't call removed functions.
38681 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38683         [BZ #16674]
38684         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38685         || __USE_XOPEN2K8].
38686         (ILL_ILLOPN): Likewise.
38687         (ILL_ILLADR): Likewise.
38688         (ILL_ILLTRP): Likewise.
38689         (ILL_PRVOPC): Likewise.
38690         (ILL_PRVREG): Likewise.
38691         (ILL_COPROC): Likewise.
38692         (ILL_BADSTK): Likewise.
38693         (FPE_INTDIV): Likewise.
38694         (FPE_INTOVF): Likewise.
38695         (FPE_FLTDIV): Likewise.
38696         (FPE_FLTOVF): Likewise.
38697         (FPE_FLTUND): Likewise.
38698         (FPE_FLTRES): Likewise.
38699         (FPE_FLTINV): Likewise.
38700         (FPE_FLTSUB): Likewise.
38701         (SEGV_MAPERR): Likewise.
38702         (SEGV_ACCERR): Likewise.
38703         (BUS_ADRALN): Likewise.
38704         (BUS_ADRERR): Likewise.
38705         (BUS_OBJERR): Likewise.
38706         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38707         (TRAP_TRACE): Likewise.
38708         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38709         __USE_XOPEN2K8].
38710         (CLD_KILLED): Likewise.
38711         (CLD_DUMPED): Likewise.
38712         (CLD_TRAPPED): Likewise.
38713         (CLD_STOPPED): Likewise.
38714         (CLD_CONTINUED): Likewise.
38715         (POLL_IN): Likewise.
38716         (POLL_OUT): Likewise.
38717         (POLL_MSG): Likewise.
38718         (POLL_ERR): Likewise.
38719         (POLL_PRI): Likewise.
38720         (POLL_HUP): Likewise.
38721         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38722         Likewise.
38723         (ILL_ILLOPN): Likewise.
38724         (ILL_ILLADR): Likewise.
38725         (ILL_ILLTRP): Likewise.
38726         (ILL_PRVOPC): Likewise.
38727         (ILL_PRVREG): Likewise.
38728         (ILL_COPROC): Likewise.
38729         (ILL_BADSTK): Likewise.
38730         (FPE_INTDIV): Likewise.
38731         (FPE_INTOVF): Likewise.
38732         (FPE_FLTDIV): Likewise.
38733         (FPE_FLTOVF): Likewise.
38734         (FPE_FLTUND): Likewise.
38735         (FPE_FLTRES): Likewise.
38736         (FPE_FLTINV): Likewise.
38737         (FPE_FLTSUB): Likewise.
38738         (SEGV_MAPERR): Likewise.
38739         (SEGV_ACCERR): Likewise.
38740         (BUS_ADRALN): Likewise.
38741         (BUS_ADRERR): Likewise.
38742         (BUS_OBJERR): Likewise.
38743         (BUS_MCEERR_AR): Likewise.
38744         (BUS_MCEERR_AO): Likewise.
38745         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38746         (TRAP_TRACE): Likewise.
38747         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38748         __USE_XOPEN2K8].
38749         (CLD_KILLED): Likewise.
38750         (CLD_DUMPED): Likewise.
38751         (CLD_TRAPPED): Likewise.
38752         (CLD_STOPPED): Likewise.
38753         (CLD_CONTINUED): Likewise.
38754         (POLL_IN): Likewise.
38755         (POLL_OUT): Likewise.
38756         (POLL_MSG): Likewise.
38757         (POLL_ERR): Likewise.
38758         (POLL_PRI): Likewise.
38759         (POLL_HUP): Likewise.
38760         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38761         (ILL_ILLOPN): Likewise.
38762         (ILL_ILLADR): Likewise.
38763         (ILL_ILLTRP): Likewise.
38764         (ILL_PRVOPC): Likewise.
38765         (ILL_PRVREG): Likewise.
38766         (ILL_COPROC): Likewise.
38767         (ILL_BADSTK): Likewise.
38768         (FPE_INTDIV): Likewise.
38769         (FPE_INTOVF): Likewise.
38770         (FPE_FLTDIV): Likewise.
38771         (FPE_FLTOVF): Likewise.
38772         (FPE_FLTUND): Likewise.
38773         (FPE_FLTRES): Likewise.
38774         (FPE_FLTINV): Likewise.
38775         (FPE_FLTSUB): Likewise.
38776         (SEGV_MAPERR): Likewise.
38777         (SEGV_ACCERR): Likewise.
38778         (BUS_ADRALN): Likewise.
38779         (BUS_ADRERR): Likewise.
38780         (BUS_OBJERR): Likewise.
38781         (BUS_MCEERR_AR): Likewise.
38782         (BUS_MCEERR_AO): Likewise.
38783         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38784         (TRAP_TRACE): Likewise.
38785         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38786         __USE_XOPEN2K8].
38787         (CLD_KILLED): Likewise.
38788         (CLD_DUMPED): Likewise.
38789         (CLD_TRAPPED): Likewise.
38790         (CLD_STOPPED): Likewise.
38791         (CLD_CONTINUED): Likewise.
38792         (POLL_IN): Likewise.
38793         (POLL_OUT): Likewise.
38794         (POLL_MSG): Likewise.
38795         (POLL_ERR): Likewise.
38796         (POLL_PRI): Likewise.
38797         (POLL_HUP): Likewise.
38798         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38799         Likewise.
38800         (ILL_ILLOPN): Likewise.
38801         (ILL_ILLADR): Likewise.
38802         (ILL_ILLTRP): Likewise.
38803         (ILL_PRVOPC): Likewise.
38804         (ILL_PRVREG): Likewise.
38805         (ILL_COPROC): Likewise.
38806         (ILL_BADSTK): Likewise.
38807         (ILL_BADIADDR): Likewise.
38808         (ILL_BREAK): Likewise.
38809         (FPE_INTDIV): Likewise.
38810         (FPE_INTOVF): Likewise.
38811         (FPE_FLTDIV): Likewise.
38812         (FPE_FLTOVF): Likewise.
38813         (FPE_FLTUND): Likewise.
38814         (FPE_FLTRES): Likewise.
38815         (FPE_FLTINV): Likewise.
38816         (FPE_FLTSUB): Likewise.
38817         (FPE_DECOVF): Likewise.
38818         (FPE_DECDIV): Likewise.
38819         (FPE_DECERR): Likewise.
38820         (FPE_INVASC): Likewise.
38821         (FPE_INVDEC): Likewise.
38822         (SEGV_MAPERR): Likewise.
38823         (SEGV_ACCERR): Likewise.
38824         (SEGV_PSTKOVF): Likewise.
38825         (BUS_ADRALN): Likewise.
38826         (BUS_ADRERR): Likewise.
38827         (BUS_OBJERR): Likewise.
38828         (BUS_MCEERR_AR): Likewise.
38829         (BUS_MCEERR_AO): Likewise.
38830         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38831         (TRAP_TRACE): Likewise.
38832         (TRAP_BRANCH): Likewise.
38833         (TRAP_HWBKPT): Likewise.
38834         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38835         __USE_XOPEN2K8].
38836         (CLD_KILLED): Likewise.
38837         (CLD_DUMPED): Likewise.
38838         (CLD_TRAPPED): Likewise.
38839         (CLD_STOPPED): Likewise.
38840         (CLD_CONTINUED): Likewise.
38841         (POLL_IN): Likewise.
38842         (POLL_OUT): Likewise.
38843         (POLL_MSG): Likewise.
38844         (POLL_ERR): Likewise.
38845         (POLL_PRI): Likewise.
38846         (POLL_HUP): Likewise.
38847         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38848         (ILL_ILLOPN): Likewise.
38849         (ILL_ILLADR): Likewise.
38850         (ILL_ILLTRP): Likewise.
38851         (ILL_PRVOPC): Likewise.
38852         (ILL_PRVREG): Likewise.
38853         (ILL_COPROC): Likewise.
38854         (ILL_BADSTK): Likewise.
38855         (FPE_INTDIV): Likewise.
38856         (FPE_INTOVF): Likewise.
38857         (FPE_FLTDIV): Likewise.
38858         (FPE_FLTOVF): Likewise.
38859         (FPE_FLTUND): Likewise.
38860         (FPE_FLTRES): Likewise.
38861         (FPE_FLTINV): Likewise.
38862         (FPE_FLTSUB): Likewise.
38863         (SEGV_MAPERR): Likewise.
38864         (SEGV_ACCERR): Likewise.
38865         (BUS_ADRALN): Likewise.
38866         (BUS_ADRERR): Likewise.
38867         (BUS_OBJERR): Likewise.
38868         (BUS_MCEERR_AR): Likewise.
38869         (BUS_MCEERR_AO): Likewise.
38870         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38871         (TRAP_TRACE): Likewise.
38872         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38873         __USE_XOPEN2K8].
38874         (CLD_KILLED): Likewise.
38875         (CLD_DUMPED): Likewise.
38876         (CLD_TRAPPED): Likewise.
38877         (CLD_STOPPED): Likewise.
38878         (CLD_CONTINUED): Likewise.
38879         (POLL_IN): Likewise.
38880         (POLL_OUT): Likewise.
38881         (POLL_MSG): Likewise.
38882         (POLL_ERR): Likewise.
38883         (POLL_PRI): Likewise.
38884         (POLL_HUP): Likewise.
38885         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38886         (ILL_ILLOPN): Likewise.
38887         (ILL_ILLADR): Likewise.
38888         (ILL_ILLTRP): Likewise.
38889         (ILL_PRVOPC): Likewise.
38890         (ILL_PRVREG): Likewise.
38891         (ILL_COPROC): Likewise.
38892         (ILL_BADSTK): Likewise.
38893         (FPE_INTDIV): Likewise.
38894         (FPE_INTOVF): Likewise.
38895         (FPE_FLTDIV): Likewise.
38896         (FPE_FLTOVF): Likewise.
38897         (FPE_FLTUND): Likewise.
38898         (FPE_FLTRES): Likewise.
38899         (FPE_FLTINV): Likewise.
38900         (FPE_FLTSUB): Likewise.
38901         (SEGV_MAPERR): Likewise.
38902         (SEGV_ACCERR): Likewise.
38903         (BUS_ADRALN): Likewise.
38904         (BUS_ADRERR): Likewise.
38905         (BUS_OBJERR): Likewise.
38906         (BUS_MCEERR_AR): Likewise.
38907         (BUS_MCEERR_AO): Likewise.
38908         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38909         (TRAP_TRACE): Likewise.
38910         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38911         __USE_XOPEN2K8].
38912         (CLD_KILLED): Likewise.
38913         (CLD_DUMPED): Likewise.
38914         (CLD_TRAPPED): Likewise.
38915         (CLD_STOPPED): Likewise.
38916         (CLD_CONTINUED): Likewise.
38917         (POLL_IN): Likewise.
38918         (POLL_OUT): Likewise.
38919         (POLL_MSG): Likewise.
38920         (POLL_ERR): Likewise.
38921         (POLL_PRI): Likewise.
38922         (POLL_HUP): Likewise.
38923         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38924         (ILL_ILLOPN): Likewise.
38925         (ILL_ILLADR): Likewise.
38926         (ILL_ILLTRP): Likewise.
38927         (ILL_PRVOPC): Likewise.
38928         (ILL_PRVREG): Likewise.
38929         (ILL_COPROC): Likewise.
38930         (ILL_BADSTK): Likewise.
38931         (FPE_INTDIV): Likewise.
38932         (FPE_INTOVF): Likewise.
38933         (FPE_FLTDIV): Likewise.
38934         (FPE_FLTOVF): Likewise.
38935         (FPE_FLTUND): Likewise.
38936         (FPE_FLTRES): Likewise.
38937         (FPE_FLTINV): Likewise.
38938         (FPE_FLTSUB): Likewise.
38939         (SEGV_MAPERR): Likewise.
38940         (SEGV_ACCERR): Likewise.
38941         (BUS_ADRALN): Likewise.
38942         (BUS_ADRERR): Likewise.
38943         (BUS_OBJERR): Likewise.
38944         (BUS_MCEERR_AR): Likewise.
38945         (BUS_MCEERR_AO): Likewise.
38946         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38947         (TRAP_TRACE): Likewise.
38948         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38949         __USE_XOPEN2K8].
38950         (CLD_KILLED): Likewise.
38951         (CLD_DUMPED): Likewise.
38952         (CLD_TRAPPED): Likewise.
38953         (CLD_STOPPED): Likewise.
38954         (CLD_CONTINUED): Likewise.
38955         (POLL_IN): Likewise.
38956         (POLL_OUT): Likewise.
38957         (POLL_MSG): Likewise.
38958         (POLL_ERR): Likewise.
38959         (POLL_PRI): Likewise.
38960         (POLL_HUP): Likewise.
38961         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38962         (ILL_ILLOPN): Likewise.
38963         (ILL_ILLADR): Likewise.
38964         (ILL_ILLTRP): Likewise.
38965         (ILL_PRVOPC): Likewise.
38966         (ILL_PRVREG): Likewise.
38967         (ILL_COPROC): Likewise.
38968         (ILL_BADSTK): Likewise.
38969         (ILL_DBLFLT): Likewise.
38970         (ILL_HARDWALL): Likewise.
38971         (FPE_INTDIV): Likewise.
38972         (FPE_INTOVF): Likewise.
38973         (FPE_FLTDIV): Likewise.
38974         (FPE_FLTOVF): Likewise.
38975         (FPE_FLTUND): Likewise.
38976         (FPE_FLTRES): Likewise.
38977         (FPE_FLTINV): Likewise.
38978         (FPE_FLTSUB): Likewise.
38979         (SEGV_MAPERR): Likewise.
38980         (SEGV_ACCERR): Likewise.
38981         (BUS_ADRALN): Likewise.
38982         (BUS_ADRERR): Likewise.
38983         (BUS_OBJERR): Likewise.
38984         (BUS_MCEERR_AR): Likewise.
38985         (BUS_MCEERR_AO): Likewise.
38986         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38987         (TRAP_TRACE): Likewise.
38988         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38989         __USE_XOPEN2K8].
38990         (CLD_KILLED): Likewise.
38991         (CLD_DUMPED): Likewise.
38992         (CLD_TRAPPED): Likewise.
38993         (CLD_STOPPED): Likewise.
38994         (CLD_CONTINUED): Likewise.
38995         (POLL_IN): Likewise.
38996         (POLL_OUT): Likewise.
38997         (POLL_MSG): Likewise.
38998         (POLL_ERR): Likewise.
38999         (POLL_PRI): Likewise.
39000         (POLL_HUP): Likewise.
39001         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39002         (ILL_ILLOPN): Likewise.
39003         (ILL_ILLADR): Likewise.
39004         (ILL_ILLTRP): Likewise.
39005         (ILL_PRVOPC): Likewise.
39006         (ILL_PRVREG): Likewise.
39007         (ILL_COPROC): Likewise.
39008         (ILL_BADSTK): Likewise.
39009         (FPE_INTDIV): Likewise.
39010         (FPE_INTOVF): Likewise.
39011         (FPE_FLTDIV): Likewise.
39012         (FPE_FLTOVF): Likewise.
39013         (FPE_FLTUND): Likewise.
39014         (FPE_FLTRES): Likewise.
39015         (FPE_FLTINV): Likewise.
39016         (FPE_FLTSUB): Likewise.
39017         (SEGV_MAPERR): Likewise.
39018         (SEGV_ACCERR): Likewise.
39019         (BUS_ADRALN): Likewise.
39020         (BUS_ADRERR): Likewise.
39021         (BUS_OBJERR): Likewise.
39022         (BUS_MCEERR_AR): Likewise.
39023         (BUS_MCEERR_AO): Likewise.
39024         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39025         (TRAP_TRACE): Likewise.
39026         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39027         __USE_XOPEN2K8].
39028         (CLD_KILLED): Likewise.
39029         (CLD_DUMPED): Likewise.
39030         (CLD_TRAPPED): Likewise.
39031         (CLD_STOPPED): Likewise.
39032         (CLD_CONTINUED): Likewise.
39033         (POLL_IN): Likewise.
39034         (POLL_OUT): Likewise.
39035         (POLL_MSG): Likewise.
39036         (POLL_ERR): Likewise.
39037         (POLL_PRI): Likewise.
39038         (POLL_HUP): Likewise.
39039         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39040         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39042         [BZ #16670]
39043         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39044         before #include of <time.h>.
39045         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39046         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39047         (test-xfail-UNIX98/sched.h/conform): Likewise.
39049 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39051         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39052         error absence of trapping exception support.
39053         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39055 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39057         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39058         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39059         * timezone/Makefile (testdata): Move definition above include of
39060         Rules.
39061         (test-zones): New variable.
39062         (tests-special): Add zone files.
39063         (build-testdata): Use $(evaluate-test).
39065         * elf/Makefile (tests-special): Rename tests to end with .out.
39066         ($(objpfx)noload-mem): Likewise.
39067         ($(objpfx)tst-leaks1-mem): Likewise.
39068         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39069         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39070         $(objpfx)test-iconvconfig.out.
39071         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39072         set -e inside subshell and redirect output to file.
39073         * iconvdata/Makefile (generated): Rename tests to end with .out.
39074         Correct type.
39075         (tests-special): Rename tests to end with .out.
39076         ($(objpfx)mtrace-tst-loading): Likewise.
39077         * intl/Makefile (generated): Likewise.
39078         (tests-special): Likewise.
39079         ($(objpfx)mtrace-tst-gettext): Likewise.
39080         * misc/Makefile (generated): Likewise.
39081         (tests-special): Likewise.
39082         ($(objpfx)tst-error1-mem): Likewise.
39083         * nptl/Makefile (tests-special): Likewise.
39084         ($(objpfx)tst-stack3-mem): Likewise.
39085         (generated): Likewise.
39086         * posix/Makefile (generated): Likewise.
39087         (tests-special): Likewise.
39088         (xtests-special): Likewise.
39089         ($(objpfx)tst-fnmatch-mem): Likewise.
39090         ($(objpfx)bug-regex2-mem): Likewise.
39091         ($(objpfx)bug-regex14-mem): Likewise.
39092         ($(objpfx)bug-regex21-mem): Likewise.
39093         ($(objpfx)bug-regex31-mem): Likewise.
39094         ($(objpfx)tst-vfork3-mem): Likewise.
39095         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39096         ($(objpfx)tst-pcre-mem): Likewise.
39097         ($(objpfx)tst-boost-mem): Likewise.
39098         ($(objpfx)bug-ga2-mem): Likewise.
39099         ($(objpfx)bug-glob2-mem): Likewise.
39100         * resolv/Makefile (generate): Likewise.
39101         (tests-special): Likewise.
39102         (xtests-special): Likewise.
39103         (generated): Likewise.
39104         ($(objpfx)mtrace-tst-leaks): Likewise.
39105         ($(objpfx)mtrace-tst-leaks2): Likewise.
39107         * scripts/merge-test-results.sh: New file.
39108         * Makefile (tests-special-notdir): New variable.
39109         (tests): Run merge-test-results.sh.
39110         (xtests): Likewise.
39111         * Rules (tests-special-notdir): New variable.
39112         (xtests-special-notdir): Likewise.
39113         (tests): Run merge-test-results.sh
39114         (xtests): Likewise.
39116         * Makeconfig (test-xfail-name): New variable.
39117         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39118         compute variable name for expected failures.
39119         * conform/Makefile (conformtest-headers-data): New variable.
39120         (conformtest-standards): Likewise.
39121         (conformtest-headers-ISO): Likewise.
39122         (conformtest-headers-ISO99): Likewise.
39123         (conformtest-headers-ISO11): Likewise.
39124         (conformtest-headers-POSIX): Likewise.
39125         (conformtest-headers-XPG3): Likewise.
39126         (conformtest-headers-XPG4): Likewise.
39127         (conformtest-headers-UNIX98): Likewise.
39128         (conformtest-headers-XOPEN2K): Likewise.
39129         (conformtest-headers-POSIX2008): Likewise.
39130         (conformtest-headers-XOPEN2K8): Likewise.
39131         (conformtest-header-list-base): Likewise.
39132         (conformtest-header-list-tests): Likewise.
39133         (conformtest-header-base): Likewise.
39134         (conformtest-header-tests): Likewise.
39135         (tests-special): Add $(conformtest-header-list-tests).  If
39136         [$(fast-check) && !$(cross-compiling)], add
39137         $(conformtest-header-tests) instead of
39138         $(objpfx)run-conformtest.out.
39139         (generated): Add $(conformtest-header-list-base).  If
39140         [$(fast-check) && !$(cross-compiling)], add
39141         $(conformtest-header-base).  Remove previous setting.
39142         ($(conformtest-header-list-tests)): New target.
39143         (test-xfail-run-conformtest): Remove variable.
39144         ($(objpfx)run-conformtest.out): Remove target.
39145         (test-xfail-ISO11/complex.h/conform): New variable.
39146         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39147         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39148         (test-xfail-XPG3/varargs.h/conform): Likewise.
39149         (test-xfail-XPG4/varargs.h/conform): Likewise.
39150         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39151         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39152         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39153         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39154         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39155         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39156         (test-xfail-XPG3/ftw.h/conform): Likewise.
39157         (test-xfail-XPG3/grp.h/conform): Likewise.
39158         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39159         (test-xfail-XPG3/limits.h/conform): Likewise.
39160         (test-xfail-XPG3/pwd.h/conform): Likewise.
39161         (test-xfail-XPG3/search.h/conform): Likewise.
39162         (test-xfail-XPG3/signal.h/conform): Likewise.
39163         (test-xfail-XPG3/stdio.h/conform): Likewise.
39164         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39165         (test-xfail-XPG3/string.h/conform): Likewise.
39166         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39167         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39168         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39169         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39170         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39171         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39172         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39173         (test-xfail-XPG3/termios.h/conform): Likewise.
39174         (test-xfail-XPG3/time.h/conform): Likewise.
39175         (test-xfail-XPG3/unistd.h/conform): Likewise.
39176         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39177         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39178         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39179         (test-xfail-XPG4/netdb.h/conform): Likewise.
39180         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39181         (test-xfail-XPG4/signal.h/conform): Likewise.
39182         (test-xfail-XPG4/stdio.h/conform): Likewise.
39183         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39184         (test-xfail-XPG4/stropts.h/conform): Likewise.
39185         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39186         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39187         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39188         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39189         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39190         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39191         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39192         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39193         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39194         (test-xfail-XPG4/termios.h/conform): Likewise.
39195         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39196         (test-xfail-XPG4/unistd.h/conform): Likewise.
39197         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39198         (test-xfail-POSIX/sched.h/conform): Likewise.
39199         (test-xfail-POSIX/signal.h/conform): Likewise.
39200         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39201         (test-xfail-POSIX/tar.h/conform): Likewise.
39202         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39203         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39204         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39205         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39206         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39207         (test-xfail-UNIX98/sched.h/conform): Likewise.
39208         (test-xfail-UNIX98/signal.h/conform): Likewise.
39209         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39210         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39211         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39212         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39213         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39214         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39215         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39216         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39217         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39218         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39219         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39220         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39221         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39222         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39223         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39224         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39225         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39226         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39227         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39228         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39229         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39230         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39231         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39232         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39233         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39234         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39235         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39236         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39237         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39238         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39239         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39240         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39241         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39242         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39243         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39244         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39245         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39246         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39247         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39248         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39249         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39250         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39251         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39252         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39253         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39254         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39255         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39256         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39257         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39258         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39259         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39260         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39261         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39262         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39263         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39264         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39265         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39266         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39267         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39268         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39269         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39270         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39271         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39272         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39273         (conformtest-cc-flags): Likewise.
39274         ($(conformtest-header-tests): New target.
39275         * conform/check-header-lists.sh: New file.
39276         * conform/run-conformtest.sh: Remove.
39278         * conform/conformtest.pl: Allow ' and \ in values given for
39279         constants.
39280         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39281         inclusion.
39282         [POSIX] (sys/types.h): Likewise.
39283         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39284         inclusion.
39285         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39286         inclusion.
39287         * conform/data/signal.h-data (SIGIO): Remove expectation.
39288         [XPG3] (SIGBUS): Do not expect.
39289         [POSIX || XPG3] (SIGPOLL): Likewise.
39290         [POSIX || XPG3] (SIGPROF): Likewise.
39291         [POSIX || XPG3] (SIGSYS): Likewise.
39292         [XPG3] (SIGTRAP): Likewise.
39293         [POSIX || XPG3] (SIGURG): Likewise.
39294         [POSIX || XPG3] (SIGVTALRM): Likewise.
39295         [POSIX || XPG3] (SIGXCPU): Likewise.
39296         [POSIX || XPG3] (SIGXFSZ): Likewise.
39297         [POSIX] (SA_SIGINFO): Expect.
39298         [XPG3] (siginfo_t): Do not expect type or contents.
39299         [POSIX] (si_pid): Do not expect element.
39300         [POSIX] (si_uid): Likewise.
39301         [POSIX] (si_addr): Likewise.
39302         [POSIX] (si_status): Likewise.
39303         [POSIX] (si_band): Likewise.
39304         [XPG4] (si_value): Likewise.
39305         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39306         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39307         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39308         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39309         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39310         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39311         [POSIX || XPG3] (ILL_COPROC): Likewise.
39312         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39313         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39314         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39315         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39316         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39317         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39318         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39319         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39320         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39321         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39322         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39323         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39324         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39325         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39326         [POSIX || XPG3] (CLD_EXITED): Likewise.
39327         [POSIX || XPG3] (CLD_KILLED): Likewise.
39328         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39329         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39330         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39331         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39332         [POSIX || XPG3] (POLL_IN): Likewise.
39333         [POSIX || XPG3] (POLL_OUT): Likewise.
39334         [POSIX || XPG3] (POLL_MSG): Likewise.
39335         [POSIX || XPG3] (POLL_ERR): Likewise.
39336         [POSIX || XPG3] (POLL_PRI): Likewise.
39337         [POSIX || XPG3] (POLL_HUP): Likewise.
39338         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39339         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39340         (SIG*): Do not allow.
39341         [XPG3] (si_*): Likewise.
39342         [XPG3] (SI_*): Likewise.
39343         [XPG3 || XPG4] (sigev_*): Likewise.
39344         [XPG3 || XPG4] (SIGEV_*): Likewise.
39345         [XPG3 || XPG4] (sival_*): Likewise.
39346         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39347         [POSIX || XPG3] (BUS_*): Likewise.
39348         [POSIX || XPG3] (CLD_*): Likewise.
39349         [POSIX || XPG3] (FPE_*): Likewise.
39350         [POSIX || XPG3] (ILL_*): Likewise.
39351         [POSIX || XPG3] (POLL_*): Likewise.
39352         [POSIX || XPG3] (SEGV_*): Likewise.
39353         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39354         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39355         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39356         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39357         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39358         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39359         Specify type and value.
39360         (TVERSLEN): Likewise.
39361         (REGTYPE): Likewise.
39362         (AREGTYPE): Likewise.
39363         (LNKTYPE): Likewise.
39364         (SYMTYPE): Likewise.
39365         (CHRTYPE): Likewise.
39366         (BLKTYPE): Likewise.
39367         (DIRTYPE): Likewise.
39368         (FIFOTYPE): Likewise.
39369         (CONTTYPE): Likewise.
39370         (TSUID): Likewise.
39371         (TSGID): Likewise.
39372         (TSVTX): Likewise.
39373         (TUREAD): Likewise.
39374         (TUWRITE): Likewise.
39375         (TUEXEC): Likewise.
39376         (TGREAD): Likewise.
39377         (TGWRITE): Likewise.
39378         (TGEXEC): Likewise.
39379         (TOREAD): Likewise.
39380         (TOWRITE): Likewise.
39381         (TOEXEC): Likewise.
39382         [POSIX] (TSVTX): Expect constant.
39384 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39386         * Makefile (tests): Change dependencies to ....
39387         (tests-special): ... additions to this variable.
39388         (tests): Depend on $(tests-special).
39389         * Makerules (check-abi-list): New variable.
39390         (check-abi): Depend on $(check-abi-list).
39391         [$(subdir) = elf] (tests-special): Add
39392         $(objpfx)check-abi-libc.out.
39393         [$(build-shared) = yes && subdir] (tests-special): Add
39394         $(check-abi-list).
39395         [$(build-shared) = yes && subdir] (tests): Do not depend on
39396         check-abi.
39397         * Rules (tests): Depend on $(tests-special).
39398         (xtests): Depend on $(xtests-special).
39399         * catgets/Makefile (tests): Change dependencies to ....
39400         (tests-special): ... additions to this variable.
39401         * conform/Makefile (tests): Change dependencies to ....
39402         (tests-special): ... additions to this variable.
39403         * elf/Makefile (tests): Change dependencies to ....
39404         (tests-special): ... additions to this variable.
39405         * grp/Makefile (tests): Change dependencies to ....
39406         (tests-special): ... additions to this variable.
39407         * iconv/Makefile (xtests): Change dependencies to ....
39408         (xtests-special): ... additions to this variable.
39409         * iconvdata/Makefile (tests): Change dependencies to ....
39410         (tests-special): ... additions to this variable.
39411         * intl/Makefile (tests): Change dependencies to ....
39412         (tests-special): ... additions to this variable.  Also add
39413         $(objpfx)tst-gettext.out.
39414         * io/Makefile (tests): Change dependencies to ....
39415         (tests-special): ... additions to this variable.
39416         * libio/Makefile (tests): Change dependencies to ....
39417         (tests-special): ... additions to this variable.
39418         * malloc/Makefile (tests): Change dependencies to ....
39419         (tests-special): ... additions to this variable.
39420         * misc/Makefile (tests): Change dependencies to ....
39421         (tests-special): ... additions to this variable.
39422         * nptl/Makefile (tests): Change dependencies to ....
39423         (tests-special): ... additions to this variable.
39424         * nptl_db/Makefile (tests): Change dependencies to ....
39425         (tests-special): ... additions to this variable.
39426         * posix/Makefile (tests): Change dependencies to ....
39427         (tests-special): ... additions to this variable.
39428         (xtests): Change dependencies to ....
39429         (xtests-special): ... additions to this variable.
39430         * resolv/Makefile (tests): Change dependencies to ....
39431         (tests-special): ... additions to this variable.
39432         (xtests): Change dependencies to ....
39433         (xtests-special): ... additions to this variable.
39434         * stdio-common/Makefile (tests): Change dependencies to ....
39435         (tests-special): ... additions to this variable.
39436         (do-tst-unbputc): Remove target.
39437         (do-tst-printf): Likewise.
39438         * stdlib/Makefile (tests): Change dependencies to ....
39439         (tests-special): ... additions to this variable.
39440         * string/Makefile (tests): Change dependencies to ....
39441         (tests-special): ... additions to this variable.
39442         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39443         (tests-special): ... additions to this variable.
39445         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39446         whole file.
39447         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39448         whole file.
39449         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39450         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39452         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39453         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39454         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39455         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39456         * conform/data/libgen.h-data [XPG3]: Likewise.
39457         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39458         * conform/data/ndbm.h-data [XPG3]: Likewise.
39459         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39460         * conform/data/netdb.h-data [XPG3]: Likewise.
39461         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39462         * conform/data/poll.h-data [XPG3]: Likewise.
39463         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39464         * conform/data/strings.h-data [XPG3]: Likewise.
39465         * conform/data/stropts.h-data [XPG3]: Likewise.
39466         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39467         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39468         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39469         Likewise.
39470         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39471         * conform/data/sys/time.h-data [XPG3]: Likewise.
39472         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39473         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39474         * conform/data/sys/un.h-data [XPG3]: Likewise.
39475         * conform/data/syslog.h-data [XPG3]: Likewise.
39476         * conform/data/ucontext.h-data [XPG3]: Likewise.
39477         * conform/data/utmpx.h-data [XPG3]: Likewise.
39478         * conform/data/varargs.h-data [UNIX98]: Enable file.
39480         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39482         * math/libm-test.inc (struct test_f_f_data): Move expected results
39483         into structure for each rounding mode.
39484         (struct test_ff_f_data): Likewise.
39485         (struct test_ff_f_data_nexttoward): Likewise.
39486         (struct test_fi_f_data): Likewise.
39487         (struct test_fl_f_data): Likewise.
39488         (struct test_if_f_data): Likewise.
39489         (struct test_fff_f_data): Likewise.
39490         (struct test_c_f_data): Likewise.
39491         (struct test_f_f1_data): Likewise.
39492         (struct test_fF_f1_data): Likewise.
39493         (struct test_ffI_f1_data): Likewise.
39494         (struct test_c_c_data): Likewise.
39495         (struct test_cc_c_data): Likewise.
39496         (struct test_f_i_data): Likewise.
39497         (struct test_ff_i_data): Likewise.
39498         (struct test_f_l_data): Likewise.
39499         (struct test_f_L_data): Likewise.
39500         (struct test_fFF_11_data): Likewise.
39501         (RM_): New macro.
39502         (RM_FE_DOWNWARD): Likewise.
39503         (RM_FE_TONEAREST): Likewise.
39504         (RM_FE_TOWARDZERO): Likewise.
39505         (RM_FE_UPWARD): Likewise.
39506         (RUN_TEST_LOOP_f_f): Update references to expected results.
39507         (RUN_TEST_LOOP_2_f): Likewise.
39508         (RUN_TEST_LOOP_fff_f): Likewise.
39509         (RUN_TEST_LOOP_c_f): Likewise.
39510         (RUN_TEST_LOOP_f_f1): Likewise.
39511         (RUN_TEST_LOOP_fF_f1): Likewise.
39512         (RUN_TEST_LOOP_fI_f1): Likewise.
39513         (RUN_TEST_LOOP_ffI_f1): Likewise.
39514         (RUN_TEST_LOOP_c_c): Likewise.
39515         (RUN_TEST_LOOP_cc_c): Likewise.
39516         (RUN_TEST_LOOP_f_i): Likewise.
39517         (RUN_TEST_LOOP_f_i_tg): Likewise.
39518         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39519         (RUN_TEST_LOOP_f_b): Likewise.
39520         (RUN_TEST_LOOP_f_b_tg): Likewise.
39521         (RUN_TEST_LOOP_f_l): Likewise.
39522         (RUN_TEST_LOOP_f_L): Likewise.
39523         (RUN_TEST_LOOP_fFF_11): Likewise.
39524         * math/gen-libm-test.pl (parse_args): Output four copies of
39525         expected results for each test.
39527         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39528         (__ASSUME_UTIMES): Remove.
39529         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39530         (__ASSUME_UTIMES): Likewise.
39532         * math/gen-auto-libm-tests.c: Update comment on output format.
39533         (output_for_one_input_case): Generate before-rounding and
39534         after-rounding information as conditions on output flags not
39535         floating-point format.
39536         * math/auto-libm-test-out: Regenerated.
39537         * math/gen-libm-test.pl (cond_value): New function.
39538         (or_cond_value): Use cond_value.
39539         (generate_testfile): Handle conditional exceptions.
39541 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39543         * math/libm-test.inc (max_valid_error): New variable.
39544         (init_max_error): Take new argument specifying whether function
39545         results are exactly determined.  Set max_valid_error and bound
39546         other variables for errors based on this argument.
39547         (set_max_error): Do not record results above max_valid_error.
39548         (check_float_internal): Only accept errors of up to 0.5ulps if
39549         also at most max_valid_error.
39550         (START): Take new argument EXACT and pass it to init_max_error.
39551         (acos_test): Update call to START.
39552         (acos_test_tonearest): Likewise.
39553         (acos_test_towardzero): Likewise.
39554         (acos_test_downward): Likewise.
39555         (acos_test_upward): Likewise.
39556         (acosh_test): Likewise.
39557         (asin_test): Likewise.
39558         (asin_test_tonearest): Likewise.
39559         (asin_test_towardzero): Likewise.
39560         (asin_test_downward): Likewise.
39561         (asin_test_upward): Likewise.
39562         (asinh_test): Likewise.
39563         (atan_test): Likewise.
39564         (atanh_test): Likewise.
39565         (atan2_test): Likewise.
39566         (cabs_test): Likewise.
39567         (cacos_test): Likewise.
39568         (cacosh_test): Likewise.
39569         (carg_test): Likewise.
39570         (casin_test): Likewise.
39571         (casinh_test): Likewise.
39572         (catan_test): Likewise.
39573         (catanh_test): Likewise.
39574         (cbrt_test): Likewise.
39575         (ccos_test): Likewise.
39576         (ccosh_test): Likewise.
39577         (ceil_test): Likewise.
39578         (cexp_test): Likewise.
39579         (cimag_test): Likewise.
39580         (clog_test): Likewise.
39581         (clog10_test): Likewise.
39582         (conj_test): Likewise.
39583         (copysign_test): Likewise.
39584         (cos_test): Likewise.
39585         (cos_test_tonearest): Likewise.
39586         (cos_test_towardzero): Likewise.
39587         (cos_test_downward): Likewise.
39588         (cos_test_upward): Likewise.
39589         (cosh_test): Likewise.
39590         (cosh_test_tonearest): Likewise.
39591         (cosh_test_towardzero): Likewise.
39592         (cosh_test_downward): Likewise.
39593         (cosh_test_upward): Likewise.
39594         (cpow_test): Likewise.
39595         (cproj_test): Likewise.
39596         (creal_test): Likewise.
39597         (csin_test): Likewise.
39598         (csinh_test): Likewise.
39599         (csqrt_test): Likewise.
39600         (ctan_test): Likewise.
39601         (ctan_test_tonearest): Likewise.
39602         (ctan_test_towardzero): Likewise.
39603         (ctan_test_downward): Likewise.
39604         (ctan_test_upward): Likewise.
39605         (ctanh_test): Likewise.
39606         (ctanh_test_tonearest): Likewise.
39607         (ctanh_test_towardzero): Likewise.
39608         (ctanh_test_downward): Likewise.
39609         (ctanh_test_upward): Likewise.
39610         (erf_test): Likewise.
39611         (erfc_test): Likewise.
39612         (exp_test): Likewise.
39613         (exp_test_tonearest): Likewise.
39614         (exp_test_towardzero): Likewise.
39615         (exp_test_downward): Likewise.
39616         (exp_test_upward): Likewise.
39617         (exp10_test): Likewise.
39618         (exp10_test_tonearest): Likewise.
39619         (exp10_test_towardzero): Likewise.
39620         (exp10_test_downward): Likewise.
39621         (exp10_test_upward): Likewise.
39622         (pow10_test): Likewise.
39623         (exp2_test): Likewise.
39624         (expm1_test): Likewise.
39625         (expm1_test_tonearest): Likewise.
39626         (expm1_test_towardzero): Likewise.
39627         (expm1_test_downward): Likewise.
39628         (expm1_test_upward): Likewise.
39629         (fabs_test): Likewise.
39630         (fdim_test): Likewise.
39631         (floor_test): Likewise.
39632         (fma_test): Likewise.
39633         (fma_test_towardzero): Likewise.
39634         (fma_test_downward): Likewise.
39635         (fma_test_upward): Likewise.
39636         (fmax_test): Likewise.
39637         (fmin_test): Likewise.
39638         (fmod_test): Likewise.
39639         (fpclassify_test): Likewise.
39640         (frexp_test): Likewise.
39641         (hypot_test): Likewise.
39642         (ilogb_test): Likewise.
39643         (isfinite_test): Likewise.
39644         (finite_test): Likewise.
39645         (isgreater_test): Likewise.
39646         (isgreaterequal_test): Likewise.
39647         (isinf_test): Likewise.
39648         (isless_test): Likewise.
39649         (islessequal_test): Likewise.
39650         (islessgreater_test): Likewise.
39651         (isnan_test): Likewise.
39652         (isnormal_test): Likewise.
39653         (issignaling_test): Likewise.
39654         (isunordered_test): Likewise.
39655         (j0_test): Likewise.
39656         (j1_test): Likewise.
39657         (jn_test): Likewise.
39658         (ldexp_test): Likewise.
39659         (lgamma_test): Likewise.
39660         (gamma_test): Likewise.
39661         (lrint_test): Likewise.
39662         (lrint_test_tonearest): Likewise.
39663         (lrint_test_towardzero): Likewise.
39664         (lrint_test_downward): Likewise.
39665         (lrint_test_upward): Likewise.
39666         (llrint_test): Likewise.
39667         (llrint_test_tonearest): Likewise.
39668         (llrint_test_towardzero): Likewise.
39669         (llrint_test_downward): Likewise.
39670         (llrint_test_upward): Likewise.
39671         (log_test): Likewise.
39672         (log10_test): Likewise.
39673         (log1p_test): Likewise.
39674         (log2_test): Likewise.
39675         (logb_test): Likewise.
39676         (logb_test_downward): Likewise.
39677         (lround_test): Likewise.
39678         (llround_test): Likewise.
39679         (modf_test): Likewise.
39680         (nearbyint_test): Likewise.
39681         (nextafter_test): Likewise.
39682         (nexttoward_test): Likewise.
39683         (pow_test): Likewise.
39684         (pow_test_tonearest): Likewise.
39685         (pow_test_towardzero): Likewise.
39686         (pow_test_downward): Likewise.
39687         (pow_test_upward): Likewise.
39688         (remainder_test): Likewise.
39689         (drem_test): Likewise.
39690         (remainder_test_tonearest): Likewise.
39691         (drem_test_tonearest): Likewise.
39692         (remainder_test_towardzero): Likewise.
39693         (drem_test_towardzero): Likewise.
39694         (remainder_test_downward): Likewise.
39695         (drem_test_downward): Likewise.
39696         (remainder_test_upward): Likewise.
39697         (drem_test_upward): Likewise.
39698         (remquo_test): Likewise.
39699         (rint_test): Likewise.
39700         (rint_test_tonearest): Likewise.
39701         (rint_test_towardzero): Likewise.
39702         (rint_test_downward): Likewise.
39703         (rint_test_upward): Likewise.
39704         (round_test): Likewise.
39705         (scalb_test): Likewise.
39706         (scalbn_test): Likewise.
39707         (scalbln_test): Likewise.
39708         (signbit_test): Likewise.
39709         (sin_test): Likewise.
39710         (sin_test_tonearest): Likewise.
39711         (sin_test_towardzero): Likewise.
39712         (sin_test_downward): Likewise.
39713         (sin_test_upward): Likewise.
39714         (sincos_test): Likewise.
39715         (sinh_test): Likewise.
39716         (sinh_test_tonearest): Likewise.
39717         (sinh_test_towardzero): Likewise.
39718         (sinh_test_downward): Likewise.
39719         (sinh_test_upward): Likewise.
39720         (sqrt_test): Likewise.
39721         (sqrt_test_tonearest): Likewise.
39722         (sqrt_test_towardzero): Likewise.
39723         (sqrt_test_downward): Likewise.
39724         (sqrt_test_upward): Likewise.
39725         (tan_test): Likewise.
39726         (tan_test_tonearest): Likewise.
39727         (tan_test_towardzero): Likewise.
39728         (tan_test_downward): Likewise.
39729         (tan_test_upward): Likewise.
39730         (tanh_test): Likewise.
39731         (tgamma_test): Likewise.
39732         (trunc_test): Likewise.
39733         (y0_test): Likewise.
39734         (y1_test): Likewise.
39735         (yn_test): Likewise.
39736         (significand_test): Likewise.
39738         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39739         individual tests in comment.
39740         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39741         (prev_max_error): New variable.
39742         (prev_real_max_error): Likewise.
39743         (prev_imag_max_error): Likewise.
39744         (compare_ulp_data): Don't refer to test names in comment.
39745         (find_test_ulps): Remove function.
39746         (find_function_ulps): Likewise.
39747         (find_complex_function_ulps): Likewise.
39748         (init_max_error): Take function name as argument.  Look up ulps
39749         for that function.
39750         (print_ulps): Remove function.
39751         (print_max_error): Use prev_max_error instead of calling
39752         find_function_ulps.
39753         (print_complex_max_error): Use prev_real_max_error and
39754         prev_imag_max_error instead of calling find_complex_function_ulps.
39755         (check_float_internal): Take max_ulp parameter instead of calling
39756         find_test_ulps.  Don't call print_ulps.
39757         (check_float): Update call to check_float_internal.
39758         (check_complex): Update calls to check_float_internal.
39759         (START): Pass argument to init_max_error.
39760         * math/gen-libm-test.pl (%results): Don't include "kind"
39761         information.
39762         (parse_ulps): Don't handle ulps of individual tests.
39763         (print_ulps_file): Likewise.
39764         (output_ulps): Likewise.
39765         * math/README.libm-test: Update.
39766         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39767         individual tests.
39768         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39769         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39770         * sysdeps/arm/libm-test-ulps: Likewise.
39771         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39772         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39773         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39774         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39775         * sysdeps/microblaze/libm-test-ulps: Likewise.
39776         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39777         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39778         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39779         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39780         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39781         * sysdeps/sh/libm-test-ulps: Likewise.
39782         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39783         * sysdeps/tile/libm-test-ulps: Likewise.
39784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39786 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39788         * math/libm-test.inc (print_complex_max_error): Check separately
39789         whether real and imaginary errors are within allowed range and
39790         pass 0 to print_complex_function_ulps instead of value within
39791         allowed range.
39793 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39795         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39796         formatting.
39797         (get_handles_fopen): Likewise.
39798         (do_write_test): Likewise.
39800         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39802         * libio/fileops.c (do_ftell): Use cached offset when
39803         available.
39804         * libio/iofwide.c (do_ftell_wide): Likewise.
39805         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39806         _IO_file_attach.
39807         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39809         [BZ #16532]
39810         * libio/libioP.h (get_file_offset): New function.
39811         * libio/fileops.c (get_file_offset): Likewise.
39812         (do_ftell): Likewise.
39813         (_IO_new_file_seekoff): Split out ftell logic.
39814         * libio/wfileops.c (do_ftell_wide): Likewise.
39815         (_IO_wfile_seekoff): Split out ftell logic.
39816         * libio/tst-ftell-active-handler.c: New test case.
39817         * libio/Makefile (tests): Add it.
39819 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39821         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39822         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39824 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39826         [BZ #16639]
39827         * nscd/connections.c (nscd_init): Call do_exit.
39828         (start_threads): Call do_exit and notify_parent.
39829         (begin_drop_privileges): Call do_exit.
39830         (finish_drop_privileges): Likewise.
39831         * nscd/selinux.c (preserve_capabilities): Likewise.
39832         (install_real_capabilities): Likewise.
39833         (nscd_selinux_enabled): Likewise.
39834         (avc_create_thread): Likewise.
39835         (avc_alloc_lock): Likewise.
39836         (nscd_avc_init): Likewise.
39837         * nscd/nscd.c (parent_fd): New static variable.
39838         (main): Create a pipe between parent and child processes.
39839         Skip closing parent_fd.
39840         (monitor_child): New function.
39841         (do_exit): Likewise.
39842         (notify_parent): Likewise.
39843         * nscd/nscd.h (notify_parent): Likewise.
39844         (do_exit): Likewise.
39846 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39848         * malloc/malloc.c (__libc_calloc): Revert last change.
39850 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39854 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39856         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39858         implementation.
39859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39860         (__libc_ifunc_impl_list): Likewise.
39861         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39862         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39863         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39864         * string/strrchr.c: Define STRRCHR.
39866 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39868         * benchtest/bench-strtok.c (simple_strtok): Delete.
39869         (strtok_string): Use as benchmark.
39870         * string/strtok (STRTOK): New macro.
39872 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39874         * manual/threads.texi: Add header and standard comments to all
39875         functions.
39877         * elf/dl-lookup.c (check_match): New function.
39878         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39879         (do_lookup_x): Remove nested function check_match. Use non-nested
39880         function check_match.
39882 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39884         * csu/Makefile (generated, before-compile): Use += rather than =.
39885         * catgets/Makefile (generated, generated-dirs): Likewise.
39886         * debug/Makefile (generated): Likewise.
39887         * dlfcn/Makefile (generated): Likewise.
39888         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39889         * iconvdata/Makefile (before-compile, generated): Likewise.
39890         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39891         * libio/Makefile (generated): Likewise.
39892         * malloc/Makefile (generated): Likewise.
39893         * manual/Makefile (generated, generated-dirs): Likewise.
39894         * misc/Makefile (generated): Likewise.
39895         * posix/Makefile (generated): Likewise.
39896         * resolv/Makefile (generated): Likewise.
39897         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39898         * timezone/Makefile (generated, generated-dirs): Likewise.
39900         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39902 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39904         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39905         power8 implementation.
39906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39907         file: POWER8 llround ifunc implementation.
39908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39909         (__lllround): Add POWER8 implementation.
39910         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39911         POWER8 llround implementation.
39913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39914         power8 implementation.
39915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39916         file: POWER8 llrint ifunc implementation.
39917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39918         Add POWER8 implementation.
39919         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39920         POWER8 llrint implementation.
39922         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39923         power8 implementation.
39924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39925         file: POWER8 finite ifunc implementation.
39926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39927         Add POWER8 implementation.
39928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39929         Likewise.
39930         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39931         POWER8 finite implementation.
39932         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39935         power8 implementation.
39936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39937         file: POWER8 isinf ifunc implementation.
39938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39939         POWER8 implementation.
39940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39941         Likewise.
39942         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39943         isinf implementation.
39944         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39946         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39947         (INIT_ARCH): Add hwcap2 initialization.
39948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39949         power8 implementation.
39950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39951         file: POWER8 isnan ifunc implementation.
39952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39953         POWER8 implementation.
39954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39955         Likewise.
39956         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39957         isnan implementation.
39958         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39960 2014-02-27  Joey Ye  <joey.ye@arm.com>
39962         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39963         (_FP_NANFRAC_Q): Set to zero.
39965 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39967         [BZ #16623]
39968         * math/auto-libm-test-in: New test inputs.
39969         * math/auto-libm-test-out: Regenerate.
39970         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39971         and DA.
39972         (__cos): Likewise.
39973         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39975 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39977         * scripts/evaluate-test.sh: Take new argument indicating whether
39978         failure is expected.
39979         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39980         indicating whether failure is expected.
39981         * conform/Makefile (test-xfail-run-conformtest): New variable.
39982         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39983         level.
39984         * posix/Makefile (test-xfail-annexc): New variable.
39985         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39987 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39989         * argp/Makefile: Include Makeconfig immediately after defining
39990         subdir.
39991         * assert/Makefile: Likewise.
39992         * benchtests/Makefile: Likewise.
39993         * catgets/Makefile: Likewise.
39994         * conform/Makefile: Likewise.
39995         * crypt/Makefile: Likewise.
39996         * csu/Makefile: Likewise.
39997         (all): Remove target.
39998         * ctype/Makefile: Include Makeconfig immediately after defining
39999         subdir.
40000         * debug/Makefile: Likewise.
40001         * dirent/Makefile: Likewise.
40002         * dlfcn/Makefile: Likewise.
40003         * gmon/Makefile: Likewise.
40004         * gnulib/Makefile: Likewise.
40005         * grp/Makefile: Likewise.
40006         * gshadow/Makefile: Likewise.
40007         * hesiod/Makefile: Likewise.
40008         * hurd/Makefile: Likewise.
40009         (all): Remove target.
40010         * iconvdata/Makefile: Include Makeconfig immediately after
40011         defining subdir.
40012         * inet/Makefile: Likewise.
40013         * intl/Makefile: Likewise.
40014         * io/Makefile: Likewise.
40015         * libio/Makefile: Likewise.
40016         (all): Remove target.
40017         * locale/Makefile: Include Makeconfig immediately after defining
40018         subdir.
40019         * login/Makefile: Likewise.
40020         * mach/Makefile: Likewise.
40021         (all): Remove target.
40022         * malloc/Makefile: Include Makeconfig immediately after defining
40023         subdir.
40024         (all): Remove target.
40025         * manual/Makefile: Include Makeconfig immediately after defining
40026         subdir.
40027         * math/Makefile: Likewise.
40028         * misc/Makefile: Likewise.
40029         * nis/Makefile: Likewise.
40030         * nss/Makefile: Likewise.
40031         * po/Makefile: Likewise.
40032         (all): Remove target.
40033         * posix/Makefile: Include Makeconfig immediately after defining
40034         subdir.
40035         * pwd/Makefile: Likewise.
40036         * resolv/Makefile: Likewise.
40037         * resource/Makefile: Likewise.
40038         * rt/Makefile: Likewise.
40039         * setjmp/Makefile: Likewise.
40040         * shadow/Makefile: Likewise.
40041         * signal/Makefile: Likewise.
40042         * socket/Makefile: Likewise.
40043         * soft-fp/Makefile: Likewise.
40044         * stdio-common/Makefile: Likewise.
40045         * stdlib/Makefile: Likewise.
40046         * streams/Makefile: Likewise.
40047         * string/Makefile: Likewise.
40048         * sunrpc/Makefile: Likewise.
40049         (all): Remove target.
40050         * sysvipc/Makefile: Include Makeconfig immediately after defining
40051         subdir.
40052         * termios/Makefile: Likewise.
40053         * time/Makefile: Likewise.
40054         * timezone/Makefile: Likewise.
40055         (all): Remove target.
40056         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40057         subdir.
40058         * wctype/Makefile: Likewise.
40060 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40062         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40063         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40064         (libc_feholdexcept_setround_mips): Ditto.
40065         (libc_feholdsetround): New.
40066         (libc_feholdsetroundf): New.
40067         (libc_feholdsetroundl): New.
40068         (libc_feupdateenv_test_mips): New.
40069         (libc_feupdateenv_test): New.
40070         (libc_feupdateenv_testf): New.
40071         (libc_feupdateenv_testl): New.
40072         (libc_feresetround): New.
40073         (libc_feresetroundf): New.
40074         (libc_feresetroundl): New.
40075         (libc_fetestexcept_mips): New.
40076         (libc_fetestexcept): New.
40077         (libc_fetestexceptf): New.
40078         (libc_fetestexceptl): New.
40079         (HAVE_RM_CTX): New.
40080         (libc_feholdexcept_setround_mips_ctx): New.
40081         (libc_feholdexcept_setround_ctx): New.
40082         (libc_feholdexcept_setroundf_ctx): New.
40083         (libc_feholdexcept_setroundl_ctx): New.
40084         (libc_fesetenv_mips_ctx): New.
40085         (libc_fesetenv_ctx): New.
40086         (libc_fesetenv_ctxf): New.
40087         (libc_fesetenv_ctxl): New.
40088         (libc_feupdateenv_mips_ctx): New.
40089         (libc_feupdateenv_ctx): New.
40090         (libc_feupdateenvf_ctx): New.
40091         (libc_feupdateenvl_ctx): New.
40092         (libc_feholdsetround_mips_ctx): New.
40093         (libc_feholdsetround_ctx): New.
40094         (libc_feholdsetroundf_ctx): New.
40095         (libc_feholdsetroundl_ctx): New.
40096         (libc_feresetround_mips_ctx): New.
40097         (libc_feresetround_ctx): New.
40098         (libc_feresetroundf_ctx): New.
40099         (libc_feresetroundl_ctx): New.
40101 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40103         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40105         * manual/ipc.texi: New file.
40106         * manual/Makefile (chapters): Add ipc.
40107         * manual/job.texi: Add "Inter-Process Communication" to next.
40108         * manual/process.texi: Add "Inter-Process Communication" to prev.
40110 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40114 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40116         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40118         * manual/arith.texi: Fix spaces after sentences.
40119         * manual/charset.texi: Likewise.
40120         * manual/errno.texi: Likewise.
40121         * manual/install.texi: Likewise.
40122         * manual/llio.texi: Likewise.
40123         * manual/locale.texi: Likewise.
40124         * manual/maint.texi: Likewise.
40125         * manual/math.texi: Likewise.
40126         * manual/memory.texi: Likewise.
40127         * manual/message.texi: Likewise.
40128         * manual/probes.texi: Likewise.
40129         * manual/resource.texi: Likewise.
40130         * manual/signal.texi: Likewise.
40131         * manual/socket.texi: Likewise.
40132         * manual/stdio.texi: Likewise.
40133         * manual/string.texi: Likewise.
40134         * manual/time.texi: Likewise.
40135         * manual/users.texi: Likewise.
40137 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40139         [BZ #16632]
40140         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40141         _DEFAULT_SOURCE is defined.
40143 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40144             Carlos O'Donell  <carlos@redhat.com>
40146         [BZ #16613]
40147         * elf/dl-tls.c (_dl_count_modids): New function.
40148         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40149         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40150         audit library and increment generation counter.
40151         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40152         * elf/tst-audit9.c: New file.
40153         * elf/tst-auditmod9a.c: New file.
40154         * elf/tst-auditmod9b.c: New file.
40155         * elf/Makefile: Add rules to build and run tst-audit9.
40157 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40159         [BZ #15347]
40160         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40162 2014-02-25  Will Newton  <will.newton@linaro.org>
40164         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40165         (__longjmp): Restore sp and lr before restoring callee
40166         saved registers.  Add longjmp and longjmp_target
40167         SystemTap probe point.
40168         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40169         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40170         Define to zero to match jmpbuf layout.
40171         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40172         (__sigsetjmp): Save sp and lr before saving callee
40173         saved registers.  Add setjmp SystemTap probe point.
40175 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40177         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40179 2014-02-24  Andreas Schwab  <schwab@suse.de>
40181         [BZ #15804]
40182         * elf/pldd.c (wait_for_ptrace_stop): New function.
40183         (main): Call it after attaching.
40185 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40187         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40188         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40189         Versions files is now verboten.
40190         * hurd/Versions (libc: GLIBC_2.0):
40191         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40192         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40193         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40194         * mach/Versions: Likewise.
40196         * csu/Versions: Remove unused %include.
40197         * resolv/Versions: Likewise.
40199 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40201         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40202         ($(objpfx)check-local-headers.out): Likewise.
40203         ($(objpfx)begin-end-check.out): Likewise.
40204         * Makerules (check-abi-%.out): Likewise.
40205         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40206         ($(objpfx)test2.cat): Likewise.
40207         ($(objpfx)de/libc.cat): Likewise.
40208         ($(objpfx)test-gencat.out): Likewise.
40209         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40210         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40211         ($(objpfx)noload-mem): Likewise.
40212         ($(objpfx)tst-pathopt.out): Likewise.
40213         ($(objpfx)tst-rtld-load-self.out): Likewise.
40214         ($(objpfx)tst-array1-cmp.out): Likewise.
40215         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40216         ($(objpfx)tst-array2-cmp.out): Likewise.
40217         ($(objpfx)tst-array3-cmp.out): Likewise.
40218         ($(objpfx)tst-array4-cmp.out): Likewise.
40219         ($(objpfx)tst-array5-cmp.out): Likewise.
40220         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40221         ($(objpfx)check-textrel.out): Likewise.
40222         ($(objpfx)check-execstack.out): Likewise.
40223         ($(objpfx)check-localplt.out): Likewise.
40224         ($(objpfx)order2-cmp.out): Likewise.
40225         ($(objpfx)tst-leaks1-mem): Likewise.
40226         ($(objpfx)tst-leaks1-static-mem): Likewise.
40227         ($(objpfx)tst-initorder-cmp.out): Likewise.
40228         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40229         ($(objpfx)tst-unused-dep.out): Likewise.
40230         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40231         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40232         * iconv/Makefile (test-iconvconfig): Likewise.
40233         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40234         ($(objpfx)iconv-test.out): Likewise.
40235         ($(objpfx)tst-tables.out): Likewise.
40236         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40237         ($(objpfx)tst-gettext.out): Likewise.
40238         ($(objpfx)tst-translit.out): Likewise.
40239         ($(objpfx)tst-gettext2.out): Likewise.
40240         ($(objpfx)tst-gettext4.out): Likewise.
40241         ($(objpfx)tst-gettext6.out): Likewise.
40242         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40243         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40244         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40245         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40246         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40247         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40248         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40249         ($(objpfx)wordexp-tst.out): Likewise.
40250         ($(objpfx)annexc.out): Likewise.
40251         ($(objpfx)tst-fnmatch-mem): Likewise.
40252         ($(objpfx)bug-regex2-mem): Likewise.
40253         ($(objpfx)bug-regex14-mem): Likewise.
40254         ($(objpfx)bug-regex21-mem): Likewise.
40255         ($(objpfx)bug-regex31-mem): Likewise.
40256         ($(objpfx)tst-vfork3-mem): Likewise.
40257         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40258         ($(objpfx)tst-pcre-mem): Likewise.
40259         ($(objpfx)tst-boost-mem): Likewise.
40260         ($(objpfx)tst-getconf.out): Likewise.
40261         ($(objpfx)bug-ga2-mem): Likewise.
40262         ($(objpfx)bug-glob2-mem): Likewise.
40263         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40264         ($(objpfx)mtrace-tst-leaks2): Likewise.
40265         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40266         ($(objpfx)tst-printf.out): Likewise.
40267         ($(objpfx)tst-setvbuf1.out): Likewise.
40268         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40269         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40270         ($(objpfx)tst-fmtmsg.out): Likewise.
40271         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40272         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40274         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40275         * bits/sigaction.h [__USE_MISC]: Likewise.
40276         * bits/waitstatus.h: Update #endif comments.
40277         * ctype/ctype.h: Likewise.
40278         * dirent/dirent.h: Likewise.
40279         [__USE_MISC]: Remove redundant conditionals.
40280         * grp/grp.h: Update #endif comments.
40281         [__USE_GNU]: Remove redundant conditionals.
40282         [__USE_MISC]: Likewise.
40283         * inet/netinet/in.h [__USE_GNU]: Likewise.
40284         * io/sys/stat.h [__USE_MISC]: Likewise.
40285         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40286         * libio/bits/stdio.h: Update #endif comments.
40287         [__USE_MISC]: Remove redundant conditionals.
40288         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40289         * libio/stdio.h: Update #endif comments.
40290         [__USE_MISC]: Remove redundant conditionals.
40291         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40292         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40293         * math/math.h: Update #else and #endif comments.
40294         [__USE_MISC]: Remove redundant conditionals.
40295         * misc/sys/uio.h: Update #endif comments.
40296         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40297         * posix/glob.h [__USE_MISC]: Likewise.
40298         * posix/sys/types.h: Update #endif comments.
40299         [__USE_MISC]: Remove redundant conditionals.
40300         * posix/sys/wait.h: Update #endif comments.
40301         [__USE_MISC]: Remove redundant conditionals.
40302         * posix/unistd.h: Update #endif comments.
40303         [__USE_MISC]: Remove redundant conditionals.
40304         * pwd/pwd.h [__USE_GNU]: Likewise.
40305         [__USE_MISC]: Likewise.
40306         * resolv/netdb.h [__USE_GNU]: Likewise.
40307         * signal/signal.h: Update #endif comments.
40308         [__USE_MISC]: Remove redundant conditionals.
40309         * stdlib/stdlib.h: Update #else and #endif comments.
40310         [__USE_MISC]: Remove redundant conditionals.
40311         [__USE_GNU]: Likewise.
40312         * string/bits/string2.h [__USE_MISC]: Likewise.
40313         * string/string.h: Update #endif comments.
40314         [__USE_MISC]: Remove redundant conditionals.
40315         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40316         Likewise.
40317         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40318         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40319         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40320         Likewise.
40321         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40322         Likewise.
40323         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40324         comments.
40325         [__USE_MISC]: Remove redundant conditionals.
40326         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40327         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40328         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40329         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40330         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40331         Likewise.
40332         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40333         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40334         Likewise.
40335         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40336         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40337         Likewise.
40338         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40339         Likewise.
40340         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40341         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40342         Likewise.
40343         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40344         Likewise.
40345         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40346         * sysdeps/x86/bits/string.h: Update #endif comments.
40347         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40348         conditionals.
40349         * time/sys/time.h: Update #endif comments.
40350         * time/time.h: Likewise.
40351         [__USE_MISC]: Remove redundant conditionals.
40353 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40355         [BZ #16600]
40356         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40358 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40360         * Versions.def (librt): Add GLIBC_2.17.
40362 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40364         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40365         synonym for _SYS_AUXV_H to allow direct inclusion.
40366         * sysdeps/sparc/bits/hwcap.h: Likewise.
40367         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40368         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40369         * sysdeps/sparc/sysdep.h: Likewise.
40371 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40373         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40375 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40377         * benchtests/bench-strrchr.c: Print length instead of position.
40379 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40381         [BZ #16611]
40382         * sysdeps/unix/sysv/linux/kernel-features.h
40383         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40384         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40385         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40386         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40387         Likewise.
40388         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40389         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40390         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40391         (__ASSUME_SENDMMSG): Define instead of using previous
40392         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40393         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40394         (__ASSUME_SENDMMSG_SYSCALL): Define.
40395         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40396         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40397         Likewise.
40398         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40399         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40400         Likewise.
40401         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40402         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40403         Likewise.
40404         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40405         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40406         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40407         [__ASSUME_SENDMMSG]: Change conditionals to
40408         [__ASSUME_SENDMMSG_SOCKETCALL].
40409         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40410         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40411         Define.
40412         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40413         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40414         Likewise.
40415         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40416         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40417         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40418         [!__ASSUME_SENDMMSG]: Change conditional to
40419         [!__ASSUME_SENDMMSG_SOCKETCALL].
40420         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40421         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40422         Define.
40424         [BZ #16610]
40425         * sysdeps/unix/sysv/linux/kernel-features.h
40426         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40427         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40428         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40429         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40430         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40431         [__i386__ || __sparc__]
40432         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40433         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40434         (__ASSUME_RECVMMSG): Define instead of using previous
40435         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40436         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40437         (__ASSUME_RECVMMSG_SYSCALL): Define.
40438         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40439         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40440         Likewise.
40441         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40442         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40443         Likewise.
40444         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40445         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40446         Likewise.
40447         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40448         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40449         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40450         [__ASSUME_RECVMMSG]: Change condition to
40451         [__ASSUME_RECVMMSG_SOCKETCALL].
40452         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40453         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40454         Define.
40455         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40456         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40457         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40458         Likewise.
40459         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40460         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40461         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40462         [!__ASSUME_RECVMMSG]: Change condition to
40463         [!__ASSUME_RECVMMSG_SOCKETCALL].
40464         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40465         (__ASSUME_RECVMMSG_SYSCALL): Define.
40467         [BZ #16609]
40468         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40469         __powerpc__ || __s390__ || __sh__ || __sparc__]
40470         (__ASSUME_SOCKETCALL): Define.
40471         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40472         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40473         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40474         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40475         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40476         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40477         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40478         (__ASSUME_ACCEPT4): Define instead of using previous
40479         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40480         __powerpc__ || __sparc__ || __s390__)] condition.
40481         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40482         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40483         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40484         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40485         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40486         [!__ASSUME_ACCEPT4]: Change condition to
40487         [!__ASSUME_ACCEPT4_SOCKETCALL].
40488         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40489         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40490         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40491         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40492         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40493         __ASSUME_ACCEPT4_SYSCALL.
40494         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40495         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40496         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40497         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40498         __ASSUME_ACCEPT4_SYSCALL.
40499         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40500         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40501         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40502         [__ASSUME_ACCEPT4]: Change condition to
40503         [__ASSUME_ACCEPT4_SOCKETCALL].
40504         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40505         (__ASSUME_SOCKETCALL): Define.
40506         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40507         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40508         (__ASSUME_SOCKETCALL): Define.
40509         (__ASSUME_ACCEPT4): Remove.
40510         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40511         Define.
40512         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40513         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40514         Likewise.
40515         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40516         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40518         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40519         macro.
40520         (HWCAP_ARM_LPAE): Likewise.
40521         (HWCAP_ARM_EVTSTRM): Likewise.
40522         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40523         Add vpfd32, lpae and evtstrm.
40524         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40525         Increase to 22.
40527 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40529         * math/auto-libm-test-in: Add tests of clog10.
40530         * math/auto-libm-test-out: Regenerated.
40531         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40532         * sysdeps/i386/fpu/libm-test-ulps: Update.
40533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40535 2014-02-18  Andreas Schwab  <schwab@suse.de>
40537         [BZ #16574]
40538         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40539         Store non-zero if the second buffer was newly allocated.
40540         (send_dg): Likewise.
40541         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40542         to send_vc and send_dg.
40543         (res_nsend): Pass NULL for ansp2_malloced.
40544         * resolv/res_query.c (__libc_res_nquery): Add parameter
40545         answerp2_malloced and pass it down to __libc_res_nsend.
40546         (res_nquery): Pass additional NULL to __libc_res_nquery.
40547         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40548         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40549         second answer buffer if answerp2_malloced was set.
40550         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40551         (__libc_res_nquerydomain): Add parameter
40552         answerp2_malloced and pass it down to __libc_res_nquery.
40553         (res_nquerydomain): Pass additional NULL to
40554         __libc_res_nquerydomain.
40555         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40556         additional NULL to __libc_res_nsend and __libc_res_nquery.
40557         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40558         additional NULL to __libc_res_nsearch.
40559         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40560         parameter of __libc_res_nsearch to check for separately allocated
40561         second buffer.
40562         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40563         __libc_res_nquery.
40564         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40565         additional NULL to __libc_res_nquery.
40566         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40567         __libc_res_nsearch.
40568         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40569         * include/resolv.h: Update prototypes of __libc_res_nquery,
40570         __libc_res_nsearch, __libc_res_nsend.
40572 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40574         * math/auto-libm-test-in: Add tests of fma.
40575         * math/auto-libm-test-out: Regenerated.
40576         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40577         (fma_towardzero_test_data): Likewise.
40578         (fma_downward_test_data): Likewise.
40579         (fma_upward_test_data): Likewise.
40580         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40581         mpc_mode.
40582         (rounding_modes): Add values for new field.
40583         (func_calc_method): Add value mpfr_fff_f.
40584         (func_calc_desc): Add mpfr_fff_f union field.
40585         (test_function): Add field exact_args.
40586         (FUNC): Add macro argument EXACT_ARGS.
40587         (FUNC_mpfr_f_f): Update call to FUNC.
40588         (FUNC_mpfr_f_f): Likewise.
40589         (FUNC_mpfr_ff_f): Likewise.
40590         (FUNC_mpfr_if_f): Likewise.
40591         (FUNC_mpc_c_f): Likewise.
40592         (FUNC_mpc_c_c): Likewise.
40593         (test_functions): Add fma.  Update calls to FUNC.
40594         (handle_input_arg): Add argument exact_args.
40595         (add_test): Update call to handle_input_arg.
40596         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40597         (output_for_one_input_case): Update call to calc_generic_results.
40598         Recalculate exact zero results in each rounding mode.
40600         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40601         non-negative before setting low bit.
40602         * math/auto-libm-test-in: Mark one asin test possibly having
40603         spurious underflow.
40604         * math/auto-libm-test-out: Regenerated.
40605         * sysdeps/i386/fpu/libm-test-ulps: Update.
40606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40608 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40610         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40611         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40612         ports/sysdeps/unix/sysv/linux/microblaze.
40613         * README: Add missing listing for microblaze*-*-linux-gnu.
40615 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40617         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40618         duplicate code
40620 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40622         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40623         * sysdeps/unix/sysv/linux/ia64: Move directory from
40624         ports/sysdeps/unix/sysv/linux/ia64.
40625         * README: Update listing for ia64-*-linux-gnu.
40627 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40628             Joseph Myers  <joseph@codesourcery.com>
40630         * Makeconfig (test-name): New variable.
40631         (evaluate-test): Likewise.
40632         * Makerules (do-test-clean): Remove .test-result files.
40633         (common-mostlyclean): Likewise.
40634         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40635         * scripts/evaluate-test.sh: New file.
40637 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40639         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40640         separate $(objpfx)tst-fopenloc-cmp.out and
40641         $(objpfx)tst-fopenloc-mem.out targets.
40642         (tests): Update dependencies.
40643         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40644         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40645         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40646         (tst-rxspencer-no-utf8-ARGS): New variable.
40647         (tst-rxspencer-no-utf8-ENV): Likewise.
40648         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40649         instead of $(objpfx)tst-rxspencer-mem.
40650         ($(objpfx)tst-rxspencer-mem): Change target to
40651         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40652         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40653         * posix/tst-rxspencer-no-utf8.c: New file.
40655         * elf/Makefile ($(objpfx)order.out): Remove rule.
40656         [$(run-built-tests) = yes] (tests): Depend on
40657         $(objpfx)order-cmp.out.
40658         ($(objpfx)order-cmp.out): New rule.
40659         [$(run-built-tests) = yes] (tests): Depend on
40660         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40661         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40662         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40663         $(objpfx)tst-array5-static-cmp.out.
40664         ($(objpfx)tst-array1.out): Remove rule.
40665         ($(objpfx)tst-array1-cmp.out): New rule.
40666         ($(objpfx)tst-array1-static.out): Remove rule.
40667         ($(objpfx)tst-array1-static-cmp.out): New rule.
40668         ($(objpfx)tst-array2.out): Remove rule.
40669         ($(objpfx)tst-array2-cmp.out): New rule.
40670         ($(objpfx)tst-array3.out): Remove rule.
40671         ($(objpfx)tst-array3-cmp.out): New rule.
40672         ($(objpfx)tst-array4.out): Remove rule.
40673         ($(objpfx)tst-array4-cmp.out): New rule.
40674         ($(objpfx)tst-array5.out): Remove rule.
40675         ($(objpfx)tst-array5-cmp.out): New rule.
40676         ($(objpfx)tst-array5-static.out): Remove rule.
40677         ($(objpfx)tst-array5-static-cmp.out): New rule.
40678         [$(run-built-tests) = yes] (tests): Depend on
40679         $(objpfx)order2-cmp.out.
40680         ($(objpfx)order2.out): Remove rule.
40681         ($(objpfx)order2-cmp.out): New rule.
40682         ($(objpfx)tst-initorder.out): Remove rule.
40683         [$(run-built-tests) = yes] (tests): Depend on
40684         $(objpfx)tst-initorder-cmp.out.
40685         ($(objpfx)tst-initorder-cmp.out): New rule.
40686         ($(objpfx)tst-initorder2.out): Remove rule.
40687         [$(run-built-tests) = yes] (tests): Depend on
40688         $(objpfx)tst-initorder2-cmp.out.
40689         ($(objpfx)tst-initorder2-cmp.out): New rule.
40690         [$(run-built-tests) = yes] (tests): Depend on
40691         $(objpfx)tst-unused-dep-cmp.out.
40692         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40693         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40694         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40695         on $(objpfx)tst-setvbuf1-cmp.out.
40696         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40697         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40698         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40699         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40700         ($(objpfx)tst-svc.out): Remove rule.
40701         ($(objpfx)tst-svc-cmp.out): New rule.
40703 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40705         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40706         * ctype/ctype.h [__USE_MISC]: Likewise.
40707         * dirent/dirent.h [__USE_MISC]: Likewise.
40708         * grp/grp.h [__USE_MISC]: Likewise.
40709         * io/fcntl.h [__USE_MISC]: Likewise.
40710         * io/sys/stat.h [__USE_MISC]: Likewise.
40711         * libio/stdio.h [__USE_MISC]: Likewise.
40712         * posix/unistd.h [__USE_MISC]: Likewise.
40713         * pwd/pwd.h [__USE_MISC]: Likewise.
40714         * stdlib.h [__USE_MISC]: Likewise.
40715         * string/bits/string2.h [__USE_MISC]: Likewise.
40716         * string/string.h [__USE_MISC]: Likewise.
40717         * time/time.h [__USE_MISC]: Likewise.
40719 2014-02-13  Andreas Schwab  <schwab@suse.de>
40721         [BZ #16574]
40722         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40723         second answer buffer if it was separately allocated.
40725 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40727         * sysdeps/mips/math-tests.h: Include <features.h>.
40728         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40729         (ROUNDING_TESTS_long_double): Do not define.
40730         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40731         (EXCEPTION_TESTS_long_double): Likewise.
40732         * sysdeps/mips/mips64/libm-test-ulps: Update.
40734         * include/features.h (__USE_BSD): Remove macro definitions.
40735         (__USE_SVID): Likewise.
40736         (_BSD_SOURCE): Likewise.
40737         (_SVID_SOURCE): Likewise.
40738         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40739         from definition of _DEFAULT_SOURCE.
40740         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40741         [_DEFAULT_SOURCE].
40742         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40743         * bits/mman.h [__USE_BSD]: Likewise.
40744         * bits/termios.h [__USE_BSD]: Likewise.
40745         * bits/waitstatus.h [__USE_BSD]: Likewise.
40746         * ctype/ctype.h [__USE_SVID]: Likewise.
40747         * dirent/dirent.h [__USE_BSD]: Likewise.
40748         * grp/grp.h [__USE_SVID]: Likewise.
40749         [__USE_BSD]: Likewise.
40750         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40751         * io/fcntl.h [__USE_BSD]: Likewise.
40752         * io/ftw.h [__USE_BSD]: Likewise.
40753         * io/sys/stat.h [__USE_BSD]: Likewise.
40754         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40755         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40756         * libio/stdio.h [__USE_SVID]: Likewise.
40757         [__USE_BSD]: Likewise.
40758         * math/math.h [__USE_SVID]: Likewise.
40759         [__USE_BSD]: Likewise.
40760         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40761         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40762         * misc/search.h [__USE_SVID]: Likewise.
40763         * misc/sys/mman.h [__USE_BSD]: Likewise.
40764         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40765         * misc/sys/uio.h [__USE_BSD]: Likewise.
40766         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40767         * posix/glob.h [__USE_BSD]: Likewise.
40768         * posix/regex.h [__USE_BSD]: Likewise.
40769         * posix/sys/types.h [__USE_BSD]: Likewise.
40770         [__USE_SVID]: Likewise.
40771         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40772         * posix/sys/wait.h [__USE_BSD]: Likewise.
40773         [__USE_SVID]: Likewise.
40774         * posix/unistd.h [__USE_BSD]: Likewise.
40775         [__USE_SVID]: Likewise.
40776         * pwd/pwd.h [__USE_SVID]: Likewise.
40777         * resolv/netdb.h [__USE_BSD]: Likewise.
40778         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40779         * signal/signal.h [__USE_BSD]: Likewise.
40780         [__USE_SVID]: Likewise.
40781         * socket/sys/socket.h [__USE_BSD]: Likewise.
40782         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40783         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40784         [__USE_SVID]: Likewise.
40785         * string/bits/string2.h [__USE_BSD]: Likewise.
40786         [__USE_SVID]: Likewise.
40787         * string/bits/string3.h [__USE_BSD]: Likewise.
40788         * string/endian.h [__USE_BSD]: Likewise.
40789         * string/string.h [__USE_SVID]: Likewise.
40790         [__USE_BSD]: Likewise.
40791         * string/strings.h [__USE_BSD]: Likewise.
40792         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40793         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40794         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40795         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40796         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40797         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40798         Likewise.
40799         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40800         Likewise.
40801         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40802         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40803         Likewise.
40804         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40805         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40806         Likewise.
40807         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40808         Likewise.
40809         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40810         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40811         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40812         Likewise.
40813         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40814         Likewise.
40815         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40816         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40817         * termios/termios.h [__USE_BSD]: Likewise.
40818         * time/sys/time.h [__USE_BSD]: Likewise.
40819         * time/time.h [__USE_BSD]: Likewise.
40820         [__USE_SVID]: Likewise.
40822         * Makefile (subdir_targets): Remove subdir_lint.out.
40824         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40825         (do-tst-printf): Likewise.
40826         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40827         $(objpfx)tst-printf.out.
40829         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40831         * Makerules (check-abi-%): Change target to
40832         $(objpfx)check-abi-%.out.
40833         (check-abi target): Update dependencies.
40834         (check-abi-pattern variable): Redirect output of diff to $@.
40835         (check-abi variable): Likewise.
40836         * elf/Makefile (check-abi): Update dependencies.
40838         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40839         unused.
40840         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40841         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40842         subnormal range.
40843         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40844         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40845         value has largest subnormal exponent.
40846         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40847         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40848         * sysdeps/aarch64/soft-fp/sfp-machine.h
40849         (_FP_TININESS_AFTER_ROUNDING): New macro.
40850         * sysdeps/alpha/soft-fp/sfp-machine.h
40851         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40852         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40853         Likewise.
40854         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40855         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40856         * sysdeps/mips/soft-fp/sfp-machine.h
40857         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40858         * sysdeps/powerpc/soft-fp/sfp-machine.h
40859         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40860         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40861         Likewise.
40862         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40863         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40864         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40865         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40866         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40867         Likewise.
40869 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40871         [BZ #16545]
40872         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40873         model 1.
40875 2014-02-12  Richard Henderson  <rth@redhat.com>
40877         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40878         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40879         * sysdeps/unix/sysv/linux/alpha: Move directory from
40880         ports/sysdeps/unix/sysv/linux/alpha.
40881         * README: Update listing for alpha-*-linux-gnu.
40883 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40885         * include/features.h: Update comment documenting feature test
40886         macros.
40887         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40888         _DEFAULT_SOURCE.
40889         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40890         (_SVID_SOURCE): Likewise.
40891         (_DEFAULT_SOURCE): Update description of default features.
40892         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40893         with _GNU_SOURCE.
40894         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40895         (S_ISVTX): Likewise.
40896         * manual/math.texi (Mathematical Constants): Likewise.
40897         * manual/signal.texi (Interrupted Primitives): Likewise.
40898         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40899         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40900         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40901         Don't refer to _SVID_SOURCE in warning text.
40903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40905         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40906         already defined.
40907         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40908         * sysdeps/mips/dl-lookup.c: Remove.
40909         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40911 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40913         [BZ #16447]
40914         * math/auto-libm-test-in: Add testcase for expl.
40915         * math/auto-libm-test-out: Regenerate.
40916         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40917         calculation of unsafe.
40918         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40920 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40922         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40923         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40924         ports/sysdeps/unix/sysv/linux/aarch64.
40925         * README: Update listing for aarch64*-*-linux-gnu.
40927 2014-02-11  Will Newton  <will.newton@linaro.org>
40929         * manual/probes.texi (Mathematical Function Probes): Use
40930         "triggered" instead of "hit".
40932         * manual/probes.texi (Internal Probes): Add documentation
40933         of setjmp, longjmp and longjmp_target probes.
40935         * include/stap-probe.h: Add comment about probe argument
40936         format.
40938         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40939         definition.  (tr_where, tr_freehook, tr_mallochook,
40940         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40942 2014-02-11  David S. Miller  <davem@davemloft.net>
40944         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40945         processing int_tests.
40947 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40949         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40950         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40951         * sysdeps/unix/sysv/linux/mips: Move directory from
40952         ports/sysdeps/unix/sysv/linux/mips.
40953         * README: Update listing for mips-*-linux-gnu and
40954         mips64-*-linux-gnu.
40956 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40958         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40959         * sysdeps/unix/sysv/linux/m68k: Move directory from
40960         ports/sysdeps/unix/sysv/linux/m68k.
40961         * README: Update listing for m68k-*-linux-gnu.
40963 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40965         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40966         * sysdeps/unix/sysv/linux/generic: Move directory from
40967         ports/sysdeps/unix/sysv/linux/generic.
40968         * sysdeps/unix/sysv/linux/tile: Move directory from
40969         ports/sysdeps/unix/sysv/linux/tile.
40970         * README: Update listing for tile*-*-linux-gnu.
40972 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40974         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40975         __builtin_expect.
40976         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40977         * catgets/open_catalog.c (__open_catalog): Likewise.
40978         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40979         * debug/confstr_chk.c: Likewise.
40980         * debug/fread_chk.c (__fread_chk): Likewise.
40981         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40982         * debug/getgroups_chk.c: Likewise.
40983         * debug/mbsnrtowcs_chk.c: Likewise.
40984         * debug/mbsrtowcs_chk.c: Likewise.
40985         * debug/mbstowcs_chk.c: Likewise.
40986         * debug/memcpy_chk.c: Likewise.
40987         * debug/memmove_chk.c: Likewise.
40988         * debug/mempcpy_chk.c: Likewise.
40989         * debug/memset_chk.c: Likewise.
40990         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40991         * debug/strcat_chk.c (__strcat_chk): Likewise.
40992         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40993         * debug/strncat_chk.c (__strncat_chk): Likewise.
40994         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40995         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40996         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40997         * debug/wcpncpy_chk.c: Likewise.
40998         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40999         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41000         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41001         * debug/wcsncpy_chk.c: Likewise.
41002         * debug/wcsnrtombs_chk.c: Likewise.
41003         * debug/wcsrtombs_chk.c: Likewise.
41004         * debug/wcstombs_chk.c: Likewise.
41005         * debug/wmemcpy_chk.c: Likewise.
41006         * debug/wmemmove_chk.c: Likewise.
41007         * debug/wmempcpy_chk.c: Likewise.
41008         * debug/wmemset_chk.c: Likewise.
41009         * dirent/scandirat.c (SCANDIRAT): Likewise.
41010         * dlfcn/dladdr1.c (dladdr1): Likewise.
41011         * dlfcn/dladdr.c (dladdr): Likewise.
41012         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41013         * dlfcn/dlerror.c (__dlerror): Likewise.
41014         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41015         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41016         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41017         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41018         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41019         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41020         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41021         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41022         Likewise.
41023         * elf/dl-conflict.c: Likewise.
41024         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41025         * elf/dl-dst.h: Likewise.
41026         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41027         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41028         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41029         * elf/dl-init.c (call_init, _dl_init): Likewise.
41030         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41031         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41032         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41033         Likewise.
41034         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41035         Likewise.
41036         * elf/dl-minimal.c (__libc_memalign): Likewise.
41037         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41038         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41039         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41040         * elf/dl-sym.c (do_sym): Likewise.
41041         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41042         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41043         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41044         * elf/dl-writev.h (_dl_writev): Likewise.
41045         * elf/ldconfig.c (search_dir): Likewise.
41046         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41047         (dl_main): Likewise.
41048         * elf/setup-vdso.h (setup_vdso): Likewise.
41049         * grp/compat-initgroups.c (compat_call): Likewise.
41050         * grp/fgetgrent.c (fgetgrent): Likewise.
41051         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41052         * grp/putgrent.c (putgrent): Likewise.
41053         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41054         Likewise.
41055         * hurd/hurdinit.c: Likewise.
41056         * iconvdata/8bit-gap.c (struct): Likewise.
41057         * iconvdata/ansi_x3.110.c : Likewise.
41058         * iconvdata/big5.c : Likewise.
41059         * iconvdata/big5hkscs.c : Likewise.
41060         * iconvdata/cp1255.c: Likewise.
41061         * iconvdata/cp1258.c : Likewise.
41062         * iconvdata/cp932.c : Likewise.
41063         * iconvdata/euc-cn.c: Likewise.
41064         * iconvdata/euc-jisx0213.c : Likewise.
41065         * iconvdata/euc-jp.c: Likewise.
41066         * iconvdata/euc-jp-ms.c : Likewise.
41067         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41068         * iconvdata/gb18030.c : Likewise.
41069         * iconvdata/gbbig5.c (const): Likewise.
41070         * iconvdata/gbgbk.c: Likewise.
41071         * iconvdata/gbk.c : Likewise.
41072         * iconvdata/ibm1364.c : Likewise.
41073         * iconvdata/ibm930.c : Likewise.
41074         * iconvdata/ibm932.c: Likewise.
41075         * iconvdata/ibm933.c : Likewise.
41076         * iconvdata/ibm935.c : Likewise.
41077         * iconvdata/ibm937.c : Likewise.
41078         * iconvdata/ibm939.c : Likewise.
41079         * iconvdata/ibm943.c: Likewise.
41080         * iconvdata/iso_11548-1.c: Likewise.
41081         * iconvdata/iso-2022-cn.c : Likewise.
41082         * iconvdata/iso-2022-cn-ext.c : Likewise.
41083         * iconvdata/iso-2022-jp-3.c: Likewise.
41084         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41085         * iconvdata/iso-2022-kr.c : Likewise.
41086         * iconvdata/iso646.c (gconv_end): Likewise.
41087         * iconvdata/iso_6937-2.c : Likewise.
41088         * iconvdata/iso_6937.c : Likewise.
41089         * iconvdata/iso8859-1.c: Likewise.
41090         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41091         * iconvdata/shift_jisx0213.c : Likewise.
41092         * iconvdata/sjis.c : Likewise.
41093         * iconvdata/t.61.c : Likewise.
41094         * iconvdata/tcvn5712-1.c : Likewise.
41095         * iconvdata/tscii.c: Likewise.
41096         * iconvdata/uhc.c : Likewise.
41097         * iconvdata/unicode.c (gconv_end): Likewise.
41098         * iconvdata/utf-16.c (gconv_end): Likewise.
41099         * iconvdata/utf-32.c (gconv_end): Likewise.
41100         * iconvdata/utf-7.c (base64): Likewise.
41101         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41102         * iconv/gconv_close.c (__gconv_close): Likewise.
41103         * iconv/gconv_open.c (__gconv_open): Likewise.
41104         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41105         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41106         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41107         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41108         (ucs4le_internal_loop_single): Likewise.
41109         * iconv/iconv.c (iconv): Likewise.
41110         * iconv/iconv_close.c: Likewise.
41111         * iconv/loop.c (SINGLE): Likewise.
41112         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41113         * include/atomic.h: Likewise.
41114         * inet/inet6_option.c (option_alloc): Likewise.
41115         * intl/bindtextdom.c (set_binding_values): Likewise.
41116         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41117         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41118         * intl/localealias.c (read_alias_file): Likewise.
41119         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41120         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41121         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41122         * libio/fmemopen.c (fmemopen): Likewise.
41123         * libio/iofgets.c (_IO_fgets): Likewise.
41124         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41125         * libio/iofgetws.c (fgetws): Likewise.
41126         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41127         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41128         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41129         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41130         * locale/findlocale.c (_nl_find_locale): Likewise.
41131         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41132         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41133         Likewise.
41134         * locale/setlocale.c (setlocale): Likewise.
41135         * login/programs/pt_chown.c (main): Likewise.
41136         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41137         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41138         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41139         (mmap, mmap64, mremap, munmap): Likewise.
41140         * math/e_exp2l.c: Likewise.
41141         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41142         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41143         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41144         * math/s_catan.c (__catan): Likewise.
41145         * math/s_catanf.c (__catanf): Likewise.
41146         * math/s_catanh.c (__catanh): Likewise.
41147         * math/s_catanhf.c (__catanhf): Likewise.
41148         * math/s_catanhl.c (__catanhl): Likewise.
41149         * math/s_catanl.c (__catanl): Likewise.
41150         * math/s_ccosh.c (__ccosh): Likewise.
41151         * math/s_ccoshf.c (__ccoshf): Likewise.
41152         * math/s_ccoshl.c (__ccoshl): Likewise.
41153         * math/s_cexp.c (__cexp): Likewise.
41154         * math/s_cexpf.c (__cexpf): Likewise.
41155         * math/s_cexpl.c (__cexpl): Likewise.
41156         * math/s_clog10.c (__clog10): Likewise.
41157         * math/s_clog10f.c (__clog10f): Likewise.
41158         * math/s_clog10l.c (__clog10l): Likewise.
41159         * math/s_clog.c (__clog): Likewise.
41160         * math/s_clogf.c (__clogf): Likewise.
41161         * math/s_clogl.c (__clogl): Likewise.
41162         * math/s_csin.c (__csin): Likewise.
41163         * math/s_csinf.c (__csinf): Likewise.
41164         * math/s_csinh.c (__csinh): Likewise.
41165         * math/s_csinhf.c (__csinhf): Likewise.
41166         * math/s_csinhl.c (__csinhl): Likewise.
41167         * math/s_csinl.c (__csinl): Likewise.
41168         * math/s_csqrt.c (__csqrt): Likewise.
41169         * math/s_csqrtf.c (__csqrtf): Likewise.
41170         * math/s_csqrtl.c (__csqrtl): Likewise.
41171         * math/s_ctan.c (__ctan): Likewise.
41172         * math/s_ctanf.c (__ctanf): Likewise.
41173         * math/s_ctanh.c (__ctanh): Likewise.
41174         * math/s_ctanhf.c (__ctanhf): Likewise.
41175         * math/s_ctanhl.c (__ctanhl): Likewise.
41176         * math/s_ctanl.c (__ctanl): Likewise.
41177         * math/w_pow.c: Likewise.
41178         * math/w_powf.c: Likewise.
41179         * math/w_powl.c: Likewise.
41180         * math/w_scalb.c (sysv_scalb): Likewise.
41181         * math/w_scalbf.c (sysv_scalbf): Likewise.
41182         * math/w_scalbl.c (sysv_scalbl): Likewise.
41183         * misc/error.c (error_tail): Likewise.
41184         * misc/pselect.c (__pselect): Likewise.
41185         * nis/nis_callback.c (__nis_create_callback): Likewise.
41186         * nis/nis_call.c (__nisfind_server): Likewise.
41187         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41188         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41189         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41190         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41191         * nis/nis_lookup.c (nis_lookup): Likewise.
41192         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41193         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41194         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41195         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41196         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41197         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41198         * nis/nss_compat/compat-initgroups.c (add_group)
41199         (internal_getgrent_r): Likewise.
41200         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41201         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41202         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41203         (internal_getspnam_r): Likewise.
41204         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41205         (_nss_nis_getaliasbyname_r): Likewise.
41206         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41207         (_nss_nis_getntohost_r): Likewise.
41208         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41209         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41210         (_nss_nis_getgrgid_r): Likewise.
41211         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41212         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41213         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41214         (_nss_nis_gethostbyname4_r): Likewise.
41215         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41216         (initgroups_netid): Likewise.
41217         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41218         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41219         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41220         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41221         (_nss_nis_getprotobynumber_r): Likewise.
41222         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41223         (_nss_nis_getsecretkey): Likewise.
41224         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41225         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41226         (_nss_nis_getpwuid_r): Likewise.
41227         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41228         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41229         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41230         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41231         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41232         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41233         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41234         Likewise.
41235         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41236         (_nss_nisplus_getntohost_r): Likewise.
41237         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41238         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41239         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41240         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41241         Likewise.
41242         * nis/nss_nisplus/nisplus-initgroups.c
41243         (_nss_nisplus_initgroups_dyn): Likewise.
41244         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41245         (_nss_nisplus_getnetbyaddr_r): Likewise.
41246         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41247         (_nss_nisplus_getprotobynumber_r): Likewise.
41248         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41249         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41250         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41251         Likewise.
41252         * nis/nss_nisplus/nisplus-service.c
41253         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41254         (_nss_nisplus_getservbyport_r): Likewise.
41255         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41256         (_nss_nisplus_getspnam_r): Likewise.
41257         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41258         Likewise.
41259         * nscd/aicache.c (addhstaiX): Likewise.
41260         * nscd/cache.c (cache_search, prune_cache): Likewise.
41261         * nscd/connections.c (register_traced_file, send_ro_fd)
41262         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41263         (main_loop_epoll): Likewise.
41264         * nscd/grpcache.c (addgrbyX): Likewise.
41265         * nscd/hstcache.c (addhstbyX): Likewise.
41266         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41267         * nscd/mem.c (gc, mempool_alloc): Likewise.
41268         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41269         (addinnetgrX): Likewise.
41270         * nscd/nscd-client.h (__nscd_acquire_maplock)
41271         (__nscd_drop_map_ref): Likewise.
41272         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41273         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41274         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41275         Likewise.
41276         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41277         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41278         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41279         (__nscd_get_map_ref): Likewise.
41280         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41281         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41282         Likewise.
41283         * nscd/pwdcache.c (addpwbyX): Likewise.
41284         * nscd/selinux.c (preserve_capabilities): Likewise.
41285         * nscd/servicescache.c (addservbyX): Likewise.
41286         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41287         * posix/fnmatch.c (fnmatch): Likewise.
41288         * posix/getopt.c (_getopt_internal_r): Likewise.
41289         * posix/glob.c (glob, glob_in_dir): Likewise.
41290         * posix/wordexp.c (exec_comm_child): Likewise.
41291         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41292         (getanswer_r, gaih_getanswer_slice): Likewise.
41293         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41294         * resolv/res_init.c: Likewise.
41295         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41296         * resolv/res_query.c (__libc_res_nquery): Likewise.
41297         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41298         Likewise.
41299         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41300         * stdio-common/perror.c (perror): Likewise.
41301         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41302         * stdio-common/tmpnam.c (tmpnam): Likewise.
41303         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41304         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41305         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41306         Likewise.
41307         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41308         * stdlib/putenv.c (putenv): Likewise.
41309         * stdlib/setenv.c (__add_to_environ): Likewise.
41310         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41311         * stdlib/strtol_l.c (INTERNAL): Likewise.
41312         * string/memmem.c (memmem): Likewise.
41313         * string/strerror.c (strerror): Likewise.
41314         * string/strnlen.c (__strnlen): Likewise.
41315         * string/test-memmem.c (simple_memmem): Likewise.
41316         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41317         * sunrpc/pm_getport.c (__get_socket): Likewise.
41318         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41319         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41320         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41321         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41322         Likewise.
41323         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41324         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41325         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41326         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41327         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41328         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41329         Likewise.
41330         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41331         Likewise.
41332         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41333         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41334         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41335         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41336         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41337         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41338         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41339         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41340         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41341         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41342         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41343         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41344         Likewise.
41345         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41346         Likewise.
41347         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41348         Likewise.
41349         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41350         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41351         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41352         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41353         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41354         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41355         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41356         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41357         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41358         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41359         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41360         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41361         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41362         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41363         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41364         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41365         Likewise.
41366         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41367         Likewise.
41368         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41369         Likewise.
41370         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41371         Likewise.
41372         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41373         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41374         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41375         Likewise.
41376         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41377         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41378         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41379         * sysdeps/posix/sleep.c: Likewise.
41380         * sysdeps/posix/tempname.c: Likewise.
41381         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41382         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41383         Likewise.
41384         * sysdeps/powerpc/powerpc32/dl-machine.h
41385         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41386         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41387         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41388         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41389         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41390         Likewise.
41391         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41392         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41393         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41394         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41395         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41396         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41397         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41398         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41399         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41400         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41401         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41402         (elf_machine_lazy_rel): Likewise.
41403         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41404         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41405         (elf_machine_lazy_rel): Likewise.
41406         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41407         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41408         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41409         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41410         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41411         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41412         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41413         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41414         Likewise.
41415         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41416         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41417         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41418         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41419         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41420         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41421         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41422         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41423         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41424         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41425         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41426         Likewise.
41427         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41428         (__posix_fallocate64_l64): Likewise.
41429         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41430         (posix_fallocate): Likewise.
41431         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41432         Likewise.
41433         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41434         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41435         (getifaddrs_internal): Likewise.
41436         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41437         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41438         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41439         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41440         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41441         (__posix_fallocate64_l64): Likewise.
41442         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41443         Likewise.
41444         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41445         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41446         (__get_clockfreq): Likewise.
41447         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41448         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41449         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41450         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41451         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41452         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41453         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41454         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41455         Likewise.
41456         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41457         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41458         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41459         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41460         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41461         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41462         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41463         Likewise.
41464         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41465         (posix_fallocate): Likewise.
41466         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41467         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41468         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41469         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41470         (elf_machine_rela, elf_machine_rela_relative)
41471         (elf_machine_lazy_rel): Likewise.
41472         * time/asctime.c (asctime_internal): Likewise.
41473         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41474         * time/tzset.c (__tzset_parse_tz): Likewise.
41475         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41476         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41477         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41478         * wcsmbs/wcsmbsload.h: Likewise.
41480         [BZ #15894]
41481         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41483         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41484         (arena_get2): Remove THREAD_STATS conditionals.
41485         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41486         (__malloc_stats, int): Likewise.
41488 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41490         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41491         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41493         * manual/setjmp.texi: Fix typos/grammar errors.
41495         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41496         Only return early when n is <= 0.  Delete unused return statement.
41498         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41499         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41500         * debug/tst-longjmp_chk3.c: New file.
41502         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41503         (test_main): Replace code with set_fortify_handler call.
41504         * debug/test-strcpy_chk.c: Likewise.
41505         * debug/tst-chk1.c: Likewise.
41506         * debug/tst-longjmp_chk.c: Likewise.
41507         * test-skeleton.c: Include fcntl.h & paths.h
41508         (set_fortify_handler): Define.
41510         * debug/tst-longjmp_chk.c: Add header comment and include
41511         ../test-skeleton.c.
41512         (do_test): Mark static.
41513         (TEST_FUNCTION): Define.
41515         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41516         (IP_PMTUDISC_INTERFACE): Likewise.
41517         (IP_MULTICAST_IF): Likewise.
41518         (IP_MULTICAST_TTL): Likewise.
41519         (IP_MULTICAST_LOOP): Likewise.
41520         (IP_ADD_MEMBERSHIP): Likewise.
41521         (IP_DROP_MEMBERSHIP): Likewise.
41522         (IP_UNBLOCK_SOURCE): Likewise.
41523         (IP_BLOCK_SOURCE): Likewise.
41524         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41525         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41526         (IP_MSFILTER): Likewise.
41527         (MCAST_JOIN_GROUP): Likewise.
41528         (MCAST_BLOCK_SOURCE): Likewise.
41529         (MCAST_UNBLOCK_SOURCE): Likewise.
41530         (MCAST_LEAVE_GROUP): Likewise.
41531         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41532         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41533         (MCAST_MSFILTER): Likewise.
41534         (IP_MULTICAST_ALL): Likewise.
41535         (IP_UNICAST_IF): Likewise.
41537         * timezone/Makefile: Delete $(have-ksh) check.
41538         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41539         * timezone/tzselect.ksh: Add +x mode bits.
41541         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41542         (ANON_INODE_FS_MAGIC): Likewise.
41543         (BDEVFS_MAGIC): Likewise.
41544         (BINFMTFS_MAGIC): Likewise.
41545         (BTRFS_TEST_MAGIC): Likewise.
41546         (CRAMFS_MAGIC_WEND): Likewise.
41547         (DEBUGFS_MAGIC): Likewise.
41548         (ECRYPTFS_SUPER_MAGIC): Likewise.
41549         (EXT3_SUPER_MAGIC): Likewise.
41550         (EXT4_SUPER_MAGIC): Likewise.
41551         (FUTEXFS_SUPER_MAGIC): Likewise.
41552         (HOSTFS_SUPER_MAGIC): Likewise.
41553         (HUGETLBFS_MAGIC): Likewise.
41554         (MINIX3_SUPER_MAGIC): Likewise.
41555         (MTD_INODE_FS_MAGIC): Likewise.
41556         (NILFS_SUPER_MAGIC): Likewise.
41557         (OPENPROM_SUPER_MAGIC): Likewise.
41558         (PIPEFS_MAGIC): Likewise.
41559         (PSTOREFS_MAGIC): Likewise.
41560         (QNX6_SUPER_MAGIC): Likewise.
41561         (RAMFS_MAGIC): Likewise.
41562         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41563         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41564         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41565         (SECURITYFS_MAGIC): Likewise.
41566         (SELINUX_MAGIC): Likewise.
41567         (SMACK_MAGIC): Likewise.
41568         (SOCKFS_MAGIC): Likewise.
41569         (SQUASHFS_MAGIC): Likewise.
41570         (STACK_END_MAGIC): Likewise.
41571         (TMPFS_MAGIC): Likewise.
41572         (USBDEVICE_SUPER_MAGIC): Likewise.
41573         (V9FS_MAGIC): Likewise.
41574         (XENFS_SUPER_MAGIC): Likewise.
41575         (CRAMFS_MAGIC): Fix typo in comment.
41576         (EXT2_SUPER_MAGIC): Update comment.
41577         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41579 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41581         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41582         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41583         * sysdeps/unix/sysv/linux/arm: Move directory from
41584         ports/sysdeps/unix/sysv/linux/arm.
41585         * README: Update listing for arm-*-linux-gnueabi.
41587         * README: Remove mention of am33.
41589 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41591         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41592         than the comma operator, to avoid "rhs of comma has no effect"
41593         compiler warnings.
41594         (__sigfillset, __sigandset, __sigorset): Likewise.
41595         * include/signal.h (__sigemptyset): Likewise.
41596         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41598 2014-02-07  Allan McRae  <allan@archlinux.org>
41600         * version.h (RELEASE): Set to "development".
41601         (VERSION): Set to "2.19.90"
41602         * NEWS: Add 2.20 section.
41604 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41606         [BZ #16529]
41607         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41609 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41611         * manual/contrib.texi: Update entry for Carlos O'Donell,
41612         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41614 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41616         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41618         * sysdeps/unix/sysv/linux/kernel-features.h
41619         [__LINUX_KERNEL_VERSION >= 0x020621]
41620         (__ASSUME_PROC_PID_TASK_COMM): Define.
41622 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41624         [BZ #16398]
41625         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41626         conversion when destination buffer does not have enough space.
41627         * libio/tst-ftell-partial-wide.c: New test case.
41628         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41630         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41631         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41632         Leonard and Allan McRae.
41634 2014-02-04  David S. Miller  <davem@davemloft.net>
41636         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41637         32-bit.
41639 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41642         New file
41643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41644         New file
41645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41646         New file.
41647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41648         New file.
41649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41650         New file.
41651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41652         New file.
41653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41654         New file.
41655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41656         New file.
41657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41658         New file.
41659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41660         New file.
41661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41662         New file.
41663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41664         New file.
41665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41666         New file.
41668 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41670         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41671         * shlib-versions: Likewise.
41673 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41674             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41676         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41677         (abilist-pattern): New variable, set to %-le.abilist.
41679         * Makerules (abilist-pattern): New variable.
41680         (vpath): Use $(abilist-pattern) in place of %.abilist.
41681         (check-abi-% pattern rule): Likewise.
41682         (check-abi, update-abi): Likewise.
41684 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41688 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41690         * manual/startup.texi: Add next, previous, and top entries for
41691         the `Program Arguments' and `Environment Variables' nodes.
41693 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41695         * manual/macros.texi: Add comments before MTASC-safety macros.
41697         * manual/users.texi: Document MTASC-safety properties.
41699         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41700         (pthread_getspecific, pthread_setspecific): Format with
41701         @deftypefun, and add @safety note.
41702         * manual/signal.texi: Move comments that analyze the above
41703         functions to their home place.
41705 2014-02-03  Allan McRae  <allan@archlinux.org>
41707         * po/sl.po: Update Slovenian translation from translation project.
41709 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41711         * manual/time.texi (timegm): Add missing blank after @c.
41712         Reported by Joseph Myers <joseph@codesourcery.com>.
41714 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41716         * manual/check-safety.sh: New.
41717         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41719         * manual/terminal.texi: Document MTASC-safety properties.
41721         * manual/filesys.texi: Document MTASC-safety properties.
41723         * manual/errno.texi: Document MTASC-safety properties.
41725         * manual/intro.texi: Document safety identifiers and
41726         conditionals.
41728         * manual/string.texi (wcstok): Fix prototype.
41729         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41731         * manual/time.texi: Document MTASC-safety properties.
41733         * manual/string.texi: Document MTASC-safety properties.
41735         * manual/threads.texi: Document MTASC-safety properties.
41737         * manual/stdio.texi: Document MTASC-safety properties.
41739         * manual/syslog.texi: Document MTASC-safety properties.
41741         * manual/sysinfo.texi: Document MTASC-safety properties.
41743         * manual/startup.texi: Document MTASC-safety properties.
41745         * manual/socket.texi: Document MTASC-safety properties.
41747         * manual/signal.texi: Document MTASC-safety properties.
41749 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41751         * manual/setjmp.texi: Document MTASC-safety properties.
41753         * manual/search.texi: Document MTASC-safety properties.
41755         * manual/resource.texi: Document MTASC-safety properties.
41757         * manual/process.texi: Document MTASC-safety properties.
41759         * manual/platform.texi: Document MTASC-safety properties.
41761         * manual/pipe.texi: Document MTASC-safety properties.
41763         * manual/pattern.texi: Document MTASC-safety properties.
41765         * manual/message.texi: Document MTASC-safety properties.
41767         [BZ #12751]
41768         * manual/memory.texi: Document MTASC-safety properties.
41770         * manual/math.texi: Document MTASC-safety properties.
41772         * manual/locale.texi: Document MTASC-safety properties.
41774         * manual/llio.texi: Document MTASC-safety properties.
41776         * manual/libdl.texi: New.
41778         * manual/lang.texi: Document MTASC-safety properties.
41780         * manual/job.texi: Document MTASC-safety properties.
41782         * manual/getopt.texi: Document MTASC-safety properties.
41784         * manual/ctype.texi: Document MTASC-safety properties.
41786 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41788         [BZ #16046]
41789         * csu/libc-tls.c (static_map): Remove variable.
41790         (__libc_setup_tls): Use main executable's link map for TLS data.
41791         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41792         casing for LM_ID_BASE and GL(dl_nns).
41793         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41794         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41795         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41796         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41797         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41798         member.
41799         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41800         l_phnum members.
41802 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41804         * manual/debug.texi: Document MTASC-safety properties.
41806 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41808         [BZ #16510]
41809         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41810         of __x86_64__ when disabling x87 inline functions.
41812 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41814         * manual/charset.texi: Document MTASC-safety properties.
41816         * manual/crypt.texi: Document MTASC-safety properties.
41818         * manual/conf.texi: Document MTASC-safety properties.
41820         * manual/arith.texi: Document MTASC-safety properties.
41822         * manual/argp.texi: Document MTASC-safety properties.
41824         * manual/macros.texi: Introduce macros to document multi
41825         thread, asynchronous signal and asynchronous cancellation
41826         safety properties.
41827         * manual/intro.texi: Introduce the properties themselves.
41829 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41831         * sysdeps/sh/sh4/Makefile: New file.
41833 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41835         * math/gen-libm-test.pl ($srcdir): New variable.
41836         ($auto_input): Use it.
41838 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41840         [BZ #16506]
41841         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41842         access beyond array bounds when parsing netgroups file.
41844         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41845         the old buffer before realloc.
41847 2014-01-27  Allan McRae  <allan@archlinux.org>
41849         * po/fr.po: Update French translation from translation project.
41851 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41853         * sysdeps/sh/libm-test-ulps: Regenerate.
41855 2014-01-24  David S. Miller  <davem@davemloft.net>
41857         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41859 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41861         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41862         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41864 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41866         [BZ #16474]
41867         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41868         string pointers after reallocation.
41870 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41872         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41873         __SH4A__ instead of __SH_FPU_ANY__.
41875 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41877         * sysdeps/sh/fpu_control.h: New file.
41878         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41879         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41880         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41881         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41882         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41883         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41884         * sysdeps/sh/sys/ucontext.h: Remove.
41885         * sysdeps/sh/sys: Remove directory.
41887 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41889         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41890         s390/sys/ucontext.h.
41891         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41892         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41894 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41896         [BZ #15605]
41897         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41899 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41901         [BZ#16431]
41902         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41903         Adjust the vDSO correctly for internal calls.
41904         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41906 2014-01-20  Allan McRae  <allan@archlinux.org>
41908         * po/ca.po: Update Catalan translation from translation project.
41910 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41912         * sysdeps/s390/sotruss-lib.c: New file.
41914 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41916         [BZ#16430]
41917         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41918         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41919         local calls issues by not having a PLT stub required for IFUNC calls.
41920         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41922 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41924         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41925         * math/test-fpucw-static.c: Likewise.
41927 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41929         [BZ #16453]
41930         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41932 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41934         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41935         implementation for powerpc.
41937 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41939         [BZ #14782]
41940         * sysdeps/posix/system.c (__libc_system): Do not enable
41941         asynchronous cancellation.
41943 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41945         [BZ #16427]
41946         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41947         handling only for numbers special also in the IEEE case.
41949 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41951         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41953 2014-01-11  Allan McRae  <allan@archlinux.org>
41955         * po/bg.po: Update Bulgarian translation from translation project.
41957         * po/de.po: Update German translation from translation project.
41959 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41961         * sysdeps/generic/gcc-compat.h: New file.
41963 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41965         * benchtests/asin-inputs: Correct slow inputs.
41966         * benchtests/acos-inputs: Likewise.
41968 2014-01-10  Allan McRae  <allan@archlinux.org>
41970         * po:sv.po: Update Swedish translation from translation project.
41972         * po/vi.po: Update Vietnamese translation from translation project.
41974         * po/eo.po: Update Esperanto translation from translation project.
41976         * po/cs.po: Update Czech translation from translation project.
41978         * po/nl.po: Update Dutch translation from translation project.
41980         * po/pl.po: Update Polish translation from translation project.
41982         * po/ru.po: Update Russian translation from translation project.
41984         * po/uk.po: Update Ukrainian translation from translation project.
41986 2014-01-08  Brooks Moses  <bmoses@google.com>
41988         * elf/dl-load.c: Fix comment typo.
41990 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41992         * po/header.pot: Rename to...
41993         * po/pot.header: ... this.
41994         * po/Makefile: Use pot.header.
41996 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41997             Maxim Kuvyrkov  <maxim@kugelworks.com>
41999         [BZ #16394]
42000         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42001         SRC and DEST against LEN.
42003 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42005         [BZ #16414]
42006         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42007         implementation.
42008         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42010 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42014 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42016         [BZ #16408]
42017         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42018         for large positive arguments.
42020 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42022         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42024         * math/auto-libm-test-in: Mark various tests with
42025         xfail-rounding:ldbl-128ibm.
42026         * math/auto-libm-test-out: Regenerated.
42028         [BZ #16407]
42029         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42030         Increase overflow threshold.
42032 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42034         [BZ #14286]
42035         * stdio-common/vfprintf.c: Check for integer overflow.
42037 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42039         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42040         the first argument and return value of __tls_get_addr_internal.
42042 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42044         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42045         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42047 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42049         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42050         * sysdeps/s390/rtld-global-offsets.sym: New file.
42051         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42052         GLIBC_2.19 symbol.
42053         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42054         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42055         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42056         ... this.
42057         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42058         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42059         ... this.
42060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42061         Regenerate.
42062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42063         Regenerate.
42064         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42065         halfs of GPRs for high_gprs contexts.
42066         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42067         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42068         field.
42069         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42070         uc_flags field.
42071         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42072         64 bit versions:
42073         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42074         for high GPRs (uc_high_gprs) and for future extensions
42075         (__reserved).
42076         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42077         for future extensions (__reserved).
42078         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42079         64 bit versions:
42080         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42081         SC_HIGHGPRS offset definition.
42082         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42083         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42085         * Versions.def: Add GLIBC_2.19 for libpthread.
42086         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42087         siglongjmp for libpthread with GLIBC_2.19 symver.
42088         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42089         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42090         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42091         * sysdeps/s390/__longjmp.c: New file.
42092         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42093         * sysdeps/s390/longjmp.c: New file.
42094         * sysdeps/s390/setjmp.S: New file.
42095         * sysdeps/s390/sigjmp.S: New file.
42096         * sysdeps/s390/v1-longjmp.c: New file.
42097         * sysdeps/s390/v1-setjmp.h: New file.
42098         * sysdeps/s390/v1-sigjmp.c: New file.
42099         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42100         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42101         GLIBC_2.19 version.
42102         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42103         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42104         versioned symbols for ____longjmp_chk.
42105         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42106         Likewise.
42107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42108         Regenerate.
42109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42110         Regenerate.
42111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42112         Regenerate.
42113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42114         Regenerate.
42115         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42116         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42117         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42118         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42119         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42120         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42121         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42122         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42123         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42124         * sysdeps/s390/rtld-__longjmp.c: New file.
42125         * sysdeps/s390/rtld-setjmp.S: New file.
42127 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42129         [BZ #16400]
42130         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42131         Return -__logl (x) for small positive arguments without evaluating
42132         a polynomial.
42134 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42136         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42137         Rename to ...
42138         (__ptrace_peeksiginfo_args): ... this.
42139         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42140         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42141         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42143 2014-01-06  Allan McRae  <allan@archlinux.org>
42145         * inet/netinet/in.h: Fix typo in comment.
42147 2014-01-05  Andreas Jaeger  <aj@suse.de>
42149         * sysdeps/i386/fpu/libm-test-ulps: Update.
42151 2014-01-05  Allan McRae  <allan@archlinux.org>
42153         * po/libc.pot: Regenerated.
42155         * malloc/memusagestat.c: Fix gettext call formatting.
42157 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42159         * nscd/nscd.c: Improve usage() output.
42161 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42163         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42164         * sysdeps/unix/sysv/linux/configure: Regenerated.
42165         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42166         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42168 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42170         [BZ #16390]
42171         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42172         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42174 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42176         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42177         extra tokens at end of #undef directive.
42178         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42179         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42180         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42182 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42184         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42186         * math/auto-libm-test-in: Mark various tests with
42187         xfail-rounding:ldbl-128ibm.
42188         * math/auto-libm-test-out: Regenerated.
42190 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42192         [BZ #16386]
42193         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42194         numbers with subnormal high part when calculating exponent.
42196         [BZ #16385]
42197         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42198         fabs.
42200         [BZ #16384]
42201         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42202         M_LN2l.
42203         (__ieee754_acoshl): Use __log1pl not __log1p.
42205 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42207         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42208         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42209         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42210         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42211         (reused_arena, arena_get2): Convert to GNU style.
42212         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42213         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42214         (memalign_check, __malloc_set_state): Likewise.
42215         * malloc/mallocbug.c (main): Likewise.
42216         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42217         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42218         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42219         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42220         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42221         (__posix_memalign, malloc_info): Likewise.
42222         * malloc/malloc.h: Likewise.
42223         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42224         (mallochook, memalignhook, reallochook, mabort): Likewise.
42225         * malloc/mcheck.h: Likewise.
42226         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42227         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42228         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42229         * malloc/morecore.c (__default_morecore): Likewise.
42230         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42231         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42232         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42233         (print_and_abort): Likewise.
42234         * malloc/obstack.h: Likewise.
42235         * malloc/set-freeres.c (__libc_freeres): Likewise.
42236         * malloc/tst-mallocstate.c (main): Likewise.
42237         * malloc/tst-mtrace.c (main): Likewise.
42238         * malloc/tst-realloc.c (do_test): Likewise.
42240 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42242         [BZ #16366]
42243         * nscd/netgroupcache.c (do_notfound): New function.
42244         (addgetnetgrentX): Use it.
42246         [BZ # 16365]
42247         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42248         NSS_STATUS_NOTFOUND.
42250 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42252         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42255 2014-01-01  Allan McRae  <allan@archlinux.org>
42257         * scripts/update-copyrights: Update configure input file suffix.
42259         * NEWS: Update copyright year.
42260         * catgets/gencat.c: Likewise.
42261         * csu/version.c: Likewise.
42262         * debug/catchsegv.sh: Likewise.
42263         * debug/pcprofiledump.c: Likewise.
42264         * debug/xtrace.sh: Likewise.
42265         * elf/ldconfig.c: Likewise.
42266         * elf/ldd.bash.in: Likewise.
42267         * elf/pldd.c: Likewise.
42268         * elf/sotruss.ksh: Likewise.
42269         * elf/sprof.c: Likewise.
42270         * iconv/iconv_prog.c: Likewise.
42271         * iconv/iconvconfig.c: Likewise.
42272         * locale/programs/locale.c: Likewise.
42273         * locale/programs/localedef.c: Likewise.
42274         * login/programs/pt_chown.c: Likewise.
42275         * malloc/memusage.sh: Likewise.
42276         * malloc/memusagestat.c: Likewise.
42277         * malloc/mtrace.pl: Likewise.
42278         * manual/libc.texinfo: Likewise.
42279         * nscd/nscd.c: Likewise.
42280         * nss/getent.c: Likewise.
42281         * nss/makedb.c: Likewise.
42282         * posix/getconf.c: Likewise.
42283         * scripts/test-installation.pl: Likewise.
42285         * All files with FSF copyright notices: Update copyright dates
42286         using scripts/update-copyrights.
42287         * intl/plural.c: Regenerated.
42288         * locale/programs/charmap-kw.h: Likewise.
42289         * locale/programs/locfile-kw.h: Likewise.
42291 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42293         * sysdeps/unix/sysv/linux/configure: Regenerated.
42294         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42295         the linux/fanotify.h header.
42296         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42297         HAVE_LINUX_FANOTIFY_H is defined.
42299 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42301         * benchtests/cos-inputs: New inputs.
42302         * benchtests/sin-inputs: Likewise.
42304         * benchtests/atan-inputs: New inputs. Fix name of multiple
42305         precision fallback inputs.
42307         * benchtests/atanh-inputs: New inputs.
42308         * benchtests/tanh-inputs: Likewise.
42310         * benchtests/acosh-inputs: New inputs.
42311         * benchtests/asinh-inputs: Likewise.
42313         * benchtests/cosh-inputs: New inputs.
42314         * benchtests/sinh-inputs: Likewise.
42316         * benchtests/acos-inputs: Add more inputs.
42317         * benchtests/asin-inputs: Likewise.
42319 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42321         [BZ #16375]
42322         * manual/arith.texi: Fix spelling.
42323         * manual/charset.texi: Likewise.
42324         * manual/errno.texi: Likewise.
42325         * manual/filesys.texi: Likewise.
42326         * manual/lang.texi: Likewise.
42327         * manual/llio.texi: Likewise.
42328         * manual/locale.texi: Likewise.
42329         * manual/message.texi: Likewise.
42330         * manual/resource.texi: Likewise.
42331         * manual/search.texi: Likewise.
42332         * manual/setjmp.texi: Likewise.
42333         * manual/stdio.texi: Likewise.
42334         * manual/string.texi: Likewise.
42335         * manual/sysinfo.texi: Likewise.
42336         * manual/time.texi: Likewise.
42338 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42340         * po/sl.po: New file.
42342 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42344         * .gitignore: Add core/.gdbinit/.gdb_history.
42346 2013-12-27  Allan McRae  <allan@archlinux.org>
42348         [BZ #16369]
42349         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42350         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42352 2013-12-24  Brooks Moses  <bmoses@google.com>
42354         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42355         all compilers that claim C++98 compliance, not just GCC.
42356         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42357         Likewise.
42359 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42361         * NEWS: Restore accidentally deleted bug-fix entries.
42363 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42364             Ondřej Bílka  <neleai@seznam.cz>
42366         [BZ #15073]
42367         * malloc/malloc.c (_int_free): Perform sanity check only if we
42368         have_lock.
42370 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42372         [BZ #12986]
42373         * manual/stdio.texi (String Input Conversions): Clarify that character
42374         classes are not supported.
42376 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42380 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42382         [BZ #16337]
42383         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42384         Calculate results for small negative arguments directly rather
42385         than using reflection formula with special underflow handling.
42387         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42388         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42389         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42390         (fchflags): Likewise.
42391         (revoke): Likewise.
42392         (setlogin): Likewise.
42393         (sigaltstack): Likewise.
42394         (wait4): Likewise.
42395         (sigblock): Remove.
42396         (sigsetmask): Likewise.
42397         (wait3): Likewise.
42398         (waitpid): Likewise.
42399         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42400         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42401         file.
42402         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42403         * sysdeps/unix/bsd/Makefile: ... here.
42404         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42405         * sysdeps/unix/bsd/Versions: ... here.
42406         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42407         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42408         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42409         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42410         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42411         * sysdeps/unix/bsd/sigblock.c: ... here.
42412         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42413         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42414         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42415         * sysdeps/unix/bsd/sigvec.c: ... here.
42416         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42417         * sysdeps/unix/bsd/tcdrain.c: ... here.
42418         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42419         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42420         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42421         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42422         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42423         * sysdeps/unix/bsd/wait.c: ... here.
42424         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42425         * sysdeps/unix/bsd/wait3.c: ... here.
42426         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42427         * sysdeps/unix/bsd/waitpid.c: ... here.
42429 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42431         [BZ #16356]
42432         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42433         round-to-nearest for [!USE_AS_EXPM1L].
42434         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42435         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42436         more tests of exp and exp10.  Expect some exp10 tests to miss
42437         exceptions or fail in directed rounding modes.
42438         * math/auto-libm-test-out: Regenerated.
42439         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42440         (exp10_test_tonearest): New function.
42441         (exp10_towardzero_test_data): New array.
42442         (exp10_test_towardzero): New function.
42443         (exp10_downward_test_data): New array.
42444         (exp10_test_downward): New function.
42445         (exp10_upward_test_data): New array.
42446         (exp10_test_upward): New function.
42447         (main): Call the new functions.
42448         * sysdeps/i386/fpu/libm-test-ulps: Update.
42449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42451 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42453         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42454         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42455         * math/auto-libm-test-out: Regenerated.
42456         * math/libm-test.inc (acosh_test_data): Add more tests.
42457         (atanh_test_data): Likewise.
42458         (ceil_test_data): Likewise.
42459         (copysign_test_data): Likewise.
42460         * sysdeps/i386/fpu/libm-test-ulps: Update.
42461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42463         * timezone/checktab.awk: Update from tzcode 2013i.
42464         * timezone/private.h: Likewise.
42465         * timezone/scheck.c: Likewise.
42466         * timezone/tzfile.h: Likewise.
42467         * timezone/tzselect.ksh: Likewise.
42468         * timezone/zdump.c: Likewise.
42469         * timezone/zic.c: Likewise.
42471         * math/auto-libm-test-in: Add tests of cpow.
42472         * math/auto-libm-test-out: Regenerated.
42473         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42474         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42475         mpc_cc_c.
42476         (func_calc_desc): Add mpc_cc_c union field.
42477         (test_functions): Add cpow.
42478         (special_fill_2pi): New function.
42479         (special_real_inputs): Add 2pi.
42480         (calc_generic_results): Handle mpc_cc_c.
42481         * sysdeps/i386/fpu/libm-test-ulps: Update.
42482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42484         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42485         csqrt, ctan and ctanh.
42486         * math/auto-libm-test-out: Regenerated.
42487         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42488         (TEST_COND_x86): Likewise.
42489         (ccos_test_data): Use AUTO_TESTS_c_c.
42490         (ccosh_test_data): Likewise.
42491         (cexp_test_data): Likewise.
42492         (clog_test_data): Likewise.
42493         (csqrt_test_data): Likewise.
42494         (ctan_test_data): Likewise.
42495         (ctan_tonearest_test_data): Likewise.
42496         (ctan_towardzero_test_data): Likewise.
42497         (ctan_downward_test_data): Likewise.
42498         (ctan_upward_test_data): Likewise.
42499         (ctanh_test_data): Likewise.
42500         (ctanh_tonearest_test_data): Likewise.
42501         (ctanh_towardzero_test_data): Likewise.
42502         (ctanh_downward_test_data): Likewise.
42503         (ctanh_upward_test_data): Likewise.
42504         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42505         mpc_c_c.
42506         (func_calc_desc): Add mpc_c_c union field.
42507         (FUNC_mpc_c_c): New macro.
42508         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42509         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42510         ctanh.
42511         (special_fill_min_subnorm_p120): New function.
42512         (special_real_inputs): Add min_subnorm_p120.
42513         (calc_generic_results): Handle mpc_c_c.
42514         * sysdeps/i386/fpu/libm-test-ulps: Update.
42515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42517 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42519         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42520         (do_sin_slow): New functions.
42521         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42522         (cslow2, csloww1, csloww2): Use the new functions.
42524         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42525         Use M to change sign of result instead of X.  Assume X is
42526         positive.
42527         (csloww1): Likewise.
42528         (__sin): Adjust.
42529         (__cos): Adjust.
42531         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42532         arguments A and DA.
42533         (__sin): Adjust.
42534         (__cos): Likewise.
42536         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42537         (__cos): Likewise.
42538         (sloww1): Don't adjust sign of DX.
42539         (csloww1): Likewise.
42540         (sloww2): Use X directly and don't adjust sign of DX.
42541         (csloww2): Likewise.
42543 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42545         * math/auto-libm-test-in: Add tests of cabs and carg.
42546         * math/auto-libm-test-out: Regenerated.
42547         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42548         (carg_test_data): Likewise.
42549         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42550         mpc_c_f.
42551         (func_calc_desc): Add mpc_c_f union field.
42552         (test_functions): Add cabs and carg.
42553         (calc_generic_results): Handle mpc_c_f.
42555         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42556         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42557         as a macro and a compat symbol.
42558         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42559         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42560         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42561         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42562         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42563         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42564         not use .hidden.
42565         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42566         Likewise.
42567         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42568         Likewise.
42569         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42570         Likewise.
42571         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42572         Likewise.
42573         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42574         Likewise.
42575         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42576         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42577         from GLIBC_2.3.2.
42579 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42583 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42585         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42586         trailing whitespace removed.
42587         * scripts/config.guess: Update to version 2013-11-29.
42588         * scripts/config.sub: Update to version 2013-10-01.
42590         * math/auto-libm-test-in: Add tests of sincos.
42591         * math/auto-libm-test-out: Regenerated.
42592         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42593         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42594         mpfr_f_11.
42595         (func_calc_desc): Add mpfr_f_11 union field.
42596         (test_functions): Add sincos.
42597         (calc_generic_results): Handle mpfr_f_11.
42598         * sysdeps/i386/fpu/libm-test-ulps: Update.
42599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42601 2013-12-19  Andreas Schwab  <schwab@suse.de>
42603         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42604         CALL_MCOUNT.
42605         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42606         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42607         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42609 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42611         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42612         * sysdeps/i386/fpu/libm-test-ulps: Update.
42613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42615         [BZ #16293]
42616         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42617         round-to-nearest mode when using frndint.
42618         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42619         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42620         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42621         Likewise.
42622         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42623         sinh test to fail.
42624         * math/auto-libm-test-out: Regenerated.
42625         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42626         (TEST_COND_x86): Likewise.
42627         (expm1_tonearest_test_data): New array.
42628         (expm1_test_tonearest): New function.
42629         (expm1_towardzero_test_data): New array.
42630         (expm1_test_towardzero): New function.
42631         (expm1_downward_test_data): New array.
42632         (expm1_test_downward): New function.
42633         (expm1_upward_test_data): New array.
42634         (expm1_test_upward): New function.
42635         (main): Run the new test functions.
42636         * sysdeps/i386/fpu/libm-test-ulps: Update.
42637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42639         * include/features.h: Update comment documenting feature test
42640         macros.  Mention _DEFAULT_SOURCE in comment.
42641         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42642         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42643         _BSD_SOURCE and _SVID_SOURCE.
42644         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42645         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42646         !_SVID_SOURCE]: Likewise.
42647         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42648         (__USE_POSIX_IMPLICITLY): Define.
42649         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42650         (_POSIX_SOURCE): Undefine and redefine.
42651         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42652         (_POSIX_C_SOURCE): Likewise.
42653         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42654         (Feature Test Macros): Update documentation of default features.
42656 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42658         * benchtests/Makefile: Add bench-strtok.
42659         * benchtests/bench-strtok.c: New file: strtok benchtest.
42661 2013-12-19  Allan McRae  <allan@archlinux.org>
42663         * manual/install.texi: Suppress menu for plain text output.
42664         * INSTALL: Regenerated.
42666 2013-12-18  Brooks Moses  <bmoses@google.com>
42668         [BZ #15846]
42669         * misc/getauxval.c: Include errno.h.
42670         (__getauxval): Set errno to ENOENT if the requested type is not
42671         found.
42672         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42673         don't declare with __attribute_const__.
42674         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42675         * manual/startup.texi: Document that getauxval sets errno.
42677 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42679         * math/auto-libm-test-in: Add tests of jn and yn.
42680         * math/auto-libm-test-out: Regenerated.
42681         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42682         (yn_test_data): Likewise.
42683         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42684         mpfr_if_f.
42685         (func_calc_desc): Add mpfr_if_f union field.
42686         (FUNC_mpfr_if_f): New macro.
42687         (test_functions): Add jn and yn.
42688         (calc_generic_results): Assert type of second input for
42689         mpfr_ff_f.  Handle mpfr_if_f.
42690         (output_for_one_input_case): Disable all checking for arguments
42691         fitting floating-point types in case of an integer argument.
42692         * sysdeps/i386/fpu/libm-test-ulps: Update.
42693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42696         Don't expect fegetround reference in libm.so.
42698 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42700         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42701         $(config-cflags-nofma).
42703 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42705         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42706         * math/auto-libm-test-out: Regenerated.
42708         [BZ #16338]
42709         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42710         to determine exponent and adjust argument to have exponent of -1.
42711         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42712         log2.
42713         * math/auto-libm-test-out: Regenerated.
42714         * sysdeps/i386/fpu/libm-test-ulps: Update.
42715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42717 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42719         * manual/probes.texi: Remove cases when per-thread arenas are
42720         disabled.
42722 2013-12-18  Andreas Schwab  <schwab@suse.de>
42724         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42725         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42726         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42727         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42728         * sysdeps/i386/i686/multiarch/Makefile: Update.
42729         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42731 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42733         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42734         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42736 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42738         [BZ #15968]
42739         Support TZ transition times < 00:00:00.
42740         This is needed for version-3 tz-format files; it supports time
42741         stamps past 2037 for America/Godthab (the only entry in the tz
42742         database for which this change is relevant).
42743         * manual/time.texi (TZ Variable): Document transition times
42744         from -167:59:59 through -00:00:01.
42745         * time/tzset.c (tz_rule): Time of day is now signed.
42746         (__tzset_parse_tz): Parse negative time of day.
42748         Document TZ transition times >= 25:00:00.
42749         * manual/time.texi (TZ Variable): Document transition times from
42750         25:00:00 through 167:59:59.  These are already supported, and this
42751         support will help with version-3 tz-format files.
42753         * manual/time.texi (TZ Variable): Modernize North America example
42754         to reflect current (i.e., 2007-and-later) daylight saving rules.
42756         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42758 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42760         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42761         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42762         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42763         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42764         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42765         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42766         * sysdeps/unix/bsd/clock.c: Likewise.
42767         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42768         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42769         * sysdeps/unix/bsd/init-posix.c: Likewise.
42770         * sysdeps/unix/bsd/poll.c: Likewise.
42771         * sysdeps/unix/bsd/ptsname.c: Likewise.
42772         * sysdeps/unix/bsd/seekdir.c: Likewise.
42773         * sysdeps/unix/bsd/setegid.c: Likewise.
42774         * sysdeps/unix/bsd/seteuid.c: Likewise.
42775         * sysdeps/unix/bsd/setgid.c: Likewise.
42776         * sysdeps/unix/bsd/setrgid.c: Likewise.
42777         * sysdeps/unix/bsd/setruid.c: Likewise.
42778         * sysdeps/unix/bsd/setsid.c: Likewise.
42779         * sysdeps/unix/bsd/setuid.c: Likewise.
42780         * sysdeps/unix/bsd/sigaction.c: Likewise.
42781         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42782         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42783         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42784         * sysdeps/unix/bsd/telldir.c: Likewise.
42785         * sysdeps/unix/bsd/times.c: Likewise.
42786         * sysdeps/unix/bsd/usleep.c: Likewise.
42788         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42789         ($(objpfx)libbsd-compat.a): Remove rule.
42791         * include/features.h (__FAVOR_BSD): Do not define.
42792         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42793         features conflicting with POSIX.
42794         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42795         (_BSD_SOURCE): Remove description of not being a subset of other
42796         feature test macros.
42797         * manual/job.texi (getpgrp): Do not document BSD version.
42798         (getpgid): Do not document by reference to BSD getpgrp.
42799         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42800         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42801         * signal/signal.h [__FAVOR_BSD]: Likewise.
42802         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42803         instead of making contents conditional on [__FAVOR_BSD].
42804         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42806 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42810 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42812         [BZ #16314]
42813         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42814         values below 2**-450, not 2**-500.
42815         * math/auto-libm-test-in: Don't allow spurious underflow from
42816         hypot.
42817         * math/auto-libm-test-out: Regenerated.
42819         [BZ #16316]
42820         [BZ #16330]
42821         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42822         values of ha and hb and sort them after adjusting subnormal
42823         arguments.
42824         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42825         Likewise.
42826         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42827         values of ea and eb and sort them after adjusting subnormal
42828         arguments.
42829         * math/auto-libm-test-in: Do not expect some hypot tests of
42830         subnormals to fail.  Add more hypot tests.
42831         * math/auto-libm-test-out: Regenerated.
42833 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42835         [BZ #13304]
42836         * sysdeps/sh/s_fma.c: New file.
42837         * sysdeps/sh/s_fmaf.c: New file.
42838         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42839         version.
42840         * sysdeps/sh/Implies: Add sh/soft-fp.
42842 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42844         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42845         level of indirection to members `objname', `errstring', `malloced'.
42846         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42847         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42848         it as the __longjmp argument (just pass 1 instead).
42849         (_dl_catch_error): Initialize C with argument pointers and address of
42850         volatile local ERRCODE rather than copying values out of C at return.
42852 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42854         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42855         * math/auto-libm-test-out: Regenerated.
42856         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42857         (hypot_test_data): Likewise.
42858         (pow_test_data): Likewise.
42859         (pow_tonearest_test_data): Likewise.
42860         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42861         mpfr_ff_f.
42862         (func_calc_desc): Add mpfr_ff_f union field.
42863         (FUNC_mpfr_ff_f): New macro.
42864         (test_functions): Add atan2, hypot and pow.
42865         (special_fill_min): New function.
42866         (special_fill_minus_min): Likewise.
42867         (special_fill_min_subnorm): Likewise.
42868         (special_fill_minus_min_subnorm): Likewise.
42869         (special_real_inputs): Add min, -min, min_subnorm and
42870         -min_subnorm.
42871         (calc_generic_results): Handle mpfr_ff_f.
42872         * sysdeps/i386/fpu/libm-test-ulps: Update.
42873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42875 2013-12-16  Will Newton  <will.newton@linaro.org>
42877         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42878         (Aligned Memory Blocks): Add documentation for aligned_alloc
42879         and suggest it as an alternative to posix_memalign.
42880         (Hooks for Malloc): Document __memalign_hook is also called
42881         for aligned_alloc.  (Summary of Malloc): Add summary for
42882         aligned alloc.  Document __memalign_hook is also called
42883         for aligned_alloc.
42885 2013-12-16  Will Newton  <will.newton@linaro.org>
42887         * manual/memory.texi (Malloc Examples): Clarify default
42888         alignment documentation.  Suggest posix_memalign rather
42889         than memalign or valloc.
42890         (Aligned Memory Blocks): Remove suggestion to use memalign
42891         or valloc.  Remove obsolete comment about BSD.
42892         Document memalign errno values and mark the function obsolete.
42893         Document posix_memalign returned error codes.  Mark valloc
42894         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42895         called for posix_memalign and valloc.
42896         (Summary of Malloc): Add posix_memalign to function summary.
42897         __memalign_hook is also called for posix_memalign and valloc.
42899 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42901         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42902         TAYLOR_SIN.
42903         (__sin): Adjust.
42904         (__cos): Likewise.
42905         (sloww): Use mynumber union.  Expand ternary operator into
42906         if-else statements.
42907         (cslow): use mynumber union.
42909 2013-12-16  Allan McRae  <allan@archlinux.org>
42911         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42912         * configure: Regenerated.
42914         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42916         [BZ #14120]
42917         * configure.ac: Added --enable-maintainer-mode. Check for
42918         autoconf when enabled.
42919         * configure: Regenerated.
42921         * nscd/nscd.service: New file.
42922         * nscd/nscd.tmpfiles: New file.
42924 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42926         [BZ #12100]
42927         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42928         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42929         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42930         (strstr): Add __strstr_sse2_unaligned ifunc.
42931         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42932         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42933         (strcasestr): Remove __strcasestr_sse42 ifunc.
42934         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42935         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42938 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42940         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42941         * sysdeps/sh/bits/fenv.h: ... here.
42942         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42944 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42946         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42949         hypotf multiarch implementations.
42950         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42951         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42952         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42953         multiarch hypot for PPC64.
42954         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42955         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42956         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42957         multiarch hypotf for PPC64.
42959         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42960         modff multiarch implementations.
42961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42964         multiarch modf for PPC64.
42965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42968         multiarch modff for PPC64.
42970         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42971         and logl multiarch implementations.
42972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42975         multiarch logb for PPC64.
42976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42979         multiarch logb for PPC64.
42980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42983         multiarch logb for PPC64.
42985         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42986         isinff multiarch implementation.
42987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42988         file.
42989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42991         multiarch isinf for PPC64.
42992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42993         file.
42994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42995         multiarch isinff for PPC64.
42997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42998         finitef multiarch implementation.
42999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43000         file.
43001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43003         multiarch finite for PPC64.
43004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43005         file.
43006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43007         multiarch finitef for PPC64.
43009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43010         lrint multiarch implementation.
43011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43012         file.
43013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43015         multiarch llrint for PPC64.
43016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43017         multiarch lrint for PPC64.
43019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43020         copysignf multiarch implementation.
43021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43022         file.
43023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43024         file.
43025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43026         multiarch copysign for PPC64.
43027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43028         multiarch copysignf for PPC64.
43030         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43031         multiarch implementation.
43032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43033         file.
43034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43035         file.
43036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43037         file.
43038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43039         file.
43040         multiarch llround for PPC64.
43041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43042         multiarch trunc for PPC64.
43043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43044         multiarch truncf for PPC64.
43046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43047         multiarch implementation.
43048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43049         file.
43050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43051         file.
43052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43053         file.
43054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43055         file.
43056         multiarch llround for PPC64.
43057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43058         multiarch round for PPC64.
43059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43060         multiarch roundf for PPC64.
43062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43063         multiarch implementation.
43064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43065         file.
43066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43067         file.
43068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43069         file.
43070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43071         file.
43072         multiarch llround for PPC64.
43073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43074         multiarch floor for PPC64.
43075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43076         multiarch floorf for PPC64.
43078         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43079         multiarch implementation.
43080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43081         file.
43082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43083         file.
43084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43085         file.
43086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43087         file.
43088         multiarch llround for PPC64.
43089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43090         multiarch ceil for PPC64.
43091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43092         multiarch ceilf for PPC64.
43094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43095         multiarch implementation.
43096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43097         file.
43098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43099         file.
43100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43101         file.
43102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43103         multiarch llround for PPC64.
43104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43105         multiarch lround for PPC64.
43107         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43108         multiarch implementation.
43109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43112         file.
43113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43116         multiarch isnan for PPC64.
43117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43118         multiarch isnanf for PPC64.
43120         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43121         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43122         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43123         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43124         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43127         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43128         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43129         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43130         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43133         multiarch implementations.
43134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43135         (__libc_ifunc_impl_list): Likewise.
43136         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43137         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43138         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43139         multiarch stpcpy for PPC64.
43141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43142         multiarch implementations.
43143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43144         (__libc_ifunc_impl_list): Likewise.
43145         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43146         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43147         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43148         multiarch strcpy for PPC64.
43150         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43151         redefine function name.
43152         (_wordcopy_fwd_dest_aligned): Likewise.
43153         (_wordcopy_bwd_aligned): Likewise.
43154         (_wordcopy_bwd_dest_aligned): Likewise.
43155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43156         multiarch implementations.
43157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43158         (__libc_ifunc_impl_list): Likewise.
43159         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43160         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43161         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43162         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43163         multiarch wcscpy for PPC64.
43165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43166         multiarch implementations.
43167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43168         (__libc_ifunc_impl_list): Likewise.
43169         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43170         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43171         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43172         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43173         multiarch wcscpy for PPC64.
43175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43176         multiarch implementations.
43177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43178         (__libc_ifunc_impl_list): Likewise.
43179         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43180         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43181         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43182         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43183         multiarch wcsrchr for PPC64.
43185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43186         multiarch implementations.
43187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43188         (__libc_ifunc_impl_list): Likewise.
43189         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43190         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43191         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43192         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43193         multiarch wcschr for PPC64.
43195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43196         multiarch implementations.
43197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43198         (__libc_ifunc_impl_list): Likewise.
43199         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43200         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43201         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43202         multiarch strchrnul for PPC64.
43204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43205         implementations.
43206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43207         (__libc_ifunc_impl_list): Likewise.
43208         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43209         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43210         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43211         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43212         strchr for PPC64.
43214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43215         implementations.
43216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43217         (__libc_ifunc_impl_list): Likewise.
43218         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43219         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43220         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43221         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43222         strncmp for PPC64.
43224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43225         multiarch implementations.
43226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43227         (__libc_ifunc_impl_list): Likewise.
43228         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43229         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43230         strncasecmp for PPC64.
43231         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43232         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43233         multiarch strncasecmp_l for PPC64.
43235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43236         multiarch implementations.
43237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43238         (__libc_ifunc_impl_list): Likewise.
43239         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43240         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43241         multiarch strcasecmp for PPC64.
43242         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43243         file.
43244         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43245         multiarch strcasecmp_l for PPC64.
43247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43248         implementations.
43249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43250         (__libc_ifunc_impl_list): Likewise.
43251         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43252         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43253         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43254         strnlen for PPC64.
43256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43257         implementations.
43258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43259         (__libc_ifunc_impl_list): Likewise.
43260         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43261         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43262         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43263         strlen for PPC64.
43265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43266         implementations.
43267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43268         (__libc_ifunc_impl_list): Likewise.
43269         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43270         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43271         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43272         rawmemrchr for PPC64.
43274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43275         implementation.
43276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43277         (__libc_ifunc_impl_list): Likewise.
43278         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43279         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43280         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43281         memrchr for PPC64.
43283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43284         implementation.
43285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43286         (__libc_ifunc_impl_list): Likewise.
43287         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43288         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43289         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43290         memchr for PPC64.
43292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43293         implementation.
43294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43295         (__libc_ifunc_impl_list): Likewise.
43296         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43297         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43298         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43299         mempcpy for PPC64.
43301         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43302         avoid cretion of __bzero symbol.
43303         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43304         Likewise.
43305         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43306         Likewise.
43307         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43308         Likewise.
43309         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43310         multiarch implementations.
43311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43312         (__libc_ifunc_impl_list): Likewise.
43313         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43314         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43315         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43316         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43317         bzero for PPC32.
43318         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43319         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43320         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43321         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43322         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43323         memset for PPC64.
43324         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43326         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43328         implementations.
43329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43330         (__libc_ifunc_impl_list): Likewise.
43331         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43332         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43333         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43334         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43335         memcmp for PPC64.
43337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43338         multiarch for POWER/PPC64.
43339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43340         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43341         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43342         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43343         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43344         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43345         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43346         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43347         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43348         memcpy for PPC64.
43350         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43351         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43352         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43353         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43354         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43355         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43356         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43357         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43358         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43359         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43360         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43361         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43362         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43363         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43364         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43373 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43375         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43377 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43379         * benchtests/Makefile (bench): Add exp2 and log2.
43380         (LDLIBS-bench-exp2): Add -lm.
43381         (LDLIBS-bench-log2): Likewise.
43382         * benchtests/exp2-inputs: New inputs file.
43383         * benchtests/log2-inputs: New inputs file.
43384         * benchtests/log-inputs: Add new inputs.
43385         * benchtests/tan-inputs: Likewise.
43387 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43389         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43390         definition...
43391         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43392         (csloww2): ... from here.
43394         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43395         instead of structures.
43396         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43397         (POLYNOMIAL): Likewise.
43398         (TAYLOR_SLOW): Likewise.
43399         (__sin): Likewise.
43400         (__cos): Likewise.
43401         (slow1): Likewise.
43402         (slow2): Likewise.
43403         (sloww): Likewise.
43404         (sloww1); Likewise.
43405         (sloww2): Likewise.
43406         (bsloww1): Likewise.
43407         (bsloww2): Likewise.
43408         (cslow2): Likewise.
43409         (csloww): Likewise.
43410         (csloww1): Likewise.
43411         (csloww2): Likewise.
43413 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43415         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43416         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43417         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43418         * malloc/hooks.c (realloc_check): Likewise.
43420         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43421         * malloc/arena.c: Remove PER_THREAD conditional.
43422         [!PER_THREAD]: Remove code.
43423         (ptmalloc_unlock_all2): Likewise.
43424         (ptmalloc_init): Likewise.
43425         (_int_new_arena): Likewise.
43426         (arena_get2): Likewise.
43427         * malloc/hooks.c (__malloc_get_state): Likewise.
43428         (__malloc_set_state): Likewise.
43429         * malloc/malloc.c: Likewise.
43430         (struct malloc_state): Likewise.
43431         (struct malloc_par): Likewise.
43432         (__libc_realloc): Likewise.
43433         (__libc_mallopt): Likewise.
43435 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43437         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43439 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43441         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43442         macro to a function.  Check for zero perturb_byte.
43443         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43445         * malloc/malloc.c: (force_reg): Remove.
43446         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43447         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43448         force_reg by atomic_forced_read.
43449         * malloc/arena.c (ptmalloc_init): Likewise.
43450         * malloc/hooks.c (top_check): Likewise.
43452 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43456 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43460 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43462         * math/auto-libm-test-in: Add tests of lgamma.
43463         * math/auto-libm-test-out: Regenerated.
43464         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43465         (M_LOG_2_SQRT_PIl): Likewise.
43466         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43467         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43468         mpfr_f_f1.
43469         (func_calc_desc): Add mpfr_f_f1 union field.
43470         (ARGS1): New macro.
43471         (ARGS2): Likewise.
43472         (ARGS3): Likewise.
43473         (ARGS4): Likewise.
43474         (RET1): Likewise.
43475         (RET2): Likewise.
43476         (CALC): Likewise.
43477         (FUNC): Likewise.
43478         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43479         (test_functions): Add lgamma.
43480         (calc_generic_results): Handle mpfr_f_f1.
43481         * sysdeps/i386/fpu/libm-test-ulps: Update.
43482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43484 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43486         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43487         __mpn_add_n for PowerPC64/POWER7.
43488         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43489         __mpn_sub_n for PowerPC64/POWER7.
43491         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43492         __mpn_addmul_1 for PowerPC64.
43493         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43494         __mpn_submul_1 for PowerPC64.
43495         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43496         for PowerPC64.
43497         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43498         for PowerPC64.
43500 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43502         [BZ #15089]
43503         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43505 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43507         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43509         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43510         add multiarch folders.
43511         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43512         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43513         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43514         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43515         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43516         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43517         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43518         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43519         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43520         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43521         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43530         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43532         New file.
43533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43534         New file.
43535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43536         multiarch __ieee754_hypot for PowerPC32.
43537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43538         New file.
43539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43540         New file.
43541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43542         multiarch __ieee754_hypotf for PowerPC32.
43544         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43545         long_double_symbol only if __logbl is defined.
43546         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43547         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43548         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43549         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43550         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43551         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43552         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43553         path for implementation.
43554         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43555         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43557         logb, and logbl multiarch implementations for PowerPC32.
43558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43559         file.
43560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43561         file.
43562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43563         multiarch logb for PowerPC32.
43564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43565         file.
43566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43567         file.
43568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43569         multiarch logbf for PowerPC32.
43570         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43572         file.
43573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43574         multiarch logbl implementation for PowerPC32.
43576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43577         and modff multiarch implementations.
43578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43579         New file.
43580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43581         New file.
43582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43583         multiarch modf for PowerPC32.
43584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43585         New file.
43586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43587         New file.
43588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43589         multiarch modff for PowerPC32.
43591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43592         and lrintf multiarch implementations.
43593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43594         New file.
43595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43596         New file.
43597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43598         multiarch lrint for PowerPC32.
43599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43600         file: multiarch lrintf for PowerPC32.
43602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43603         and lroundf multiarch implementations.
43604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43605         New file.
43606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43607         New file.
43608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43609         New file.
43610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43611         multiarch lround for PowerPC32.
43612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43613         file: multiarch lroundf for PowerPC32.
43615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43616         copysign and copysignf multiarch implementations.
43617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43618         New file.
43619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43620         New file.
43621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43622         file: multiarch copysign for PowerPC32.
43623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43624         file: multiarch copysignf for PowerPC32.
43626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43627         and truncf multiarch implementations.
43628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43629         New file.
43630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43631         file.
43632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43633         multiarch trunc for PowerPC32.
43634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43635         New file.
43636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43637         New file.
43638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43639         multiarch truncf for PowerPC32.
43641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43642         and roundf multiarch implementations.
43643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43644         New file.
43645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43646         file.
43647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43648         multiarch round for PowerPC32.
43649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43650         New file.
43651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43652         New file.
43653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43654         multiarch roundf for PowerPC32.
43656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43657         and floorf multiarch implementations.
43658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43659         New file.
43660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43661         file.
43662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43663         multiarch floor for PowerPC32.
43664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43665         New file.
43666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43667         New file.
43668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43669         multiarch floorf for PowerPC32.
43671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43672         and ceilf multiarch implementations.
43673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43674         New file.
43675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43676         file.
43677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43678         multiarch ceil for PowerPC32.
43679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43680         New file.
43681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43682         file.
43683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43684         multiarch ceilf for PowerPC32.
43686         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43687         is defined.
43688         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43689         FINITEF is defined.
43690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43691         and finitef multiarch implementations.
43692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43693         New file.
43694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43695         file.
43696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43697         multiarch finite for PowerPC32.
43698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43699         New file.
43700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43701         file: multiarch finitef for PowerPC32.
43703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43704         and isinff multiarch implementations.
43705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43706         file.
43707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43708         file.
43709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43710         multiarch isinf for PowerPC32.
43711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43712         New file.
43713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43714         multiarch isinff for PowerPC32.
43716         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43717         alias when __isnan is defined.
43718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43719         and isnanf multiarch implementations.
43720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43721         file.
43722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43723         file.
43724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43725         file.
43726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43727         file.
43728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43729         multiarch isnan for PowerPC32.
43730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43731         New file.
43732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43733         New file.
43734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43735         multiarch isnanf for PowerPC32.
43737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43738         and sqrtf multiarch implementations.
43739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43740         file.
43741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43742         file.
43743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43744         multiarch sqrt for PowerPC32.
43745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43746         file.
43747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43748         file.
43749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43750         multiarch sqrtf for PowerPC32.
43752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43753         and llroundf multiarch implementations.
43754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43755         New file.
43756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43757         New file.
43758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43759         New file.
43760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43761         file: multiarch llround for PowerPC32.
43762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43763         file: multiarch llroundf for PowerPC32.
43765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43766         multiarch PowerPC32 fpu implementations.
43767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43768         New file.
43769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43770         New file.
43771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43772         multiarch llrint for PowerPC32.
43773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43774         New file.
43775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43776         New file.
43777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43778         file.
43780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43782         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43783         file.
43784         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43785         file.
43786         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43787         file.
43788         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43789         multiarch wordcopy for PPC32.
43790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43791         wordcopy objects.
43792         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43793         (__libc_ifunc_impl_list): Likewise.
43794         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43795         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43796         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43797         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43798         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43799         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43801         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43802         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43803         file.
43804         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43805         file.
43806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43807         file.
43808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43809         multiarch wcscpy for PPC32.
43810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43811         multiarch objects.
43812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43813         (__libc_ifunc_impl_list): Likewise.
43814         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43815         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43816         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43817         sysdeps/powerpc/power6/wcscpy.c.
43819         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43821         file.
43822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43823         file.
43824         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43825         file.
43826         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43827         multiarch wcsrchr for PPC32.
43828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43829         multiarch objects.
43830         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43831         (__libc_ifunc_impl_list): Likewise.
43832         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43833         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43834         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43835         sysdeps/powerpc/power6/wcsrchr.c.
43837         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43838         file.
43839         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43840         file.
43841         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43842         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43843         multiarch wcschr for PPc32.
43844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43845         multiarch objects.
43846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43847         (__libc_ifunc_impl_list): Likewise.
43848         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43849         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43850         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43851         sysdeps/powerpc/power6/wcschr.c.
43853         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43854         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43855         file.
43856         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43857         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43858         file: multiarch strchr for PPC32.
43859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43860         multiarch objects.
43861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43862         (__libc_ifunc_impl_list): Likewise.
43864         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43865         name.
43866         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43867         file.
43868         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43869         file.
43870         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43871         multiarch strchrnul for PPC32.
43872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43873         multiarch objects.
43874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43875         (__libc_ifunc_impl_list): Likewise.
43877         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43878         file.
43879         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43880         multiarch strncasecmp for PPC32.
43881         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43882         file.
43883         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43884         multiarch strncasecmp_l for PPC32.
43885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43886         strncasecmp multiarch objects.
43887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43888         (__libc_ifunc_impl_list): Likewise.
43890         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43891         file.
43892         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43893         multiarch strncasecmp for PPC32.
43894         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43895         New file.
43896         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43897         multiarch strcasecmp_l for PPC32.
43898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43899         multiarch objects.
43900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43901         (__libc_ifunc_impl_list): Likewise.
43903         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43904         file.
43905         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43906         file.
43907         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43908         multiarch strncmp for PPC32.
43909         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43910         multiarch objects.
43911         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43912         (__libc_ifunc_impl_list): Likewise.
43914         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43915         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43916         file.
43917         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43918         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43920         multiarch objects.
43921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43922         (__libc_ifunc_impl_list): Likewise.
43924         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43925         file.
43926         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43927         file.
43928         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43929         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43930         multiarch objects.
43931         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43932         (__libc_ifunc_impl_list): Likewise.
43934         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43935         file.
43936         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43937         file.
43938         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43939         multiarch rawmemchr for PPC32.
43940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43941         multiarch objects.
43942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43943         (__libc_ifunc_impl_list): Likewise.
43945         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43946         file.
43947         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43948         file.
43949         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43950         file: memrchr multiarch for PPC32.
43951         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43952         multiarch objects.
43953         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43954         (__libc_ifunc_impl_list): Likewise.
43956         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43957         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43958         file.
43959         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43960         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43961         multiarch memchr for PPC32.
43962         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43963         multiarch objects.
43964         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43965         (__libc_ifunc_impl_list): Likewise.
43967         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43968         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43969         file.
43970         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43971         file.
43972         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43973         file: multiarch mempcpy for PPC32.
43974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43975         multiarch objects.
43976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43977         (__libc_ifunc_impl_list): Likewise.
43979         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43980         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43981         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43982         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43983         multiarch bzero for PPC32.
43984         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43985         file.
43986         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43987         file.
43988         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43989         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43990         file: multiarch memset for PPC32.
43991         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43992         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43993         memset multiarch objects.
43994         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43995         (__libc_ifunc_impl_list): Likewise.
43997         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43998         file.
43999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44001         memcmp for PPC32.
44002         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44003         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44004         multiarch objects.
44005         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44006         (__libc_ifunc_impl_list): Likewise.
44008         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44009         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44010         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44011         file.
44012         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44013         file.
44014         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44015         file.
44016         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44017         multiarch memcpy for PPC32.
44018         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44019         multiarch objects.
44020         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44021         (__libc_ifunc_impl_list): Likewise.
44023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44024         support multiarch for POWER/PPC32.
44025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44026         Likewise.
44027         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44029         Implies file to make multiarch folder appers before the fpu and
44030         default folder for power4 configuration.
44032 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44034         * scripts/bench.pl: Append volatile keyword to type.
44036 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44038         * sysdeps/sh/sotruss-lib.c: New file.
44039         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44041 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44045 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44047         [BZ #6810]
44048         * math/w_tgamma.c: Include <errno.h>.
44049         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44050         * math/w_tgammaf.c: Include <errno.h>.
44051         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44052         * math/w_tgammal.c: Include <errno.h>.
44053         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44054         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44055         underflow.  Add more tgamma tests.
44056         * math/auto-libm-test-out: Regenerated.
44057         * sysdeps/i386/fpu/libm-test-ulps: Update.
44058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44060         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44061         sin, sinh, tan, tanh, tgamma, y0 and y1.
44062         * math/auto-libm-test-out: Regenerated.
44063         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44064         (TEST_COND_x86): Likewise.
44065         (M_E2l): Remove macro.
44066         (M_E3l): Likewise.
44067         (M_2_SQRT_PIl): Likewise.
44068         (M_SQRT_PIl): Likewise.
44069         (M_1_DIV_El): Likewise.
44070         (log_test_data): Use AUTO_TESTS_f_f.
44071         (log10_test_data): Likewise.
44072         (log1p_test_data): Likewise.
44073         (log2_test_data): Likewise.
44074         (sin_test_data): Likewise.
44075         (sin_tonearest_test_data): Likewise.
44076         (sin_towardzero_test_data): Likewise.
44077         (sin_downward_test_data): Likewise.
44078         (sin_upward_test_data): Likewise.
44079         (sinh_test_data): Likewise.
44080         (sinh_tonearest_test_data): Likewise.
44081         (sinh_towardzero_test_data): Likewise.
44082         (sinh_downward_test_data): Likewise.
44083         (sinh_upward_test_data): Likewise.
44084         (tan_test_data): Likewise.
44085         (tan_tonearest_test_data): Likewise.
44086         (tan_towardzero_test_data): Likewise.
44087         (tan_downward_test_data): Likewise.
44088         (tan_upward_test_data): Likewise.
44089         (tanh_test_data): Likewise.
44090         (tgamma_test_data): Likewise.
44091         (y0_test_data): Likewise.
44092         (y1_test_data): Likewise.
44093         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44094         (special_real_inputs): Add pi/4.
44095         * sysdeps/i386/fpu/libm-test-ulps: Update.
44096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44098 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44100         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44101         "longjmp_target" static probes.
44102         (__longjmp): Rename to __longjmp_symbol.
44103         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44104         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44105         on which longjmp to generate.
44106         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44107         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44108         probe.
44109         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44110         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44111         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44112         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44113         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44114         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44116         __longjmp_symbol based on which __longjmp to generate.
44117         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44118         probe.
44119         (setjmp): Rename to setjmp_symbol.
44120         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44121         (_setjmp): Rename to _setjmp_symbol.
44122         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44123         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44124         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44125         which setjmp to generate.
44126         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44127         "longjmp_target" static probes.
44129 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44131         * benchtests/README: Add note about output arguments.
44132         * benchtests/bench-sincos.c: Remove file.
44133         * benchtests/sincos-inputs: New file.
44134         * scripts/bench.pl: Identify output arguments and define
44135         static variables for them.
44137         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44139         [BZ #15941]
44140         * Makefile (INSTALL): Add install-plain.texi as the primary
44141         dependency.
44142         * manual/install-plain.texi: New file.
44143         * manual/install.texi: Include node directive only for
44144         non-plaintext output.
44146 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44148         * stdlib/longlong.h: Update from GCC.
44150         [BZ #6807]
44151         [BZ #15901]
44152         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44153         * math/w_j0f.c (y0f): Likewise.
44154         * math/w_j0l.c (__y0l): Likewise.
44155         * math/w_j1.c (y1): Likewise.
44156         * math/w_j1f.c (y1f): Likewise.
44157         * math/w_j1l.c (__y1l): Likewise.
44158         * math/w_jn.c (yn): Likewise.
44159         * math/w_jnf.c (ynf): Likewise.
44160         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44161         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44162         value for Bessel function domain errors outside _SVID_ mode.
44163         Adjust sign of return value for yn (negative integer, 0).
44164         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44165         by zero in return for negative x and set sign appropriately for
44166         negative n.
44167         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44168         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44169         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44170         expectations in error cases.
44171         (y1_test_data): Likewise.
44172         (yn_test_data): Likewise.
44173         * sysdeps/i386/fpu/libm-test-ulps: Update.
44174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44176 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44178         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44179         "64" to "64-v1".  Add "64-v2".
44180         (abi-64-options): Rename to ...
44181         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44182         (abi-64-condition): Rename to ...
44183         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44184         (abi-64-ld-soname): Rename to ...
44185         (abi-64-v1-ld-soname): ... this.
44186         (abi-64-v2-options): Define.
44187         (abi-64-v2-condition): Likewise.
44188         (abi-64-v2-ld-soname): Likewise.
44189         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44190         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44195 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44196             Alan Modra  <amodra@gmail.com>
44198         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44199         New versions for use with the ELFv2 ABI.
44200         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44201         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44202         declaration.
44203         (struct La_ppc64v2_retval): Likewise.
44204         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44205         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44206         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44207         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44208         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44209         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44210         Do not save or restore CR.
44211         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44212         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44213         return values for ELFv2 ABI.  Fix location of FPR return registers.
44214         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44215         updated values for _CALL_ELF == 2.
44216         (La_regs, La_retval, int_retval): Likewise.
44218 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44220         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44221         (FRAME_MIN_SIZE_PARM): Likewise.
44222         (FRAME_BACKCHAIN): Likewise.
44223         (FRAME_CR_SAVE): Likewise.
44224         (FRAME_LR_SAVE): Likewise.
44225         (FRAME_TOC_SAVE): Likewise.
44226         (FRAME_PARM_SAVE): Likewise.
44227         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44228         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44229         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44230         (call_mcount_parm_offset): New macro.
44231         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44232         (PROF): Use symbolic stack frame offsets.
44233         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44234         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44235         Redefine in terms of FRAME_MIN_SIZE.
44236         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44237         (_dl_profile_resolve): Likewise.  Update comment.
44238         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44239         symbols stack frame offsets.
44240         (__sigsetjmp): Likewise.
44241         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44242         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44243         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44244         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44247         (FRAME_BACKCHAIN): Remove.
44248         (FRAME_CR_SAVE): Likewise.
44249         (FRAME_LR_SAVE): Likewise.
44250         (FRAME_COMPILER_DW): Likewise.
44251         (FRAME_LINKER_DW): Likewise.
44252         (FRAME_TOC_SAVE): Likewise.
44253         (FRAME_PARM_SAVE): Likewise.
44254         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44255         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44256         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44258         (CHECK_SP): Use symbolic stack frame offsets.
44259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44260         zone" instead of caller's parameter save area for temp storage.
44261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44262         Likewise.  Also, use symbolic stack frame offsets.
44263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44264         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44265         our own stack frame instead of the caller's.
44266         (__socket): Use symbolic stack frame offsets.
44268 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44269             Alan Modra  <amodra@gmail.com>
44271         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44272         Define.
44273         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44274         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44275         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44276         New function.
44277         (elf_machine_fixup_plt): Call it.
44278         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44279         reloc arguments.
44280         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44281         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44282         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44283         r2 before calling target.
44285 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44286             Alan Modra  <amodra@gmail.com>
44288         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44289         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44290         versions of macros to support ELFv2 ABI.
44291         (LOCALENTRY): New macro.
44292         (ENTRY, EALIGN): Use it.
44293         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44294         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44295         fall through into ENTRY entry point.
44296         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44297         Only define if _CALL_ELF != 2.
44299         (elf_machine_matches_host): Verify ABI version matches.
44300         (RTLD_START): Use LOCALENTRY.
44301         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44302         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44303         (PLT_ENTRY_WORDS): New macro.
44304         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44305         (elf_machine_runtime_setup): Support ELFv2 ABI.
44306         (elf_machine_fixup_plt): Likewise.
44307         (elf_machine_plt_conflict): Likewise.
44308         (resolve_ifunc): Likewise.
44309         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44310         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44311         Likewise.
44312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44313         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44315         (makecontext): Support ELFv2 ABI.
44316         * elf/elf.h (EF_PPC64_ABI): Define.
44318 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44320         * sysdeps/powerpc/powerpc64/sysdep.h
44321         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44322         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44323         (ENTRY) [ASSEMBLER]: ... but instead here ...
44324         (EALIGN) [ASSEMBLER]: ... and here.
44325         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44326         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44327         (ENTRY_2) [!ASSEMBLER]: Use it.
44328         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44329         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44330         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44331         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44332         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44334         Use PPC64_LOAD_FUNCPTR.
44336         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44338 2013-12-04  Alan Modra  <amodra@gmail.com>
44340         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44341         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44342         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44343         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44345         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44346         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44347         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44348         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44349         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44350         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44352 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44355         (__makecontext): Fix incorrect CFI when backtracing out of
44356         context created via makecontext.
44357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44358         (__setcontext): Fix incorrect CFI during switch to new context.
44359         (__novec_setcontext): Likewise.
44361 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44363         [BZ #4772]
44364         * time/strptime_l.c (__strptime_internal): Allow modifiers
44365         in strptime.
44366         * time/tst-strptime.c (day_tests): Add testcase.
44368 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44370         * scripts/bench.pl: Skip over blank lines.
44372 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44374         [BZ #926]
44375         * manual/time.texi (Calendar Time): Clarify what timezone functions
44376         use.
44378 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44382 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44384         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44385         implementation.
44386         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44387         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44388         * debug/memset_chk.c (__memset_chk): Likewise.
44389         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44390         * debug/strncpy_chk.c: Likewise.
44392 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44394         [BZ #15268]
44395         [BZ #15425]
44396         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44397         (__ieee754_exp): For possibly underflowing results, check size of
44398         result and force underflow exception if required.
44399         * math/auto-libm-test-in: Add more tests of exp.
44400         * math/auto-libm-test-out: Regenerated.
44401         * sysdeps/i386/fpu/libm-test-ulps: Update.
44402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44404         [BZ #16283]
44405         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44406         * math/w_exp2f.c (__exp2f): Likewise.
44407         * math/w_exp2l.c (__exp2l): Likewise.
44408         * math/auto-libm-test-in: Do not allow missing errno on exp2
44409         underflow.
44410         * math/auto-libm-test-out: Regenerated.
44412 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44414         [BZ #16274]
44415         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44416         handle filename validation.
44417         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44418         (do_open): Delete.
44420 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44422         [BZ #6786]
44423         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44424         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44425         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44426         <float.h>.
44427         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44428         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44429         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44430         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44431         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44432         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44433         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44434         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44435         Add more erfc tests.
44436         * math/auto-libm-test-out: Regenerated.
44437         * sysdeps/i386/fpu/libm-test-ulps: Update.
44438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44440         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44441         exp2, expm1, j0 and j1.
44442         * math/auto-libm-test-out: Regenerated.
44443         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44444         (erfc_test_data): Likewise.
44445         (exp_test_data): Likewise.
44446         (exp_tonearest_test_data): Likewise.
44447         (exp_towardzero_test_data): Likewise.
44448         (exp_downward_test_data): Likewise.
44449         (exp_upward_test_data): Likewise.
44450         (exp10_test_data): Likewise.
44451         (exp2_test_data): Likewise.
44452         (expm1_test_data): Likewise.
44453         (j0_test_data): Likewise.
44454         (j1_test_data): Likewise.
44455         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44456         (input_flag_type): Add flag_xfail_rounding.
44457         (input_flags): Add xfail-rounding.
44458         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44459         (output_for_one_input_case): Handle flag_xfail_rounding.
44460         * sysdeps/i386/fpu/libm-test-ulps: Update.
44461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44463 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44465         [BZ #16289]
44466         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44467         division by 0.
44469 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44471         [BZ #16195]
44472         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44473         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44474         (STAP_PROBE0): New macro.
44475         (STAP_PROBE1): Likewise.
44476         (STAP_PROBE2): Likewise.
44477         (STAP_PROBE3): Likewise.
44478         (STAP_PROBE4): Likewise.
44480 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44482         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44484 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44486         * benchtests/Makefile (bench): Add sqrt.
44487         (LDLIBS-bench-sqrt): New.
44488         * benchtests/sqrt-input: New.
44490 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44492         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44493         (GAIH_EAI): Likewise.
44494         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44495         (gaih_inet): Likewise.
44496         (getaddrinfo): Don't use GAIH_EAI.
44498         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44499         (struct gaih): Remove definition.
44501 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44503         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44504         Use HERRNOP directly.
44506 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44510 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44512         * math/gen-auto-libm-tests.c (test_functions): Add more
44513         single-argument functions.
44514         (special_fill_pi_2): New function.
44515         (special_fill_minus_pi_2): Likewise.
44516         (special_fill_pi_6): Likewise.
44517         (special_fill_minus_pi_6): Likewise.
44518         (special_fill_pi_3): Likewise.
44519         (special_fill_2pi_3): Likewise.
44520         (special_fill_e): Likewise.
44521         (special_fill_1_e): Likewise.
44522         (special_fill_e_minus_1): Likewise.
44523         (special_real_inputs): Add more special inputs.
44524         (output_for_one_input_case): Do not require ERANGE on underflow to
44525         zero if round-to-nearest result does not underflow to zero, unless
44526         exact results required.
44527         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44528         atan, atanh, cbrt, cos and cosh.
44529         * math/auto-libm-test-out: Regenerated.
44530         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44531         (acos_tonearest_test_data): Likewise.
44532         (acos_towardzero_test_data): Likewise.
44533         (acos_downward_test_data): Likewise.
44534         (acos_upward_test_data): Likewise.
44535         (acosh_test_data): Likewise.
44536         (asin_test_data): Likewise.
44537         (asin_tonearest_test_data): Likewise.
44538         (asin_towardzero_test_data): Likewise.
44539         (asin_upward_test_data): Likewise.
44540         (asinh_test_data): Likewise.
44541         (atan_test_data): Likewise.
44542         (atanh_test_data): Likewise.
44543         (cbrt_test_data): Likewise.
44544         (cos_test_data): Likewise.
44545         (cos_tonearest_test_data): Likewise.
44546         (cos_towardzero_test_data): Likewise.
44547         (cos_downward_test_data): Likewise.
44548         (cos_upward_test_data): Likewise.
44549         (cosh_test_data): Likewise.
44550         (cosh_tonearest_test_data): Likewise.
44551         (cosh_towardzero_test_data): Likewise.
44552         (cosh_downward_test_data): Likewise.
44553         (cosh_upward_test_data): Likewise.
44554         * sysdeps/i386/fpu/libm-test-ulps: Update.
44555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44557 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44559         [BZ #6787]
44560         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44561         * math/w_exp10f.c (__exp10f): Likewise.
44562         * math/w_exp10l.c (__exp10l): Likewise.
44563         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44564         errno settings in existing tests.
44566         [BZ #14032]
44567         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44568         precision control set to double precision.
44569         * sysdeps/i386/fpu/w_sqrt.c: New file.
44570         * math/auto-libm-test-in: Add more tests.
44571         * math/auto-libm-test-out: Update.
44573         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44574         (sqrt_test_tonearest): New function.
44575         (sqrt_towardzero_test_data): New variable.
44576         (sqrt_test_towardzero): New function.
44577         (sqrt_downward_test_data): New variable.
44578         (sqrt_test_downward): New function.
44579         (sqrt_upward_test_data): New variable.
44580         (sqrt_test_upward): New function.
44581         (main): Call the new functions.
44583         * math/gen-auto-libm-tests.c: New file.
44584         * math/auto-libm-test-in: Likewise.
44585         * math/auto-libm-test-out: New generated file.
44586         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44587         variables.
44588         (%beautify): Add generated representations of zero.
44589         (top level): Set $auto_input and call parse_auto_input.
44590         (beautify): Remove trailing "f" from hex float constants.
44591         (parse_args): Handle XFAIL_TEST.
44592         (convert_condition): New function.
44593         (or_value): Likewise.
44594         (or_cond_value): Likewise.
44595         (generate_testfile): Handle AUTO_TESTS_* lines.
44596         (parse_auto_input): New function.
44597         * math/libm-test.inc (XFAIL_TEST): New macro.
44598         (ERRNO_UNCHANGED): Update value.
44599         (ERRNO_EDOM): Likewise.
44600         (ERRNO_ERANGE): Likewise.
44601         (IGNORE_RESULT): Likewise.
44602         (TEST_COND_flt_32): New macro.
44603         (TEST_COND_dbl_64): Likewise.
44604         (TEST_COND_ldbl_96_intel): Likewise.
44605         (TEST_COND_ldbl_96_m68k): Likewise.
44606         (TEST_COND_ldbl_128): Likewise.
44607         (TEST_COND_ldbl_128ibm): Likewise.
44608         (TEST_COND_long32): Likewise.
44609         (TEST_COND_long64): Likewise.
44610         (TEST_COND_before_rounding): Likewise.
44611         (TEST_COND_after_rounding): Likewise.
44612         (enable_test): Handle XFAIL_TEST flag.
44613         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44614         with finite results.
44615         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44616         auto-libm-test-out.
44618 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44619             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44621         [BZ #16214]
44622         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44623         __tls_get_addr_internal instead of __tls_get_offset in order to
44624         avoid GOT pointer dependency.  Make rtld export
44625         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44626         __tls_get_addr since we are a __tls_get_offset platform.
44627         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44628         GOT pointer being set up before.
44629         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44631 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44633         * manual/math.texi (Errors in Math Functions): Document accuracy
44634         goals.
44636         [BZ #15004]
44637         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44638         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44639         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44640         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44641         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44642         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44643         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44644         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44645         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44646         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44647         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44648         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44649         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44650         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44651         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44652         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44654         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44655         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44656         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44657         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44658         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44659         Likewise.
44660         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44661         Likewise.
44662         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44663         Likewise.
44664         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44665         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44666         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44667         atomic-feupdateenv and flt-rounds.
44668         * sysdeps/powerpc/nofpu/Versions (libc): Add
44669         __atomic_feholdexcept, __atomic_feclearexcept,
44670         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44671         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44672         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44673         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44674         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44675         here.
44676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44677         Update.
44679         * manual/arith.texi (FP Exceptions): Document that exceptions may
44680         not be raised when matherr is used.
44681         (Math Error Reporting): Document overflow in directed rounding
44682         modes.  Document that errno may not be set when finite values are
44683         returned on overflow.  Document intent to set errno on underflow
44684         only for underflow to zero.
44686         [BZ #16271]
44687         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44688         round-to-nearest then adjust result for other rounding modes.
44689         * include/fenv.h (fegetround): Use libm_hidden_proto.
44690         * math/fegetround.c (fegetround): Use libm_hidden_def.
44691         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44692         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44693         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44694         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44695         Likewise.
44696         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44697         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44698         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44699         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44701 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44703         [BZ #16077]
44704         * nss/Versions (libnss_files): Add
44705         _nss_files_gethostbyname3_r.
44706         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44707         New function.
44708         (HOST_DB_LOOKUP): Remove macro.
44709         (_nss_files_gethostbyname_r): Implement function without the
44710         HOST_DB_LOOKUP macro.
44711         (_nss_files_gethostbyname2_r): Likewise.
44713 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44715         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44717 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44719         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44720         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44721         warning.
44723 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44725         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44726         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44727         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44728         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44729         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44730         __fe_nomask_env_priv and attribute_hidden.
44731         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44732         (libc_feupdateenv_test_ppc): Likewise.
44733         (libc_feresetround_ppc): Likewise.
44734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44735         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44736         compat_symbol macro.
44737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44738         (__fe_nomask_env): Likewise.
44739         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44741 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44743         * string/Makefile: Remove ifunc tests.
44744         * string/test-string.h: Define TEST_IFUNC.
44745         * string/test-bcopy-ifunc.c: Remove.
44746         * string/test-bzero-ifunc.c: Likewise.
44747         * string/test-memccpy-ifunc.c: Likewise.
44748         * string/test-memchr-ifunc.c: Likewise.
44749         * string/test-memcmp-ifunc.c: Likewise.
44750         * string/test-memcpy-ifunc.c: Likewise.
44751         * string/test-memmem-ifunc.c: Likewise.
44752         * string/test-memmove-ifunc.c: Likewise.
44753         * string/test-mempcpy-ifunc.c: Likewise.
44754         * string/test-memrchr-ifunc.c: Likewise.
44755         * string/test-memset-ifunc.c: Likewise.
44756         * string/test-rawmemchr-ifunc.c: Likewise.
44757         * string/test-stpcpy-ifunc.c: Likewise.
44758         * string/test-stpncpy-ifunc.c: Likewise.
44759         * string/test-strcasecmp-ifunc.c: Likewise.
44760         * string/test-strcasestr-ifunc.c: Likewise.
44761         * string/test-strcat-ifunc.c: Likewise.
44762         * string/test-strchr-ifunc.c: Likewise.
44763         * string/test-strchrnul-ifunc.c: Likewise.
44764         * string/test-strcmp-ifunc.c: Likewise.
44765         * string/test-strcpy-ifunc.c: Likewise.
44766         * string/test-strcspn-ifunc.c: Likewise.
44767         * string/test-strlen-ifunc.c: Likewise.
44768         * string/test-strncasecmp-ifunc.c: Likewise.
44769         * string/test-strncat-ifunc.c: Likewise.
44770         * string/test-strncmp-ifunc.c: Likewise.
44771         * string/test-strncpy-ifunc.c: Likewise.
44772         * string/test-strnlen-ifunc.c: Likewise.
44773         * string/test-strpbrk-ifunc.c: Likewise.
44774         * string/test-strrchr-ifunc.c: Likewise.
44775         * string/test-strspn-ifunc.c: Likewise.
44776         * string/test-strstr-ifunc.c: Likewise.
44778 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44780         * benchtests/Makefile: Remove ifunc tests.
44781         * benchtests/bench-string.h: Define TEST_IFUNC.
44782         * benchtests/bench-bcopy-ifunc.c: Remove.
44783         * benchtests/bench-bzero-ifunc.c: Likewise.
44784         * benchtests/bench-memccpy-ifunc.c: Likewise.
44785         * benchtests/bench-memchr-ifunc.c: Likewise.
44786         * benchtests/bench-memcmp-ifunc.c: Likewise.
44787         * benchtests/bench-memcpy-ifunc.c: Likewise.
44788         * benchtests/bench-memmem-ifunc.c: Likewise.
44789         * benchtests/bench-memmove-ifunc.c: Likewise.
44790         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44791         * benchtests/bench-memrchr-ifunc.c: Likewise.
44792         * benchtests/bench-memset-ifunc.c: Likewise.
44793         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44794         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44795         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44796         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44797         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44798         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44799         * benchtests/bench-strcat-ifunc.c: Likewise.
44800         * benchtests/bench-strchr-ifunc.c: Likewise.
44801         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44802         * benchtests/bench-strcmp-ifunc.c: Likewise.
44803         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44804         * benchtests/bench-strcpy-ifunc.c: Likewise.
44805         * benchtests/bench-strcspn-ifunc.c: Likewise.
44806         * benchtests/bench-strlen-ifunc.c: Likewise.
44807         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44808         * benchtests/bench-strncat-ifunc.c: Likewise.
44809         * benchtests/bench-strncmp-ifunc.c: Likewise.
44810         * benchtests/bench-strncpy-ifunc.c: Likewise.
44811         * benchtests/bench-strnlen-ifunc.c: Likewise.
44812         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44813         * benchtests/bench-strrchr-ifunc.c: Likewise.
44814         * benchtests/bench-strsep-ifunc.c: Likewise.
44815         * benchtests/bench-strspn-ifunc.c: Likewise.
44816         * benchtests/bench-strstr-ifunc.c: Likewise.
44818 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44820         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44822 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44824         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44825         * rt/aio.h: Likewise.
44826         * sysdeps/gnu/bits/utmp.h: Likewise.
44827         * sysdeps/gnu/bits/utmpx.h: Likewise.
44828         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44829         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44830         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44831         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44832         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44833         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44834         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44835         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44836         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44837         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44838         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44839         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44840         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44842         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44843         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44844         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44845         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44846         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44847         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44848         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44849         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44850         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44851         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44852         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44853         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44854         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44855         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44856         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44857         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44858         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44859         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44860         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44861         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44862         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44863         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44864         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44865         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44866         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44867         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44868         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44869         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44871 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44873         [BZ #16245]
44874         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44875         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44877 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44879         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44880         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44881         Likewise.
44883 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44885         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44886         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44887         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44888         (__fesetround): Remove define.
44889         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44890         rounding and exceptions handling.
44891         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44892         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44893         (__fe_nomask_env): Likewise.
44894         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44895         __fegetround instead of fegetround.
44896         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44897         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44899 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44901         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44902         it's there.
44904         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44906 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44908         [BZ #11157]
44909         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44910         (encrypt_r): Likewise.
44911         * malloc/obstack.h (obstack_free): Likewise.
44912         * posix/unistd.h (encrypt): Likewise.
44914 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44916         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44917         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44918         DL_CALL_DT_FINI() that call the functions directly.
44919         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44920         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44921         * elf/dl-fini.c: Likewise.
44923 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44925         * malloc/hooks.c (memalign_check): Add alignment rounding.
44926         * malloc/malloc.c (_mid_memalign): New function.
44927         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44928         Implement by calling _mid_memalign.
44929         * manual/probes.texi (Memory Allocation Probes): Remove
44930         memory_valloc_retry and memory_pvalloc_retry.
44932 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44934         * locale/programs/locarchive.c (open_archive): Add const
44935         qualifier to ARCHIVEFNAME and copy default fname to
44936         DEFAULT_FNAME.
44938         [BZ #15601]
44939         * libio/tst-widetext.input: Rename Oriya to Odia.
44940         * locale/iso-639.def: Likewise.
44942         * manual/probes.texi (Mathematical Function Probes): Add
44943         documentation for sin, cos, asin and acos probes.
44944         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44945         (__sin32): Add slowasin probe.
44946         (__cos32): Add slowacos probe.
44947         (__mpsin): Add slowsin probe.
44948         (__mpcos): Add slowcos probe.
44950 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44952         [BZ #15483]
44953         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44954         thread-local __sim_exceptions_thread and global
44955         __sim_exceptions_global.
44956         (__sim_disabled_exceptions): Change to thread-local
44957         __sim_disabled_exceptions_thread and global
44958         __sim_disabled_exceptions_global.
44959         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44960         and global __sim_round_mode_global.
44961         (__simulate_exceptions): Use thread-local floating-point state and
44962         set global state from it as needed.
44963         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44964         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44965         __sim_round_mode_thread.
44966         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44967         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44968         and global __sim_exceptions_global.
44969         (__sim_disabled_exceptions): Change to thread-local
44970         __sim_disabled_exceptions_thread and global
44971         __sim_disabled_exceptions_global.
44972         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44973         and global __sim_round_mode_global.
44974         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44975         (SIM_SET_GLOBAL): Likewise.
44976         * sysdeps/powerpc/soft-fp/sfp-machine.h
44977         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44978         __sim_round_mode_thread.
44979         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44980         __sim_disabled_exceptions_thread.
44981         (__sim_exceptions): Change to __sim_exceptions_thread.
44982         (__sim_disabled_exceptions): Change to
44983         __sim_disabled_exceptions_thread.
44984         (__sim_round_mode): Change to __sim_round_mode_thread.
44985         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44986         thread-local floating-point state and set global state from it as
44987         needed.
44988         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44989         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44990         (__sim_disabled_exceptions): Remove extern declaration.
44991         (feenableexcept): Use thread-local floating-point state and set
44992         global state from it as needed.
44993         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44994         extern declaration.
44995         (__sim_disabled_exceptions): Likewise.
44996         (__sim_round_mode): Likewise.
44997         (__fegetenv): Use thread-local floating-point state.
44998         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44999         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45000         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45001         floating-point state and set global state from it as needed.
45002         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45003         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45004         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45005         Likewise.
45006         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45007         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45008         Likewise.
45009         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45010         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45011         Use __sim_round_mode_thread.
45012         * math/test-fenv-tls.c: New file.
45013         * math/Makefile (tests): Add test-fenv-tls.
45014         ($(objpfx)test-fenv-tls): Depend on
45015         $(common-objpfx)nptl/libpthread.so.
45017 2013-11-19  Andreas Schwab  <schwab@suse.de>
45019         * locale/programs/locale.c (show_info): Decode wordarray elements.
45020         * locale/categories.def (LC_MONETARY): Add element for
45021         _NL_MONETARY_CRNCYSTR.
45022         * locale/C-monetary.c (conversion_rate): New variable.
45023         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45024         element.
45026 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45028         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45029         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45031 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45033         * elf/Makefile (tst-auxv): New test.
45034         * elf/tst-auxv.c: New
45035         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45037 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45039         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45040         (hidden_proto): Caller changed.
45041         (hidden_tls_proto): New macro.
45042         (libc_hidden_tls_proto): Likewise.
45043         (rtld_hidden_tls_proto): Likewise.
45044         (libm_hidden_tls_proto): Likewise.
45045         (libresolv_hidden_tls_proto): Likewise.
45046         (librt_hidden_tls_proto): Likewise.
45047         (libdl_hidden_tls_proto): Likewise.
45048         (libnss_files_hidden_tls_proto): Likewise.
45049         (libnsl_hidden_tls_proto): Likewise.
45050         (libnss_nisplus_hidden_tls_proto): Likewise.
45051         (libutil_hidden_tls_proto): Likewise.
45053 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45055         [BZ #10253]
45056         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45057         (decompose_rpath): Defer expansion to fillin_rpath.
45058         (_dl_init_paths): Pass linkmap to fillin_rpath.
45060 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45062         * benchtests/Makefile: Add strsep.
45063         * benchtests/bench-strsep.c: New file: strsep benchtest.
45064         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45066 2013-11-18  Andreas Schwab  <schwab@suse.de>
45068         * locale/programs/locale.c (show_info) [case byte]: Check for
45069         '\377' instead of '\177'.
45070         * locale/C-monetary.c (not_available): Always use "\377".
45071         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45072         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45073         detect unavailable sign_posn locale elements.
45074         * locale/localeconv.c (__localeconv): For grouping and
45075         mon_grouping handle "\177" and "\377" like no grouping.
45076         (INT_ELEM): New macro.  Use it to set all numeric members.
45077         * locale/programs/ld-monetary.c (monetary_read)
45078         <tok_mon_grouping>: Normalize single -1 to the empty string.
45079         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45080         Likewise.
45082 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45084         [BZ #16055]
45085         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45086         when we match (nil).
45087         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45089 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45091         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45092         (NO_TEST_INLINE): Update value.
45093         (ERRNO_UNCHANGED): Likewise.
45094         (ERRNO_EDOM): Likewise.
45095         (ERRNO_ERANGE): Likewise.
45096         (IGNORE_RESULT): Likewise.
45097         (check_float_internal): Check signs of NaN results if
45098         TEST_NAN_SIGN used.
45099         (check_complex): Pass TEST_NAN_SIGN flag through to second
45100         check_float_internal call.
45101         (copysign_test_data): Add tests with quiet NaNs as second
45102         argument.  Use TEST_NAN_SIGN.
45103         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45104         TEST_NAN_SIGN.
45105         (signbit_test_data): Add tests of quiet NaN argument.
45106         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45108         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45109         $ignore_result.
45110         (parse_args): Handle function results specified as IGNORE.
45111         * math/libm-test.inc (IGNORE_RESULT): New macro.
45112         (check_float_internal): Do not check numerical result if flag
45113         IGNORE_RESULT set.
45114         (check_complex): Pass through IGNORE_RESULT to second
45115         check_float_internal call.
45116         (check_int): Do not check numerical result if flag IGNORE_RESULT
45117         set.
45118         (check_long): Likewise.
45119         (check_bool): Likewise.
45120         (check_longlong): Likewise.
45121         (lrint_test_data): Add tests of infinite and NaN arguments.
45122         (lrint_tonearest_test_data): Likewise.
45123         (lrint_towardzero_test_data): Likewise.
45124         (lrint_downward_test_data): Likewise.
45125         (lrint_upward_test_data): Likewise.
45126         (llrint_test_data): Likewise.
45127         (llrint_tonearest_test_data): Likewise.
45128         (llrint_towardzero_test_data): Likewise.
45129         (llrint_downward_test_data): Likewise.
45130         (llrint_upward_test_data): Likewise.
45131         (lround_test_data): Likewise.
45132         (llround_test_data): Likewise.
45134         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45135         (ERRNO_UNCHANGED): Update value.
45136         (ERRNO_EDOM): Likewise.
45137         (ERRNO_ERANGE): Likewise.
45138         (NO_TEST_INLINE_FLOAT): New macro.
45139         (NO_TEST_INLINE_DOUBLE): Likewise.
45140         (enable_test): New function.
45141         (RUN_TEST_f_f): Check enable_test before running test.
45142         (RUN_TEST_2_f): Likewise.
45143         (RUN_TEST_fff_f): Likewise.
45144         (RUN_TEST_c_f): Likewise.
45145         (RUN_TEST_f_f1): Likewise.
45146         (RUN_TEST_fF_f1): Likewise.
45147         (RUN_TEST_fI_f1): Likewise.
45148         (RUN_TEST_ffI_f1): Likewise.
45149         (RUN_TEST_c_c): Likewise.
45150         (RUN_TEST_cc_c): Likewise.
45151         (RUN_TEST_f_i): Likewise.
45152         (RUN_TEST_f_i_tg): Likewise.
45153         (RUN_TEST_ff_i_tg): Likewise.
45154         (RUN_TEST_f_b): Likewise.
45155         (RUN_TEST_f_b_tg): Likewise.
45156         (RUN_TEST_f_l): Likewise.
45157         (RUN_TEST_f_L): Likewise.
45158         (RUN_TEST_fFF_11): Likewise.
45159         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45160         conditionals.
45161         (cosh_test_data): Likewise.
45162         (exp_test_data): Likewise.
45163         (expm1_test_data): Likewise.
45164         (hypot_test_data): Likewise.
45165         (pow_test_data): Likewise.
45166         (sinh_test_data): Likewise.
45167         (tanh_test_data): Likewise.
45168         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45169         flags argument.
45171         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45172         tests with quiet NaN input and output.
45173         (acosh_test_data): Likewise.
45174         (asin_test_data): Likewise.
45175         (asinh_test_data): Likewise.
45176         (atan_test_data): Likewise.
45177         (atanh_test_data): Likewise.
45178         (atan2_test_data): Likewise.
45179         (cbrt_test_data): Likewise.
45180         (cos_test_data): Likewise.
45181         (cosh_test_data): Likewise.
45182         (erf_test_data): Likewise.
45183         (erfc_test_data): Likewise.
45184         (exp_test_data): Likewise.
45185         (exp10_test_data): Likewise.
45186         (exp2_test_data): Likewise.
45187         (expm1_test_data): Likewise.
45188         (hypot_test_data): Likewise.
45189         (j0_test_data): Likewise.
45190         (j1_test_data): Likewise.
45191         (jn_test_data): Likewise.
45192         (lgamma_test_data): Likewise.
45193         (log_test_data): Likewise.
45194         (log10_test_data): Likewise.
45195         (log1p_test_data): Likewise.
45196         (log2_test_data): Likewise.
45197         (pow_test_data): Likewise.
45198         (scalb_test_data): Likewise.
45199         (sin_test_data): Likewise.
45200         (sincos_test_data): Likewise.
45201         (sinh_test_data): Likewise.
45202         (tan_test_data): Likewise.
45203         (tanh_test_data): Likewise.
45204         (tgamma_test_data): Likewise.
45205         (y0_test_data): Likewise.
45206         (y1_test_data): Likewise.
45207         (yn_test_data): Likewise.
45209         [BZ #16167]
45210         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45211         argument being NaN and avoid computations with second argument in
45212         that case.
45213         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45214         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45215         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45217 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45219         * locale/iso-639.def: Add Chitwani Tharu (the).
45221 2013-11-14  Andreas Schwab  <schwab@suse.de>
45223         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45224         word instead of empty string.
45226 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45229         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45231         (__fe_nomask_env): Likewise.
45233 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45235         * benchtests/bench-timing.h: Include time.h.
45237 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45239         [BZ #15997]
45240         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45241         to 3.4.0 for x32.
45242         * sysdeps/unix/sysv/linux/configure: Regenerated.
45244 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45246         [BZ #16151]
45247         * stdlib/strtod_l.c (round_and_return): Do not consider
45248         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45249         exponent one less than half the least subnormal exponent.
45250         * stdlib/test-strtod-round-data: Add more tests.
45251         * stdlib/tst-strtod-round.c (tests): Regenerated.
45253 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45255         [BZ #14143]
45256         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45257         (__fe_mask_env): Likewise.
45258         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45259         libm_hidden_proto and add function prototype.
45260         (__fe_mask_env): Add function prototype.
45261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45262         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45264         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45266         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45268 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45270         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45271         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45273 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45275         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45276         of htab_find_slot().
45278 2013-11-11  David S. Miller  <davem@davemloft.net>
45280         [BZ #16150]
45281         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45282         symbol in the non-vis3 case in static builds.
45283         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45284         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45285         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45286         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45288 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45290         [BZ #387]
45291         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45292         it is empty.
45294 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45296         * benchtests/Makefile: Add bench-strtod.
45297         * benchtests/bench-strtod.c: New file: strtod benchtest
45299 2013-11-11  Andreas Schwab  <schwab@suse.de>
45301         [BZ #16153]
45302         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45303         terminating NUL in key length.
45305 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45307         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45308         Add artificial ODP entry for vDSO symbol for PPC64.
45309         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45310         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45312 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45314         [BZ #15374]
45315         * nss/getent.c (services_keys): Recognize services starting with digit.
45317 2013-11-06  David S. Miller  <davem@davemloft.net>
45319         [BZ #15985]
45320         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45321         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45323 2013-11-06  Will Newton  <will.newton@linaro.org>
45325         * manual/memory.texi (Malloc Examples): Remove register
45326         keyword from examples.
45328 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45330         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45332 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45334         [BZ #6981]
45335         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45336         depending on [__GCC_IEC_559 > 0].
45337         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45338         depending on [__GCC_IEC_559_COMPLEX > 0].
45340 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45342         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45343         to iso-639.def.
45345 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45347         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45349 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45351         [BZ #16112]
45352         * malloc/malloc (malloc_info): Do not handle first bin as
45353         special case.
45355 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45357         * locale/iso-639.def: Add Central Nahuatl (nhn).
45359 2013-11-01  Bruno Haible  <bruno@clisp.org>
45361         [BZ #7003]
45362         * manual/math.texi (BSD Random): Specify range upper bound as
45363         in POSIX.
45365 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45367         * locale/iso-639.def: Add Meadow Mari (mhr).
45369 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45371         [BZ #14752], [BZ #15763]
45372         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45373         Validate name.
45374         * rt/tst_shm.c: Add test for escaping directory.
45376 2013-10-31  Andreas Schwab  <schwab@suse.de>
45378         [BZ #15917]
45379         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45380         followed by 'x' as part of digit sequence.
45381         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45383 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45385         [BZ #16037]
45386         * configure.ac: allow GNU Make 4.0 and greater.
45387         * configure: Regenerated.
45389 2013-10-30  Will Newton  <will.newton@linaro.org>
45391         [BZ #16038]
45392         * malloc/hooks.c (memalign_check): Limit alignment to the
45393         maximum representable power of two.
45394         * malloc/malloc.c (__libc_memalign): Likewise.
45395         * malloc/tst-memalign.c (do_test): Add test for very
45396         large alignment values.
45397         * malloc/tst-posix_memalign.c (do_test): Likewise.
45399 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45401         [BZ #11087]
45402         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45403         (munmap_chunk): Likewise.
45404         (mremap_chunk): Likewise.
45406 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45408         [BZ #15799]
45409         * stdlib/div.c (div): Remove obsolete code.
45410         * stdlib/ldiv.c (ldiv): Likewise.
45411         * stdlib/lldiv.c (lldiv): Likewise.
45413 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45415         [BZ #16071]
45416         * nss/nss_files/files-XXX.c (get_contents_ret): New
45417         enumerator.
45418         (get_contents): New function.
45419         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45421 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45423         * configure.in: Moved to ...
45424         * configure.ac: ... here. Change reference to configure.in
45425         to configure.ac.
45426         * sysdeps/arm/preconfigure.ac: ... here.
45427         configure.in to configure.ac.
45428         * sysdeps/gnu/configure.in: Moved to ...
45429         * sysdeps/gnu/configure.ac: ... here.
45430         * sysdeps/i386/configure.in: Moved to ...
45431         * sysdeps/i386/configure.ac: ... here.
45432         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45433         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45434         * sysdeps/mach/configure.in: Moved to ...
45435         * sysdeps/mach/configure.ac: ... here.
45436         * sysdeps/mach/hurd/configure.in: Moved to ...
45437         * sysdeps/mach/hurd/configure.ac: ... here.
45438         * sysdeps/powerpc/configure.in: Moved to ...
45439         * sysdeps/powerpc/configure.ac: ... here.
45440         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45441         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45442         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45443         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45444         * sysdeps/s390/s390-32/configure.in: Moved to ...
45445         * sysdeps/s390/s390-32/configure.ac: ... here.
45446         * sysdeps/s390/s390-64/configure.in: Moved to ...
45447         * sysdeps/s390/s390-64/configure.ac: ... here.
45448         * sysdeps/sh/configure.in: Moved to ...
45449         * sysdeps/sh/configure.ac: ... here.
45450         * sysdeps/sparc/configure.in: Moved to ...
45451         * sysdeps/sparc/configure.ac: ... here.
45452         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45453         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45454         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45455         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45456         * sysdeps/x86_64/configure.in: Moved to ...
45457         * sysdeps/x86_64/configure.ac: ... here.
45458         * sysdeps/x86_64/preconfigure.in: Moved to ...
45459         * sysdeps/x86_64/preconfigure.ac: ... here.
45460         * aclocal.m4: Change reference to configure.in to configure.ac.
45461         * config.h.in: Likewise.
45462         * manual/install.texi: Likewise.
45463         * manual/maint.texi: Likewise.
45464         * Makefile: Likewise.
45465         * malloc/Makefile: Likewise.
45466         * nscd/Makefile: Likewise.
45467         * Makeconfig: Change reference to configure.in and
45468         preconfigure.in to configure.ac and preconfigure.ac
45469         respectively.
45470         * INSTALL: Regenerated.
45471         * configure: Likewise.
45472         * sysdeps/gnu/configure: Likewise.
45473         * sysdeps/i386/configure: Likewise.
45474         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45475         * sysdeps/mach/configure: Likewise.
45476         * sysdeps/mach/hurd/configure: Likewise.
45477         * sysdeps/powerpc/configure: Likewise.
45478         * sysdeps/powerpc/powerpc32/configure: Likewise.
45479         * sysdeps/powerpc/powerpc64/configure: Likewise.
45480         * sysdeps/s390/s390-32/configure: Likewise.
45481         * sysdeps/s390/s390-64/configure: Likewise.
45482         * sysdeps/sh/configure: Likewise.
45483         * sysdeps/sparc/configure: Likewise.
45484         * sysdeps/unix/sysv/linux/configure: Likewise.
45485         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45486         * sysdeps/x86_64/configure: Likewise.
45487         * sysdeps/x86_64/preconfigure: Likewise.
45489 2013-10-29  Andreas Schwab  <schwab@suse.de>
45491         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45493 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45495         * benchtests/pow-inputs: Add new inputs.
45497         * benchtests/exp-inputs: Add new inputs.
45499         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45500         conditional check for return value.
45501         (__cos32): Likewise.
45503 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45505         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45506         to provide a boost for large inputs with word alignment.
45507         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45508         implementation based on optimized PPC64 strcpy.
45509         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45510         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45511         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45512         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45514 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45516         [BZ #2801]
45517         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45519 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45521         [BZ #14876]
45522         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45523         * time/tst-strptime.c (day_tests): Add testcase.
45525 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45527         [BZ #14029]
45528         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45530 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45532         [BZ #16074]
45533         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45534         MAP_FAILED on error.
45536 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45538         [BZ #16072]
45539         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45540         heap for large requests.
45542 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45544         [BZ #9954]
45545         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45546         result if the result has no associated interface.
45547         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45548         interface for all 127.X.Y.Z addresses.
45550 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45552         * locale/iso-639.def: Add Ligurian (lij)
45554 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45556         [BZ #15825]
45557         * sunrpc/rpc_main.c: Document rpcgen -5.
45559 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45561         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45563 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45565         [BZ #10278]
45566         * posix/glob.c: Match only directories when trailing slash is present.
45567         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45568         (main): Add testcase.
45570 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45572         [BZ #15670]
45573         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45575 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45577         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45578         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45579         AUTH_DES and cindex for FIPS 140-2.
45580         (DES Encryption): Add cindex FIPS 46-3.
45582         * locale/locarchive.h (struct locarhandle): Add fname.
45583         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45584         if an optional argument was specified to --list-archive,
45585         otherwise NULL.
45586         * locale/programs/locarchive.c (show_archive_content): Take new
45587         argument fname and pass it via ah.fname to open_archive.
45588         * locale/programs/localedef.h: Update decl.
45589         (open_archive): If AH->fname is non-null, open that file
45590         rather than the default file name, and don't ignore ENOENT.
45591         (create_archive): Set AH.fname to NULL.
45592         (delete_locales_from_archive): Likewise.
45593         (add_locales_to_archive): Likewise.
45594         * locale/programs/locfile.c (write_all_categories): Likewise.
45596 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45597             Aldy Hernandez  <aldyh@redhat.com>
45599         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45600         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45601         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45602         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45603         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45604         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45605         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45606         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45607         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45608         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45609         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45610         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45611         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45612         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45613         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45614         Likewise.
45615         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45616         Likewise.
45617         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45618         Likewise.
45619         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45620         Likewise.
45621         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45622         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45623         Likewise.
45624         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45625         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45626         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45627         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45628         Likewise.
45629         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45630         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45631         * sysdeps/powerpc/preconfigure: Likewise.
45632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45633         Likewise.
45634         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45635         Replace contents of file by #include of <fenv_libc.h>.
45636         * sysdeps/powerpc/soft-fp/sfp-machine.h
45637         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45638         and <sys/prctl.h>.
45639         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45640         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45641         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45642         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45643         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45644         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45645         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45646         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45647         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45648         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45649         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45652         Allow copysignl PLT reference to be missing.
45654 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45655             Joseph Myers  <joseph@codesourcery.com
45657         [BZ #15948]
45658         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45659         single character.
45660         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45662 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45664         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45665         * elf/tst-tls1.c: Likewise.
45666         * elf/tst-tls10.h: Likewise.
45667         * elf/tst-tls14.c: Likewise.
45668         * elf/tst-tls2.c: Likewise.
45669         * elf/tst-tls3.c: Likewise.
45670         * elf/tst-tls4.c: Likewise.
45671         * elf/tst-tls5.c: Likewise.
45672         * elf/tst-tls6.c: Likewise.
45673         * elf/tst-tls7.c: Likewise.
45674         * elf/tst-tls8.c: Likewise.
45675         * elf/tst-tls9.c: Likewise.
45676         * elf/tst-tlsmod1.c: Likewise.
45677         * elf/tst-tlsmod13.c: Likewise.
45678         * elf/tst-tlsmod13a.c: Likewise.
45679         * elf/tst-tlsmod14a.c: Likewise.
45680         * elf/tst-tlsmod16a.c: Likewise.
45681         * elf/tst-tlsmod16b.c: Likewise.
45682         * elf/tst-tlsmod2.c: Likewise.
45683         * elf/tst-tlsmod3.c: Likewise.
45684         * elf/tst-tlsmod4.c: Likewise.
45685         * elf/tst-tlsmod5.c: Likewise.
45686         * elf/tst-tlsmod6.c: Likewise.
45688 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45690         [BZ #12486]
45691         * malloc/malloc.c: remove checks for statistics.
45693 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45695         [BZ #15277]
45696         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45697         * inet/tst-network.c: Add testcase.
45699 2013-10-17  Andreas Schwab  <schwab@suse.de>
45701         [BZ #15218]
45702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45703         to determine canonical name.
45705 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45707         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45708         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45709         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45710         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45711         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45712         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45713         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45714         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45715         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45716         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45717         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45718         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45719         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45720         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45721         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45722         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45724         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45725         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45726         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45727         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45728         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45729         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45730         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45731         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45732         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45733         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45734         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45735         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45736         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45737         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45738         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45739         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45740         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45741         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45742         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45743         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45744         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45745         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45746         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45747         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45748         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45749         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45750         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45751         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45752         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45753         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45754         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45755         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45756         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45757         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45758         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45759         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45760         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45761         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45762         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45763         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45764         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45766 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45768         [BZ #16041]
45769         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45770         make result into a quiet NaN.
45772 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45774         * soft-fp/adddf3.c: Fix horizontal whitespace.
45775         * soft-fp/addsf3.c: Likewise.
45776         * soft-fp/addtf3.c: Likewise.
45777         * soft-fp/divdf3.c: Likewise.
45778         * soft-fp/divsf3.c: Likewise.
45779         * soft-fp/divtf3.c: Likewise.
45780         * soft-fp/double.h: Likewise.
45781         * soft-fp/eqdf2.c: Likewise.
45782         * soft-fp/eqsf2.c: Likewise.
45783         * soft-fp/eqtf2.c: Likewise.
45784         * soft-fp/extenddftf2.c: Likewise.
45785         * soft-fp/extended.h: Likewise.
45786         * soft-fp/extendsfdf2.c: Likewise.
45787         * soft-fp/extendsftf2.c: Likewise.
45788         * soft-fp/extendxftf2.c: Likewise.
45789         * soft-fp/fixdfdi.c: Likewise.
45790         * soft-fp/fixdfsi.c: Likewise.
45791         * soft-fp/fixdfti.c: Likewise.
45792         * soft-fp/fixsfdi.c: Likewise.
45793         * soft-fp/fixsfsi.c: Likewise.
45794         * soft-fp/fixsfti.c: Likewise.
45795         * soft-fp/fixtfdi.c: Likewise.
45796         * soft-fp/fixtfsi.c: Likewise.
45797         * soft-fp/fixtfti.c: Likewise.
45798         * soft-fp/fixunsdfdi.c: Likewise.
45799         * soft-fp/fixunsdfsi.c: Likewise.
45800         * soft-fp/fixunsdfti.c: Likewise.
45801         * soft-fp/fixunssfdi.c: Likewise.
45802         * soft-fp/fixunssfsi.c: Likewise.
45803         * soft-fp/fixunssfti.c: Likewise.
45804         * soft-fp/fixunstfdi.c: Likewise.
45805         * soft-fp/fixunstfsi.c: Likewise.
45806         * soft-fp/fixunstfti.c: Likewise.
45807         * soft-fp/floatdidf.c: Likewise.
45808         * soft-fp/floatdisf.c: Likewise.
45809         * soft-fp/floatditf.c: Likewise.
45810         * soft-fp/floatsidf.c: Likewise.
45811         * soft-fp/floatsisf.c: Likewise.
45812         * soft-fp/floatsitf.c: Likewise.
45813         * soft-fp/floattidf.c: Likewise.
45814         * soft-fp/floattisf.c: Likewise.
45815         * soft-fp/floattitf.c: Likewise.
45816         * soft-fp/floatundidf.c: Likewise.
45817         * soft-fp/floatundisf.c: Likewise.
45818         * soft-fp/floatunditf.c: Likewise.
45819         * soft-fp/floatunsidf.c: Likewise.
45820         * soft-fp/floatunsisf.c: Likewise.
45821         * soft-fp/floatunsitf.c: Likewise.
45822         * soft-fp/floatuntidf.c: Likewise.
45823         * soft-fp/floatuntisf.c: Likewise.
45824         * soft-fp/floatuntitf.c: Likewise.
45825         * soft-fp/fmadf4.c: Likewise.
45826         * soft-fp/fmasf4.c: Likewise.
45827         * soft-fp/fmatf4.c: Likewise.
45828         * soft-fp/gedf2.c: Likewise.
45829         * soft-fp/gesf2.c: Likewise.
45830         * soft-fp/getf2.c: Likewise.
45831         * soft-fp/ledf2.c: Likewise.
45832         * soft-fp/lesf2.c: Likewise.
45833         * soft-fp/letf2.c: Likewise.
45834         * soft-fp/muldf3.c: Likewise.
45835         * soft-fp/mulsf3.c: Likewise.
45836         * soft-fp/multf3.c: Likewise.
45837         * soft-fp/negdf2.c: Likewise.
45838         * soft-fp/negsf2.c: Likewise.
45839         * soft-fp/negtf2.c: Likewise.
45840         * soft-fp/op-1.h: Likewise.
45841         * soft-fp/op-2.h: Likewise.
45842         * soft-fp/op-4.h: Likewise.
45843         * soft-fp/op-8.h: Likewise.
45844         * soft-fp/op-common.h: Likewise.
45845         * soft-fp/quad.h: Likewise.
45846         * soft-fp/single.h: Likewise.
45847         * soft-fp/soft-fp.h: Likewise.
45848         * soft-fp/sqrtdf2.c: Likewise.
45849         * soft-fp/sqrtsf2.c: Likewise.
45850         * soft-fp/sqrttf2.c: Likewise.
45851         * soft-fp/subdf3.c: Likewise.
45852         * soft-fp/subsf3.c: Likewise.
45853         * soft-fp/subtf3.c: Likewise.
45854         * soft-fp/truncdfsf2.c: Likewise.
45855         * soft-fp/trunctfdf2.c: Likewise.
45856         * soft-fp/trunctfsf2.c: Likewise.
45857         * soft-fp/trunctfxf2.c: Likewise.
45858         * soft-fp/unorddf2.c: Likewise.
45859         * soft-fp/unordsf2.c: Likewise.
45860         * soft-fp/unordtf2.c: Likewise.
45862 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45864         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45865         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45867 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45869         * elf/dl-libc.c: Clear initfini list after freeing.
45871 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45873         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45874         * soft-fp/addsf3.c: Likewise.
45875         * soft-fp/addtf3.c: Likewise.
45876         * soft-fp/divdf3.c: Likewise.
45877         * soft-fp/divsf3.c: Likewise.
45878         * soft-fp/divtf3.c: Likewise.
45879         * soft-fp/double.h: Likewise.
45880         * soft-fp/eqdf2.c: Likewise.
45881         * soft-fp/eqsf2.c: Likewise.
45882         * soft-fp/eqtf2.c: Likewise.
45883         * soft-fp/extenddftf2.c: Likewise.
45884         * soft-fp/extended.h: Likewise.
45885         * soft-fp/extendsfdf2.c: Likewise.
45886         * soft-fp/extendsftf2.c: Likewise.
45887         * soft-fp/extendxftf2.c: Likewise.
45888         * soft-fp/fixdfdi.c: Likewise.
45889         * soft-fp/fixdfsi.c: Likewise.
45890         * soft-fp/fixdfti.c: Likewise.
45891         * soft-fp/fixsfdi.c: Likewise.
45892         * soft-fp/fixsfsi.c: Likewise.
45893         * soft-fp/fixsfti.c: Likewise.
45894         * soft-fp/fixtfdi.c: Likewise.
45895         * soft-fp/fixtfsi.c: Likewise.
45896         * soft-fp/fixtfti.c: Likewise.
45897         * soft-fp/fixunsdfdi.c: Likewise.
45898         * soft-fp/fixunsdfsi.c: Likewise.
45899         * soft-fp/fixunsdfti.c: Likewise.
45900         * soft-fp/fixunssfdi.c: Likewise.
45901         * soft-fp/fixunssfsi.c: Likewise.
45902         * soft-fp/fixunssfti.c: Likewise.
45903         * soft-fp/fixunstfdi.c: Likewise.
45904         * soft-fp/fixunstfsi.c: Likewise.
45905         * soft-fp/fixunstfti.c: Likewise.
45906         * soft-fp/floatdidf.c: Likewise.
45907         * soft-fp/floatdisf.c: Likewise.
45908         * soft-fp/floatditf.c: Likewise.
45909         * soft-fp/floatsidf.c: Likewise.
45910         * soft-fp/floatsisf.c: Likewise.
45911         * soft-fp/floatsitf.c: Likewise.
45912         * soft-fp/floattidf.c: Likewise.
45913         * soft-fp/floattisf.c: Likewise.
45914         * soft-fp/floattitf.c: Likewise.
45915         * soft-fp/floatundidf.c: Likewise.
45916         * soft-fp/floatundisf.c: Likewise.
45917         * soft-fp/floatunsidf.c: Likewise.
45918         * soft-fp/floatunsisf.c: Likewise.
45919         * soft-fp/floatuntidf.c: Likewise.
45920         * soft-fp/floatuntisf.c: Likewise.
45921         * soft-fp/floatuntitf.c: Likewise.
45922         * soft-fp/fmadf4.c: Likewise.
45923         * soft-fp/fmasf4.c: Likewise.
45924         * soft-fp/fmatf4.c: Likewise.
45925         * soft-fp/gedf2.c: Likewise.
45926         * soft-fp/gesf2.c: Likewise.
45927         * soft-fp/getf2.c: Likewise.
45928         * soft-fp/ledf2.c: Likewise.
45929         * soft-fp/lesf2.c: Likewise.
45930         * soft-fp/letf2.c: Likewise.
45931         * soft-fp/muldf3.c: Likewise.
45932         * soft-fp/mulsf3.c: Likewise.
45933         * soft-fp/multf3.c: Likewise.
45934         * soft-fp/negdf2.c: Likewise.
45935         * soft-fp/negsf2.c: Likewise.
45936         * soft-fp/negtf2.c: Likewise.
45937         * soft-fp/op-1.h: Likewise.
45938         * soft-fp/op-2.h: Likewise.
45939         * soft-fp/op-4.h: Likewise.
45940         * soft-fp/op-8.h: Likewise.
45941         * soft-fp/op-common.h: Likewise.
45942         * soft-fp/quad.h: Likewise.
45943         * soft-fp/single.h: Likewise.
45944         * soft-fp/soft-fp.h: Likewise.
45945         * soft-fp/sqrtdf2.c: Likewise.
45946         * soft-fp/sqrtsf2.c: Likewise.
45947         * soft-fp/sqrttf2.c: Likewise.
45948         * soft-fp/subdf3.c: Likewise.
45949         * soft-fp/subsf3.c: Likewise.
45950         * soft-fp/subtf3.c: Likewise.
45951         * soft-fp/truncdfsf2.c: Likewise.
45952         * soft-fp/trunctfdf2.c: Likewise.
45953         * soft-fp/trunctfsf2.c: Likewise.
45954         * soft-fp/trunctfxf2.c: Likewise.
45955         * soft-fp/unorddf2.c: Likewise.
45956         * soft-fp/unordsf2.c: Likewise.
45957         * soft-fp/unordtf2.c: Likewise.
45959 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45961         [BZ #15672]
45962         * misc/error.c (error_tail): Fix possible buffer overflow.
45964 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45966         [BZ #13028]
45967         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45968         address.
45970 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45972         [BZ #832]
45973         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45974         testing pipefail option.
45976 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45978         * soft-fp/double.h: Indent preprocessor directives inside #if.
45979         * soft-fp/extended.h: Likewise.
45980         * soft-fp/op-2.h: Likewise.
45981         * soft-fp/op-4.h: Likewise.
45982         * soft-fp/op-common.h: Likewise.
45983         * soft-fp/quad.h: Likewise.
45984         * soft-fp/single.h: Likewise.
45985         * soft-fp/soft-fp.h: Likewise.
45987 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45989         * iconv/iconv_prog.c: Fix typos.
45990         * stdio-common/psiginfo-data.h: Likewise.
45992 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45994         [BZ #15764]
45995         * locale/setlocale.c: Fix typo.
45997 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45999         [BZ #16036]
46000         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46001         signaling NaN arguments.
46002         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46003         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46005         [BZ #14910]
46006         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46007         unordered operands.
46008         * soft-fp/gesf2.c (__gesf2): Likewise.
46009         * soft-fp/getf2.c (__getf2): Likewise.
46010         * soft-fp/ledf2.c (__ledf2): Likewise.
46011         * soft-fp/lesf2.c (__lesf2): Likewise.
46012         * soft-fp/letf2.c (__letf2): Likewise.
46014         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46015         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46016         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46017         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46018         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46019         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46020         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46021         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46022         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46023         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46024         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46025         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46026         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46027         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46028         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46029         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46030         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46031         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46032         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46033         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46034         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46035         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46036         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46037         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46038         * soft-fp/floattidf.c (__floattidf): Likewise.
46039         * soft-fp/floattisf.c (__floattisf): Likewise.
46040         * soft-fp/floattitf.c (__floattitf): Likewise.
46041         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46042         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46043         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46044         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46045         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46046         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46047         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46048         * soft-fp/gesf2.c (__gesf2): Likewise.
46049         * soft-fp/getf2.c (__getf2): Likewise.
46050         * soft-fp/ledf2.c (__ledf2): Likewise.
46051         * soft-fp/lesf2.c (__lesf2): Likewise.
46052         * soft-fp/letf2.c (__letf2): Likewise.
46054         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46055         Undefine and redefine.
46056         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46057         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46058         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46059         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46060         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46061         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46062         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46063         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46064         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46065         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46066         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46067         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46068         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46069         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46070         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46072         [BZ #16032]
46073         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46074         without decrementing exponent if mantissa >= that for the
46075         denominator, not >.
46076         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46077         denominator, not >.  Decrement exponent in < case instead of
46078         incrementing in >= case.
46079         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46080         without decrementing exponent if mantissa >= that for the
46081         denominator, not >.
46083         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46084         computing saturated result for unsigned overflow.
46086 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46087             Jeff Law  <law@redhat.com>
46089         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46090         (atan2Mp): Add systemtap probe marker.
46091         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46092         (__ieee754_log): Add systemtap probe marker.
46093         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46094         (atanMp): Add systemtap probe marker.
46095         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46096         (tanMp): Add systemtap probe marker.
46097         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46098         (__slowexp): Add systemtap probe marker.
46099         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46100         (__slowpow): Add systemtap probe marker.
46101         * manual/probes.texi: Document probes.
46103 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46105         [BZ #15362]
46106         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46107         written.
46108         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46109         written.
46110         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46111         written to buffer but not flushed.
46112         * libio/iofwrite_u.c:  Likewise.
46113         * libio/iopadn.c:  Return bytes returned even if EOF was
46114         encountered.
46115         * libio/iowpadn.c:  Likewise.
46116         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46117         if _IO_padn does not write the whole buffer.
46118         [!COMPILE_WPRINTF] (PAD): Likewise.
46120 2013-10-10  David S. Miller  <davem@davemloft.net>
46122         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46123         directory block.
46125 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46127         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46128         instead of FSF address.
46129         * soft-fp/fixdfti.c: Likewise.
46130         * soft-fp/fixsfti.c: Likewise.
46131         * soft-fp/fixtfti.c: Likewise.
46132         * soft-fp/fixunsdfti.c: Likewise.
46133         * soft-fp/fixunssfti.c: Likewise.
46134         * soft-fp/fixunstfti.c: Likewise.
46135         * soft-fp/floattidf.c: Likewise.
46136         * soft-fp/floattisf.c: Likewise.
46137         * soft-fp/floattitf.c: Likewise.
46138         * soft-fp/floatuntidf.c: Likewise.
46139         * soft-fp/floatuntisf.c: Likewise.
46140         * soft-fp/floatuntitf.c: Likewise.
46141         * soft-fp/trunctfxf2.c: Likewise.
46143         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46144         * soft-fp/fixdfti.c: Likewise.
46145         * soft-fp/fixsfti.c: Likewise.
46146         * soft-fp/fixtfti.c: Likewise.
46147         * soft-fp/fixunsdfti.c: Likewise.
46148         * soft-fp/fixunssfti.c: Likewise.
46149         * soft-fp/fixunstfti.c: Likewise.
46150         * soft-fp/floattidf.c: Likewise.
46151         * soft-fp/floattisf.c: Likewise.
46152         * soft-fp/floattitf.c: Likewise.
46153         * soft-fp/floatuntidf.c: Likewise.
46154         * soft-fp/floatuntisf.c: Likewise.
46155         * soft-fp/floatuntitf.c: Likewise.
46156         * soft-fp/trunctfxf2.c: Likewise.
46158 2013-10-10  David S. Miller  <davem@davemloft.net>
46160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46162 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46164         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46165         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46166         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46167         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46168         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46169         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46170         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46172         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46173         for NaNs before doing comparisons on argument.
46174         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46175         Likewise.
46177 2013-10-10  Will Newton  <will.newton@linaro.org>
46179         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46180         passed to _int_memalign does not overflow.
46182 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46184         * scripts/bench.pl: Add include-sources directive.
46185         * benchtests/README: Update documentation.
46187 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46189         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46190         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46191         instead of FP_INIT_ROUNDMODE.
46192         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46193         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46195         [BZ #16034]
46196         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46197         copy class of input value.
46198         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46199         not handle exceptions.
46200         * soft-fp/negsf2.c (__negsf2): Likewise.
46201         * soft-fp/negtf2.c (__negtf2): Likewise.
46202         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46204 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46206         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46207         semicolon.  From Linux kernel.
46209 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46211         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46213 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46215         [BZ #156]
46216         * manual/socket.texi: Added statement about buffer
46217         for gethostbyname2_r.
46219 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46221         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46222         Use .p2align directive instead, throughout.
46223         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46224         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46225         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46226         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46227         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46228         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46229         * sysdeps/x86_64/strchr.S: Likewise.
46230         * sysdeps/x86_64/strrchr.S: Likewise.
46232 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46234         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46236         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46238         * sysdeps/generic/math_private.h (__mpsin1): Remove
46239         declaration.
46240         (__mpcos1): Likewise.
46241         (__mpsin): New argument __range_reduce.
46242         (__mpcos): Likewise.
46243         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46244         (slow): Use __mpsin and __mpcos.
46245         (slow1): Likewise.
46246         (slow2): Likewise.
46247         (sloww): Likewise.
46248         (sloww1): Likewise.
46249         (sloww2): Likewise.
46250         (bsloww): Likewise.
46251         (bsloww1): Likewise.
46252         (bsloww2): Likewise.
46253         (cslow2): Likewise.
46254         (csloww): Likewise.
46255         (csloww1): Likewise.
46256         (csloww2): Likewise.
46257         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46258         range_reduce.  Merge in __mpsin1.
46259         (__mpcos): Likewise.
46260         (__mpsin1): Remove.
46261         (__mpcos1): Likewise.
46263 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46265         * locale/loadlocale.c (_nl_intern_locale_data): Use
46266         LOCFILE_ALIGNED_P.
46267         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46268         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46269         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46270         obstack data is appropriately aligned.
46271         (obstack_int32_grow_fast): Likewise.
46272         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46273         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46274         (add_locale_uint32_array): Likewise.
46276 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46278         * benchtests/Makefile: Remove ARGLIST and RET variables.
46279         ($(objpfx)bench-%.c): Pass only function name to the script.
46280         * benchtests/README: Update documentation.
46281         * benchtests/acos-inputs: Add new directives.
46282         * benchtests/acosh-inputs: Likewise.
46283         * benchtests/asin-inputs: Likewise.
46284         * benchtests/asinh-inputs: Likewise.
46285         * benchtests/atan-inputs: Likewise.
46286         * benchtests/atanh-inputs: Likewise.
46287         * benchtests/cos-inputs: Likewise.
46288         * benchtests/cosh-inputs: Likewise.
46289         * benchtests/exp-inputs: Likewise.
46290         * benchtests/log-inputs: Likewise.
46291         * benchtests/pow-inputs: Likewise.
46292         * benchtests/rint-inputs: Likewise.
46293         * benchtests/sin-inputs: Likewise.
46294         * benchtests/sinh-inputs: Likewise.
46295         * benchtests/tan-inputs: Likewise.
46296         * benchtests/tanh-inputs: Likewise.
46297         * scripts/bench.pl: Add support for new directives.
46299 2013-10-07  Alan Modra  <amodra@gmail.com>
46301         * README: Fix careless merge.
46303 2013-10-05  Alan Modra  <amodra@gmail.com>
46305         * NEWS: Mention powerpc64le support and bugs fixed.
46306         * README: Both big-endian and little-endian powerpc64 supported.
46308 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46310         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46311         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46312         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46313         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46315 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46317         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46318         match prototype.
46320 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46322         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46323         Move -mhard-float appending from
46324         ports/sysdeps/powerpc/powerpc32/Makefile.
46325         [$(with-fp) = yes] (ASFLAGS): Likewise.
46326         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46327         * sysdeps/powerpc/nofpu: Move directory from
46328         ports/sysdeps/powerpc/nofpu.
46329         * sysdeps/powerpc/soft-fp: Move directory from
46330         ports/sysdeps/powerpc/soft-fp.
46331         * sysdeps/powerpc/powerpc32/405: Move directory from
46332         ports/sysdeps/powerpc/powerpc32/405.
46333         * sysdeps/powerpc/powerpc32/440: Move directory from
46334         ports/sysdeps/powerpc/powerpc32/440.
46335         * sysdeps/powerpc/powerpc32/464: Move directory from
46336         ports/sysdeps/powerpc/powerpc32/464.
46337         * sysdeps/powerpc/powerpc32/476: Move directory from
46338         ports/sysdeps/powerpc/powerpc32/476.
46339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46340         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46342         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46344         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46346         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46348         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46349         * README: Update for powerpc-*-linux-gnu software floating point
46350         support in libc.
46352         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46353         case to powerpc/powerpc32*.
46354         * sysdeps/unix/sysv/linux/configure: Regenerated.
46356         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46357         (_FPU_MASK_OM): Define as 0x04.
46358         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46359         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46360         0x00c10080.
46361         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46362         0x0000003c.
46363         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46366         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46367         getcontext_e500.
46368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46369         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46370         setcontext_e500.
46371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46372         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46373         and setcontext_e500.
46375 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46377         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46379 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46381         * manual/threads.texi (Default Thread Attributes): Fix typo.
46383 2013-10-04  Will Newton  <will.newton@linaro.org>
46385         * malloc/Makefile: Add tst-memalign.
46386         * malloc/tst-memalign.c: New file.
46388         * malloc/tst-posix_memalign.c: Add comments.
46389         (do_test): Add comments and call free on all potentially
46390         allocated pointers. Add space after cast.
46392         * malloc/tst-pvalloc.c: Add comments.
46393         (do_test): Add comments and call free on all potentially
46394         allocated pointers. Remove duplicate check for NULL pointer.
46395         Add space after cast.
46397         * malloc/tst-valloc.c: Add comments.
46398         (do_test): Add comments and call free on all potentially
46399         allocated pointers. Remove duplicate check for NULL pointer.
46400         Add space after cast.
46402 2013-10-04  Alan Modra  <amodra@gmail.com>
46404         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46405         Use stdint types in rather than __attribute__((mode())).
46406         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46408 2013-10-04  Alan Modra  <amodra@gmail.com>
46410         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46411         Correct handling of unaligned relocs for little-endian.
46412         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46414 2013-10-04  Alan Modra  <amodra@gmail.com>
46416         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46417         * configure: Regenerate.
46418         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46419         * shlib-versions: Likewise.
46421 2013-10-04  Alan Modra  <amodra@gmail.com>
46423         * string/tester.c (test_memrchr): Increment reported test cycle.
46425 2013-10-04  Alan Modra  <amodra@gmail.com>
46427         * string/test-memcpy.c (do_one_test): When reporting errors, print
46428         string address and don't overrun end of string.
46430 2013-10-04  Alan Modra  <amodra@gmail.com>
46432         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46433         insrdi.  Make better use of reg selection to speed exit slightly.
46434         Schedule entry path a little better.  Remove useless "are we done"
46435         checks on entry to main loop.  Handle wrapping around zero address.
46436         Correct main loop count.  Handle single left-over word from main
46437         loop inline rather than by using loop_small.  Remove extra word
46438         case in loop_small caused by wrong loop count.  Add little-endian
46439         support.
46440         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46441         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46442         cache hint.
46443         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46444         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46445         support.  Avoid rlwimi.
46446         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46448 2013-10-04  Alan Modra  <amodra@gmail.com>
46450         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46451         insrdi.  Formatting.
46452         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46453         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46454         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46455         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46456         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46457         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46459 2013-10-04  Alan Modra  <amodra@gmail.com>
46461         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46462         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46463         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46464         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46465         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46466         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46467         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46468         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46469         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46470         use of regs.  Use power7 mtocrf.  Tidy function tails.
46472 2013-10-04  Alan Modra  <amodra@gmail.com>
46474         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46475         Formatting.  Consistently use rXXX register defines or rN defines.
46476         Use early exit labels that avoid restoring unused non-volatile regs.
46477         Make cr field use more consistent with rWORDn compares.  Rename
46478         regs used as shift registers for unaligned loop, using rN defines
46479         for short lifetime/multiple use regs.
46480         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46481         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46482         addi 1,1,64 to pop stack frame.  Simplify return value code.
46483         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46485 2013-10-04  Alan Modra  <amodra@gmail.com>
46487         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46488         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46489         rather than rlwimi.
46490         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46491         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46492         little-endian support.  Correct typos.
46493         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46494         rather than rlwimi.
46495         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46496         in loop and entry code to keep "and." results.
46497         (strchr): Add little-endian support.  Comment.  Move cntlzd
46498         earlier in tail.
46499         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46501 2013-10-04  Alan Modra  <amodra@gmail.com>
46503         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46504         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46505         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46506         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46508 2013-10-04  Alan Modra  <amodra@gmail.com>
46510         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46511         (rTMP): Define as r11.
46512         (strcmp): Add little-endian support.  Optimise tail.
46513         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46514         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46515         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46516         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46517         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46518         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46519         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46521 2013-10-04  Alan Modra  <amodra@gmail.com>
46523         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46524         little-endian support.  Remove unnecessary "are we done" tests.
46525         Handle "s" wrapping around zero and extremely large "size".
46526         Correct main loop count.  Handle single left-over word from main
46527         loop inline rather than by using small_loop.  Correct comments.
46528         Delete "zero" tail, use "end_max" instead.
46529         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46531 2013-10-04  Alan Modra  <amodra@gmail.com>
46533         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46534         support.  Don't branch over align.
46535         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46536         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46537         support.  Rearrange tmp reg use to suit.  Comment.
46538         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46540 2013-10-04  Alan Modra  <amodra@gmail.com>
46542         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46544 2013-10-04  Alan Modra  <amodra@gmail.com>
46546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46547         conditional form of branch and link when obtaining pc.
46548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46550 2013-10-04  Alan Modra  <amodra@gmail.com>
46552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46553         HIWORD/LOWORD.
46554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46557 2013-10-04  Alan Modra  <amodra@gmail.com>
46559         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46560         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46561         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46562         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46563         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46564         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46565         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46566         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46567         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46568         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46570 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46571             Alistair Popple <alistair@ozlabs.au.ibm.com>
46572             Alan Modra <amodra@gmail.com>
46574         [BZ #15723]
46575         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46576         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46577         _dl_hwcap access for little-endian.
46578         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46579         destroy vmx regs when saving unaligned.
46580         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46581         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46582         destroy vmx regs when saving unaligned.
46584 2013-10-04  Alan Modra  <amodra@gmail.com>
46586         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46587         Don't use a union to pack hi/low value.
46589 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46591         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46592         for little-endian.
46593         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46594         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46595         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46596         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46597         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46599 2013-10-04  Alan Modra  <amodra@gmail.com>
46601         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46602         constants to usual value for .cst8 section, and remove redundant
46603         high address load.
46604         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46605         constant for 0x1p52.  Load little-endian words of double from
46606         correct stack offsets.
46608 2013-10-04  Alan Modra  <amodra@gmail.com>
46610         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46611         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46612         words of double from correct stack offsets.
46613         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46614         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46615         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46616         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46617         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46618         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46619         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46620         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46621         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46622         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46623         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46624         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46625         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46626         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46627         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46628         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46629         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46631 2013-10-04  Alan Modra  <amodra@gmail.com>
46633         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46634         64-bit int/double union.
46635         (_FPU_SETCW): Likewise.
46636         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46637         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46639 2013-10-04  Alan Modra  <amodra@gmail.com>
46641         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46642         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46644 2013-10-04  Alan Modra  <amodra@gmail.com>
46646         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46647         use vector int constants.
46648         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46650 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46652         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46653         array with long long.
46654         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46655         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46656         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46657         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46658         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46659         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46660         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46661         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46662         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46663         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46664         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46665         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46666         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46668 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46670         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46671         (__signbit): Likewise.  Correct for little-endian.
46672         (__signbitl): Call __signbit.
46673         (lrint): Correct for little-endian.
46674         (lrintf): Call lrint.
46676 2013-10-04  Alan Modra  <amodra@gmail.com>
46678         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46679         union 32-bit int array member with 64-bit int array.
46680         (t515, tm256): Double rather than long double.
46681         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46683 2013-10-04  Alan Modra  <amodra@gmail.com>
46685         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46686         Delete.
46687         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46688         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46689         version of math_ldbl.h.
46691 2013-10-04  Alan Modra  <amodra@gmail.com>
46693         [BZ #15734], [BZ #15735]
46694         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46695         all uses of ieee875 long double macros and unions.  Simplify test
46696         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46697         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46698         normalize after ldbl_extract_mantissa, and don't add hidden bit
46699         already handled.  Don't treat low word of ieee854 mantissa like
46700         low word of IBM long double and mask off bit when testing for
46701         zero.
46702         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46703         all uses of ieee875 long double macros and unions.  Simplify tests
46704         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46705         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46706         two1022, instead use their values.  Recognise that tests for large
46707         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46708         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46709         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46710         test for 0.0L and nan.  Correct negation.
46711         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46712         ieee875 long double macros and unions.  Correct output for large
46713         magnitude x.  Correct absolute value calculation.
46714         (__erfcl): Likewise.
46715         * math/libm-test.inc: Add tests for errors discovered in IBM long
46716         double versions of fmodl, remainderl, erfl and erfcl.
46718 2013-10-04  Alan Modra  <amodra@gmail.com>
46720         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46721         all uses of ieee854 long double macros and unions.  Simplify tests
46722         for long doubles that are fully specified by the high double.
46723         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46724         Likewise.
46725         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46726         Remove dead code too.
46727         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46728         (__ieee754_ynl): Likewise.
46729         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46730         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46731         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46732         Remove dead code too.
46733         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46734         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46735         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46736         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46737         Simplify.
46738         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46739         Simplify.
46740         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46741         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46742         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46743         Comment on variable precision.
46744         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46745         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46746         Likewise.
46747         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46748         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46749         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46750         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46751         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46753 2013-10-04  Alan Modra  <amodra@gmail.com>
46755         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46756         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46757         all uses of ieee854 long double macros and unions.
46758         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46759         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46760         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46761         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46762         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46763         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46764         Likewise.
46765         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46766         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46767         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46768         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46769         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46770         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46771         Simplify sign and nan test too.
46772         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46773         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46774         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46775         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46776         Likewise.
46777         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46778         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46779         Likewise.
46780         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46781         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46782         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46783         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46784         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46785         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46787 2013-10-04  Alan Modra  <amodra@gmail.com>
46789         * stdio-common/printf_size.c (__printf_size): Don't use
46790         union ieee854_long_double in fpnum union.
46791         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46792         signbit macro to retrieve sign from long double.
46793         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46794         retrieve sign from long double.
46795         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46796         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46797         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46798         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46799         * math/test-misc.c (main): Don't use union ieee854_long_double.
46801 2013-10-04  Alan Modra  <amodra@gmail.com>
46803         [BZ #15680]
46804         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46805         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46806         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46807         calculation.  Remove unnecessary test for denormal exponent.
46808         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46809         Correct handling of denormals.  Avoid undefined shift behaviour.
46810         Correct normalisation of low mantissa when low double is denormal.
46811         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46812         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46813         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46814         Correct normalisation of low mantissa.  Test for overflow of high
46815         mantissa and normalise.
46816         (ldbl_nearbyint): Use more readable constant for two52.
46817         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46818         (__mpn_construct_long_double): Fix test for overflow of high
46819         mantissa and correct normalisation.  Avoid undefined shift.
46821 2013-10-04  Alan Modra  <amodra@gmail.com>
46823         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46824         (union ibm_extended_long_double): Define as an array of ieee754_double.
46825         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46826         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46827         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46828         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46829         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46830         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46831         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46832         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46833         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46834         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46835         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46837 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46839         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46840         page size instead of calling getpagesize.
46842         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46843         (LOCFILE_ALIGN_MASK): Likewise.
46844         (LOCFILE_ALIGN_UP): Likewise.
46845         (LOCFILE_ALIGNED_P): Likewise.
46846         * locale/programs/ld-collate.c (collate_output): Use the new
46847         macros instead of __alignof__ (int32_t).
46848         * locale/weight.h (findidx): Likewise.
46850 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46852         [BZ #431]
46853         * manual/string.texi: Fix strncat and wcsncat.
46855 2013-10-03  Brooks Moses  <bmoses@google.com>
46857         [BZ #15915]
46858         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46859         * Makerules: ...here, and adjust associated comments.
46861 2013-10-02  Will Newton  <will.newton@linaro.org>
46863         * malloc/Makefile: Add tst-pvalloc.
46864         * malloc/tst-pvalloc.c: New file.
46866 2013-10-02  Will Newton  <will.newton@linaro.org>
46868         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46869         improve test coverage.
46871 2013-10-02  Will Newton  <will.newton@linaro.org>
46873         * malloc/Makefile: Add tst-posix_memalign.
46874         * malloc/tst-posix_memalign.c: New file.
46876 2013-10-01  Eric Blake  <eblake@redhat.com>
46878         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46879         Use __THROWNL rather than __THROW on static functions.
46881 2013-09-30  Petr Machata  <pmachata@redhat.com>
46883         * elf/elf.h (R_AARCH64_ABS16): New macro.
46884         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46885         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46886         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46887         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46888         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46889         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46890         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46891         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46892         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46893         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46894         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46895         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46896         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46897         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46898         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46899         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46900         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46901         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46902         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46903         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46904         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46905         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46906         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46907         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46908         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46909         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46910         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46911         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46912         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46913         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46914         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46915         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46916         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46917         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46918         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46919         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46920         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46921         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46922         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46923         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46924         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46925         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46926         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46927         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46928         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46929         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46930         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46931         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46932         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46933         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46934         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46935         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46936         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46937         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46938         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46939         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46940         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46941         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46942         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46943         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46944         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46945         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46946         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46947         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46948         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46949         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46950         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46951         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46952         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46953         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46954         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46955         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46956         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46957         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46958         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46959         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46960         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46961         (R_AARCH64_TLSDESC_LDR): Likewise.
46962         (R_AARCH64_TLSDESC_ADD): Likewise.
46963         (R_AARCH64_TLSDESC_CALL): Likewise.
46965 2013-09-30  Andreas Schwab  <schwab@suse.de>
46967         [BZ #15048]
46968         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46969         the nss database lookup.
46970         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46971         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46973 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46975         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46977 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46979         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46980         ${Bash-specific parameter/pattern/string} parameter expansion.
46981         * sysdeps/unix/make-syscalls.sh: Likewise.
46983 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46985         * sysdeps/sh/stackguard-macros.h: New file.
46987 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46989         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46990         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46991         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46992         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46993         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46994         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46996 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46998         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46999         Fix thread ID register.
47001 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47003         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47004         [POSIX || UNIX98]: Require rather than permitting all symbols from
47005         <time.h>.
47006         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47007         element of struct sched_param.
47008         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47009         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47010         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47011         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47012         constant.
47014 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47016         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47017         argument calculation.
47019 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47021         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47022         Expect macro.
47023         [POSIX] (pthread_attr_t): Do not require type.
47024         [POSIX] (pthread_cond_t): Likewise.
47025         [POSIX] (pthread_condattr_t): Likewise.
47026         [POSIX] (pthread_key_t): Likewise.
47027         [POSIX] (pthread_mutex_t): Likewise.
47028         [POSIX] (pthread_mutexattr_t): Likewise.
47029         [POSIX] (pthread_once_t): Likewise.
47030         [POSIX] (pthread_t): Likewise.
47031         [POSIX-based standards] (pthread_atfork): Expect function.
47033 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47034             Richard Sandiford  <richard@codesourcery.com>
47036         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47037         (swap_endianness_p): New extern variable.
47038         (set_big_endian): New inline function.
47039         (maybe_swap_uint32): Likewise.
47040         (maybe_swap_uint32_array): Likewise.
47041         (maybe_swap_uint32_obstack): Likewise.
47042         * locale/programs/locfile.c: Include <stdbool.h>.
47043         (swap_endianness_p): New variable.
47044         (add_locale_uint32): Call maybe_swap_uint32.
47045         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47046         (write_locale_data): Call maybe_swap_uint32_array.
47047         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47048         maybe_swap_uint32.
47049         (obstack_int32_grow_fast): Likewise.
47050         (output_weightwc): Call maybe_swap_uint32_obstack.
47051         (collate_output): Likewise.
47052         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47053         (OPT_LITTLE_ENDIAN): Likewise.
47054         (options): Add --little-endian and --big-endian options.
47055         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47056         * locale/programs/locarchive.c: Include "locfile.h".
47057         (GET): New macro.
47058         (SET): Likewise.
47059         (INC): Likewise.
47060         (create_archive): Use the new macros to access fields of
47061         structures directly mapped from or written to locale archives.
47062         (oldlocrecentcmp): Likewise.
47063         (enlarge_archive): Likewise.
47064         (insert_name): Likewise.
47065         (add_alias): Likewise.
47066         (add_locale): Likewise.
47067         (delete_locales_from_archive): Likewise.
47068         (show_archive_content): Likewise.
47069         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47070         locale data.
47072 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47074         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47075         http://www.gnu.org/doc/freemanuals.texi.
47076         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47078 2013-09-24  Will Newton  <will.newton@linaro.org>
47080         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47081         macro.
47083 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47085         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47086         unsigned char.
47088 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47090         * manual/threads.texi (POSIX Threads): Fix a typo.
47092 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47094         [BZ #14547]
47095         * string/tst-strcoll-overflow.c: New test case.
47096         * string/Makefile (xtests): Add tst-strcoll-overflow.
47097         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47098         cache if string sizes may cause integer overflow.
47100         [BZ #14547]
47101         * string/strcoll_l.c (coll_seq): New members rule, idx,
47102         save_idx and back_us.
47103         (get_next_seq_nocache): New function.
47104         (do_compare_nocache): New function.
47105         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47106         when malloc fails.
47108 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47110         [BZ #15754]
47111         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47112         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47113         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47115         [BZ #15754]
47116         * elf/Makefile (tests): Add tst-ptrguard1.
47117         (tests-static): Add tst-ptrguard1-static.
47118         (tst-ptrguard1-ARGS): Define.
47119         (tst-ptrguard1-static-ARGS): Define.
47120         * elf/tst-ptrguard1.c: New file.
47121         * elf/tst-ptrguard1-static.c: New file.
47122         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47123         * sysdeps/i386/stackguard-macros.h: Likewise.
47124         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47125         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47126         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47127         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47128         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47129         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47131 2013-09-23  Hector Marco  <hecmargi@upv.es>
47132             Ismael Ripoll  <iripoll@disca.upv.es>
47133             Carlos O'Donell  <carlos@redhat.com>
47135         [BZ #15754]
47136         * sysdeps/generic/stackguard-macros.h: Define
47137         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47138         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47139         Define __pointer_chk_guard_local.
47140         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47141         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47143 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47145         [BZ #15859]
47146         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47148 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47150         * include/string.h (__ffs): Declare as hidden.
47151         * string/ffs.c (__ffs): Define as hidden.
47152         * sysdeps/i386/ffs.c (__ffs): Likewise.
47153         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47154         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47155         * sysdeps/s390/ffs.c (__ffs): Likewise.
47156         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47158 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47160         * NEWS: Mention malloc probes.
47162         * malloc/arena.c (new_heap): New memory_heap_new probe.
47163         (grow_heap): New memory_heap_more probe.
47164         (shrink_heap): New memory_heap_less probe.
47165         (heap_trim): New memory_heap_free probe.
47166         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47167         (systrim): New memory_sbrk_less probe.
47168         * manual/probes.texi: Document them.
47170         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47171         * manual/probes.texi: Document it.
47173         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47174         (__libc_realloc): Add memory_realloc_retry probe.
47175         (__libc_memalign): Add memory_memalign_retry probe.
47176         (__libc_valloc): Add memory_valloc_retry probe.
47177         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47178         (__libc_calloc): Add memory_calloc_retry probe.
47179         * manual/probes.texi: Document them.
47181         * malloc/arena.c (get_free_list): Add probe
47182         memory_arena_reuse_free_list.
47183         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47184         and memory_arena_reuse.
47185         (arena_get2) [!PER_THREAD]: Likewise.
47186         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47187         memory_arena_reuse_realloc.
47188         * manual/probes.texi: Document them.
47190         * malloc/malloc.c (__libc_free): Add
47191         memory_mallopt_free_dyn_thresholds probe.
47192         (__libc_mallopt): Add multiple memory_mallopt probes.
47193         * manual/probes.texi: Document them.
47195         * malloc/malloc.c: Include stap-probe.h.
47196         (__libc_mallopt): Add memory_mallopt probe.
47197         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47198         * manual/probes.texi: New.
47199         * manual/Makefile (chapters): Add probes.
47200         * manual/threads.texi: Set next node.
47202 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47204         [BZ #15963, #13985]
47205         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47206         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47207         Add `Chinese' to `nan' entry name.
47209 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47211         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47212         (POLYNOMIAL): Likewise.
47213         (TAYLOR_SINCOS): Likewise.
47214         (TAYLOR_SLOW): Likewise.
47215         (__sin): Use TAYLOR_SINCOS.
47216         (__cos): Likewise.
47217         (slow): Use TAYLOR_SLOW.
47218         (sloww): Likewise.
47219         (bsloww): Likewise.
47220         (csloww): Likewise.
47222 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47224         * stdlib/strtod_l.c: Fix buffer overrun.
47226 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47228         * benchtests/Makefile (bench): Add sincos.
47229         * benchtests/bench-sincos.c: New file.
47231         * math/libm-test.inc (cos_test_data): New test inputs.
47232         (sin_test_data): Likewise.
47234         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47235         macro.
47236         (__sin): Use it.
47237         (__cos): Likewise.
47238         (slow1): Likewise.
47239         (slow2): Likewise.
47240         (sloww1): Likewise.
47241         (sloww2): Likewise.
47242         (bsloww1): Likewise.
47243         (bsloww2): Likewise.
47244         (cslow2): Likewise.
47245         (csloww1): Likewise.
47246         (csloww2): Likewise.
47248         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47249         function.
47250         (__sin): Use it.
47251         (__cos): Likewise.
47253         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47254         gotos.
47255         (__cos): Likewise.
47257 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47259         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47260         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47261         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47262         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47263         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47264         * elf/cache.c (print_entry): Handle the new cache flags.
47266 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47267             Aldy Hernandez  <aldyh@redhat.com>
47269         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47270         Change condition to [_SOFT_FLOAT].
47271         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47272         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47274         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47276         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47283         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47286         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47287         declaration.
47289 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47291         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47292         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47293         (__longjmp): Use LOAD_GP to load saved GPRs.
47294         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47295         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47296         (__sigsetjmp): Use SAVE_GP to save GPRs.
47298         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47299         Do not append -msoft-float.
47300         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47302 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47304         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47306 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47308         [BZ #15966]
47309         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47310         (_FPU_GETCW): Use initial "__" on variable and field names but not
47311         on macro parameter name.
47312         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47313         parentheses around reference to macro parameter.
47315 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47317         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47318         prototype.
47319         (ctype_startup): Use uint32_t in cast and sizeof for
47320         ctype->charnames.
47322 2013-09-11  Jia Liu  <proljc@gmail.com>
47324         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47325         __daddr_t_defined.
47326         [__FreeBSD__]: Likewise.
47328 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47330         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47331         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47332         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47333         (strchr): Remove __strchr_sse42 ifunc selection.
47334         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47335         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47337 2013-09-11  Will Newton  <will.newton@linaro.org>
47339         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47340         parameter to RES. Remove hardcoded 1000 value.
47341         * benchtests/bench-skeleton.c (main): Pass RES parameter
47342         to TIMING_INIT and multiply result by 1000.
47344 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47348 2013-09-11  Andreas Schwab  <schwab@suse.de>
47350         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47351         if not defined.
47352         (O_TMPFILE) [__USE_GNU]: Define.
47353         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47354         Define.
47356 2013-09-11  Will Newton  <will.newton@linaro.org>
47358         [BZ #15857]
47359         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47360         does not overflow.
47362 2013-09-11  Will Newton  <will.newton@linaro.org>
47364         [BZ #15856]
47365         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47366         does not overflow.
47368 2013-09-11  Will Newton  <will.newton@linaro.org>
47370         [BZ #15855]
47371         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47372         does not overflow.
47374 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47376         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47377         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47378         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47379         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47380         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47382 2013-09-10  Allan McRae  <allan@archlinux.org>
47384         [BZ #15748]
47385         * manual/arith.texi (Parsing of Floats): Clarify
47386         cross-reference.
47388         [BZ #15849]
47389         * manual/install.texi (Running make install): Mention
47390         --enable-pt-chown.
47391         * INSTALL: Regenerated.
47393 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47395         * csu/init-first.c (_init): Remove the !SHARED condition around
47396         FPU control word initialization.
47397         * elf/dl-support.c (_dl_fpu_control): New variable.
47398         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47399         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47400         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47401         * math/test-fpucw-static.c: New file.
47402         * math/test-fpucw-ieee.c: New file.
47403         * math/test-fpucw-ieee-static.c: New file.
47404         * math/Makefile (tests): Add `test-fpucw-ieee' and
47405         `$(tests-static)'.
47406         (tests-static): New variable.
47407         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47408         dependency to...
47409         [($(build-shared),yes)]
47410         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47411         ... this.
47412         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47413         New dependency.
47415 2013-09-09  Allan McRae  <allan@archlinux.org>
47417         [BZ #15939]
47418         * manual/string.texi (Collation Functions): Fix typo in
47419         strcoll example.
47420         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47422         [BZ #15893]
47423         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47425         [BZ #15892]
47426         * libio/memstream.c (open_memstream): Fix memory leak.
47427         * libio/wmemstream.c (open_wmemstream): Likewise.
47429         [BZ #15895]
47430         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47432 2013-09-09  Will Newton  <will.newton@linaro.org>
47434         * malloc/Makefile: Add tst-realloc to tests.
47435         * malloc/tst-realloc.c: New file.
47437 2013-09-09  Allan McRae  <allan@archlinux.org>
47439         [BZ #15844]
47440         * COPYING: Update from GNU website to fix FSF address.
47441         * COPYING.LIB: Likewise.
47443 2013-09-06  David S. Miller  <davem@davemloft.net>
47445         * po/zh_TW.po: Update Chinese (traditional) translation from
47446         translation project.
47448 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47449             Joseph Myers  <joseph@codesourcery.com>
47451         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47452         "localeinfo.h".
47453         (obstack_chunk_alloc): New macro.
47454         (obstack_chunk_free): Likewise.
47455         (record_offset): New function.
47456         (init_locale_data): Likewise.
47457         (align_locale_data): Likewise.
47458         (add_locale_empty): Likewise.
47459         (add_locale_raw_data): Likewise.
47460         (add_locale_raw_obstack): Likewise.
47461         (add_locale_string): Likewise.
47462         (add_locale_wstring): Likewise.
47463         (add_locale_uint32): Likewise.
47464         (add_locale_uint32_array): Likewise.
47465         (add_locale_char): Likewise.
47466         (start_locale_structure): Likewise.
47467         (end_locale_structure): Likewise.
47468         (start_locale_prelude): Likewise.
47469         (end_locale_prelude): Likewise.
47470         (write_locale_data): Take locale_file structure rather than an
47471         iovec.
47472         * locale/programs/locfile.h: Include "obstack.h".
47473         (struct locale_file): Change to store locale file contents instead
47474         of header.
47475         (init_locale_data): New prototype.
47476         (align_locale_data): Likewise.
47477         (add_locale_empty): Likewise.
47478         (add_locale_raw_data): Likewise.
47479         (add_locale_raw_obstack): Likewise.
47480         (add_locale_string): Likewise.
47481         (add_locale_wstring): Likewise.
47482         (add_locale_uint32): Likewise.
47483         (add_locale_uint32_array): Likewise.
47484         (add_locale_char): Likewise.
47485         (start_locale_structure): Likewise.
47486         (end_locale_structure): Likewise.
47487         (start_locale_prelude): Likewise.
47488         (end_locale_prelude): Likewise.
47489         (write_locale_data): Update prototype.
47490         * locale/programs/3level.h (struct TABLE): Remove result field.
47491         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47492         Use new locale_file interface.
47493         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47494         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47495         * locale/programs/ld-address.c (address_output): Use new
47496         locale_file interface.
47497         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47498         NO_ADD_LOCALE.
47499         (collate_finish): Don't call collseq_table_finalize.
47500         (collate_output): Use new locale_file interface.
47501         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47502         in file.
47503         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47504         (TABLE): Move defines earlier in file.
47505         (ELEMENT): Likewise.
47506         (DEFAULT): Likewise.
47507         (wctrans_table_add): Move macro and inline function earlier in
47508         file.
47509         (struct wctype_table): Move type earlier in file.
47510         (add_locale_wctype_table): New static prototype.
47511         (struct locale_ctype_t): Use logical types instead of struct iovec
47512         pointers for members.
47513         (ctype_output): Use new locale_file interface.
47514         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47515         new locale_file interface.
47516         (allocate_arrays): Update for use of new locale_file interface.
47517         * locale/programs/ld-identification.c (identification_output): Use
47518         new locale_file interface.
47519         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47520         * locale/programs/ld-messages.c (messages_output): Likewise.
47521         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47522         * locale/programs/ld-name.c (name_output): Likewise.
47523         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47524         * locale/programs/ld-paper.c (paper_output): Likewise.
47525         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47526         * locale/programs/ld-time.c (time_output): Likewise.
47528 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47530         * benchtests/Makefile: Add memrchr benchmark.
47531         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47532         benchmark as memrchr.
47533         * benchtests/bench-memrchr-ifunc.c: New file.
47534         * benchtests/bench-memrchr.c: New file.
47536 2013-09-06   Will Newton  <will.newton@linaro.org>
47538         * benchtests/Makefile (string-bench): Add memcpy.
47540 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47541             Cong Wang  <amwang@redhat.com>
47543         [BZ #15850]
47544         * sysdeps/unix/sysv/linux/bits/in.h
47545         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47546         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47547         before __USE_KERNEL_IPV6_DEFS uses.
47548         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47549         IPPROTO_BEETPH.
47550         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47551         sockaddr_in6, or ipv6_mreq.
47553 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47555         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47556         memory access for final bytes in some large inputs.
47557         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47559 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47561         * string/test-memrchr.c: New file.
47562         * string/test-memrchr-ifunc.c: New file.
47563         * string/Makefile: Add new memrchr testcase.
47565 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47567         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47568         fanotify_init returns EPERM.
47570 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47572         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47573         errors.
47574         (top level): Treat second token from macro or constant entries for
47575         allowed headers as allowed.
47576         * include/complex.h: Condition internal declarations on
47577         [!_ISOMAC].
47578         * include/fenv.h: Condition include of <stdbool.h> and internal
47579         declarations on [!_ISOMAC].
47581 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47583         [BZ #15923]
47584         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47586 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47588         * configure.in (--enable-versioning): Remove configure option.
47589         (libc_cv_asm_symver_directive): Remove configure test.
47590         (libc_cv_ld_version_script_option): Likewise.
47591         (VERSIONING): Remove variable and AC_SUBST.
47592         (DO_VERSIONING): Remove AC_DEFINE.
47593         * configure: Regenerated.
47594         * config.h.in (DO_VERSIONING): Remove macro.
47595         * Makerules [$(versioning) = yes]: Change conditionals to
47596         [$(build-shared) = yes].
47597         * config.make.in (versioning): Remove variable.
47598         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47599         [$(build-shared) = yes].
47600         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47601         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47602         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47603         [$(build-shared) = yes].
47604         * extra-lib.mk [$(versioning) = yes]: Likewise.
47605         * hurd/Makefile [$(versioning) = yes]: Likewise.
47606         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47607         [SHARED].
47608         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47609         [SHARED].
47610         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47611         [SHARED && !NO_HIDDEN].
47612         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47613         [SHARED].
47614         [SHARED && DO_VERSIONING]: Likewise..
47615         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47616         [$(build-shared) = yes].
47617         * manual/install.texi (--disable-versioning): Remove
47618         documentation.
47619         * INSTALL: Regenerated.
47620         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47621         to [SHARED].
47622         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47623         [$(build-shared) = yes].
47624         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47625         * sysdeps/i386/i686/multiarch/strstr-c.c
47626         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47627         [SHARED && !NO_HIDDEN].
47628         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47629         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47630         * sysdeps/powerpc/powerpc32/dl-machine.c
47631         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47632         * sysdeps/powerpc/powerpc32/sysdep.h
47633         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47634         to [SHARED && PIC && !NO_HIDDEN].
47635         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47636         conditional to [SHARED].
47638 2013-09-04   Will Newton  <will.newton@linaro.org>
47640         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47641         * benchtests/bench-string.h: Include bench-timing.h instead
47642         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47643         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47644         call to HP_TIMING_DIFF_INIT.
47645         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47646         instead of hp-timing.h macros.
47647         * benchtests/bench-memchr.c: Likewise.
47648         * benchtests/bench-memcmp.c: Likewise.
47649         * benchtests/bench-memcpy.c: Likewise.
47650         * benchtests/bench-memmem.c: Likewise.
47651         * benchtests/bench-memmove.c: Likewise.
47652         * benchtests/bench-memset.c: Likewise.
47653         * benchtests/bench-rawmemchr.c: Likewise.
47654         * benchtests/bench-strcasecmp.c: Likewise.
47655         * benchtests/bench-strcasestr.c: Likewise.
47656         * benchtests/bench-strcat.c: Likewise.
47657         * benchtests/bench-strchr.c: Likewise.
47658         * benchtests/bench-strcmp.c: Likewise.
47659         * benchtests/bench-strcpy.c: Likewise.
47660         * benchtests/bench-strcpy_chk.c: Likewise.
47661         * benchtests/bench-strlen.c: Likewise.
47662         * benchtests/bench-strncasecmp.c: Likewise.
47663         * benchtests/bench-strncat.c: Likewise.
47664         * benchtests/bench-strncmp.c: Likewise.
47665         * benchtests/bench-strncpy.c: Likewise.
47666         * benchtests/bench-strnlen.c: Likewise.
47667         * benchtests/bench-strpbrk.c: Likewise.
47668         * benchtests/bench-strrchr.c: Likewise.
47669         * benchtests/bench-strspn.c: Likewise.
47670         * benchtests/bench-strstr.c: Likewise.
47672 2013-09-04  Will Newton  <will.newton@linaro.org>
47674         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47676 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47678         [BZ #15427]
47679         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47680         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47681         * math/libm-test.inc (lgamma_test_data): Add more tests.
47682         * sysdeps/i386/fpu/libm-test-ulps: Update.
47683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47685 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47687         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47688         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47689         Add ifunc.
47690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47691         Add strcmp-sse2-unaligned
47692         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47694 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47696         * Versions.def (libc): Add GLIBC_2.19.
47698 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47700         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47701         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47703 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47705         [BZ #14155]
47706         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47707         intermediate calculations in recurrence.
47708         (__ieee754_ynf): Likewise.
47709         * math/libm-test.inc (jn_test_data): Do not allow spurious
47710         underflow exception.  Add more tests.
47711         (yn_test_data): Add more tests.
47712         * sysdeps/i386/fpu/libm-test-ulps: Update.
47713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47715 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47717         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47719 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47721         * csu/init-first.c: Fix then/than typos.
47722         * locale/programs/ld-collate.c: Likewise.
47723         * locale/programs/linereader.h: Likewise.
47724         * manual/charset.texi: Likewise.
47725         * manual/filesys.texi: Likewise.
47726         * manual/stdio.texi: Likewise.
47727         * manual/string.texi: Likewise.
47728         * stdlib/fmtmsg.c: Likewise.
47729         * sysdeps/i386/stpncpy.S: Likewise.
47730         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47731         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47732         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47733         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47735 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47737         * elf/dl-open.c: Fix typos.
47738         * iconvdata/gbbig5.c: Likewise.
47739         * iconvdata/iso-2022-jp.c: Likewise.
47740         * iconv/gconv_int.h: Likewise.
47741         * iconv/loop.c: Likewise.
47742         * nis/rpcsvc/nis.h: Likewise.
47743         * resolv/ns_name.c: Likewise.
47744         * stdio-common/vfscanf.c: Likewise.
47745         * streams/stropts.h: Likewise.
47746         * sunrpc/rpc_thread.c: Likewise.
47747         * sysdeps/i386/strpbrk.S: Likewise.
47748         * sysdeps/ieee754/k_standard.c: Likewise.
47749         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47750         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47751         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47752         * sysdeps/mach/hurd/profil.c: Likewise.
47753         * sysdeps/s390/dl-procinfo.h: Likewise.
47754         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47755         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47756         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47757         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47758         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47760 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47762         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47763         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47765 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47767         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47768         aix specific files.
47769         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47770         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47771         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47772         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47773         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47774         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47775         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47776         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47778 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47779             Roland McGrath  <roland@hack.frob.com>
47781         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47782         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47784 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47786         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47787         __executable_start symbol instead of _start.
47789 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47791         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47792         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47793         Move macros to...
47794         * sysdeps/gnu/ldsodefs.h: ... this new file.
47796         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47797         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47798         instead of ELFOSABI_LINUX.
47800         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47801         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47802         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47803         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47804         Likewise.
47805         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47806         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47807         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47808         Likewise.
47809         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47810         (ibm_extended_long_double): Add ieee_nan member.
47811         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47812         (do_test): New function.
47814         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47815         TEST_TRUNC.
47816         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47817         functions, renamed from truncdfsf_test, trunctfsf_test,
47818         trunctfdf_test.
47819         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47820         functions.
47821         (do_test): Run all these.
47823 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47825         * argp/argp-help.c: Fix typos.
47826         * argp/argp-parse.c: Likewise.
47827         * debug/backtracesyms.c: Likewise.
47828         * elf/elf.h: Likewise.
47829         * malloc/malloc.c: Likewise.
47830         * nis/nis_print.c: Likewise.
47831         * resolv/res_comp.c: Likewise.
47832         * stdlib/stdlib.h: Likewise.
47833         * sunrpc/clnt_tcp.c: Likewise.
47834         * sunrpc/clnt_udp.c: Likewise.
47835         * sunrpc/clnt_unix.c: Likewise.
47836         * sysdeps/unix/bsd/ptsname.c: Likewise.
47837         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47838         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47840         Likewise.
47841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47842         Likewise.
47843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47844         Likewise.
47845         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47847 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47849         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47852 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47854         [BZ #15897]
47855         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47856         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47857         ($(objpfx)bug-dl-leaf): New rule.
47858         ($(objpfx)bug-dl-leaf.so): Likewise.
47859         ($(objpfx)bug-dl-leaf.out): Likewise.
47860         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47861         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47862         * dlfcn/bug-dl-leaf.c: New test.
47863         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47864         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47865         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47866         (dlclose): Likewise.
47867         (dlmopen): Likewise.
47869 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47871         * include/netdb.h [!_ISOMAC]:
47872         Don't include <tls.h>.
47873         (h_errno, __libc_h_errno): Move declaration and macros out of
47874         [_LIBC_REENTRANT].
47876         * include/resolv.h [_RESOLV_H_]:
47877         Don't include <tls.h>.
47878         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47879         * resolv/res_libc.c: Don't include <tls.h>.
47880         (_res): Use __attribute__ ((nocommon)) in place of
47881         __attribute__ ((section (".bss"))).
47883         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47884         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47886         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47888         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47889         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47891         * resolv/res_mkquery.c: Include <sys/time.h>.
47893         * inet/ifreq.c: Moved to ...
47894         * sysdeps/unix/ifreq.c: ... here.
47895         * inet/ifreq.c: New file, true stub version.
47897         * socket/sa_len.c: New file.
47898         * socket/Makefile (aux): Add it.
47899         * sysdeps/unix/sysv/linux/Makefile
47900         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47901         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47902         and #include <socket/sa_len.c>.
47903         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47904         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47906         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47907         * bits/socket.h: ... here.
47909         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47910         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47911         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47913 2013-08-27  Andreas Schwab  <schwab@suse.de>
47915         [BZ #15736]
47916         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47917         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47918         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47919         * string/test-strcasecmp.c (test_main): Run tests in several
47920         locales.
47921         * string/test-strncasecmp.c (test_main): Likewise.
47923         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47924         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47925         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47926         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47927         (__strncasecmp_ssse3) [PIC]: Likewise.
47929 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47931         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47933         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47934         instead of explicitly declaring xdecrypt.
47935         * nis/nss_nis/nis-publickey.c: Likewise.
47937 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47939         [BZ #15890]
47940         * nscd/aicache.c: Include res_hconf.h.
47941         (addhstaiX): Initialize res_hconf.
47943 2013-08-26  Andreas Schwab  <schwab@suse.de>
47945         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47946         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47948 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47950         * nscd/aicache.c (addhstaiX): Fix indentation.
47952 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47954         * configure.ac: Quote $build_pt_chown test.
47955         * configure: Regenerated.
47957 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47959         [BZ #15532]
47960         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47961         * math/s_cexpf.c (__cexpf): Likewise.
47962         * math/s_cexpl.c (__cexpl): Likewise.
47963         * math/libm-test.inc (cexp_test_data): Correct expected return
47964         value for NaN + i0.  Add another test.
47966 2013-08-22  David S. Miller  <davem@davemloft.net>
47968         * po/ca.po: Update Catalan translation from translation project.
47969         * po/uk.po: Add Ukrainian translations from translation project.
47971 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47973         [BZ #15797]
47974         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47975         is infinite, not alongside NaN test.
47976         * math/s_fdimf.c (__fdimf): Likewise.
47977         * math/s_fdiml.c (__fdiml): Likewise.
47978         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47979         errno is unchanged.
47981 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47983         * argp/argp-help.c: Fix typos.
47984         * crypt/speeds.c: Likewise.
47985         * csu/check_fds.c: Likewise.
47986         * elf/dl-load.c: Likewise.
47987         * elf/dl-open.c: Likewise.
47988         * elf/reldep3.c: Likewise.
47989         * elf/reldep.c: Likewise.
47990         * elf/sprof.c: Likewise.
47991         * iconv/iconv_charmap.c: Likewise.
47992         * iconv/skeleton.c: Likewise.
47993         * iconv/strtab.c: Likewise.
47994         * io/lockf64.c: Likewise.
47995         * libio/libioP.h: Likewise.
47996         * resolv/gai_notify.c: Likewise.
47997         * resolv/ns_name.c: Likewise.
47998         * resolv/ns_samedomain.c: Likewise.
47999         * resolv/res_send.c: Likewise.
48000         * stdlib/random.c: Likewise.
48001         * sunrpc/rpc/xdr.h: Likewise.
48002         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48003         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48004         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48005         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48006         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48007         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48008         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48009         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48010         * sysdeps/mach/hurd/check_fds.c: Likewise.
48011         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48012         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48013         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48014         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48015         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48016         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48017         * sysdeps/pthread/aio_notify.c: Likewise.
48018         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48019         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48020         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48021         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48022         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48024 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48026         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48027         version if bit_Slow_SSE4_2 is set.
48028         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48029         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48031 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48033         [BZ #15867]
48034         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48035         trampoline stack frame information.
48036         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48037         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48038         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48039         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48040         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48041         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48042         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48043         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48044         sa_flags value.
48045         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48046         interrupting a syscall and set with option SA_SIGINFO.
48048 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48050         [BZ #15531]
48051         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48052         argument is infinite.
48053         * math/s_cprojf.c (__cprojf): Likewise.
48054         * math/s_cprojl.c (__cprojl): Likewise.
48055         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48056         * math/libm-test.inc (cproj_test_data): Add more tests.
48058         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48060         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48061         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48062         size.  Use __ffs to determine corresponding shift.
48064 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48065             Roland McGrath  <roland@hack.frob.com>
48067         * Makefile (INSTALL): Remove trailing blank lines from output of
48068         makeinfo.
48070 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48072         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48073         Align 32 bit compat elf_greg to 8 bytes.
48075 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48077         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48079 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48081         * string/strcoll_l.c (coll_seq): New structure.
48082         (get_next_seq_cached): New function.
48083         (get_next_seq): New function.
48084         (do_compare): New function.
48085         (STRCOLL): Use GNU style definition.  Simplify implementation
48086         by using get_next_seq, get_next_seq_cached and do_compare.
48088 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48090         [BZ #14699]
48091         CVE-2013-4237
48092         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48093         member.
48094         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48095         member.
48096         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48097         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48098         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48099         conditional.
48100         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48101         GETDENTS_64BIT_ALIGNED.
48102         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48103         * manual/filesys.texi (Reading/Closing Directory): Document
48104         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48105         strongly.
48106         * manual/conf.texi (Limits for Files): Add portability note to
48107         NAME_MAX, PATH_MAX.
48108         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48110 2013-08-13  Andreas Schwab  <schwab@suse.de>
48112         [BZ #15749]
48113         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48114         of fabs.
48115         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48116         LDBL_MAX_EXP >= 16384]: Add tests for it.
48118 2013-08-12  David S. Miller  <davem@davemloft.net>
48120         * version.h (RELEASE): Set to "development".
48121         (VERSION): Set to "2.18.90".
48122         * NEWS: Add 2.19 section.
48124 2013-08-03  David S. Miller  <davem@davemloft.net>
48126         * po/ko.po: Update Korean translation from translation project.
48128 2013-08-01  David S. Miller  <davem@davemloft.net>
48130         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48131         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48132         Bilka.
48134 2013-07-30  David S. Miller  <davem@davemloft.net>
48136         * po/fr.po: Update French translation from translation project.
48138 2013-07-28  David S. Miller  <davem@davemloft.net>
48140         * po/cs.po: Update Czech translation from translation project.
48142         * po/sv.po: Update Swedish translation from translation project.
48144 2013-07-27  David S. Miller  <davem@davemloft.net>
48146         * po/eo.po: Update Esperanto translation from translation project.
48148         * po/vi.po: Update Vietnamese translation from translation project.
48150         * po/de.po: Update German translation from translation project.
48152 2013-07-26  David S. Miller  <davem@davemloft.net>
48154         * po/bg.po: Update Bulgarian translation from translation project.
48156         * po/nl.po: Update Dutch translation from translation project.
48157         * po/pl.po: Update Polish translation from translation project.
48158         * po/ru.po: Update Russian translation from translation project.
48160 2013-07-24  David S. Miller  <davem@davemloft.net>
48162         * po/libc.pot: Update.
48164 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48166         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48167         variable page size.
48168         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48169         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48170         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48172 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48174         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48176 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48177             Andreas Schwab  <schwab@suse.de>
48178             Roland McGrath  <roland@hack.frob.com>
48179             Joseph Myers  <joseph@codesourcery.com>
48180             Carlos O'Donell  <carlos@redhat.com>
48182         [BZ #15755]
48183         * config.h.in: Define HAVE_PT_CHOWN.
48184         * config.make.in (build-pt-chown): New variable.
48185         * configure.in (--enable-pt_chown): New configure option.
48186         * configure: Regenerate.
48187         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48188         build-pt-chown is enabled.
48189         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48190         pt_chown to fix pty ownership.
48191         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48192         CLOSE_ALL_FDS.
48193         * manual/install.texi (Configuring and compiling): Mention
48194         --enable-pt_chown. Add @findex for grantpt.
48195         * INSTALL: Regenerate.
48197 2013-07-20  David S. Miller  <davem@davemloft.net>
48199         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48200         difference between 32-bit and 64-bit.
48202 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48204         [BZ #15711]
48205         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48206         Avoid system header dependency with -ffreestanding.
48207         ($(objpfx)bits/syscall%d): Likewise.
48209 2013-07-13  David S. Miller  <davem@davemloft.net>
48211         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48212         underflows from atanl/atan2l due to bug 15319.
48213         (casinh_test_data): Likewise.
48215 2013-07-07  David S. Miller  <davem@davemloft.net>
48217         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48219 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48221         * sysdeps/i386/fpu/libm-test-ulps: Update.
48222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48224 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48226         * configure.in (--enable-lock-elision): Fix message text.
48227         * INSTALL: Regenerate.
48228         * configure: Regenerate.
48230 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48234 2013-07-03  Andreas Jaeger  <aj@suse.de>
48236         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48237         define.
48238         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48239         (ptrace_peeksiginfo_args): Add.
48240         (__ptrace_peeksiginfo_flags): Add.
48241         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48242         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48243         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48245 2013-07-03  Allan McRae  <allan@archlinux.org>
48247         * sysdeps/i386/fpu/libm-test-ulps: Update.
48249 2013-07-02  David S. Miller  <davem@davemloft.net>
48251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48253 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48255         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48257 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48259         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48262 2013-07-02  Andi Kleen <ak@linux.intel.com>
48264         * config.h.in (ENABLE_LOCK_ELISION): Add.
48265         * configure.in (--enable-lock-elision): Add option.
48266         * manual/install.texi: Document --enable lock elision.
48267         * configure: Regenerate
48268         * INSTALL: Regenerate.
48270 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48272         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48273         SSE4.2 strcasecmp for libc.a.
48274         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48276 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48278         [BZ #13304]
48279         * soft-fp/op-common.h (_FP_FMA): New macro.
48280         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48281         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48282         (_FP_MUL_MEAT_1_imm): ... here.
48283         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48284         (_FP_MUL_MEAT_1_wide): ... here.
48285         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48286         (_FP_MUL_MEAT_1_hard): ... here.
48287         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48288         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48289         (_FP_MUL_MEAT_2_wide): ... here.
48290         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48291         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48292         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48293         (_FP_MUL_MEAT_2_gmp): ... here.
48294         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48295         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48296         (_FP_MUL_MEAT_4_wide): ... here.
48297         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48298         (_FP_MUL_MEAT_4_gmp): ... here.
48299         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48300         (_FP_WFRACBITS_DW_S): Likewise.
48301         (_FP_WFRACXBITS_DW_S): Likewise.
48302         (_FP_HIGHBIT_DW_S): Likewise.
48303         (FP_FMA_S): Likewise.
48304         (_FP_FRAC_HIGH_DW_S): Likewise.
48305         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48306         (_FP_WFRACBITS_DW_D): Likewise.
48307         (_FP_WFRACXBITS_DW_D): Likewise.
48308         (_FP_HIGHBIT_DW_D): Likewise.
48309         (FP_FMA_D): Likewise.
48310         (_FP_FRAC_HIGH_DW_D): Likewise.
48311         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48312         (_FP_WFRACBITS_DW_E): Likewise.
48313         (_FP_WFRACXBITS_DW_E): Likewise.
48314         (_FP_HIGHBIT_DW_E): Likewise.
48315         (FP_FMA_E): Likewise.
48316         (_FP_FRAC_HIGH_DW_E): Likewise.
48317         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48318         (_FP_WFRACBITS_DW_Q): Likewise.
48319         (_FP_WFRACXBITS_DW_Q): Likewise.
48320         (_FP_HIGHBIT_DW_Q): Likewise.
48321         (FP_FMA_Q): Likewise.
48322         (_FP_FRAC_HIGH_DW_Q): Likewise.
48323         * soft-fp/fmasf4.c: New file.
48324         * soft-fp/fmadf4.c: Likewise.
48325         * soft-fp/fmatf4.c: Likewise.
48327 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48329         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48330         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48331         Silvermont.
48332         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48333         macro.
48334         (index_Slow_SSE4_2): Likewise.
48335         (index_Prefer_PMINUB_for_stringop): Likewise.
48336         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48337         bit_Slow_SSE4_2 is set.
48338         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48339         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48341 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48343         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48344         rtld_global._dl_hwcap2.
48345         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48346         POWER8.
48347         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48348         POWER8 feature descriptions defined in _dl_hwcap2.
48349         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48350         string handling for POWER8 feature bits.
48351         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48352         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48353         _dl_powerpc_cap_flags.
48354         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48355         * sysdeps/powerpc/rtld-global-offsets.sym
48356         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48357         _dl_hwcap2 in the rtld_global_ro structure.
48359 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48361         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48362         hardware capabilities in support of AT_HWCAP2.
48363         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48364         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48365         GLRO(dl_hwcap2).
48366         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48367         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48368         explicitly the unknown a_type display mechanism is used.
48369         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48370         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48371         struct member.
48372         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48373         to macro prototype for AT_HWCAP2 support.
48374         * sysdeps/i386/dl-procinfo.h: Likewise.
48375         * sysdeps/s390/dl-procinfo.h: Likewise.
48376         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48377         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48378         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48379         return -1 for unknown a_type display fallback.
48380         * sysdeps/sparc/dl-procinfo.h: Likewise.
48381         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48382         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48384 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48386         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48387         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48389 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48391         [BZ #12492]
48392         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48393         mprotect making __stack_prot writable.
48395 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48396             Joseph Myers  <joseph@codesourcery.com>
48398         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48399         as being properly aligned.
48401 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48403         * dlfcn/modstatic5.c: New file.
48404         * dlfcn/tststatic5.c: New file.
48405         * dlfcn/Makefile (tests): Add tststatic5.
48406         (tests-static): Likewise.
48407         (modules-names): Add modstatic5.
48408         (tststatic5-ENV): New variable.
48409         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48411         [BZ #15022]
48412         * elf/dl-support.c (_dl_main_map): New variable.
48413         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48414         (_dl_nns, _dl_load_adds): Set to 1.
48415         (_dl_initial_searchlist): Refer to _dl_main_map.
48416         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48417         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48418         call to _dl_get_origin.
48419         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48420         around call_map.
48421         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48422         * dlfcn/modstatic3.c: New file.
48423         * dlfcn/tststatic3.c: New file.
48424         * dlfcn/tststatic4.c: New file.
48425         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48426         (tests-static): Likewise.
48427         (modules-names): Add modstatic3.
48428         (tststatic3-ENV, tststatic4-ENV): New variables.
48429         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48430         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48432 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48434         * configure.in (CC): Require GCC version 4.4 or later.
48435         * configure: Regenerated.
48436         * manual/install.texi (Tools for Compilation): Update GCC version
48437         requirement.
48438         * INSTALL: Regenerated.
48440 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48442         [BZ #15674]
48443         * string/test-memcmp.c (check2): New.
48444         (main): Call check2.
48446         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48448 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48450         [BZ #15022]
48451         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48452         over to...
48453         (dl_open_worker) [!SHARED]: ... here.
48455 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48457         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48459 2013-06-25  Richard Henderson  <rth@redhat.com>
48461         * locale/programs/locarchive.c: Include <libc-internal.h>
48463 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48465         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48466         trailing whitespace removed.
48468 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48470         [BZ #10283]
48471         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48472         * locale/programs/locarchive.c: Include libc-mmap.h.
48473         (prepare_address_space): Take two new outputs (the mmap base and len).
48474         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48475         values.
48476         (create_archive): Declare new mmap base and len values for
48477         prepare_address_space, and store the result in ah.
48478         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48479         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48480         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48481         Declare new mmap base and len values for
48482         prepare_address_space, and store the result in new_ah.
48483         (open_archive): Declare new mmap base and len values for
48484         prepare_address_space, and store the result in ah.
48485         (close_archive): If ah->mmap_base is not NULL, use that and
48486         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48487         * sysdeps/generic/libc-mmap.h: New file.
48489 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48491         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48492         (ALIGN_UP): Likewise.
48493         (PTR_ALIGN_DOWN): Likewise.
48494         (PTR_ALIGN_UP): Likewise.
48496 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48498         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48499         entry mapped to PPC_PLATFORM_POWER8.
48500         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48501         POWER8.
48502         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48503         (_dl_string_platform): Add case for exporting platform position for
48504         POWER8.
48505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48506         search path to sysdeps/powerpc/powerpc32/power8 directory.
48507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48508         search path to sysdeps/powerpc/powerpc64/power8 directory.
48509         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48510         power7 directories.
48511         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48512         power7 directories.
48514 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48516         * INSTALL: Regenerate.
48518         * nscd/connections.c (nscd_init): Fix comment.
48520 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48522         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48524         [BZ #15667]
48525         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48526         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48528 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48530         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48531         DL_DST_REQ_STATIC.
48532         (DL_DST_REQ_STATIC): Remove macro.
48534 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48536         [BZ #7006]
48537         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48538         with a shift of 0 bits.
48540 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48542         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48543         $(tststatic-ENV).
48545 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48547         [BZ #15655]
48548         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48550 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48552         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48553         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48554         accepts -fno-tree-loop-distribute-patterns.
48555         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48556         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48557         recursive call.
48558         * string/memset.c (memset): Likewise.
48559         * string/test-memmove.c (simple_memmove): Disable loop transformation
48560         to library calls.
48561         * string/test-memset.c (simple_memset): Likewise.
48562         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48563         * benchtests/bench-memset.c (simple_memset): Likewise.
48564         * configure: Regenerated.
48566 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48568         * math/test-misc.c (main): Ignore fesetround failure when failures
48569         of subsequent rounding tests would be ignored.
48571         [BZ #15654]
48572         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48573         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48574         * math/fegetenv.c (__fegetenv): Return 0.
48575         * math/fegetexcept.c (fegetexcept): Return 0.
48576         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48577         FE_TONEAREST.
48578         * math/feholdexcpt.c (feholdexcept): Return 0.
48579         * math/fesetenv.c (__fesetenv): Return 0.
48580         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48581         argument FE_TONEAREST.
48582         * math/feupdateenv.c (__feupdateenv): Return 0.
48583         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48585 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48587         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48588         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48589         ($(objpfx)rtld-%.os rules): Use them.
48591 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48593         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48594         fields.
48596 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48598         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48599         length of target pattern, then descending length of dependency pattern.
48600         * configure.in (AWK): Require gawk 3.1.2 or newer.
48601         * manual/install.texi (Tools for Compilation): Say that we do.
48602         * configure: Regenerated.
48604         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48605         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48606         * scripts/sysd-rules.awk: ... this new script.
48607         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48608         than a glob-style pattern.
48610 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48612         * math/test-misc.c (main): Do not treat incorrectly rounded
48613         conversions as failure unless ROUNDING_TESTS passes.
48615 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48617         [BZ #15631]
48618         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48619         restore exception state around main square root computation, then
48620         check for inexactness explicitly.
48622         * math/libm-test.inc (fma_test_data): Add another test.
48624 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48626         * manual/threads.texi (Non-POSIX Extensions): New document
48627         node.  Document pthread_getattr_default_np and
48628         pthread_setattr_default_np.
48630         * Versions.def (libpthread): Add GLIBC_2.18.
48631         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48633         Likewise.
48634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48635         Likewise.
48636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48637         Likewise.
48638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48639         Likewise.
48640         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48641         Likewise.
48642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48643         Likewise.
48644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48645         Likewise.
48646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48647         Likewise.
48648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48649         Likewise.
48651 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48653         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48654         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48656 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48657             H.J. Lu  <hjl.tools@gmail.com>
48659         [BZ #15627]
48660         * sysdeps/x86_64/rtld-memset.c: Remove file.
48661         * sysdeps/x86_64/rtld-memset.S: New file.
48663 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48665         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48666         (test_in_one_mode): Take arguments for whether the rounding mode
48667         is supported for each floating-point type.
48668         (do_test): Pass new arguments to test_in_one_mode using
48669         ROUNDING_TESTS.
48671 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48673         * posix/tst-waitid.c (do_test): Distinguish different instances of
48674         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48675         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48676         before entering the kernel for waitpid.
48678 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48680         * NEWS: Fix note on clock function precision.  Text by Roland
48681         McGrath.
48683 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48685         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48686         it into place only when and if the sanity check passes.
48688 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48690         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48691         output for whether conversion result is exact.  Take argument
48692         indicating whether type is IBM long double.
48693         (round_for_all): Change need_exact field to ibm_ld.
48694         * stdlib/tst-strtod-round.c (struct exactness): New type.
48695         (struct test): Change bool ld_ok field to struct exactness exact.
48696         (TEST): Update all definitions for change to field.
48697         (tests): Regenerate array contents.
48698         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48699         field value.  Check for IBM long double here.
48700         (do_test): Update calls to test_in_one_mode.
48702 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48704         [BZ #12515]
48705         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48706         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48708 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48710         [BZ #15605]
48711         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48712         generated by the compiler on loop optimizations.
48713         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48714         general definitions.
48716 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48718         * math/bug-nextafter.c: Include <math-tests.h>.
48719         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48720         the relevant type.
48721         * math/bug-nexttoward.c: Include <math-tests.h>.
48722         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48723         the relevant type.
48724         * math/test-misc.c: Include <math-tests.h>.
48725         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48726         the relevant type.
48728 2013-06-12  Andreas Jaeger  <aj@suse.de>
48730         * po/ia.po: Update Interlingua translation from translation
48731         project.
48733 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48735         * include/fenv.h: Include stdbool.h.
48736         (struct rm_ctx): New structure.
48737         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48738         Define macro.
48739         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48740         (SET_RESTORE_ROUNDF): Likewise.
48741         (SET_RESTORE_ROUNDL): Likewise.
48742         (SET_RESTORE_ROUND_NOEX): Likewise.
48743         (SET_RESTORE_ROUND_NOEXF): Likewise.
48744         (SET_RESTORE_ROUND_NOEXL): Likewise.
48745         (SET_RESTORE_ROUND_53BIT): Likewise.
48746         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48747         (libc_feresetround_noexf_ctx): Likewise.
48748         (libc_feresetround_noexl_ctx): Likewise.
48749         (libc_feholdsetround_53bit_ctx): Likewise.
48750         (libc_feresetround_53bit_ctx): Likewise.
48751         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48752         (libc_feholdexcept_setround_sse_ctx): New function.
48753         (libc_fesetenv_sse_ctx): Likewise.
48754         (libc_feupdateenv_sse_ctx): Likewise.
48755         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48756         (libc_feholdexcept_setround_387_ctx): Likewise.
48757         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48758         (libc_feholdsetround_387_prec_ctx): Likewise.
48759         (libc_feholdsetround_387_ctx): Likewise.
48760         (libc_feholdsetround_387_53bit_ctx): Likewise.
48761         (libc_feholdsetround_sse_ctx): Likewise.
48762         (libc_feresetround_sse_ctx): Likewise.
48763         (libc_feresetround_387_ctx): Likewise.
48764         (libc_feupdateenv_387_ctx): Likewise.
48765         (libc_feholdexcept_setroundf_ctx): Define macro.
48766         (libc_fesetenvf_ctx): Likewise.
48767         (libc_feupdateenvf_ctx): Likewise.
48768         (libc_feholdsetroundf_ctx): Likewise.
48769         (libc_feresetroundf_ctx): Likewise.
48770         (libc_feholdexcept_setround_ctx): Likewise.
48771         (libc_fesetenv_ctx): Likewise.
48772         (libc_feupdateenv_ctx): Likewise.
48773         (libc_feholdsetround_ctx): Likewise.
48774         (libc_feresetround_ctx): Likewise.
48775         (libc_feholdexcept_setroundl_ctx): Likewise.
48776         (libc_feupdateenvl_ctx): Likewise.
48777         (libc_feholdsetroundl_ctx): Likewise.
48778         (libc_feresetroundl_ctx): Likewise.
48779         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48780         (libc_feresetround_53bit_ctx): Likewise.
48782 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48784         * locale/iso-639.def: Convert to UTF-8.
48786 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48788         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48789         (EXCEPTION_TESTS_double): Likewise.
48790         (EXCEPTION_TESTS_long_double): Likewise.
48791         (EXCEPTION_TESTS): Likewise.
48792         * math/libm-test.inc (test_exceptions): Only test exceptions if
48793         EXCEPTION_TESTS (FLOAT).
48795 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48797         * benchtests/Makefile (string-bench): Add strcpy_chk and
48798         stpcpy_chk.
48799         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48800         * benchtests/bench-stpcpy_chk.c: New file.
48801         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48802         * benchtests/bench-strcpy_chk.c: New file.
48803         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48804         code.
48805         (do_test): Likewise.
48807 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48809         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48810         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48811         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48812         with tabs where appropriate.
48813         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48814         dl-procinfo.h.
48815         [PPC_PLATFORM_PPC440]: Likewise.
48816         [PPC_PLATFORM_PPC464]: Likewise.
48817         [PPC_PLATFORM_PPC476]: Likewise.
48818         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48819         ppc464, and ppc476 platform strings merging from ports/
48820         dl-procinfo.h.
48822 2013-06-11  Andreas Schwab  <schwab@suse.de>
48824         [BZ #14991]
48825         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48826         (from_ucs4_idx): Regenerate.
48827         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48828         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48829         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48830         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48831         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48832         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48833         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48834         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48835         from FROM_LOOP and TO_LOOP specific macros.
48836         (BODY): Handle combining characters.
48837         * iconvdata/BIG5HKSCS.irreversible: Update.
48838         * iconvdata/BIG5HKSCS.precomposed: New file.
48839         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48840         characters.
48841         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48843 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48845         * include/sys/time.h: Fix indentation and add copyright header.
48847         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48848         (do_test): Likewise.
48849         * string/test-memchr.c (do_one_test): Likewise.
48850         (do_test): Likewise.
48851         * string/test-memcmp.c (do_one_test): Likewise.
48852         (do_test): Likewise.
48853         * string/test-memcpy.c (do_one_test): Likewise.
48854         (do_test): Likewise.
48855         * string/test-memmem.c (do_one_test): Likewise.
48856         (do_test): Likewise.
48857         (do_random_tests): Likewise.
48858         * string/test-memmove.c (do_one_test): Likewise.
48859         (do_test): Likewise.
48860         * string/test-memset.c (do_one_test): Likewise.
48861         (do_test): Likewise.
48862         * string/test-rawmemchr.c (do_one_test): Likewise.
48863         (do_test): Likewise.
48864         * string/test-strcasecmp.c (do_one_test): Likewise.
48865         (do_test): Likewise.
48866         * string/test-strcasestr.c (do_one_test): Likewise.
48867         (do_test): Likewise.
48868         * string/test-strcat.c (do_one_test): Likewise.
48869         (do_test): Likewise.
48870         * string/test-strchr.c (do_one_test): Likewise.
48871         (do_test): Likewise.
48872         * string/test-strcmp.c (do_one_test): Likewise.
48873         (do_test): Likewise.
48874         * string/test-strcpy.c (do_one_test): Likewise.
48875         (do_test): Likewise.
48876         * string/test-string.h: Likewise.
48877         (test_init): Likewise.
48878         * string/test-strlen.c (do_one_test): Likewise.
48879         (do_test): Likewise.
48880         * string/test-strncasecmp.c (do_one_test): Likewise.
48881         (do_test): Likewise.
48882         * string/test-strncat.c (do_one_test): Likewise.
48883         (do_test): Likewise.
48884         * string/test-strncmp.c (do_one_test): Likewise.
48885         (do_test_limit): Likewise.
48886         (do_test): Likewise.
48887         * string/test-strncpy.c (do_one_test): Likewise.
48888         (do_test): Likewise.
48889         * string/test-strnlen.c (do_one_test): Likewise.
48890         (do_test): Likewise.
48891         * string/test-strpbrk.c (do_one_test): Likewise.
48892         (do_test): Likewise.
48893         * string/test-strrchr.c (do_one_test): Likewise.
48894         (do_test): Likewise.
48895         * string/test-strspn.c (do_one_test): Likewise.
48896         (do_test): Likewise.
48897         * string/test-strstr.c (do_one_test): Likewise.
48898         (do_test): Likewise.
48900         * benchtests/Makefile (string-bench): Add string benchmarks.
48901         * benchtests/bench-bcopy-ifunc.c: New file.
48902         * benchtests/bench-bcopy.c: New file.
48903         * benchtests/bench-bzero-ifunc.c: New file.
48904         * benchtests/bench-bzero.c: New file.
48905         * benchtests/bench-memccpy-ifunc.c: New file.
48906         * benchtests/bench-memccpy.c: New file.
48907         * benchtests/bench-memchr-ifunc.c: New file.
48908         * benchtests/bench-memchr.c: New file.
48909         * benchtests/bench-memcmp-ifunc.c: New file.
48910         * benchtests/bench-memcmp.c: New file.
48911         * benchtests/bench-memmem-ifunc.c: New file.
48912         * benchtests/bench-memmem.c: New file.
48913         * benchtests/bench-memmove-ifunc.c: New file.
48914         * benchtests/bench-memmove.c: New file.
48915         * benchtests/bench-mempcpy-ifunc.c: New file.
48916         * benchtests/bench-mempcpy.c: New file.
48917         * benchtests/bench-memset-ifunc.c: New file.
48918         * benchtests/bench-memset.c: New file.
48919         * benchtests/bench-rawmemchr-ifunc.c: New file.
48920         * benchtests/bench-rawmemchr.c: New file.
48921         * benchtests/bench-stpcpy-ifunc.c: New file.
48922         * benchtests/bench-stpcpy.c: New file.
48923         * benchtests/bench-stpncpy-ifunc.c: New file.
48924         * benchtests/bench-stpncpy.c: New file.
48925         * benchtests/bench-strcasecmp-ifunc.c: New file.
48926         * benchtests/bench-strcasecmp.c: New file.
48927         * benchtests/bench-strcasestr-ifunc.c: New file.
48928         * benchtests/bench-strcasestr.c: New file.
48929         * benchtests/bench-strcat-ifunc.c: New file.
48930         * benchtests/bench-strcat.c: New file.
48931         * benchtests/bench-strchr-ifunc.c: New file.
48932         * benchtests/bench-strchr.c: New file.
48933         * benchtests/bench-strchrnul-ifunc.c: New file.
48934         * benchtests/bench-strchrnul.c: New file.
48935         * benchtests/bench-strcmp-ifunc.c: New file.
48936         * benchtests/bench-strcmp.c: New file.
48937         * benchtests/bench-strcpy-ifunc.c: New file.
48938         * benchtests/bench-strcpy.c: New file.
48939         * benchtests/bench-strcspn-ifunc.c: New file.
48940         * benchtests/bench-strcspn.c: New file.
48941         * benchtests/bench-strlen-ifunc.c: New file.
48942         * benchtests/bench-strlen.c: New file.
48943         * benchtests/bench-strncasecmp-ifunc.c: New file.
48944         * benchtests/bench-strncasecmp.c: New file.
48945         * benchtests/bench-strncat-ifunc.c: New file.
48946         * benchtests/bench-strncat.c: New file.
48947         * benchtests/bench-strncmp-ifunc.c: New file.
48948         * benchtests/bench-strncmp.c: New file.
48949         * benchtests/bench-strncpy-ifunc.c: New file.
48950         * benchtests/bench-strncpy.c: New file.
48951         * benchtests/bench-strnlen-ifunc.c: New file.
48952         * benchtests/bench-strnlen.c: New file.
48953         * benchtests/bench-strpbrk-ifunc.c: New file.
48954         * benchtests/bench-strpbrk.c: New file.
48955         * benchtests/bench-strrchr-ifunc.c: New file.
48956         * benchtests/bench-strrchr.c: New file.
48957         * benchtests/bench-strspn-ifunc.c: New file.
48958         * benchtests/bench-strspn.c: New file.
48959         * benchtests/bench-strstr-ifunc.c: New file.
48960         * benchtests/bench-strstr.c: New file.
48962         * benchtests/Makefile: Disable parallel execution of targets.
48963         (string-bench): Add memcpy.
48964         (benchset): New variable to store a list of benchmark sets.
48965         (bench-func): Renamed from bench.
48966         (bench-set): New target.
48967         (bench): Depend on bench-func and bench-set.
48968         * benchtests/README: Add section on benchmark sets.
48969         * benchtests/bench-memcpy-ifunc.c: New file.
48970         * benchtests/bench-memcpy.c: New file.
48971         * benchtests/bench-string.h: New file.
48973 2013-06-11  Andreas Schwab  <schwab@suse.de>
48975         [BZ #15577]
48976         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48977         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48978         values in the triple.
48979         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48980         terminator in the group key.
48982 2013-06-11  Andreas Jaeger  <aj@suse.de>
48984         * po/zh_TW.po: Update Chinese (traditional) translation from
48985         translation project.
48987 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48989         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48990         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48991         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48992         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48993         (clock_getcpuclockid): Likewise.
48994         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48995         Add weak_alias and libc_hidden_def.
48996         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48997         * rt/clock_gettime.c (clock_gettime): Rename to
48998         __clock_gettime.  Add weak_alias and libc_hidden_def.
48999         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49000         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49001         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49002         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49003         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49004         Likewise.
49005         * rt/clock_settime.c (clock_settime): Rename to
49006         __clock_settime.  Add weak_alias and libc_hidden_def.
49007         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49009 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49011         * mach/err_boot.sub: Remove trailing whitespace.
49012         * mach/err_ipc.sub: Likewise.
49013         * mach/err_mach.sub: Likewise.
49015         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49016         (ROUNDING_TESTS_double): Likewise.
49017         (ROUNDING_TESTS_long_double): Likewise.
49018         (ROUNDING_TESTS): Likewise.
49019         * math/libm-test.inc: Include <math-tests.h>.
49020         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49021         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49022         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49023         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49025 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49027         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49028         of assigning.
49030 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49032         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49033         otherwise empty TRANS lines.
49034         * sysdeps/gnu/errlist.c: Regenerated.
49036         * catgets/gencat.c (error_print): Use (void) in function
49037         definition.
49038         * crypt/crypt_util.c (__init_des): Likewise.
49039         * crypt/speeds.c (Stop): Likewise.
49040         (main): Likewise.
49041         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49042         * inet/ruserpass.c (token): Likewise.
49043         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49044         * intl/localealias.c (extend_alias_table): Likewise.
49045         * intl/plural-exp.c (init_germanic_plural): Likewise.
49046         * libio/fcloseall.c (__fcloseall): Likewise.
49047         * libio/genops.c (_IO_flush_all): Likewise.
49048         (_IO_flush_all_linebuffered): Likewise.
49049         (_IO_cleanup): Likewise.
49050         (_IO_iter_begin): Likewise.
49051         (_IO_iter_end): Likewise.
49052         (_IO_list_lock): Likewise.
49053         (_IO_list_unlock): Likewise.
49054         (_IO_list_resetlock): Likewise.
49055         * libio/getchar.c (getchar): Likewise.
49056         * libio/getchar_u.c (getchar_unlocked): Likewise.
49057         * libio/getwchar.c (getwchar): Likewise.
49058         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49059         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49060         * login/getpt.c (__getpt): Likewise.
49061         * login/tst-utmp.c (main): Likewise.
49062         * malloc/hooks.c (__malloc_check_init): Likewise.
49063         * malloc/malloc.c (__malloc_stats): Likewise.
49064         * malloc/mtrace.c (tr_break): Likewise.
49065         (mtrace): Likewise.
49066         (muntrace): Likewise.
49067         * misc/fstab.c (endfsent): Likewise.
49068         * misc/getclktck.c (__getclktck): Likewise.
49069         * misc/getdtsz.c (__getdtablesize): Likewise.
49070         * misc/gethostid.c (gethostid): Likewise.
49071         * misc/getpagesize.c (__getpagesize): Likewise.
49072         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49073         (__get_nprocs): Likewise.
49074         (__get_phys_pages): Likewise.
49075         (__get_avphys_pages): Likewise.
49076         * misc/getttyent.c (getttyent): Likewise.
49077         (setttyent): Likewise.
49078         (endttyent): Likewise.
49079         * misc/getusershell.c (getusershell): Likewise.
49080         (endusershell): Likewise.
49081         (setusershell): Likewise.
49082         (initshells): Likewise.
49083         * misc/hsearch.c (__hdestroy): Likewise.
49084         * misc/sync.c (sync): Likewise.
49085         * misc/syslog.c (closelog_internal): Likewise.
49086         (closelog): Likewise.
49087         * misc/ttyslot.c (ttyslot): Likewise.
49088         * misc/vhangup.c (vhangup): Likewise.
49089         * posix/fork.c (__fork): Likewise.
49090         * posix/getegid.c (__getegid): Likewise.
49091         * posix/geteuid.c (__geteuid): Likewise.
49092         * posix/getgid.c (__getgid): Likewise.
49093         * posix/getpid.c (__getpid): Likewise.
49094         * posix/getppid.c (__getppid): Likewise.
49095         * posix/getuid.c (__getuid): Likewise.
49096         * posix/pause.c (pause): Likewise.
49097         * posix/setpgrp.c (setpgrp): Likewise.
49098         * posix/setsid.c (__setsid): Likewise.
49099         * posix/test-vfork.c (noop): Likewise.
49100         * resolv/gethnamaddr.c (_endhtent): Likewise.
49101         (_gethtent): Likewise.
49102         (ht_endhostent): Likewise.
49103         (gethostent): Likewise.
49104         (dns_service): Likewise.
49105         * stdlib/drand48.c (drand48): Likewise.
49106         * stdlib/lrand48.c (lrand48): Likewise.
49107         * stdlib/mrand48.c (mrand48): Likewise.
49108         * stdlib/rand.c (rand): Likewise.
49109         * stdlib/random.c (__random): Likewise.
49110         * stdlib/setenv.c (clearenv): Likewise.
49111         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49112         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49113         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49114         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49115         (__get_nprocs): Likewise.
49116         (__get_phys_pages): Likewise.
49117         (__get_avphys_pages): Likewise.
49118         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49119         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49120         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49121         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49122         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49123         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49124         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49125         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49126         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49127         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49128         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49129         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49130         * sysdeps/posix/clock.c (clock): Likewise.
49131         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49132         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49133         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49134         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49135         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49136         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49137         (__get_nprocs_conf): Likewise.
49138         (__get_phys_pages): Likewise.
49139         (__get_avphys_pages): Likewise.
49140         * time/clock.c (clock): Likewise.
49141         * time/tzset.c (__tzname_max): Likewise.
49143 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49145         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49146         (__bswap_32): Do not use "register".
49147         * crypt/crypt.c (_ufc_doit_r): Likewise.
49148         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49149         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49150         * gmon/gmon.c (__monstartup): Likewise.
49151         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49152         * hurd/hurdmalloc.c (more_memory): Likewise.
49153         (malloc): Likewise.
49154         (free): Likewise.
49155         (realloc): Likewise.
49156         (malloc_fork_prepare): Likewise.
49157         (malloc_fork_parent): Likewise.
49158         (malloc_fork_child): Likewise.
49159         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49160         (_svcauth_des): Likewise.
49161         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49162         * inet/inet_net.c (inet_network): Likewise.
49163         * inet/inet_netof.c (inet_netof): Likewise.
49164         * inet/rcmd.c (__validuser2_sa): Likewise.
49165         * io/fts.c (fts_open): Likewise.
49166         (fts_load): Likewise.
49167         (fts_close): Likewise.
49168         (fts_read): Likewise.
49169         (fts_children): Likewise.
49170         (fts_build): Likewise.
49171         (fts_stat): Likewise.
49172         (fts_sort): Likewise.
49173         (fts_alloc): Likewise.
49174         (fts_lfree): Likewise.
49175         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49176         (_IO_file_xsgetn): Likewise.
49177         (_IO_file_xsgetn_mmap): Likewise.
49178         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49179         (_IO_cookie_write): Likewise.
49180         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49181         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49182         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49183         * malloc/obstack.c (_obstack_begin): Likewise.
49184         (_obstack_begin_1): Likewise.
49185         (_obstack_newchunk): Likewise.
49186         (_obstack_allocated_p): Likewise.
49187         (obstack_free): Likewise.
49188         (_obstack_memory_used): Likewise.
49189         * misc/getttyent.c (getttynam): Likewise.
49190         (getttyent): Likewise.
49191         (skip): Likewise.
49192         (value): Likewise.
49193         * misc/getusershell.c (initshells): Likewise.
49194         * misc/syslog.c (__vsyslog_chk): Likewise.
49195         * misc/ttyslot.c (ttyslot): Likewise.
49196         * nis/nis_hash.c (__nis_hash): Likewise.
49197         * posix/fnmatch_loop.c (FCT): Likewise.
49198         * posix/getconf.c (print_all): Likewise.
49199         (main): Likewise.
49200         * posix/getopt.c (exchange): Likewise.
49201         * posix/glob.c (globfree): Likewise.
49202         (prefix_array): Likewise.
49203         (__glob_pattern_type): Likewise.
49204         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49205         (NS_GET32): Likewise.
49206         (NS_PUT16): Likewise.
49207         (NS_PUT32): Likewise.
49208         * resolv/gethnamaddr.c (getanswer): Likewise.
49209         (gethostbyname2): Likewise.
49210         (gethostbyaddr): Likewise.
49211         (_gethtent): Likewise.
49212         (_gethtbyname2): Likewise.
49213         (_gethtbyaddr): Likewise.
49214         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49215         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49216         * resolv/res_init.c (__res_vinit): Likewise.
49217         (net_mask): Likewise.
49218         * resolv/res_mkquery.c (outchar): Likewise.
49219         (PRINT): Likewise.
49220         * stdio-common/printf_fp.c (outchar): Likewise.
49221         (PRINT): Likewise.
49222         * stdio-common/printf_fphex.c (outchar): Likewise.
49223         (PRINT): Likewise.
49224         * stdio-common/printf_size.c (outchar): Likewise.
49225         (PRINT): Likewise.
49226         * stdio-common/test_rdwr.c (main): Likewise.
49227         * stdio-common/tfformat.c (matches): Likewise.
49228         * stdio-common/vfprintf.c (outchar): Likewise.
49229         (printf_unknown): Likewise.
49230         (buffered_vfprintf): Likewise.
49231         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49232         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49233         (ReadFile): Likewise.
49234         * stdlib/qsort.c (SWAP): Likewise.
49235         (_quicksort): Likewise.
49236         * stdlib/setenv.c (__add_to_environ): Likewise.
49237         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49238         * stdlib/strtol_l.c (__strtol_l): Likewise.
49239         * stdlib/tst-strtod.c (main): Likewise.
49240         * stdlib/tst-strtol.c (main): Likewise.
49241         * stdlib/tst-strtoll.c (main): Likewise.
49242         * string/bits/string2.h (__strcmp_cc): Likewise.
49243         (__strcmp_cg): Likewise.
49244         (__strcspn_c1): Likewise.
49245         (__strcspn_c2): Likewise.
49246         (__strcspn_c3): Likewise.
49247         (__strspn_c1): Likewise.
49248         (__strspn_c2): Likewise.
49249         (__strspn_c3): Likewise.
49250         (__strsep_1c): Likewise.
49251         (__strsep_2c): Likewise.
49252         (__strsep_3c): Likewise.
49253         * string/memccpy.c (__memccpy): Likewise.
49254         * string/stpcpy.c (__stpcpy): Likewise.
49255         * string/strcmp.c (strcmp): Likewise.
49256         * string/strrchr.c (strrchr): Likewise.
49257         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49258         Likewise.
49259         * sysdeps/mach/hurd/getcwd.c
49260         (_hurd_canonicalize_directory_name_internal): Likewise.
49261         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49262         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49263         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49264         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49265         Likewise, in both definitions.
49266         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49267         definitions.
49268         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49269         64] (__bswap_64): Likewise.
49270         * time/test_time.c (main): Likewise.
49271         * time/tzfile.c (__tzfile_read): Likewise.
49272         (__tzfile_compute): Likewise.
49273         * time/tzset.c (__tzset_parse_tz): Likewise.
49274         (tzset_internal): Likewise.
49275         (compute_change): Likewise.
49276         * wcsmbs/wcscat.c (__wcscat): Likewise.
49277         * wcsmbs/wcschr.c (wcschr): Likewise.
49278         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49279         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49280         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49281         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49282         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49283         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49284         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49285         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49286         * wcsmbs/wmemset.c (wmemset): Likewise.
49288 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49290         * scripts/config.guess: Update to version 2013-05-16.
49291         * scripts/config.sub: Update to version 2013-04-24.
49292         * scripts/install-sh: Update to version 2011-11-20.07.
49293         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49294         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49296 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49298         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49299         * elf/sln.c: Likewise.
49300         * hurd/hurd/ioctl.h: Likewise.
49301         * hurd/hurdmalloc.c: Likewise.
49302         * hurd/xattr.c: Likewise.
49303         * include/shlib-compat.h: Likewise.
49304         * inet/ruserpass.c: Likewise.
49305         * libio/iofgets_u.c: Likewise.
49306         * libio/iofgetws_u.c: Likewise.
49307         * locale/programs/ld-identification.c: Likewise.
49308         * locale/programs/ld-time.c: Likewise.
49309         * mach/msg-destroy.c: Likewise.
49310         * nss/nss_files/files-netgrp.c: Likewise.
49311         * resolv/res_data.c: Likewise.
49312         * soft-fp/op-1.h: Likewise.
49313         * soft-fp/op-2.h: Likewise.
49314         * soft-fp/op-4.h: Likewise.
49315         * soft-fp/op-common.h: Likewise.
49316         * stdio-common/printf_fphex.c: Likewise.
49317         * stdlib/strtod_l.c: Likewise.
49318         * sunrpc/rpc/clnt.h: Likewise.
49319         * sysdeps/generic/framestate.c: Likewise.
49320         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49321         * sysdeps/i386/bsd-setjmp.S: Likewise.
49322         * sysdeps/i386/__longjmp.S: Likewise.
49323         * sysdeps/i386/setjmp.S: Likewise.
49324         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49325         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49326         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49327         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49328         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49329         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49330         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49331         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49332         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49333         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49334         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49335         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49336         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49337         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49338         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49339         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49340         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49341         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49342         * sysdeps/ieee754/support.c: Likewise.
49343         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49344         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49345         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49346         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49347         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49348         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49349         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49350         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49351         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49352         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49353         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49354         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49355         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49356         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49357         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49358         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49359         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49362 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49364         * posix/transbug.c: Remove executable mode.
49366 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49368         * crypt/speeds.c: Remove trailing whitespace.
49369         * dlfcn/default.c: Likewise.
49370         * elf/ifuncdep2.c: Likewise.
49371         * elf/ifuncmain1.c: Likewise.
49372         * elf/ifuncmain1vis.c: Likewise.
49373         * elf/testobj.h: Likewise.
49374         * elf/tst-stackguard1.c: Likewise.
49375         * gmon/sys/gmon.h: Likewise.
49376         * hurd/hurdmsg.c: Likewise.
49377         * hurd/new-fd.c: Likewise.
49378         * hurd/ports-get.c: Likewise.
49379         * iconvdata/ibm1008_420.c: Likewise.
49380         * inet/tst-getni1.c: Likewise.
49381         * inet/tst-getni2.c: Likewise.
49382         * libio/ioungetc.c: Likewise.
49383         * libio/wfiledoalloc.c: Likewise.
49384         * manual/libm-err-tab.pl: Likewise.
49385         * math/w_dremf.c: Likewise.
49386         * misc/ftruncate.c: Likewise.
49387         * posix/bug-glob2.c: Likewise.
49388         * posix/tst-pcre.c: Likewise.
49389         * posix/wait4.c: Likewise.
49390         * resolv/README: Likewise.
49391         * resolv/res_debug.h: Likewise.
49392         * resolv/tst-inet_ntop.c: Likewise.
49393         * setjmp/bug269-setjmp.c: Likewise.
49394         * soft-fp/extended.h: Likewise.
49395         * soft-fp/op-1.h: Likewise.
49396         * soft-fp/op-2.h: Likewise.
49397         * soft-fp/op-4.h: Likewise.
49398         * soft-fp/op-8.h: Likewise.
49399         * soft-fp/testit.c: Likewise.
49400         * stdio-common/bug16.c: Likewise.
49401         * stdlib/random.c: Likewise.
49402         * sunrpc/rpcsvc/rquota.x: Likewise.
49403         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49404         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49405         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49406         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49407         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49408         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49409         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49410         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49411         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49412         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49413         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49414         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49415         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49416         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49417         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49418         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49419         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49420         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49421         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49422         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49423         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49424         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49425         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49426         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49427         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49428         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49429         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49430         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49431         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49432         * sysdeps/ieee754/s_lib_version.c: Likewise.
49433         * sysdeps/mach/hurd/check_fds.c: Likewise.
49434         * sysdeps/mach/hurd/getsockname.c: Likewise.
49435         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49436         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49437         * sysdeps/powerpc/bits/link.h: Likewise.
49438         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49439         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49440         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49441         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49442         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49443         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49444         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49445         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49446         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49447         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49448         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49449         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49450         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49451         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49452         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49453         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49454         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49455         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49456         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49457         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49458         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49459         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49460         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49461         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49462         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49463         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49464         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49465         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49466         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49467         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49468         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49469         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49470         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49471         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49472         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49473         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49474         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49475         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49476         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49477         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49478         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49479         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49480         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49481         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49482         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49483         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49484         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49485         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49486         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49487         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49488         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49489         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49490         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49491         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49492         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49493         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49494         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49495         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49496         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49497         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49498         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49499         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49500         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49501         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49502         * sysdeps/powerpc/sysdep.h: Likewise.
49503         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49504         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49505         * sysdeps/sh/dl-trampoline.S: Likewise.
49506         * sysdeps/sh/memset.S: Likewise.
49507         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49508         * sysdeps/sh/strlen.S: Likewise.
49509         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49510         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49511         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49512         * sysdeps/sparc/sparc32/rem.S: Likewise.
49513         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49514         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49515         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49516         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49517         * sysdeps/sparc/sparc32/urem.S: Likewise.
49518         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49519         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49520         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49521         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49522         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49523         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49524         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49525         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49526         * sysdeps/unix/bsd/times.c: Likewise.
49527         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49528         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49532         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49533         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49534         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49535         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49536         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49537         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49538         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49539         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49540         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49541         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49542         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49543         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49544         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49545         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49546         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49547         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49548         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49549         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49550         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49551         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49552         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49553         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49554         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49555         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49556         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49557         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49558         * sysdeps/x86_64/strcspn.S: Likewise.
49560 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49562         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49563         generated file.  Regenerate properly from gen-translit.pl.
49564         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49565         locale/C-translit.h.
49567 2013-06-05  Andreas Schwab  <schwab@suse.de>
49569         [BZ #15100]
49570         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49571         week as 6 instead of -1.
49572         * time/tst-strptime.c (day_tests): Add test case.
49574 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49576         * sysdeps/generic/math_private.h
49577         (libc_feholdexcept_setround_53bit): Replace with
49578         libc_feholdsetround_53bit.
49579         (libc_feupdateenv_53bit): Replace with
49580         libc_feresetround_53bit.
49581         (SET_RESTORE_ROUND_53BIT): Adjust.
49583 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49585         * string/test-strchrnul.c: Add copyright header.
49587         * posix/tst-getaddrinfo4.c: Increase test timeout.
49589 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49591         [BZ #15536]
49592         * math/libm-test.inc (MAX_EXP): Remove
49593         (MIN_EXP): Define.
49594         (ulp): Use MIN_EXP - MANT_DIG.
49595         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49597 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49599         * po/be.po: Revert last change.
49600         * po/zh_CN.po: Likewise.
49601         * po/header.pot: Likewise.
49603 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49605         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49606         link-libc-deps to empty as target-specific variable.
49607         * Makerules (link-libc-args): New variable.
49608         (libc-for-link): Likewise.
49609         (link-libc-deps): Likewise.
49610         (lib%.so): Depend on $(link-libc-deps).  Link with
49611         $(link-libc-args).
49612         (build-module): Link with $(link-libc-args).
49613         (build-module-asneeded): Likewise.
49614         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49615         list of objects.
49616         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49617         target-specific variable.
49618         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49619         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49620         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49621         libc.
49622         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49623         libc and ld.so.
49624         ($(objpfx)libpcprofile.so): Likewise.
49625         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49626         libc_nonshared.a.
49627         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49628         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49629         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49630         $(link-libc-deps).
49631         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49632         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49633         * login/Makefile ($(objpfx)libutil.so): Likewise.
49634         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49635         * math/Makefile ($(objpfx)libm.so): Likewise.
49636         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49637         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49638         variable instead of depending directly on libc.
49639         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49640         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49641         $(link-libc-deps).
49642         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49643         libc.
49644         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49645         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49646         ($(objpfx)libanl.so): Likewise.
49647         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49648         ld.so.
49649         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49650         $(link-libc-deps).
49651         * sysdeps/i386/fpu/Makefile: Remove file.
49652         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49653         ($(objpfx)libm.so): Remove dependency on ld.so.
49655 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49657         [BZ # 15553]
49658         * nis/yp_xdr.c (XDRMAXNAME): Define.
49659         (XDRMAXRECORD): Define.
49660         (xdr_domainname): Use XDRMAXNAME.
49661         (xdr_mapname): Likewise.
49662         (xdr_peername): Likewise.
49663         (xdr_keydat): Use XDRMAXRECORD.
49664         (xdr_valdat): Likewise.
49666 2013-05-30  Jeff Law  <law@redhat.com>
49668         [BZ #14256]
49669         * manual/errno.texi (ESTALE): Update to account for more than
49670         just NFS file systems.
49671         * sysdeps/gnu/errlist.c: Regenerated.
49673 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49675         [BZ #15465]
49676         * elf/Makefile (tests): Add tst-null-argv.
49677         (modules-names):  Add tst-null-argv-lib.
49678         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49679         (tst-null-argv-ENV): Set environment for tst-null-argv.
49680         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49681         (RTLD_PROGNAME): New macro.
49682         * elf/tst-null-argv.c: New test case.
49683         * elf/tst-null-argv-lib.c: Library for test case.
49684         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49685         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49686         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49687         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49688         * elf/dl-init.c (call_init): Likewise.
49689         (_dl_init): Likewise.
49690         * elf/dl-load.c (print_search_path): Likewise.
49691         (_dl_map_object): Likewise.
49692         * elf/dl-lookup.c (do_lookup_x): Likewise.
49693         (add_dependency): Likewise.
49694         (_dl_lookup_symbol_x): Likewise.
49695         (_dl_debug_bindings): Likewise.
49696         * elf/dl-open.c (_dl_show_scope): Likewise.
49697         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49698         * elf/dl-version.c (match_symbol): Likewise.
49699         (_dl_check_map_versions): Likewise.
49700         * elf/rtld.c (dl_main): Likewise.
49701         (print_unresolved): Use RTLD_PROGNAME.
49702         (print_missing_version): Likewise.
49703         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49704         (elf_machine_rela): Likewise.
49705         * sysdeps/powerpc/powerpc32/dl-machine.c
49706         (__process_machine_rela): Likewise.
49707         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49708         Likewise.
49709         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49710         Likewise.
49711         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49712         Likewise.
49713         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49714         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49715         Likewise.
49716         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49717         Likewise.
49718         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49720 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49722         * po/be.po: Add descriptive title.
49723         * po/zh_CN.po: Likewise.
49724         * po/header.pot: Likewise.
49726 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49728         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49729         error message.
49730         (enlarge_archive): Likewise.
49732 2013-05-28  Ben North  <ben@redfrontdoor.org>
49734         * manual/arith.texi (frexp): It is the magnitude of the return
49735         value which lies in [0.5, 1), not the return value itself.
49737 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49741 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49743         * stdio-common/bug26.c (main): Correct fscanf template.
49745         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49746         declare _dl_skip_args.
49748         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49749         Don't declare.
49751         * manual/platform.texi: Add missing @end deftypefun.
49753 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49755         [BZ #15529]
49756         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49757         bit of mantissa of 2^16382.
49758         * math/libm-test.inc (hypot_test_data): Add more tests.
49760         * math/libm-test.inc: Add drem and pow10 to list of tested
49761         functions.
49762         (pow10_test): New function.
49763         (drem_test): Likewise.
49764         (drem_test_tonearest): Likewise.
49765         (drem_test_towardzero): Likewise.
49766         (drem_test_downward): Likewise.
49767         (drem_test_upward): Likewise.
49768         (main): Call the new functions.
49770         * math/libm-test.inc (finite_test_data): Remove.
49771         (finite_test): Run tests from isfinite_test_data.
49772         (gamma_test_data): Remove.
49773         (gamma_test): Run tests from lgamma_test_data.
49774         * sysdeps/i386/fpu/libm-test-ulps: Update.
49775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49777 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49779         * manual/platform.texi: Add PowerPC PPR function set documentation.
49780         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49781         implementation.
49783 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49785         * math/libm-test.inc (MAX_EXP): Define.
49786         (ULPDIFF): Define.
49787         (ulp): New function.
49788         (check_float_internal): Use ULPDIFF.
49789         (cpow_test): Disable failing test.
49790         (check_ulp): Test ulp() implemetnation.
49791         (main): Call check_ulp before starting tests.
49793 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49795         * math/gen-libm-test.pl (generate_testfile): Do not handle
49796         START_DATA and END_DATA.
49797         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49798         END_DATA.
49799         (acos_tonearest_test_data): Likewise.
49800         (acos_towardzero_test_data): Likewise.
49801         (acos_downward_test_data): Likewise.
49802         (acos_upward_test_data): Likewise.
49803         (acosh_test_data): Likewise.
49804         (asin_test_data): Likewise.
49805         (asin_tonearest_test_data): Likewise.
49806         (asin_towardzero_test_data): Likewise.
49807         (asin_downward_test_data): Likewise.
49808         (asin_upward_test_data): Likewise.
49809         (asinh_test_data): Likewise.
49810         (atan_test_data): Likewise.
49811         (atanh_test_data): Likewise.
49812         (atan2_test_data): Likewise.
49813         (cabs_test_data): Likewise.
49814         (cacos_test_data): Likewise.
49815         (cacosh_test_data): Likewise.
49816         (carg_test_data): Likewise.
49817         (casin_test_data): Likewise.
49818         (casinh_test_data): Likewise.
49819         (catan_test_data): Likewise.
49820         (catanh_test_data): Likewise.
49821         (cbrt_test_data): Likewise.
49822         (ccos_test_data): Likewise.
49823         (ccosh_test_data): Likewise.
49824         (ceil_test_data): Likewise.
49825         (cexp_test_data): Likewise.
49826         (cimag_test_data): Likewise.
49827         (clog_test_data): Likewise.
49828         (clog10_test_data): Likewise.
49829         (conj_test_data): Likewise.
49830         (copysign_test_data): Likewise.
49831         (cos_test_data): Likewise.
49832         (cos_tonearest_test_data): Likewise.
49833         (cos_towardzero_test_data): Likewise.
49834         (cos_downward_test_data): Likewise.
49835         (cos_upward_test_data): Likewise.
49836         (cosh_test_data): Likewise.
49837         (cosh_tonearest_test_data): Likewise.
49838         (cosh_towardzero_test_data): Likewise.
49839         (cosh_downward_test_data): Likewise.
49840         (cosh_upward_test_data): Likewise.
49841         (cpow_test_data): Likewise.
49842         (cproj_test_data): Likewise.
49843         (creal_test_data): Likewise.
49844         (csin_test_data): Likewise.
49845         (csinh_test_data): Likewise.
49846         (csqrt_test_data): Likewise.
49847         (ctan_test_data): Likewise.
49848         (ctan_tonearest_test_data): Likewise.
49849         (ctan_towardzero_test_data): Likewise.
49850         (ctan_downward_test_data): Likewise.
49851         (ctan_upward_test_data): Likewise.
49852         (ctanh_test_data): Likewise.
49853         (ctanh_tonearest_test_data): Likewise.
49854         (ctanh_towardzero_test_data): Likewise.
49855         (ctanh_downward_test_data): Likewise.
49856         (ctanh_upward_test_data): Likewise.
49857         (erf_test_data): Likewise.
49858         (erfc_test_data): Likewise.
49859         (exp_test_data): Likewise.
49860         (exp_tonearest_test_data): Likewise.
49861         (exp_towardzero_test_data): Likewise.
49862         (exp_downward_test_data): Likewise.
49863         (exp_upward_test_data): Likewise.
49864         (exp10_test_data): Likewise.
49865         (exp2_test_data): Likewise.
49866         (expm1_test_data): Likewise.
49867         (fabs_test_data): Likewise.
49868         (fdim_test_data): Likewise.
49869         (finite_test_data): Likewise.
49870         (floor_test_data): Likewise.
49871         (fma_test_data): Likewise.
49872         (fma_towardzero_test_data): Likewise.
49873         (fma_downward_test_data): Likewise.
49874         (fma_upward_test_data): Likewise.
49875         (fmax_test_data): Likewise.
49876         (fmin_test_data): Likewise.
49877         (fmod_test_data): Likewise.
49878         (fpclassify_test_data): Likewise.
49879         (frexp_test_data): Likewise.
49880         (gamma_test_data): Likewise.
49881         (hypot_test_data): Likewise.
49882         (ilogb_test_data): Likewise.
49883         (isfinite_test_data): Likewise.
49884         (isgreater_test_data): Likewise.
49885         (isgreaterequal_test_data): Likewise.
49886         (isinf_test_data): Likewise.
49887         (isless_test_data): Likewise.
49888         (islessequal_test_data): Likewise.
49889         (islessgreater_test_data): Likewise.
49890         (isnan_test_data): Likewise.
49891         (isnormal_test_data): Likewise.
49892         (issignaling_test_data): Likewise.
49893         (isunordered_test_data): Likewise.
49894         (j0_test_data): Likewise.
49895         (j1_test_data): Likewise.
49896         (jn_test_data): Likewise.
49897         (ldexp_test_data): Likewise.
49898         (lgamma_test_data): Likewise.
49899         (lrint_test_data): Likewise.
49900         (lrint_tonearest_test_data): Likewise.
49901         (lrint_towardzero_test_data): Likewise.
49902         (lrint_downward_test_data): Likewise.
49903         (lrint_upward_test_data): Likewise.
49904         (llrint_test_data): Likewise.
49905         (llrint_tonearest_test_data): Likewise.
49906         (llrint_towardzero_test_data): Likewise.
49907         (llrint_downward_test_data): Likewise.
49908         (llrint_upward_test_data): Likewise.
49909         (log_test_data): Likewise.
49910         (log10_test_data): Likewise.
49911         (log1p_test_data): Likewise.
49912         (log2_test_data): Likewise.
49913         (logb_test_data): Likewise.
49914         (logb_downward_test_data): Likewise.
49915         (lround_test_data): Likewise.
49916         (llround_test_data): Likewise.
49917         (modf_test_data): Likewise.
49918         (nearbyint_test_data): Likewise.
49919         (nextafter_test_data): Likewise.
49920         (nexttoward_test_data): Likewise.
49921         (pow_test_data): Likewise.
49922         (pow_tonearest_test_data): Likewise.
49923         (pow_towardzero_test_data): Likewise.
49924         (pow_downward_test_data): Likewise.
49925         (pow_upward_test_data): Likewise.
49926         (remainder_test_data): Likewise.
49927         (remainder_tonearest_test_data): Likewise.
49928         (remainder_towardzero_test_data): Likewise.
49929         (remainder_downward_test_data): Likewise.
49930         (remainder_upward_test_data): Likewise.
49931         (remquo_test_data): Likewise.
49932         (rint_test_data): Likewise.
49933         (rint_tonearest_test_data): Likewise.
49934         (rint_towardzero_test_data): Likewise.
49935         (rint_downward_test_data): Likewise.
49936         (rint_upward_test_data): Likewise.
49937         (round_test_data): Likewise.
49938         (scalb_test_data): Likewise.
49939         (scalbn_test_data): Likewise.
49940         (scalbln_test_data): Likewise.
49941         (signbit_test_data): Likewise.
49942         (sin_test_data): Likewise.
49943         (sin_tonearest_test_data): Likewise.
49944         (sin_towardzero_test_data): Likewise.
49945         (sin_downward_test_data): Likewise.
49946         (sin_upward_test_data): Likewise.
49947         (sincos_test_data): Likewise.
49948         (sinh_test_data): Likewise.
49949         (sinh_tonearest_test_data): Likewise.
49950         (sinh_towardzero_test_data): Likewise.
49951         (sinh_downward_test_data): Likewise.
49952         (sinh_upward_test_data): Likewise.
49953         (sqrt_test_data): Likewise.
49954         (tan_test_data): Likewise.
49955         (tan_tonearest_test_data): Likewise.
49956         (tan_towardzero_test_data): Likewise.
49957         (tan_downward_test_data): Likewise.
49958         (tan_upward_test_data): Likewise.
49959         (tanh_test_data): Likewise.
49960         (tgamma_test_data): Likewise.
49961         (trunc_test_data): Likewise.
49962         (y0_test_data): Likewise.
49963         (y1_test_data): Likewise.
49964         (yn_test_data): Likewise.
49965         (significand_test_data): Likewise.
49967         * math/gen-libm-test.pl (@functions): Remove variable.
49968         (generate_testfile): Don't handle START and END lines.
49969         * math/libm-test.inc (START): New macro.
49970         (END): Likewise.
49971         (END_COMPLEX): Likewise.
49972         (acos_test): Use END macro without arguments.
49973         (acos_test_tonearest): Likewise.
49974         (acos_test_towardzero): Likewise.
49975         (acos_test_downward): Likewise.
49976         (acos_test_upward): Likewise.
49977         (acosh_test): Likewise.
49978         (asin_test): Likewise.
49979         (asin_test_tonearest): Likewise.
49980         (asin_test_towardzero): Likewise.
49981         (asin_test_downward): Likewise.
49982         (asin_test_upward): Likewise.
49983         (asinh_test): Likewise.
49984         (atan_test): Likewise.
49985         (atanh_test): Likewise.
49986         (atan2_test): Likewise.
49987         (cabs_test): Likewise.
49988         (cacos_test): Use END_COMPLEX macro without arguments.
49989         (cacosh_test): Likewise.
49990         (carg_test): Use END macro without arguments.
49991         (casin_test): Use END_COMPLEX macro without arguments.
49992         (casinh_test): Likewise.
49993         (catan_test): Likewise.
49994         (catanh_test): Likewise.
49995         (cbrt_test): Use END macro without arguments.
49996         (ccos_test): Use END_COMPLEX macro without arguments.
49997         (ccosh_test): Likewise.
49998         (ceil_test): Use END macro without arguments.
49999         (cexp_test): Use END_COMPLEX macro without arguments.
50000         (cimag_test): Use END macro without arguments.
50001         (clog_test): Use END_COMPLEX macro without arguments.
50002         (clog10_test): Likewise.
50003         (conj_test): Likewise.
50004         (copysign_test): Use END macro without arguments.
50005         (cos_test): Likewise.
50006         (cos_test_tonearest): Likewise.
50007         (cos_test_towardzero): Likewise.
50008         (cos_test_downward): Likewise.
50009         (cos_test_upward): Likewise.
50010         (cosh_test): Likewise.
50011         (cosh_test_tonearest): Likewise.
50012         (cosh_test_towardzero): Likewise.
50013         (cosh_test_downward): Likewise.
50014         (cosh_test_upward): Likewise.
50015         (cpow_test): Use END_COMPLEX macro without arguments.
50016         (cproj_test): Likewise.
50017         (creal_test): Use END macro without arguments.
50018         (csin_test): Use END_COMPLEX macro without arguments.
50019         (csinh_test): Likewise.
50020         (csqrt_test): Likewise.
50021         (ctan_test): Likewise.
50022         (ctan_test_tonearest): Likewise.
50023         (ctan_test_towardzero): Likewise.
50024         (ctan_test_downward): Likewise.
50025         (ctan_test_upward): Likewise.
50026         (ctanh_test): Likewise.
50027         (ctanh_test_tonearest): Likewise.
50028         (ctanh_test_towardzero): Likewise.
50029         (ctanh_test_downward): Likewise.
50030         (ctanh_test_upward): Likewise.
50031         (erf_test): Use END macro without arguments.
50032         (erfc_test): Likewise.
50033         (exp_test): Likewise.
50034         (exp_test_tonearest): Likewise.
50035         (exp_test_towardzero): Likewise.
50036         (exp_test_downward): Likewise.
50037         (exp_test_upward): Likewise.
50038         (exp10_test): Likewise.
50039         (exp2_test): Likewise.
50040         (expm1_test): Likewise.
50041         (fabs_test): Likewise.
50042         (fdim_test): Likewise.
50043         (finite_test): Likewise.
50044         (floor_test): Likewise.
50045         (fma_test): Likewise.
50046         (fma_test_towardzero): Likewise.
50047         (fma_test_downward): Likewise.
50048         (fma_test_upward): Likewise.
50049         (fmax_test): Likewise.
50050         (fmin_test): Likewise.
50051         (fmod_test): Likewise.
50052         (fpclassify_test): Likewise.
50053         (frexp_test): Likewise.
50054         (gamma_test): Likewise.
50055         (hypot_test): Likewise.
50056         (ilogb_test): Likewise.
50057         (isfinite_test): Likewise.
50058         (isgreater_test): Likewise.
50059         (isgreaterequal_test): Likewise.
50060         (isinf_test): Likewise.
50061         (isless_test): Likewise.
50062         (islessequal_test): Likewise.
50063         (islessgreater_test): Likewise.
50064         (isnan_test): Likewise.
50065         (isnormal_test): Likewise.
50066         (issignaling_test): Likewise.
50067         (isunordered_test): Likewise.
50068         (j0_test): Likewise.
50069         (j1_test): Likewise.
50070         (jn_test): Likewise.
50071         (ldexp_test): Likewise.
50072         (lgamma_test): Likewise.
50073         (lrint_test): Likewise.
50074         (lrint_test_tonearest): Likewise.
50075         (lrint_test_towardzero): Likewise.
50076         (lrint_test_downward): Likewise.
50077         (lrint_test_upward): Likewise.
50078         (llrint_test): Likewise.
50079         (llrint_test_tonearest): Likewise.
50080         (llrint_test_towardzero): Likewise.
50081         (llrint_test_downward): Likewise.
50082         (llrint_test_upward): Likewise.
50083         (log_test): Likewise.
50084         (log10_test): Likewise.
50085         (log1p_test): Likewise.
50086         (log2_test): Likewise.
50087         (logb_test): Likewise.
50088         (logb_test_downward): Likewise.
50089         (lround_test): Likewise.
50090         (llround_test): Likewise.
50091         (modf_test): Likewise.
50092         (nearbyint_test): Likewise.
50093         (nextafter_test): Likewise.
50094         (nexttoward_test): Likewise.
50095         (pow_test): Likewise.
50096         (pow_test_tonearest): Likewise.
50097         (pow_test_towardzero): Likewise.
50098         (pow_test_downward): Likewise.
50099         (pow_test_upward): Likewise.
50100         (remainder_test): Likewise.
50101         (remainder_test_tonearest): Likewise.
50102         (remainder_test_towardzero): Likewise.
50103         (remainder_test_downward): Likewise.
50104         (remainder_test_upward): Likewise.
50105         (remquo_test): Likewise.
50106         (rint_test): Likewise.
50107         (rint_test_tonearest): Likewise.
50108         (rint_test_towardzero): Likewise.
50109         (rint_test_downward): Likewise.
50110         (rint_test_upward): Likewise.
50111         (round_test): Likewise.
50112         (scalb_test): Likewise.
50113         (scalbn_test): Likewise.
50114         (scalbln_test): Likewise.
50115         (signbit_test): Likewise.
50116         (sin_test): Likewise.
50117         (sin_test_tonearest): Likewise.
50118         (sin_test_towardzero): Likewise.
50119         (sin_test_downward): Likewise.
50120         (sin_test_upward): Likewise.
50121         (sincos_test): Likewise.
50122         (sinh_test): Likewise.
50123         (sinh_test_tonearest): Likewise.
50124         (sinh_test_towardzero): Likewise.
50125         (sinh_test_downward): Likewise.
50126         (sinh_test_upward): Likewise.
50127         (sqrt_test): Likewise.
50128         (tan_test): Likewise.
50129         (tan_test_tonearest): Likewise.
50130         (tan_test_towardzero): Likewise.
50131         (tan_test_downward): Likewise.
50132         (tan_test_upward): Likewise.
50133         (tanh_test): Likewise.
50134         (tgamma_test): Likewise.
50135         (trunc_test): Likewise.
50136         (y0_test): Likewise.
50137         (y1_test): Likewise.
50138         (yn_test): Likewise.
50139         (significand_test): Likewise.
50141 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50143         [BZ #15381]
50144         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50146 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50148         [BZ #14894]
50149         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50150         __ppc_mdoio and __ppc_mdoom.
50151         * manual/platform.texi: Document new functions __ppc_yield,
50152         __ppc_mdoio and __ppc_mdoom.
50154 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50156         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50157         (main): Mention "tls" pseudo-hwcap is legacy.
50158         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50160 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50162         * math/gen-libm-test.pl (parse_args): Output only string of
50163         arguments as text for test name, not full call or descriptions of
50164         tests for extra outputs.
50165         (generate_testfile): Do not pass function name to parse_args.
50166         Generate this_func variable from START.
50167         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50168         field to arg_str.
50169         (struct test_ff_f_data): Likewise.
50170         (test_ff_f_data_nexttoward): Likewise.
50171         (struct test_fi_f_data): Likewise.
50172         (struct test_fl_f_data): Likewise.
50173         (struct test_if_f_data): Likewise.
50174         (struct test_fff_f_data): Likewise.
50175         (struct test_c_f_data): Likewise.
50176         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50177         (struct test_fF_f1_data): Likewise.
50178         (struct test_ffI_f1_data): Likewise.
50179         (struct test_c_c_data): Rename test_name field to arg_str.
50180         (struct test_cc_c_data): Likewise.
50181         (struct test_f_i_data): Likewise.
50182         (struct test_ff_i_data): Likewise.
50183         (struct test_f_l_data): Likewise.
50184         (struct test_f_L_data): Likewise.
50185         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50186         and extra2_name.
50187         (COMMON_TEST_SETUP): New macro.
50188         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50189         (COMMON_TEST_CLEANUP): Likewise.
50190         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50191         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50192         macros.
50193         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50194         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50195         macros.
50196         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50197         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50198         cleanup macros.
50199         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50200         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50201         macros.
50202         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50203         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50204         macros.
50205         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50206         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50207         cleanup macros.
50208         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50209         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50210         cleanup macros.
50211         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50212         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50213         cleanup macros.
50214         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50215         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50216         macros.
50217         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50218         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50219         macros.
50220         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50221         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50222         macros.
50223         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50224         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50225         cleanup macros.
50226         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50227         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50228         cleanup macros.
50229         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50230         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50231         macros.
50232         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50233         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50234         cleanup macros.
50235         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50236         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50237         macros.
50238         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50239         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50240         macros.
50241         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50242         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50243         cleanup macros.
50244         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50246 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50248         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50249         to _sifields.sigfault.
50250         (si_addr_lsb): Define new macro.
50251         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50252         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50253         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50255 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50257         [BZ #15441]
50258         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50259         returns -1.
50260         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50261         null return -1.
50262         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50263         loading the domain.
50265 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50267         * math/gen-libm-test.pl (parse_args): Do not include expected
50268         result in test name.
50269         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50270         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50271         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50272         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50273         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50276 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50278         * benchtests/Makefile: Sort function entries.
50280         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50281         tanh, asinh, acosh, atanh.
50282         * benchtests/acos-inputs: New file.
50283         * benchtests/acosh-inputs: New file.
50284         * benchtests/asin-inputs: New file.
50285         * benchtests/asinh-inputs: New file.
50286         * benchtests/atanh-inputs: New file.
50287         * benchtests/cosh-inputs: New file.
50288         * benchtests/log-inputs: New file.
50289         * benchtests/sinh-inputs: New file.
50290         * benchtests/tanh-inputs: New file.
50292 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50294         [BZ #15339]
50295         * posix/tst-getaddrinfo4.c: New test.
50296         * posix/Makefile (tests): Add it.
50298 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50300         [BZ #15339]
50301         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50302         when no services were used.
50303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50304         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50306 2013-05-21  Andreas Schwab  <schwab@suse.de>
50308         [BZ #15014]
50309         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50310         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50311         successful.
50312         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50313         redundant variable declarations and reallocation of buffer when
50314         parsing as IPv6 address.  Always set NSS status when called from
50315         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50316         buffer too small.  Correct computation of needed size.
50317         * nss/Makefile (tests): Add test-digits-dots.
50318         * nss/test-digits-dots.c: New test.
50320 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50322         * benchtests/Makefile: Remove instructions for adding
50323         benchmark tests.
50324         * benchtests/README: New file to explain how to execute and
50325         enhance the benchmark tests.
50327 2013-05-21  Andreas Schwab  <schwab@suse.de>
50329         [BZ #15493]
50330         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50331         * setjmp/tst-sigsetjmp.c: New test.
50333 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50335         * sysdeps/x86_64/memset.S (memset): New implementation.
50336         (__bzero): Likewise.
50337         (__memset_tail): New function.
50339 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50341         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50342         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50343         __memcpy_sse2_unaligned ifunc selection.
50344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50345         Add memcpy-sse2-unaligned.S.
50346         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50347         Add: __memcpy_sse2_unaligned.
50349 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50351         [BZ #15490]
50352         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50353         math_force_eval before restoring floating-point envrionment.
50354         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50355         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50356         Likewise.
50357         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50358         <math_private.h>.
50359         (__nearbyintl): Use math_force_eval before restoring
50360         floating-point environment.
50361         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50363         * math/gen-libm-test.pl (special_functions): Remove.
50364         (parse_args): Don't handle TEST_extra.  Handle functions with no
50365         return value.
50366         * math/libm-test.inc (struct test_sincos_data): Replace with
50367         struct test_fFF_11_data.
50368         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50369         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50370         (sincos_test_data): Change element type to struct
50371         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50372         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50373         RUN_TEST_LOOP_sincos.
50374         * math/README.libm-test: Don't mention special handling of
50375         individual functions.
50376         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50377         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50378         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50379         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50380         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50383         * math/gen-libm-test.pl (get_variable): Remove function.
50384         (parse_args): Don't show pointer parameters to call in test
50385         names.  Use "extra output N" in test names for extra outputs
50386         rather than naming variables.
50388 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50390         [BZ #15488]
50391         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50392         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50393         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50394         double tests.
50395         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50396         disable.
50397         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50398         check_long_double.
50400         * math/gen-libm-test.pl (@tests): Remove variable.
50401         ($count): Likewise.
50402         (new_test): Remove function.
50403         (show_exceptions): New function.
50404         (special_functions): Use show_exceptions instead of new_test.
50405         (parse_args): Likewise.
50406         (generate_testfile): Pass only function name in generated call to
50407         print_max_error or print_complex_max_error.
50408         (get_ulps): Do not handle complex tests specially.
50409         (output_test): Rename to ...
50410         (get_all_ulps_for_test): ... this.  Return a string rather than
50411         printing to a file.  Require ulps to be present.
50412         (output_ulps): Generate arrays rather than #defines.
50413         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50414         (struct ulp_data): New type.
50415         (BUILD_COMPLEX_ULP): Remove macro.
50416         (compare_ulp_data): New function.
50417         (find_ulps): Likewise.
50418         (find_test_ulps): Likewise.
50419         (find_function_ulps): Likewise.
50420         (find_complex_function_ulps): Likewise.
50421         (print_max_error): Determine allowed ulps using
50422         find_function_ulps.
50423         (print_complex_max_error): Determine allowed ulps using
50424         find_complex_function_ulps.
50425         (check_float_internal): Determine max ulps using find_test_ulps.
50426         (check_float): Do not take max_ulp parameter.  Update call to
50427         check_float_internal.
50428         (check_complex): Likewise.
50429         (check_int): Do not take max_ulp parameter.
50430         (check_long): Likewise.
50431         (check_bool): Likewise.
50432         (check_longlong): Likewise.
50433         (struct test_f_f_data): Remove max_ulp field.
50434         (struct test_ff_f_data): Likewise.
50435         (struct test_ff_f_data_nexttoward): Likewise.
50436         (struct test_fi_f_data): Likewise.
50437         (struct test_fl_f_data): Likewise.
50438         (struct test_if_f_data): Likewise.
50439         (struct test_fff_f_data): Likewise.
50440         (struct test_c_f_data): Likewise.
50441         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50442         (struct test_fF_f1_data): Likewise.
50443         (struct test_ffI_f1_data): Likewise.
50444         (struct test_c_c_data): Remove max_ulp field.
50445         (struct test_cc_c_data): Likewise.
50446         (struct test_f_i_data): Likewise.
50447         (struct test_ff_i_data): Likewise.
50448         (struct test_f_l_data): Likewise.
50449         (struct test_f_L_data): Likewise.
50450         (struct test_sincos_data): Likewise.
50451         (RUN_TEST_f_f): Do not handle ulps.
50452         (RUN_TEST_LOOP_f_f): Likewise.
50453         (RUN_TEST_2_f): Likewise.
50454         (RUN_TEST_LOOP_2_f): Likewise.
50455         (RUN_TEST_fff_f): Likewise.
50456         (RUN_TEST_LOOP_fff_f): Likewise.
50457         (RUN_TEST_c_f): Likewise.
50458         (RUN_TEST_LOOP_c_f): Likewise.
50459         (RUN_TEST_f_f1): Likewise.
50460         (RUN_TEST_LOOP_f_f1): Likewise.
50461         (RUN_TEST_fF_f1): Likewise.
50462         (RUN_TEST_LOOP_fF_f1): Likewise.
50463         (RUN_TEST_fI_f1): Likewise.
50464         (RUN_TEST_LOOP_fI_f1): Likewise.
50465         (RUN_TEST_ffI_f1): Likewise.
50466         (RUN_TEST_LOOP_ffI_f1): Likewise.
50467         (RUN_TEST_c_c): Likewise.
50468         (RUN_TEST_LOOP_c_c): Likewise.
50469         (RUN_TEST_cc_c): Likewise.
50470         (RUN_TEST_LOOP_cc_c): Likewise.
50471         (RUN_TEST_f_i): Likewise.
50472         (RUN_TEST_LOOP_f_i): Likewise.
50473         (RUN_TEST_f_i_tg): Likewise.
50474         (RUN_TEST_LOOP_f_i_tg): Likewise.
50475         (RUN_TEST_ff_i_tg): Likewise.
50476         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50477         (RUN_TEST_f_b): Likewise.
50478         (RUN_TEST_LOOP_f_b): Likewise.
50479         (RUN_TEST_f_b_tg): Likewise.
50480         (RUN_TEST_LOOP_f_b_tg): Likewise.
50481         (RUN_TEST_f_l): Likewise.
50482         (RUN_TEST_LOOP_f_l): Likewise.
50483         (RUN_TEST_f_L): Likewise.
50484         (RUN_TEST_LOOP_f_L): Likewise.
50485         (RUN_TEST_sincos): Likewise.
50486         (RUN_TEST_LOOP_sincos): Likewise.
50488 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50490         [BZ #15480]
50491         [BZ #15485]
50492         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50493         main case of finite arguments, set rounding mode to FE_TONEAREST
50494         and discard exceptions.
50495         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50496         exceptions.
50497         (remainder_tonearest_test_data): New variable.
50498         (remainder_test_tonearest): New function.
50499         (remainder_towardzero_test_data): New variable.
50500         (remainder_test_towardzero): New function.
50501         (remainder_downward_test_data): New variable.
50502         (remainder_test_downward): New function.
50503         (remainder_upward_test_data): New variable.
50504         (remainder_test_upward): New function.
50505         (main): Call the new test functions.
50507         * math/libm-test.inc (struct test_f_f1_data): Remove field
50508         extra_init.
50509         (struct test_fF_f1_data): Likewise.
50510         (struct test_ffI_f1_data): Likewise.
50511         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50512         based on value of EXTRA_EXPECTED.
50513         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50514         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50515         EXTRA_VAR based on value of EXTRA_EXPECTED.
50516         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50517         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50518         EXTRA_VAR based on value of EXTRA_EXPECTED.
50519         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50520         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50521         EXTRA_VAR based on value of EXTRA_EXPECTED.
50522         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50523         * math/gen-libm-test.pl (parse_args): Don't output initializers
50524         for extra output values.
50526         * math/libm-test.inc (check_int): Expect result to be exactly
50527         equal to expected value and do not handle ulps.
50528         (check_long): Likewise.
50529         (check_longlong): Likewise.
50531         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50532         exceptions.
50533         (cimag_test_data): Likewise.
50534         (conj_test_data): Likewise.
50535         (copysign_test_data): Likewise.
50536         (cproj_test_data): Likewise.
50537         (creal_test_data): Likewise.
50538         (fabs_test_data): Likewise.
50539         (fdim_test_data): Likewise.
50540         (finite_test_data): Likewise.
50541         (floor_test_data): Likewise.
50542         (fmax_test_data): Likewise.
50543         (fmin_test_data): Likewise.
50544         (fmod_test_data): Likewise.
50545         (fpclassify_test_data): Likewise.
50546         (frexp_test_data): Likewise.
50547         (ilogb_test_data): Likewise.
50548         (isfinite_test_data): Likewise.
50549         (isgreater_test_data): Likewise.
50550         (isgreaterequal_test_data): Likewise.
50551         (isinf_test_data): Likewise.
50552         (isless_test_data): Likewise.
50553         (islessequal_test_data): Likewise.
50554         (islessgreater_test_data): Likewise.
50555         (isnan_test_data): Likewise.
50556         (isnormal_test_data): Likewise.
50557         (issignaling_test_data): Likewise.
50558         (isunordered_test_data): Likewise.
50559         (ldexp_test_data): Likewise.
50560         (lrint_test_data): Likewise.
50561         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50562         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50563         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50564         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50565         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50566         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50567         test input.
50568         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50569         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50570         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50571         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50572         that test input.
50573         (lrint_downward_test_data): Test for "inexact" exceptions.
50574         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50575         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50576         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50577         test input.
50578         (lrint_upward_test_data): Test for "inexact" exceptions.
50579         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50580         test input.
50581         (llrint_test_data): Test for "inexact" exceptions.
50582         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50583         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50584         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50585         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50586         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50587         (llrint_downward_test_data): Test for "inexact" exceptions.
50588         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50589         (llrint_upward_test_data): Test for "inexact" exceptions.
50590         (logb_test_data): Likewise.
50591         (logb_downward_test_data): Likewise.
50592         (nextafter_test_data): Likewise.
50593         (nexttoward_test_data): Likewise.
50594         (remainder_test_data): Likewise.
50595         (remquo_test_data): Likewise.
50596         (scalbn_test_data): Likewise.
50597         (scalbln_test_data): Likewise.
50598         (signbit_test_data): Likewise.
50599         (sqrt_test_data): Likewise.
50600         (significand_test_data): Likewise.
50602 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50604         [BZ #15424]
50605         * benchtests/bench-modf.c (struct args): Mark arg0 as
50606         volatile.
50607         * scripts/bench.pl: Mark members of struct args as volatile.
50609 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50611         [BZ # 15497]
50612         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50613         negative infinity on POWER6 or lower.
50614         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50616 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50618         [BZ #15442]
50619         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50620         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50621         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50622         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50623         (_FP_SETQNAN): New macro.
50624         (_FP_SETQNAN_SEMIRAW): Likewise.
50625         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50626         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50627         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50628         (FP_EXTEND): Use _FP_FRAC_SNANP.
50629         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50630         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50631         into account.
50632         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50633         New macro.
50634         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50635         Likewise.
50637 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50639         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50640         with DIVIDE_BY_ZERO_EXCEPTION.
50641         (gamma_test_data): Likewise.
50642         (lgamma_test_data): Likewise.
50643         (log_test_data): Likewise.
50644         (log10_test_data): Likewise.
50645         (log2_test_data): Likewise.
50646         (tgamma_test_data): Likewise.
50648         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50649         (acos_test_tonearest): Likewise.
50650         (acos_test_towardzero): Likewise.
50651         (acos_test_downward): Likewise.
50652         (acos_test_upward): Likewise.
50653         (acosh_test): Likewise.
50654         (asin_test): Likewise.
50655         (asin_test_tonearest): Likewise.
50656         (asin_test_towardzero): Likewise.
50657         (asin_test_downward): Likewise.
50658         (asin_test_upward): Likewise.
50659         (asinh_test): Likewise.
50660         (atan_test): Likewise.
50661         (atanh_test): Likewise.
50662         (atan2_test): Likewise.
50663         (cabs_test): Likewise.
50664         (cacos_test): Likewise.
50665         (cacosh_test): Likewise.
50666         (casin_test): Likewise.
50667         (casinh_test): Likewise.
50668         (catan_test): Likewise.
50669         (catanh_test): Likewise.
50670         (cbrt_test): Likewise.
50671         (ccos_test): Likewise.
50672         (ccosh_test): Likewise.
50673         (cexp_test): Likewise.
50674         (clog_test): Likewise.
50675         (clog10_test): Likewise.
50676         (cos_test): Likewise.
50677         (cos_test_tonearest): Likewise.
50678         (cos_test_towardzero): Likewise.
50679         (cos_test_downward): Likewise.
50680         (cos_test_upward): Likewise.
50681         (cosh_test): Likewise.
50682         (cosh_test_tonearest): Likewise.
50683         (cosh_test_towardzero): Likewise.
50684         (cosh_test_downward): Likewise.
50685         (cosh_test_upward): Likewise.
50686         (cpow_test): Likewise.
50687         (csin_test): Likewise.
50688         (csinh_test): Likewise.
50689         (csqrt_test): Likewise.
50690         (ctan_test): Likewise.
50691         (ctan_test_tonearest): Likewise.
50692         (ctan_test_towardzero): Likewise.
50693         (ctan_test_downward): Likewise.
50694         (ctan_test_upward): Likewise.
50695         (ctanh_test): Likewise.
50696         (ctanh_test_tonearest): Likewise.
50697         (ctanh_test_towardzero): Likewise.
50698         (ctanh_test_downward): Likewise.
50699         (ctanh_test_upward): Likewise.
50700         (erf_test): Likewise.
50701         (erfc_test): Likewise.
50702         (exp_test): Likewise.
50703         (exp_test_tonearest): Likewise.
50704         (exp_test_towardzero): Likewise.
50705         (exp_test_downward): Likewise.
50706         (exp_test_upward): Likewise.
50707         (exp10_test): Likewise.
50708         (exp2_test): Likewise.
50709         (expm1_test): Likewise.
50710         (fmod_test): Likewise.
50711         (gamma_test): Likewise.
50712         (hypot_test): Likewise.
50713         (j0_test): Likewise.
50714         (j1_test): Likewise.
50715         (jn_test): Likewise.
50716         (lgamma_test): Likewise.
50717         (log_test): Likewise.
50718         (log10_test): Likewise.
50719         (log1p_test): Likewise.
50720         (log2_test): Likewise.
50721         (logb_test_downward): Likewise.
50722         (pow_test): Likewise.
50723         (pow_test_tonearest): Likewise.
50724         (pow_test_towardzero): Likewise.
50725         (pow_test_downward): Likewise.
50726         (pow_test_upward): Likewise.
50727         (remainder_test): Likewise.
50728         (remquo_test): Likewise.
50729         (sin_test): Likewise.
50730         (sin_test_tonearest): Likewise.
50731         (sin_test_towardzero): Likewise.
50732         (sin_test_downward): Likewise.
50733         (sin_test_upward): Likewise.
50734         (sincos_test): Likewise.
50735         (sinh_test): Likewise.
50736         (sinh_test_tonearest): Likewise.
50737         (sinh_test_towardzero): Likewise.
50738         (sinh_test_downward): Likewise.
50739         (sinh_test_upward): Likewise.
50740         (sqrt_test): Likewise.
50741         (tan_test): Likewise.
50742         (tan_test_tonearest): Likewise.
50743         (tan_test_towardzero): Likewise.
50744         (tan_test_downward): Likewise.
50745         (tan_test_upward): Likewise.
50746         (tanh_test): Likewise.
50747         (tgamma_test): Likewise.
50748         (y0_test): Likewise.
50749         (y1_test): Likewise.
50750         (yn_test): Likewise.
50752         * math/gen-libm-test.pl (adjust_arg): Remove function.
50753         (special_function): Remove argument $in_func.  Only handle
50754         generating output for tables of tests, not inside functions.
50755         (parse_args): Likewise.
50756         (generate_testfile): Remove variable $in_func.  Update call to
50757         parse_args.
50758         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50759         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50760         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50761         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50762         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50763         (MAX_VALUE_INIT): Rename macro to max_value.
50764         (MIN_VALUE_INIT): Rename macro to min_value.
50765         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50766         (plus_zero): Remove variable.
50767         (minus_zero): Likewise.
50768         (plus_infty): Likewise.
50769         (minus_infty): Likewise.
50770         (qnan_value): Likewise.
50771         (max_value): Likewise.
50772         (min_value): Likewise.
50773         (min_subnorm_value): Likewise.
50775 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50777         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50778         uint64_t or uint32_t usage.
50779         * crypt/sha256-block.c: Likewise.
50780         * crypt/sha256-crypt.c: Likewise.
50781         * crypt/sha256.c: Likewise.
50782         * crypt/sha512-block.c: Likewise.
50783         * crypt/sha512-crypt.c: Likewise.
50784         * crypt/sha512.c: Likewise.
50785         * debug/backtrace-tst.c: Likewise.
50786         * debug/pcprofiledump.c: Likewise.
50787         * elf/cache.c: Likewise.
50788         * elf/dl-cache.c: Likewise.
50789         * elf/dl-misc.c: Likewise.
50790         * elf/dl-profile.c: Likewise.
50791         * elf/dl-support.c: Likewise.
50792         * elf/ldconfig.c: Likewise.
50793         * elf/sprof.c: Likewise.
50794         * iconv/dummy-repertoire.c: Likewise.
50795         * iconv/iconv_charmap.c: Likewise.
50796         * iconv/skeleton.c: Likewise.
50797         * iconvdata/8bit-generic.c: Likewise.
50798         * iconvdata/cp737.h: Likewise.
50799         * iconvdata/cp775.h: Likewise.
50800         * iconvdata/ibm1008.h: Likewise.
50801         * iconvdata/ibm1025.h: Likewise.
50802         * iconvdata/ibm1046.h: Likewise.
50803         * iconvdata/ibm1097.h: Likewise.
50804         * iconvdata/ibm1112.h: Likewise.
50805         * iconvdata/ibm1122.h: Likewise.
50806         * iconvdata/ibm1123.h: Likewise.
50807         * iconvdata/ibm1124.h: Likewise.
50808         * iconvdata/ibm1129.h: Likewise.
50809         * iconvdata/ibm1130.h: Likewise.
50810         * iconvdata/ibm1132.h: Likewise.
50811         * iconvdata/ibm1133.h: Likewise.
50812         * iconvdata/ibm1137.h: Likewise.
50813         * iconvdata/ibm1140.h: Likewise.
50814         * iconvdata/ibm1141.h: Likewise.
50815         * iconvdata/ibm1142.h: Likewise.
50816         * iconvdata/ibm1143.h: Likewise.
50817         * iconvdata/ibm1144.h: Likewise.
50818         * iconvdata/ibm1145.h: Likewise.
50819         * iconvdata/ibm1146.h: Likewise.
50820         * iconvdata/ibm1147.h: Likewise.
50821         * iconvdata/ibm1148.h: Likewise.
50822         * iconvdata/ibm1149.h: Likewise.
50823         * iconvdata/ibm1153.h: Likewise.
50824         * iconvdata/ibm1154.h: Likewise.
50825         * iconvdata/ibm1155.h: Likewise.
50826         * iconvdata/ibm1156.h: Likewise.
50827         * iconvdata/ibm1157.h: Likewise.
50828         * iconvdata/ibm1158.h: Likewise.
50829         * iconvdata/ibm1160.h: Likewise.
50830         * iconvdata/ibm1161.h: Likewise.
50831         * iconvdata/ibm1162.h: Likewise.
50832         * iconvdata/ibm1163.h: Likewise.
50833         * iconvdata/ibm1164.h: Likewise.
50834         * iconvdata/ibm1166.h: Likewise.
50835         * iconvdata/ibm1167.h: Likewise.
50836         * iconvdata/ibm12712.h: Likewise.
50837         * iconvdata/ibm1390.h: Likewise.
50838         * iconvdata/ibm1399.h: Likewise.
50839         * iconvdata/ibm16804.h: Likewise.
50840         * iconvdata/ibm4517.h: Likewise.
50841         * iconvdata/ibm4899.h: Likewise.
50842         * iconvdata/ibm4909.h: Likewise.
50843         * iconvdata/ibm4971.h: Likewise.
50844         * iconvdata/ibm5347.h: Likewise.
50845         * iconvdata/ibm803.h: Likewise.
50846         * iconvdata/ibm856.h: Likewise.
50847         * iconvdata/ibm901.h: Likewise.
50848         * iconvdata/ibm902.h: Likewise.
50849         * iconvdata/ibm9030.h: Likewise.
50850         * iconvdata/ibm9066.h: Likewise.
50851         * iconvdata/ibm921.h: Likewise.
50852         * iconvdata/ibm922.h: Likewise.
50853         * iconvdata/ibm9448.h: Likewise.
50854         * iconvdata/isiri-3342.h: Likewise.
50855         * iconvdata/jis0201.h: Likewise.
50856         * include/link.h: Likewise.
50857         * include/netdb.h: Likewise.
50858         * inet/check_native.c: Likewise.
50859         * inet/check_pf.c: Likewise.
50860         * inet/getipv4sourcefilter.c: Likewise.
50861         * inet/getnameinfo.c: Likewise.
50862         * inet/getsourcefilter.c: Likewise.
50863         * inet/htonl.c: Likewise.
50864         * inet/setipv4sourcefilter.c: Likewise.
50865         * inet/setsourcefilter.c: Likewise.
50866         * inet/test-inet6_opt.c: Likewise.
50867         * inet/tst-network.c: Likewise.
50868         * locale/C-collate.c: Likewise.
50869         * locale/C-ctype.c: Likewise.
50870         * locale/C-time.c: Likewise.
50871         * locale/C-translit.h: Likewise.
50872         * locale/loadarchive.c: Likewise.
50873         * locale/programs/3level.h: Likewise.
50874         * locale/programs/charmap.c: Likewise.
50875         * locale/programs/charmap.h: Likewise.
50876         * locale/programs/ld-address.c: Likewise.
50877         * locale/programs/ld-collate.c: Likewise.
50878         * locale/programs/ld-ctype.c: Likewise.
50879         * locale/programs/ld-identification.c: Likewise.
50880         * locale/programs/ld-measurement.c: Likewise.
50881         * locale/programs/ld-messages.c: Likewise.
50882         * locale/programs/ld-monetary.c: Likewise.
50883         * locale/programs/ld-name.c: Likewise.
50884         * locale/programs/ld-numeric.c: Likewise.
50885         * locale/programs/ld-paper.c: Likewise.
50886         * locale/programs/ld-telephone.c: Likewise.
50887         * locale/programs/ld-time.c: Likewise.
50888         * locale/programs/linereader.c: Likewise.
50889         * locale/programs/locale.c: Likewise.
50890         * locale/programs/locarchive.c: Likewise.
50891         * locale/programs/locfile.h: Likewise.
50892         * locale/programs/repertoire.c: Likewise.
50893         * locale/programs/simple-hash.c: Likewise.
50894         * locale/programs/simple-hash.h: Likewise.
50895         * malloc/memusage.c: Likewise.
50896         * malloc/memusagestat.c: Likewise.
50897         * nis/nis_defaults.c: Likewise.
50898         * nis/nis_hash.c: Likewise.
50899         * nis/nis_print.c: Likewise.
50900         * nis/nis_xdr.c: Likewise.
50901         * nscd/connections.c: Likewise.
50902         * nscd/hstcache.c: Likewise.
50903         * nscd/nscd_gethst_r.c: Likewise.
50904         * nscd/nscd_getserv_r.c: Likewise.
50905         * nscd/nscd_helper.c: Likewise.
50906         * nscd/servicescache.c: Likewise.
50907         * nss/makedb.c: Likewise.
50908         * nss/nss_db/db-XXX.c: Likewise.
50909         * nss/nss_db/db-initgroups.c: Likewise.
50910         * nss/nss_db/db-netgrp.c: Likewise.
50911         * nss/nss_files/files-network.c: Likewise.
50912         * nss/nss_files/files-parse.c: Likewise.
50913         * posix/bug-regex5.c: Likewise.
50914         * posix/fnmatch_loop.c: Likewise.
50915         * posix/regcomp.c: Likewise.
50916         * posix/regexec.c: Likewise.
50917         * posix/tst-rfc3484-2.c: Likewise.
50918         * posix/tst-rfc3484-3.c: Likewise.
50919         * posix/tst-rfc3484.c: Likewise.
50920         * resolv/nss_dns/dns-canon.c: Likewise.
50921         * resolv/nss_dns/dns-network.c: Likewise.
50922         * resolv/res_init.c: Likewise.
50923         * resolv/res_mkquery.c: Likewise.
50924         * resolv/tst-aton.c: Likewise.
50925         * stdlib/cxa_atexit.c: Likewise.
50926         * stdlib/cxa_finalize.c: Likewise.
50927         * stdlib/gen-fpioconst.c: Likewise.
50928         * stdlib/strtol_l.c: Likewise.
50929         * string/tst-endian.c: Likewise.
50930         * sunrpc/auth_des.c: Likewise.
50931         * sunrpc/clnt_udp.c: Likewise.
50932         * sunrpc/rtime.c: Likewise.
50933         * sunrpc/svcauth_des.c: Likewise.
50934         * sunrpc/xdr.c: Likewise.
50935         * sunrpc/xdr_intXX_t.c: Likewise.
50936         * sunrpc/xdr_rec.c: Likewise.
50937         * sysdeps/generic/ldconfig.h: Likewise.
50938         * sysdeps/generic/ldsodefs.h: Likewise.
50939         * sysdeps/generic/memusage.h: Likewise.
50940         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50941         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50942         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50943         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50944         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50945         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50946         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50947         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50948         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50949         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50950         * sysdeps/posix/getaddrinfo.c: Likewise.
50951         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50952         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50953         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50954         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50955         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50956         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50957         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50958         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50959         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50960         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50961         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50962         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50963         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50964         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50965         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50966         * sysdeps/x86_64/dl-tls.h: Likewise.
50967         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50968         * time/alt_digit.c: Likewise.
50969         * time/era.c: Likewise.
50970         * wcsmbs/tst-c16c32-1.c: Likewise.
50972 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50974         * math/libm-test.inc (struct test_sincos_data): New type.
50975         (RUN_TEST_LOOP_sincos): New macro.
50976         (sincos_test_data): New variable.
50977         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50979 2013-05-16  Richard Henderson  <rth@redhat.com>
50981         * math/atest-exp2.c (LIMB64): New macro.
50982         (CONSTSZ): New macro.
50983         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50984         (hexdig): Move ...
50985         (print_mpn_fp): ... to function scope.
50986         (read_mpn_hex): Remove.
50987         (get_log2): Remove.
50988         (exp2_mpn): Use mp_log2.
50989         (main): Use mp_exp1.
50991 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50993         * math/libm-test.inc: Remove comment about not testing "inexact"
50994         exceptions.
50995         (INEXACT_EXCEPTION): New macro.
50996         (NO_INEXACT_EXCEPTION): Likewise.
50997         (INVALID_EXCEPTION_OK): Update value.
50998         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50999         (OVERFLOW_EXCEPTION_OK): Likewise.
51000         (UNDERFLOW_EXCEPTION_OK): Likewise.
51001         (IGNORE_ZERO_INF_SIGN): Likewise.
51002         (ERRNO_UNCHANGED): Likewise.
51003         (ERRNO_EDOM): Likewise.
51004         (ERRNO_ERANGE): Likewise.
51005         (test_exceptions): Handle testing "inexact" exceptions.
51006         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51007         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51008         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51009         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51010         INEXACT_EXCEPTION.
51011         (rint_towardzero_test_data): Likewise.
51012         (rint_downward_test_data): Likewise.
51013         (rint_upward_test_data): Likewise.
51015         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51016         with OVERFLOW_EXCEPTION.
51017         (exp10_test_data): Likewise.
51018         (exp2_test_data): Likewise.
51019         (expm1_test_data): Likewise.
51020         (lgamma_test_data): Likewise.
51021         (pow_test_data): Likewise.
51022         (tgamma_test_data): Likewise.
51023         (yn_test_data): Remove duplicate test of overflow.
51025         * math/libm-test.inc (struct test_cc_c_data): New type.
51026         (RUN_TEST_LOOP_cc_c): New macro.
51027         (cpow_test_data): New variable.
51028         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51030         * math/libm-test.inc (struct test_f_L_data): New type.
51031         (RUN_TEST_LOOP_f_L): New macro.
51032         (llrint_test_data): New variable.
51033         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51034         (llrint_tonearest_test_data): New variable.
51035         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51036         (llrint_towardzero_test_data): New variable.
51037         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51038         (llrint_downward_test_data): New variable.
51039         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51040         (llrint_upward_test_data): New variable.
51041         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51042         (llround_test_data): New variable.
51043         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51045 2013-05-13  Peter Collingbourne  <pcc@google.com>
51047         * math/atest-exp2.c (get_log2): Remove const attribute.
51049 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51051         * math/libm-test.inc (struct test_f_l_data): New type.
51052         (RUN_TEST_LOOP_f_l): New macro.
51053         (lrint_test_data): New variable.
51054         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51055         (lrint_tonearest_test_data): New variable.
51056         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51057         (lrint_towardzero_test_data): New variable.
51058         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51059         (lrint_downward_test_data): New variable.
51060         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51061         (lrint_upward_test_data): New variable.
51062         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51063         (lround_test_data): New variable.
51064         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51066 2013-05-15  Peter Collingbourne  <pcc@google.com>
51068         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51069         (EXTRACT_WORDS64) Use where appropriate.
51070         (INSERT_WORDS64) Likewise.
51072         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51073         constraints with x constraints.
51074         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51076         * malloc/obstack.c (_obstack_compat): Add initializer.
51078 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51080         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51081         si_trapno and add si_addr_lsb to _sifields.sigfault.
51082         (si_trapno): Remove macro.
51083         (si_addr_lsb): Define new macro.
51084         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51086 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51088         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51089         instead of TEST_f_l.
51090         (llrint_test_tonearest): Likewise.
51091         (llrint_test_towardzero): Likewise.
51092         (llrint_test_downward): Likewise.
51093         (llrint_test_upward): Likewise.
51094         (llround_test): Likewise.
51096         * math/libm-test.inc (struct test_f_i_data): Add comment.
51097         (RUN_TEST_LOOP_f_b): New macro.
51098         (RUN_TEST_LOOP_f_b_tg): Likewise.
51099         (finite_test_data): New variable.
51100         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51101         (isfinite_test_data): New variable.
51102         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51103         (isinf_test_data): New variable.
51104         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51105         (isnan_test_data): New variable.
51106         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51107         (isnormal_test_data): New variable.
51108         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51109         (issignaling_test_data): New variable.
51110         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51111         (signbit_test_data): New variable.
51112         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51114         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51115         with INVALID_EXCEPTION.
51116         (acosh_test_data): Likewise.
51117         (asin_test_data): Likewise.
51118         (atanh_test_data): Likewise.
51119         (fmod_test_data): Likewise.
51120         (log_test_data): Likewise.
51121         (log10_test_data): Likewise.
51122         (log2_test_data): Likewise.
51123         (pow_test_data): Likewise.
51124         (sqrt_test_data): Likewise.
51125         (y0_test_data): Likewise.
51126         (y1_test_data): Likewise.
51127         (yn_test_data): Likewise.
51129         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51130         function contents.
51132         * math/libm-test.inc (struct test_ff_i_data): New type.
51133         (RUN_TEST_LOOP_ff_i_tg): New macro.
51134         (isgreater_test_data): New variable.
51135         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51136         (isgreaterequal_test_data): New variable.
51137         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51138         (isless_test_data): New variable.
51139         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51140         (islessequal_test_data): New variable.
51141         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51142         (islessgreater_test_data): New variable.
51143         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51144         (isunordered_test_data): New variable.
51145         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51147 2013-05-14  David S. Miller  <davem@davemloft.net>
51149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51151 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51153         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51155         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51156         extra_test to int.
51157         (struct test_f_i_data): Change type of max_ulp to int.
51159         * math/libm-test.inc (test_ffI_f1_data): New type.
51160         (RUN_TEST_LOOP_ffI_f1): New macro.
51161         (remquo_test_data): New variable.
51162         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51164         * setjmp/tst-setjmp-fp.c: New file.
51165         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51166         (link-libm): New variable.
51167         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51169         * math/libm-test.inc (struct test_f_i_data): New type.
51170         (RUN_TEST_LOOP_f_i): New macro.
51171         (RUN_TEST_LOOP_f_i_tg): Likewise.
51172         (fpclassify_test_data): New variable.
51173         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51174         (ilogb_test_data): New variable.
51175         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51177         * math/libm-test.inc (scalbln_test): Correct function name in END
51178         call.
51180         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51181         (RUN_TEST_LOOP_fI_f1): New macro.
51182         (frexp_test_data): New variable.
51183         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51185         * math/libm-test.inc (struct test_fF_f1_data): New type.
51186         (RUN_TEST_LOOP_fF_f1): New macro.
51187         (modf_test_data): New variable.
51188         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51190         * math/libm-test.inc (struct test_f_f1_data): New type.
51191         (RUN_TEST_LOOP_f_f1): New macro.
51192         (gamma_test_data): New variable.
51193         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51194         (lgamma_test_data): New variable.
51195         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51197 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51199         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51200         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51201         (main): Comment "tls" pseudo-hwcap.
51203 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51205         * math/libm-test.inc (struct test_fl_f_data): New type.
51206         (RUN_TEST_LOOP_fl_f): New variable.
51207         (scalbln_test_data): New variable.
51208         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51210         * math/libm-test.inc (struct test_fi_f_data): New type.
51211         (RUN_TEST_LOOP_fi_f): New macro.
51212         (ldexp_test_data): New variable.
51213         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51214         (scalbn_test_data): New variable.
51215         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51217         * math/libm-test.inc (struct test_c_f_data): New type.
51218         (RUN_TEST_LOOP_c_f): New macro.
51219         (cabs_test_data): New variable.
51220         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51221         (carg_test_data): New variable.
51222         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51223         (cimag_test_data): New variable.
51224         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51225         (creal_test_data): New variable.
51226         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51228         * math/libm-test.inc (struct test_if_f_data): New type.
51229         (RUN_TEST_LOOP_if_f): New macro.
51230         (jn_test_data): New variable.
51231         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51232         (yn_test_data): New variable.
51233         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51235         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51237 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51239         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51240         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51242 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51244         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51245         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51246         (bench-deps): Add bench-timing.h.
51247         * benchtests-bench-skeleton.c: Include bench-timing.h.
51248         (main): Use TIMING_* macros instead of clock_gettime.
51249         * benchtests/bench-timing.h: New file.
51251         [BZ #14582]
51252         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51253         Renamed from _LIB_VERSION.
51254         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51256 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51258         * math/libm-test.inc (struct test_fff_f_data): New type.
51259         (RUN_TEST_LOOP_fff_f): New macro.
51260         (fma_test_data): New variable.
51261         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51262         (fma_towardzero_test_data): New variable.
51263         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51264         (fma_downward_test_data): New variable.
51265         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51266         (fma_upward_test_data): New variable.
51267         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51269         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51270         (struct test_c_c_data): New type.
51271         (RUN_TEST_LOOP_c_c): New macro.
51272         (cacos_test_data): New variable.
51273         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51274         (cacosh_test_data): New variable.
51275         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51276         (casin_test_data): New variable.
51277         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51278         (casinh_test_data): New variable.
51279         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51280         (catan_test_data): New variable.
51281         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51282         (catanh_test_data): New variable.
51283         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51284         (ccos_test_data): New variable.
51285         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51286         (ccosh_test_data): New variable.
51287         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51288         (cexp_test_data): New variable.
51289         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51290         (clog_test_data): New variable.
51291         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51292         (clog10_test_data): New variable.
51293         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51294         (conj_test_data): New variable.
51295         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51296         (cproj_test_data): New variable.
51297         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51298         (csin_test_data): New variable.
51299         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51300         (csinh_test_data): New variable.
51301         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51302         (csqrt_test_data): New variable.
51303         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51304         (ctan_test_data): New variable.
51305         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51306         (ctan_tonearest_test_data): New variable.
51307         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51308         (ctan_towardzero_test_data): New variable.
51309         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51310         (ctan_downward_test_data): New variable.
51311         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51312         (ctan_upward_test_data): New variable.
51313         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51314         (ctanh_test_data): New variable.
51315         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51316         (ctanh_tonearest_test_data): New variable.
51317         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51318         (ctanh_towardzero_test_data): New variable.
51319         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51320         (ctanh_downward_test_data): New variable.
51321         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51322         (ctanh_upward_test_data): New variable.
51323         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51324         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51325         of BUILD_COMPLEX.
51327         * math/libm-test.inc (struct test_ff_f_data): New type.
51328         (struct test_ff_f_data_nexttoward): Likewise.
51329         (RUN_TEST_LOOP_2_f): New macro.
51330         (RUN_TEST_LOOP_ff_f): Likewise.
51331         (atan2_test_data): New variable.
51332         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51333         (copysign_test_data): New variable.
51334         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51335         (fdim_test_data): New variable.
51336         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51337         (fmax_test_data): New variable.
51338         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51339         (fmin_test_data): New variable.
51340         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51341         (fmod_test_data): New variable.
51342         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51343         (hypot_test_data): New variable.
51344         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51345         (nextafter_test_data): New variable.
51346         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51347         (nexttoward_test_data): New variable.
51348         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51349         (pow_test_data): New variable.
51350         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51351         (pow_tonearest_test_data): New variable.
51352         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51353         (pow_towardzero_test_data): New variable.
51354         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51355         (pow_downward_test_data): New variable.
51356         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51357         (pow_upward_test_data): New variable.
51358         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51359         (remainder_test_data): New variable.
51360         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51361         (scalb_test_data): New variable.
51362         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51363         * sysdeps/i386/fpu/libm-test-ulps: Update.
51365 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51367         * math/libm-test.inc (fma_test): Use max_value instead of local
51368         variable fltmax.
51369         (nextafter_test): Likewise.
51371         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51372         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51373         (acos_downward_test_data): New variable.
51374         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51375         (acos_upward_test_data): New variable.
51376         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51377         (acosh_test_data): New variable.
51378         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51379         (asin_test_data): New variable.
51380         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51381         (asin_tonearest_test_data): New variable.
51382         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51383         (asin_towardzero_test_data): New variable.
51384         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51385         (asin_downward_test_data): New variable.
51386         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51387         (asin_upward_test_data): New variable.
51388         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51389         (asinh_test_data): New variable.
51390         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51391         (atan_test_data): New variable.
51392         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51393         (atanh_test_data): New variable.
51394         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51395         (cbrt_test_data): New variable.
51396         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51397         (ceil_test_data): New variable.
51398         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51399         (cos_test_data): New variable.
51400         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51401         (cos_tonearest_test_data): New variable.
51402         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51403         (cos_towardzero_test_data): New variable.
51404         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51405         (cos_downward_test_data): New variable.
51406         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51407         (cos_upward_test_data): New variable.
51408         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51409         (cosh_test_data): New variable.
51410         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51411         (cosh_tonearest_test_data): New variable.
51412         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51413         (cosh_towardzero_test_data): New variable.
51414         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51415         (cosh_downward_test_data): New variable.
51416         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51417         (cosh_upward_test_data): New variable.
51418         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51419         (erf_test_data): New variable.
51420         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51421         (erfc_test_data): New variable.
51422         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51423         (exp_test_data): New variable.
51424         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51425         (exp_tonearest_test_data): New variable.
51426         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51427         (exp_towardzero_test_data): New variable.
51428         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51429         (exp_downward_test_data): New variable.
51430         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51431         (exp_upward_test_data): New variable.
51432         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51433         (exp10_test_data): New variable.
51434         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51435         (exp2_test_data): New variable.
51436         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51437         (expm1_test_data): New variable.
51438         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51439         (fabs_test_data): New variable.
51440         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51441         (floor_test_data): New variable.
51442         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51443         (j0_test_data): New variable.
51444         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51445         (j1_test_data): New variable.
51446         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51447         (log_test_data): New variable.
51448         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51449         (log10_test_data): New variable.
51450         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51451         (log1p_test_data): New variable.
51452         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51453         (log2_test_data): New variable.
51454         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51455         (logb_test_data): New variable.
51456         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51457         (logb_downward_test_data): New variable.
51458         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51459         (nearbyint_test_data): New variable.
51460         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51461         (rint_test_data): New variable.
51462         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51463         (rint_tonearest_test_data): New variable.
51464         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51465         (rint_towardzero_test_data): New variable.
51466         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51467         (rint_downward_test_data): New variable.
51468         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51469         (rint_upward_test_data): New variable.
51470         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51471         (round_test_data): New variable.
51472         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51473         (sin_test_data): New variable.
51474         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51475         (sin_tonearest_test_data): New variable.
51476         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51477         (sin_towardzero_test_data): New variable.
51478         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51479         (sin_downward_test_data): New variable.
51480         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51481         (sin_upward_test_data): New variable.
51482         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51483         (sinh_test_data): New variable.
51484         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51485         (sinh_tonearest_test_data): New variable.
51486         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51487         (sinh_towardzero_test_data): New variable.
51488         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51489         (sinh_downward_test_data): New variable.
51490         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51491         (sinh_upward_test_data): New variable.
51492         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51493         (sqrt_test_data): New variable.
51494         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51495         (tan_test_data): New variable.
51496         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51497         (tan_tonearest_test_data): New variable.
51498         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51499         (tan_towardzero_test_data): New variable.
51500         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51501         (tan_downward_test_data): New variable.
51502         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51503         (tan_upward_test_data): New variable.
51504         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51505         (tanh_test_data): New variable.
51506         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51507         (tgamma_test_data): New variable.
51508         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51509         (trunc_test_data): New variable.
51510         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51511         (y0_test_data): New variable.
51512         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51513         (y1_test_data): New variable.
51514         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51515         (significand_test_data): New variable.
51516         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51518 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51520         [BZ #12387]
51521         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51523 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51525         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51527 2013-05-10  Andreas Jaeger  <aj@suse.de>
51529         [BZ #15448]
51530         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51531         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51533 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51535         * math/gen-libm-test.pl (adjust_arg): New function.
51536         (special_functions): Handle generating output in both functions
51537         and arrays.
51538         (parse_args): Likewise.
51539         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51540         $in_func argument to parse_args.
51541         * math/libm-test.inc (struct test_f_f_data): New type.
51542         (IF_ROUND_INIT_): New macro.
51543         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51544         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51545         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51546         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51547         (ROUND_RESTORE_): Likewise.
51548         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51549         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51550         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51551         (ROUND_RESTORE_FE_UPWARD): Likewise.
51552         (RUN_TEST_LOOP_f_f): New macro.
51553         (acos_test_data): New variable.
51554         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51555         (acos_tonearest_test_data): New variable.
51556         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51558 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51560         * benchtests/bench-skeleton.c (startup): Fix coding style.
51562 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51564         [BZ #6809]
51565         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51566         negative infinity argument.
51567         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51568         negative infinity argument.
51569         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51570         negative infinity argument.
51571         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51572         domain errors.
51574 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51576         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51577         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51578         * iconv/iconv_prog.c (main): Likewise.
51579         * locale/programs/charmap-dir.c (charmap_readdir)
51580         (fopen_uncompressed): Likewise.
51581         * locale/programs/locfile.c (siblings_uncached)
51582         (write_locale_data): Use lstat64 instead of lstat.
51583         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51584         stat.
51586 2013-05-10  Andreas Jaeger  <aj@suse.de>
51588         [BZ #15395]
51589         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51590         localization.
51591         Include <locale.h>.
51593 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51595         * elf/dl-close.c (_dl_close_worker): Add comments.
51597 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51599         [BZ #15359]
51600         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51601         high part of pi/2.
51602         (__ieee754_rem_pio2l): Update comments.
51604         [BZ #15429]
51605         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51606         high part of pi/2.
51607         (__ieee754_rem_pio2l): Update comments.
51609         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51610         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51612         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51613         M_PI_4l.
51615         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51616         (M_PI_34_LOG10El): Likewise.
51617         (M_PI2_LOG10El): Likewise.
51618         (M_PI4_LOG10El): Likewise.
51619         (M_PI_LOG10El): Likewise.
51621 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51625 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51627         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51628         (MINUS_ZERO_INIT): Likewise.
51629         (PLUS_INFTY_INIT): Likewise.
51630         (MINUS_INFTY_INIT): Likewise.
51631         (QNAN_VALUE_INIT): Likewise.
51632         (MAX_VALUE_INIT): Likewise.
51633         (MIN_VALUE_INIT): Likewise.
51634         (MIN_SUBNORM_VALUE_INIT): Likewise.
51635         (plus_zero): Initialize with PLUS_ZERO_INIT.
51636         (minus_zero): Initialize with MINUS_ZERO_INIT.
51637         (plus_infty): Initialize with PLUS_INFTY_INIT.
51638         (minus_infty): Initialize with MINUS_INFTY_INIT.
51639         (qnan_value): Initialize with QNAN_VALUE_INIT.
51640         (max_value): Initialize with MAX_VALUE_INIT.
51641         (min_value): Initialize with MIN_VALUE_INIT.
51642         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51644         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51645         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51646         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51647         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51649         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51650         (RUN_TEST_2_f): Likewise.
51651         (RUN_TEST_ff_f): Likewise.
51652         (RUN_TEST_fi_f): Likewise.
51653         (RUN_TEST_fl_f): Likewise.
51654         (RUN_TEST_fff_f): Likewise.
51655         (RUN_TEST_c_f): Likewise.
51656         (RUN_TEST_f_f1): Likewise.
51657         (RUN_TEST_fF_f1): Likewise.
51658         (RUN_TEST_fI_f1): Likewise.
51659         (RUN_TEST_ffI_f1): Likewise.
51660         (RUN_TEST_c_c): Likewise.
51661         (RUN_TEST_cc_c): Likewise.
51662         (RUN_TEST_f_i): Likewise.
51663         (RUN_TEST_f_i_tg): Likewise.
51664         (RUN_TEST_ff_i_tg): Likewise.
51665         (RUN_TEST_f_b): Likewise.
51666         (RUN_TEST_f_b_tg): Likewise.
51667         (RUN_TEST_f_l): Likewise.
51668         (RUN_TEST_f_L): Likewise.
51669         (RUN_TEST_sincos): Likewise.
51670         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51671         whether to show exceptions.  Do not include ");\n" in return
51672         value.
51673         (special_functions): Output call to RUN_TEST_sincos instead of
51674         check_float calls.  Update calls to new_test.
51675         (parse_args): Output call to single RUN_TEST_* macro instead of
51676         check_* calls and other assignments.  Update calls to new_test.
51678         [BZ #2546]
51679         [BZ #2560]
51680         [BZ #5159]
51681         [BZ #15426]
51682         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51683         input to result for tgamma overflow.
51684         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51685         (gamma_coeff): New variable.
51686         (NCOEFF): New macro.
51687         (gamma_positive): New function.
51688         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51689         underflow here.  Use gamma_positive instead of exp (lgamma) for
51690         other arguments.
51691         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51692         (gamma_coeff): New variable.
51693         (NCOEFF): New macro.
51694         (gammaf_positive): New function.
51695         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51696         underflow here.  Use gamma_positive instead of exp (lgamma) for
51697         other arguments.
51698         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51699         (gamma_coeff): New variable.
51700         (NCOEFF): New macro.
51701         (gammal_positive): New function.
51702         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51703         underflow here.  Use gamma_positive instead of exp (lgamma) for
51704         other arguments.
51705         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51706         (gamma_coeff): New variable.
51707         (NCOEFF): New macro.
51708         (gammal_positive): New function.
51709         (__ieee754_gammal_r): Handle positive infinity, overflow and
51710         underflow here.  Handle NaN the same as positive infinity.  Remove
51711         check x < 0xffffffff for negative integers.  Use gamma_positive
51712         instead of exp (lgamma) for other arguments.
51713         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51714         (gamma_coeff): New variable.
51715         (NCOEFF): New macro.
51716         (gammal_positive): New function.
51717         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51718         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51719         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51720         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51721         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51722         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51723         * sysdeps/generic/math_private.h (__gamma_productf): New
51724         prototype.
51725         (__gamma_product): Likewise.
51726         (__gamma_productl): Likewise.
51727         * math/Makefile (libm-calls): Add gamma_product.
51728         * math/libm-test.inc (tgamma_test): Add more tests.
51729         * sysdeps/i386/fpu/libm-test-ulps: Update.
51730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51732 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51734         * benchtests/bench-skeleton.c (main): Preheat CPU.
51736 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51738         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51740 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51742         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51743         and _dl_skip_args_internal.
51745 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51747         * manual/message.texi (Message Translation): Talk about users.
51748         Message to key mapping impacts design.
51750 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51752         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51754         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51756         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51757         * sysdeps/wordsize-64/glob64.c: ... here.
51759         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51760         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51761         New macros.
51763         * debug/getlogin_r_chk.c: Moved to ...
51764         * login/getlogin_r_chk.c: ... here.
51765         * debug/Makefile (routines): Move getlogin_r_chk to ...
51766         * login/Makefile (routines): ... here.
51767         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51768         * login/Versions (libc: GLIBC_2.4): ... here.
51770         * io/poll.c (__poll): Renamed from poll.
51771         Add libc_hidden_def.
51772         (poll): Define as weak alias.
51774         * debug/ptsname_r_chk.c: Moved to ...
51775         * login/ptsname_r_chk.c: ... here.
51776         * debug/Makefile (routines): Move ptsname_r_chk to ...
51777         * login/Makefile (routines): ... here.
51778         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51779         * login/Versions (libc: GLIBC_2.4): ... here.
51781         * posix/getlogin.c: Moved to ...
51782         * login/getlogin.c: ... here.
51783         * posix/getlogin_r.c: Moved to ...
51784         * login/getlogin_r.c: ... here.
51785         * posix/getlogin_r.c: Moved to ...
51786         * login/getlogin_r.c: ... here.
51787         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51788         * login/Makefile (routines): ... here.
51789         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51790         * login/Versions (libc: GLIBC_2.0): ... here.
51792         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51793         (setrlimit): Define as weak alias.
51795         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51796         Call __ names for open, ftruncate, and close.
51797         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51798         (truncate): Define as weak alias.
51800 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51802         * math/gen-libm-test.pl (parse_args): Initialize x before each
51803         test of frexp, modf and remquo.
51805         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51806         test signgam value.
51808 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51810         [BZ #15418]
51811         [BZ #15419]
51812         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51813         internal tests.
51814         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51816 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51818         * elf/dl-writev.h: New file.
51819         * elf/dl-misc.c: Include it.
51820         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51821         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51823 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51825         * math/libm-test.inc (noXFails): Remove variable.
51826         (noXPasses): Likewise.
51827         (BUILD_COMPLEX_INT): Remove macro.
51828         (print_screen): Remove xfail argument.
51829         (print_screen_max_error): Likewise.
51830         (update_stats): Likewise.
51831         (print_max_error): Likewise.  Update calls to other affected
51832         functions.
51833         (print_complex_max_error): Likewise.
51834         (test_single_exception): Update calls to print_screen.
51835         (test_single_errno): Likewise.
51836         (check_float_internal): Remove xfail argument.  Update calls to
51837         other affected functions.
51838         (check_float): Likewise.
51839         (check_complex): Likewise.
51840         (check_int): Likewise.
51841         (check_long): Likewise.
51842         (check_bool): Likewise.
51843         (check_longlong): Likewise.
51844         (main): Don't print noXFails and noXPasses.
51845         * math/gen-libm-test.pl (top level): Don't mention expected
51846         failure handling in comment.
51847         (new_test): Don't handle expected failures.
51848         (parse_args): Don't mention expected failure handling in comment.
51849         (generate_testfile): Don't handle expected failures.
51850         (parse_ulps): Likewise.
51851         (print_ulps_file): Likewise.
51852         (get_failure): Remove function.
51853         (output_test): Don't handle expected failures.
51854         * make/README.libm-test: Don't mention expected failure handling.
51856         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51857         (minus_zero): Likewise.
51858         (plus_infty): Likewise.
51859         (minus_infty): Likewise.
51860         (qnan_value): Likewise.
51861         (max_value): Likewise.
51862         (min_value): Likewise.
51863         (min_subnorm_value): Likewise.
51864         (initialize): Do not initialize those variables dynamically.
51866 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51868         * io/open.c (__open_2): Moved to ...
51869         * io/open_2.c: ... this new file.
51870         * io/open64.c (__open64_2): Moved to ...
51871         * io/open64_2.c: ... this new file.
51872         * io/openat.c (__openat_2): Moved to ...
51873         * io/openat_2.c: ... this new file.
51874         * io/openat64.c (__openat64_2): Moved to ...
51875         * io/openat64_2.c: ... this new file.
51876         * io/Makefile (routines): Add them.
51877         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51878         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51879         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51880         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51881         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51882         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51883         (__openat64): Add hidden_ver.
51884         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51885         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51887         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51888         Separately conditionalize setting of GLRO(dl_sysinfo) so
51889         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51890         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51892 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51894         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51895         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51896         definition.
51897         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51898         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51899         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51900         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51901         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51903 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51905         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51906         test signgam value.
51908         * math/libm-test.inc (hypot_test): Do not use
51909         IGNORE_ZERO_INF_SIGN.
51911 2013-05-03  Andreas Jaeger  <aj@suse.de>
51913         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51914         Linux 3.9.
51915         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51916         (PF_MAX): Adjust for VSOCK change.
51918 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51922 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51924         [BZ #15264]
51925         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51926         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51927         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51929 2013-05-02  David S. Miller  <davem@davemloft.net>
51931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51933 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51935         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51937 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51939         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51941 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51943         [BZ #14952]
51944         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51945         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51946         Use __attribute__ ((__gnu_inline__)).
51947         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51948         Don't use __attribute__ ((__gnu_inline__)).
51950 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51952         [BZ #15423]
51953         * math/s_catan.c (__catan): Handle small real or imaginary part of
51954         input specially to avoid spurious underflow.
51955         * math/s_catanf.c (__catanf): Likewise.
51956         * math/s_catanh.c (__catanh): Likewise.
51957         * math/s_catanhf.c (__catanhf): Likewise.
51958         * math/s_catanhl.c (__catanhl): Likewise.
51959         * math/s_catanl.c (__catanl): Likewise.
51960         * math/libm-test.inc (catan_test): Add more tests.
51961         (catanh_test): Likewise.
51962         * sysdeps/i386/fpu/libm-test-ulps: Update.
51963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51965 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51969 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51971         [BZ #15416]
51972         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51973         accurately for denominator in atan2.
51974         * math/s_catanf.c (__catanf): Likewise.
51975         * math/s_catanh.c (__catanh): Likewise.
51976         * math/s_catanhf.c (__catanhf): Likewise.
51977         * math/s_catanhl.c (__catanhl): Likewise.
51978         * math/s_catanl.c (__catanl): Likewise.
51979         * math/libm-test.inc (catan_test): Add more tests.
51980         (catanh_test): Likewise.
51981         * sysdeps/i386/fpu/libm-test-ulps: Update.
51982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51984 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51986         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51988         * benchtests/Makefile (bench): Remove slow benchmarks.
51989         * benchtests/atan-inputs: Add slow benchmark inputs.
51990         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51991         (BENCH_FUNC): Accept variant offset.
51992         (VARIANT): Define.
51993         * benchtests/bench-skeleton.c (main): Run benchmark for each
51994         variant.
51995         * benchtests/cos-inputs: Add slow benchmark inputs.
51996         * benchtests/exp-inputs: Likewise.
51997         * benchtests/pow-inputs: Likewise.
51998         * benchtests/sin-inputs: Likewise.
51999         * benchtests/slowatan-inputs: Remove.
52000         * benchtests/slowatan.c: Remove.
52001         * benchtests/slowcos-inputs: Remove.
52002         * benchtests/slowcos.c: Remove.
52003         * benchtests/slowexp-inputs: Remove.
52004         * benchtests/slowexp.c: Remove.
52005         * benchtests/slowpow-inputs: Remove.
52006         * benchtests/slowpow.c: Remove.
52007         * benchtests/slowsin-inputs: Remove.
52008         * benchtests/slowsin.c: Remove.
52009         * benchtests/slowtan-inputs: Remove.
52010         * benchtests/slowtan.c: Remove.
52011         * benchtests/tan-inputs: Add slow benchmark inputs.
52012         * scripts/bench.pl: Parse comments and directives.
52014         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52015         in CPPFLAGS.
52016         ($(objpfx)bench-%.c): Remove *-ITER.
52017         * benchtests/bench-modf.c: Remove definition of ITER.
52018         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52019         (main): Loop for DURATION seconds instead of fixed number of
52020         iterations.
52021         * scripts/bench.pl: Don't expect iterations in parameters.
52023 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52025         * io/fchdir.c (__fchdir): Renamed from fchdir.
52026         (fchdir): Define as weak alias.
52028 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52030         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52031         (ERRNO_EDOM): Likewise.
52032         (ERRNO_ERANGE): Likewise.
52033         (noErrnoTests): New variable.
52034         (init_max_error): Set errno to 0.
52035         (test_single_errno): New function.
52036         (test_errno): Likewise.
52037         (check_float_internal): Call test_errno.  Set errno to 0.
52038         (check_complex): Refer to errno tests in comment.
52039         (check_int): Call test_errno.  Set errno to 0.
52040         (check_long): Likewise.
52041         (check_bool): Likewise.
52042         (check_longlong): Likewise.
52043         (cos_test): Use ERRNO_* flags for errno tests instead of
52044         check_int.
52045         (expm1_test): Likewise.
52046         (fmod_test): Likewise.
52047         (ilogb_test): Likewise.
52048         (lgamma_test): Likewise.
52049         (pow_test): Likewise.
52050         (remainder_test): Likewise.
52051         (sin_test): Likewise.
52052         (tan_test): Likewise.
52053         (yn_test): Likewise.
52054         (initialize): Set errno to 0.
52055         (main): Print number of errno tests.
52056         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52058 2013-04-29  Andreas Jaeger  <aj@suse.de>
52060         [BZ #15084]
52061         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52062         and RES_USEVC.
52064         [BZ #15085]
52065         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52066         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52067         unimplemented.
52069         [BZ #15380]
52070         * stdlib/random.c (__initstate): Return NULL if
52071         __initstate fails.
52073         [BZ #15086]
52074         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52075         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52076         RES_SNGLKUPREOP.
52078 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52082 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52084         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52085         of individual tests.
52086         (casin_test): Likewise.
52087         (casinh_test): Likewise.
52089 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52091         [BZ #15409]
52092         * math/s_catan.c (__catan): Handle arguments with large real or
52093         imaginary part separately without squaring.
52094         * math/s_catanf.c (__catanf): Likewise.
52095         * math/s_catanh.c (__catanh): Likewise.
52096         * math/s_catanhf.c (__catanhf): Likewise.
52097         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52098         and redefine.
52099         (__catanhl): Handle arguments with large real or imaginary part
52100         separately without squaring.
52101         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52102         and redefine.
52103         (__catanl): Handle arguments with large real or imaginary part
52104         separately without squaring.
52105         * math/libm-test.inc (catan_test): Add more tests.
52106         (catanh_test): Likewise.
52107         * sysdeps/i386/fpu/libm-test-ulps: Update.
52108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52110 2013-04-27  Andreas Jaeger  <aj@suse.de>
52112         [BZ #15007]
52113         * stdlib/stdlib.h: Update guards for qecvt.
52114         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52115         <stdlib.h>.
52117 2013-04-27  Allan McRae  <allan@archlinux.org>
52119         * sysdeps/i386/fpu/libm-test-ulps: Update.
52121 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52123         [BZ #15406]
52124         * math/s_catan.c: Include <float.h>.
52125         (__catan): Ensure underflow exception occurs for underflowed
52126         result.
52127         * math/s_catanf.c: Include <float.h>.
52128         (__catanf): Ensure underflow exception occurs for underflowed
52129         result.
52130         * math/s_catanh.c: Include <float.h>.
52131         (__catanh): Ensure underflow exception occurs for underflowed
52132         result.
52133         * math/s_catanhf.c: Include <float.h>.
52134         (__catanhf): Ensure underflow exception occurs for underflowed
52135         result.
52136         * math/s_catanhl.c: Include <float.h>.
52137         (__catanhl): Ensure underflow exception occurs for underflowed
52138         result.
52139         * math/s_catanl.c: Include <float.h>.
52140         (__catanl): Ensure underflow exception occurs for underflowed
52141         result.
52142         * math/libm-test.inc (catan_test): Add more tests.
52143         (catanh_test): Likewise.
52145         [BZ #15405]
52146         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52147         underflowed result.
52148         * math/s_ccoshf.c (__ccoshf): Likewise.
52149         * math/s_ccoshl.c (__ccoshl): Likewise.
52150         * math/s_csin.c (__csin): Likewise.
52151         * math/s_csinf.c (__csinf): Likewise.
52152         * math/s_csinh.c (__csinh): Likewise.
52153         * math/s_csinhf.c (__csinhf): Likewise.
52154         * math/s_csinhl.c (__csinhl): Likewise.
52155         * math/s_csinl.c (__csinl): Likewise.
52156         * math/libm-test.inc (ccos_test): Add more tests.
52157         (ccosh_test): Likewise.
52158         (csin_test): Likewise.
52159         (csinh_test): Likewise.
52161 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52163         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52164         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52165         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52166         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52167         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52168         powerpc/power5+/fpu folders.
52169         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52172 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52174         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52176 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52178         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52179         additions to variable.
52180         [$(config-machine) = x86_64] (modules-names): Likewise.
52181         ($(objpfx)tst-audit3): Remove dependency.
52182         ($(objpfx)tst-audit3.out): Likewise.
52183         ($(objpfx)tst-audit4): Likewise.
52184         ($(objpfx)tst-audit4.out): Likewise.
52185         ($(objpfx)tst-audit5): Likewise.
52186         ($(objpfx)tst-audit5.out): Likewise.
52187         ($(objpfx)tst-audit6): Likewise.
52188         ($(objpfx)tst-audit6.out): Likewise.
52189         ($(objpfx)tst-audit7): Likewise.
52190         ($(objpfx)tst-audit7.out): Likewise.
52191         (tst-audit3-ENV): Remove variable.
52192         (tst-audit4-ENV): Likewise.
52193         (tst-audit5-ENV): Likewise.
52194         (tst-audit6-ENV): Likewise.
52195         (tst-audit7-ENV): Likewise.
52196         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52197         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52198         addition to variable.
52199         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52200         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52201         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52202         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52203         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52204         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52205         tst-audit3, tst-audit4 and tst-audit5.
52206         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52207         tst-audit6 and tst-audit7.
52208         [$(subdir) = elf] (modules-names): Add audit modules for those
52209         tests.
52210         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52211         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52212         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52213         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52214         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52215         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52216         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52217         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52218         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52219         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52220         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52221         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52222         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52223         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52224         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52225         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52226         Likewise.
52227         [$(subdir) = elf && $(config-cflags-avx) = yes]
52228         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52229         [$(subdir) = elf && $(config-cflags-avx) = yes]
52230         (CFLAGS-tst-auditmod4a.c): Likewise.
52231         [$(subdir) = elf && $(config-cflags-avx) = yes]
52232         (CFLAGS-tst-auditmod4b.c): Likewise.
52233         [$(subdir) = elf && $(config-cflags-avx) = yes]
52234         (CFLAGS-tst-auditmod6b.c): Likewise.
52235         [$(subdir) = elf && $(config-cflags-avx) = yes]
52236         (CFLAGS-tst-auditmod6c.c): Likewise.
52237         [$(subdir) = elf && $(config-cflags-avx) = yes]
52238         (CFLAGS-tst-auditmod7b.c): Likewise.
52239         * elf/tst-audit3.c: Move to ...
52240         * sysdeps/x86_64/tst-audit3.c: ... here.
52241         * elf/tst-audit4.c: Move to ...
52242         * sysdeps/x86_64/tst-audit4.c: ... here.
52243         * elf/tst-audit5.c: Move to ...
52244         * sysdeps/x86_64/tst-audit5.c: ... here.
52245         * elf/tst-audit6.c: Move to ...
52246         * sysdeps/x86_64/tst-audit6.c: ... here.
52247         * elf/tst-audit7.c: Move to ...
52248         * sysdeps/x86_64/tst-audit7.c: ... here.
52249         * elf/tst-auditmod3a.c: Move to ...
52250         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52251         * elf/tst-auditmod3b.c: Move to ...
52252         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52253         * elf/tst-auditmod4a.c: Move to ...
52254         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52255         * elf/tst-auditmod4b.c: Move to ...
52256         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52257         * elf/tst-auditmod5a.c: Move to ...
52258         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52259         * elf/tst-auditmod5b.c: Move to ...
52260         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52261         * elf/tst-auditmod6a.c: Move to ...
52262         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52263         * elf/tst-auditmod6b.c: Move to ...
52264         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52265         * elf/tst-auditmod6c.c: Move to ...
52266         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52267         * elf/tst-auditmod7a.c: Move to ...
52268         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52269         * elf/tst-auditmod7b.c: Move to ...
52270         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52272 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52274         [BZ #15366]
52275         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52276         define unconditionally.
52277         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52278         define unconditionally.
52279         (INT8_C, INT16_C, etc.): Likewise.
52281 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52283         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52284         __ehdr_start with hidden visibility.
52286         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52288 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52290         * math/libm-test.inc (cos_test): Use accurate hex constants.
52291         (sincost_test): Likewise.
52293 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52295         * math/libm-test.inc (catan_test): Add more tests.
52296         (catanh_test): Likewise.
52298         * math/s_catanf.c (__catanf): Use suffixed floating-point
52299         constants.
52300         * math/s_catanhf.c (__catanhf): Likewise.
52301         * math/s_catanhl.c (__catanhl): Likewise.
52302         * math/s_catanl.c (__catanl): Likewise.
52304         [BZ #15394]
52305         * math/s_catan.c (__catan): Calculate imaginary part of result
52306         with log1p not log unless computing log of number close to 0.
52307         * math/s_catanf.c (__catanf): Likewise.
52308         * math/s_catanl.c (__catanl): Likewise.
52309         * math/s_catanh.c (__catanh): Calculate real part of result with
52310         log1p not log unless computing log of number close to 0.
52311         * math/s_catanhf.c (__catanhf): Likewise.
52312         * math/s_catanhl.c (__catanhl): Likewise.
52313         * math/libm-test.inc (catan_test): Add more tests.
52314         (catanh_test): Likewise.
52315         * sysdeps/i386/fpu/libm-test-ulps: Update.
52316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52318 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52320         * benchtests/Makefile: Mention files in which fast and slow
52321         paths of math functions are implemented.
52323 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52325         * sysdeps/posix/timespec_get.c: New file.
52327 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52329         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52330         POWER.
52331         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52332         for POWER.
52333         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52334         powerpc/power5/fpu folders.
52335         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52336         * benchtests/Makefile: Add modf testcase.
52337         * benchtests/bench-modf.c: New file: Benchmark test for mo
52339 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52341         [BZ #14888]
52342         * time/Makefile (tests): Add tst-strptime-whitespace.
52343         * time/strptime_l.c (get_number): Use ISSPACE.
52344         (__strptime_internal): Likewise.
52345         * time/tst-strptime-whitespace.c: New test case.
52347 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52349         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52350         member.
52351         (_nss_files_init): Set it here.
52353 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52355         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52356         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52357         unsigned.
52359 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52361         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52363 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52365         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52366         size just once.
52368 2013-04-21  David S. Miller  <davem@davemloft.net>
52370         * po/ru.po: Update Russion translation from translation project.
52372 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52374         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52375         and setfsgid.
52377 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52379         * configure.in: Remove i386 configure warning. Remove i386 case.
52380         * configure: Regenerate.
52381         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52382         Add example to error message.
52383         * sysdeps/i386/configure: Regenerate.
52385 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52387         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52388         slowtan.
52389         * benchtests/cos-inputs: New file.
52390         * benchtests/slowcos-inputs: New file.
52391         * benchtests/slowcos.c: New file.
52392         * benchtests/slowtan-inputs: New file.
52393         * benchtests/slowtan.c: New file.
52394         * benchtests/tan-inputs: New file.
52396 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52398         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52399         considered kosher.
52401 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52403         * benchtests/Makefile: Include cppflags-iterator.mk to add
52404         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52406         * Makefile.in (bench-clean): New target.
52407         * benchtests/Makefile (bench-clean): Likewise.
52409 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52411         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52413 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52415         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52417 2013-04-15  Andreas Schwab  <schwab@suse.de>
52419         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52420         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52421         * nscd/pwdcache.c (cache_addpw): Likewise.
52422         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52423         more than recsize.
52425 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52427         * benchtests/Makefile (bench): Write all output to
52428         bench-out.tmp together.
52430 2013-04-15  Andreas Schwab  <schwab@suse.de>
52432         * nscd/nscd.c (main): Don't fork again after closing files.
52434 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52436         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52438         * benchtests/Rules (bench-deps): Collect dependencies into a
52439         single variable.  Add Makefile to dependencies.
52440         ($(objpfx)bench-%.c): Depend on bench-deps.
52442 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52443             Xavier Roche  <roche+kml2@exalead.com>
52445         [BZ #15361]
52446         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52447         just that it's a file descriptor.
52448         * manual/llio.texi (Synchronizing AIO Operations): Update description
52449         for EBADF error from aio_fsync.
52451 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52453         * Rules (bench): Move target definition...
52454         * benchtests/Makefile: ... here.
52456 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52458         * math/libm-test.inc (cos_test): Fix PI/2 test.
52459         (sincos_test): Likewise.
52460         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52461         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52463 2013-04-11  Andreas Schwab  <schwab@suse.de>
52465         [BZ #13988]
52466         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52467         accept exponent character only when digits were seen.
52468         * stdio-common/Makefile (tests): Add bug26.
52469         * stdio-common/bug26.c: New file.
52471         [BZ #14293]
52472         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52473         non-freeable.
52475 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52477         * Makeconfig (rtld-prefix): Define built linker prefix.
52478         * Rules (run-bench): Use it.
52479         * math/Makefile (run-regen-ulps): Likewise.
52481         * Rules (bench): Remove eval.
52483 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52484             Roland McGrath  <roland@hack.frob.com>
52485             Ondrej Bilka  <neleai@seznam.cz>
52487         [BZ #15346]
52488         * time/getdate.c: Include ctype.h and alloca.h.
52489         (__getdate_r): Trim leading and trailing spaces of input.
52490         * time/tst-getdate.c (tests): Add tests with leading and
52491         trailing spaces.
52493 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52495         [BZ #14280]
52496         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52497         when computing value.
52499 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52501         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52502         Use testrun.sh to run libm tests.
52504         [BZ #15309]
52505         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52507 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52509         [BZ #15264]
52510         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52512 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52514         * Makefile.in (regen-ulps): New target.
52515         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52516         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52517         [ifneq (no,$(PERL)] (regen-ulps): New target.
52518         [ifeq (no,$(PERL)] (regen-ulps): New target.
52519         * math/libm-test.inc (ulps_file_name): Define.
52520         (output_dir): New variable.
52521         (options): Add "output-dir" option.
52522         (parse_opt): Handle 'o' case.
52523         (main): If output_dir is non-NULL use it as a prefix
52524         otherwise use "".
52525         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52527 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52529         [BZ #10060, #10062]
52530         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52531         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52532         fail configure if __sync_val_compare_and_swap is not inlined.
52533         * sysdeps/i386/configure: Regenerate.
52534         * configure.in: Build for i686 when configured for i386.
52535         * configure: Regenerate.
52536         * README: Remove i386 reference.
52538 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52540         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52541         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52543 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52545         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52546         (lmsnanval): New variables.
52547         (F): Add conversion tests.
52548         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52549         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52551         * stdio-common/tstdiomisc.c (F): Properly collect individual
52552         tests' results.
52554         [BZ #14686, #15336]
52555         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52556         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52557         Instead, use input NaN values or generate a qNaN by arithmetic
52558         operation.  Also fix bugs to comply with the standard.
52559         * math/libm-test.inc (remainder_test): Add more tests.
52561         [BZ #15335, #15342]
52562         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52563         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52564         input NaN values or generate a qNaN by arithmetic operation.
52566         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52567         unreachable code.
52569         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52570         definitions.
52572 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52574         [BZ #14478]
52575         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52576         underflowed result.
52577         * math/s_cexpf.c (__cexpf): Likewise.
52578         * math/s_cexpl.c (__cexpl): Likewise.
52579         * math/libm-test.inc (cexp_test): Add more tests.
52581 2013-04-03  Andreas Schwab  <schwab@suse.de>
52583         [BZ #15330]
52584         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52585         order arrays from heap if bigger than alloca cutoff.
52587 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52589         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52590         (SNAN_TESTS_double): Refer to GCC PR56831.
52591         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52592         GCC PR56828.
52594 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52596         * Rules (bench): Move bench.out after the run is complete.
52598         * Rules (bench): Echo currently running benchmark.
52600         * benchtests/Makefile (bench): Add atan and slowatan.
52601         * benchtests/atan-inputs: New file.
52602         * benchtests/slowatan-inputs: New file.
52603         * benchtests/slowatan.c: New file.
52605         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52606         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52607         its value.
52609         [BZ #15305]
52610         * sysdeps/unix/sysv/linux/kernel-features.h
52611         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52612         __ASSUME_XFS_RESTRICTED_CHOWN.
52613         * sysdeps/unix/sysv/linux/pathconf.c
52614         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52615         Save and restore errno.
52617 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52619         [BZ #15327]
52620         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52621         arguments using __kernel_casinh.
52622         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52623         arguments using __kernel_casinhf.
52624         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52625         arguments using __kernel_casinhl.
52626         * math/libm-test.inc (cacosh_test): Add more tests.
52627         * sysdeps/i386/fpu/libm-test-ulps: Update.
52628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52630 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52632         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52633         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52635         * bench/Makefile (bench): Add sin and slowsin.
52636         * benchtests/sin-inputs: New file.
52637         * benchtests/slowsin-inputs: New file.
52638         * benchtests/slowsin.c: New file.
52640         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52641         (bench): Add slowexp and slowpow.
52642         (exp-ITER): Increase iterations.
52643         (pow-ITER): Likewise.
52644         * benchtests/exp-inputs: Change input.
52645         * benchtests/pow-inputs: Likewise.
52646         * benchtests/slowexp-inputs: New file.
52647         * benchtests/slowexp.c: New file.
52648         * benchtests/slowpow-inputs: New file.
52649         * benchtests/slowpow.c: New file.
52651 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52653         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52654         instructions.
52655         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52656         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52657         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52658         * benchtests/Makefile: Add rint benchtest.
52659         * benchtests/rint-inputs: Input for rint benchtest.
52661 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52663         * Versions.def (libm): Add GLIBC_2.18.
52664         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52665         hidden libm prototypes.
52666         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52667         * math/Makefile (libm-calls): Add s_issignaling.
52668         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52669         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52670         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52671         declaration.
52672         * math/math.h [__USE_GNU] (issignaling): New macro.
52673         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52674         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52675         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52676         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52677         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52678         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52679         * manual/arith.texi (issignaling): New section.
52680         * manual/libm-err-tab.pl (@all_functions): Update comment.
52681         * math/gen-libm-test.pl (parse_args): Apply special handling for
52682         issignaling.
52683         * math/libm-test.inc (print_float, issignaling_test): New
52684         functions.
52685         (check_float_internal): Add issignaling checks.
52686         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52687         default definition.
52688         * sysdeps/powerpc/math-tests.h: New file.
52689         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52690         tests.
52691         * math/test-snan.c (TEST_FUNC): Likewise.
52693 2013-03-30  David S. Miller  <davem@davemloft.net>
52695         * po/de.po: Update from translation team.
52697 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52699         [BZ #10357]
52700         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52701         imaginary part less than 1.0 and real part less than 0.5
52702         specially.
52703         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52704         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52705         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52706         (cacos_test): Add more tests.
52707         (casin_test): Likewise.
52708         (casinh_test): Likewise.
52709         * sysdeps/i386/fpu/libm-test-ulps: Update.
52710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52712 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52714         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52715         ONE with its value.
52717         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52718         (__pow_mp): Replace ONE and MONE with their values.
52719         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52720         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52721         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52722         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52723         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52724         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52726         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52728         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52729         (__pow_mp): Replace ZERO and MZERO with their values.
52730         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52731         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52732         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52734         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52735         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52736         (__sqr): Likewise.
52738         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52740         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52742 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52744         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52745         Declare with __attribute__ ((weak)).
52746         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52747         Call __call_tls_dtors only if it's not NULL.
52749 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52751         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52752         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52753         magic __ehdr_start linker symbol if it's defined.
52754         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52755         them up here if it was already done.
52757         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52758         (_dl_aux_init): Use const in cast when setting it.
52759         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52760         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52761         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52763         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52764         Declare them here.
52765         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52766         * csu/libc-tls.c: Nor here.
52767         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52769         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52770         (__libc_message): Never call vsyslog.
52772 2013-03-28  Alan Modra  <amodra@gmail.com>
52774         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52775         Define as empty.
52776         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52777         Likewise.
52779 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52781         [BZ #15214]
52782         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52783         underflow.
52784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52786 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52788         [BZ #15304]
52789         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52790         Don't add gid passed as argument.
52792         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52794 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52796         [BZ #15307]
52797         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52798         imaginary part between 1.0 and 1.5 and real part less than 0.5
52799         specially.
52800         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52801         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52802         * math/libm-test.inc (cacos_test): Add more tests.
52803         (casin_test): Likewise.
52804         (casinh_test): Likewise.
52805         * sysdeps/i386/fpu/libm-test-ulps: Update.
52806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52808 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52810         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52811         constants.
52812         (norm): Likewise.
52813         (denorm): Likewise.
52814         (__dbl_mp): Likewise.
52815         (add_magnitudes): Likewise.
52816         (sub_magnitudes): Likewise.
52817         (__add): Likewise.
52818         (__sub): Likewise.
52819         (__mul): Likewise.
52820         (__sqr): Likewise.
52821         (__inv): Likewise.
52822         (__dvd): Likewise.
52824         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52825         commented code.
52826         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52827         (__dubcos): Likewise.
52828         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52829         (__ieee754_acos): Likewise.
52830         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52831         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52832         (__exp1): Likewise.
52833         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52834         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52835         (log1): Likewise.
52836         (my_log2): Likewise.
52837         (checkint): Likewise.
52838         * sysdeps/ieee754/dbl-64/e_remainder.c
52839         (__ieee754_remainder): Likewise.
52840         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52841         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52842         (bsloww): Likewise.
52843         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52845         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52846         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52847         MANTISSA_STORE_T to store computations on mantissa.  Use
52848         macros for rounding and division.
52849         (denorm): Likewise.
52850         (__dbl_mp): Likewise.
52851         (add_magnitudes): Likewise.
52852         (sub_magnitudes): Likewise.
52853         (__mul): Likewise.
52854         (__sqr): Likewise.
52855         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52856         powers of two in terms of TWOPOW macro.
52857         (mp_no): Make type of mantissa as MANTISSA_T.
52858         [!RADIXI]: Define RADIXI.
52859         [!TWO52]: Define TWO52.
52860         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52862 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52864         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52865         llroundl symbol when building for PPC32.
52867 2013-03-24  Mark H Weaver  <mhw@netris.org>
52869         * manual/arith.texi (Normalization Functions): Fix prototypes for
52870         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52872 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52874         [BZ #13889]
52875         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52876         high value to check if expl overflow.
52877         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52878         to check for underflow and overflow.
52879         * math/libm-test.inc: Add exp test.
52881 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52883         [BZ #11120]
52884         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52885         with NOT_IN_libc.
52887 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52889         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52890         symbol.
52892 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52894         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52895         wrap blocks consisting of several statements.
52897         * sysdeps/generic/math-tests.h: New file.
52898         * sysdeps/i386/fpu/math-tests.h: Likewise.
52899         * math/test-snan.c: Include it.
52900         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52902 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52904         [BZ #15285]
52905         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52906         (__ieee754_j0l): Do not improve calculations using cos of twice
52907         input for inputs above LDBL_MAX / 2.0L.
52908         (__ieee754_y0l): Likewise.
52909         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52910         (__ieee754_j1l): Do not improve calculations using cos of twice
52911         input for inputs above LDBL_MAX / 2.0L.
52912         (__ieee754_y1l): Likewise.
52913         * math/libm-test.inc (j0_test): Add another test.
52914         (j1_test): Likewise.
52915         (y0_test): Likewise.
52916         (y1_test): Likewise.
52917         * sysdeps/i386/fpu/libm-test-ulps: Update.
52919 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52921         * Rules ($(objpfx)bench-%.c): Include code from a C source
52922         file.
52924 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52926         [BZ #15287]
52927         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52928         imaginary part 1.0 and real part less than 0.5 specially.
52929         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52930         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52931         * math/libm-test.inc (cacos_test): Add more tests.
52932         (casin_test): Likewise.
52933         (casinh_test): Likewise.
52934         * sysdeps/i386/fpu/libm-test-ulps: Update.
52935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52937 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52939         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52940         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52942 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52944         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52945         * config.make.in (config-cflags-sse4): Remove variable.
52946         (config-cflags-avx): Likewise.
52947         (config-cflags-sse2avx): Likewise.
52948         (config-cflags-novzeroupper): Likewise.
52949         (config-asflags-i686): Likewise.
52950         (have-mfma4): Likewise.
52951         (have-as-vis3): Likewise.
52952         (MIG): Likewise.
52953         * configure.in (MIG): Do not AC_SUBST.
52954         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52955         (libc_cv_cc_sse4): Do not AC_SUBST.
52956         (libc_cv_cc_avx): Likewise.
52957         (libc_cv_cc_sse2avx): Likewise.
52958         (libc_cv_cc_novzeroupper): Likewise.
52959         (libc_cv_cc_fma4): Likewise.
52960         (libc_cv_as_i686): Likewise.
52961         (libc_cv_sparc_as_vis3): Likewise.
52962         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52963         LIBC_CONFIG_VAR.
52964         (config-asflags-i686): Likewise.
52965         (config-cflags-avx): Likewise.
52966         (config-cflags-sse2avx): Likewise.
52967         (have-mfma4): Likewise.
52968         (config-cflags-novzeroupper): Likewise.
52969         * sysdeps/mach/configure.in (MIG): Likewise.
52970         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52971         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52972         LIBC_CONFIG_VAR.
52973         (config-cflags-avx): Likewise.
52974         (config-cflags-sse2avx): Likewise.
52975         (have-mfma4): Likewise.
52976         (config-cflags-novzeroupper): Likewise.
52977         * configure: Regenerated.
52978         * sysdeps/i386/configure: Likewise.
52979         * sysdeps/mach/configure: Likewise.
52980         * sysdeps/sparc/configure: Likewise.
52981         * sysdeps/x86_64/configure: Likewise.
52983 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52985         [BZ #14812]
52986         * locale/programs/localedef.c (options): Put N_ translation marker
52987         on argument names, not just descriptions.
52989 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52991         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52993 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52995         [BZ #14176]
52996         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52998 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53000         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53001         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53002         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53003         [!BEFORE_ABORT] (before_abort): New function.
53004         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53005         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53006         (writev_for_fatal): New function.
53007         (WRITEV_FOR_FATAL): New macro; call that.
53008         (backtrace_and_maps): New function.
53009         (BEFORE_ABORT): New macro; call that.
53010         (struct str_list): Type removed.
53011         (__libc_message, __libc_fatal): Functions removed.
53012         Include <sysdeps/posix/libc_fatal.c> instead.
53014 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53016         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53017         constants.
53018         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53019         double constants.
53021 2013-03-19  Andreas Schwab  <schwab@suse.de>
53023         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53024         * sysdeps/gnu/configure: Regenerate.
53026         * configure.in: Substitute libc_cv_rtlddir.
53027         * configure: Regenerate.
53028         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53029         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53030         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53031         * elf/Makefile (install-others, CFLAGS-interp.c)
53032         (ldso_install, common-ldd-rewrite): Likewise.
53033         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53034         $(inst_slibdir)/$(rtld-installed-name).
53035         * scripts/rellns-sh: Add -p option.
53036         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53037         for source.
53039 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53041         * manual/nptl.texi: Renamed to ...
53042         * manual/threads.texi: ... this.
53043         * manual/Makefile (chapters): Update.
53045 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53047         [BZ #14812]
53048         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53049         on argument names, not just descriptions.
53050         * malloc/memusagestat.c (options): Likewise.
53051         * nss/getent.c (options): Likewise.
53053 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53055         [BZ #14812]
53056         * iconv/iconv_prog.c (options): Put N_ translation marker
53057         on argument names, not just descriptions.
53058         * iconv/iconvconfig.c (options): Likewise.
53060 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53062         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53063         implementation which is faster on all x86_64 architectures.
53064         Tested on AMD, Intel Nehalem, SNB, IVB.
53065         * sysdeps/x86_64/strnlen.S: Likewise.
53067         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53068         Remove all multiarch strlen and strnlen versions.
53069         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53070         Remove strlen and strnlen related parts.
53072         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53073         Inline strlen part.
53074         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53076         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53077         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53078         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53079         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53080         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53081         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53083 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53085         * manual/memory.texi (Malloc Tunable Parameters):
53086         Sort parameters alphabetically. Add comments for missing entries.
53088 2013-03-17  David S. Miller  <davem@davemloft.net>
53090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53092 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53094         [BZ #15283]
53095         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53096         for arguments at most half maximum finite value.
53097         * math/libm-test.inc (j0_test): Add more tests.
53098         (j1_test): Likewise.
53099         (y0_test): Likewise.
53100         (y1_test): Likewise.
53101         * sysdeps/i386/fpu/libm-test-ulps: Update.
53102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53104         [BZ #14155]
53105         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53106         1 / x and functions P and Q for arguments above 0x1p256L.
53107         (__ieee754_y0l): Likewise.
53108         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53109         (__ieee754_y1l): Likewise.
53110         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53111         (j1_test): Likewise.
53112         (y0_test): Likewise.
53113         (y1_test): Likewise.
53115 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53117         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53118         variable.
53120 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53122         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53123         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53124         zero since it's initialized to EXEC_PAGESIZE.
53126         * sysdeps/unix/sysv/linux/ldsodefs.h
53127         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53128         * sysdeps/generic/ldsodefs.h: ... here.
53130 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53132         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53134         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53135         math/test-snan.c.
53136         * math/test-snan.c: Renamed from
53137         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53138         * math/Makefile (tests): Add test-snan.
53139         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53140         test-powerpc-snan.
53142         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53143         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53144         functions.
53145         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53146         __builtin_nan family of functions.
53147         * math/libm-test.inc (initialize): Initialize qnan_value with
53148         __builtin_nan family of functions.
53149         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53150         Remove variables.
53151         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53152         Remove functions.
53153         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53154         storage class.  Initialize qNaN_var and sNaN_var with
53155         __builtin_nan and __builtin_nans families of functions,
53156         respectively.
53158         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53159         (sqrt_test): Remove duplicate test with qNaN input.
53160         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53161         (round_test, signbit_test, significand_test): Note missing +/-Inf
53162         as well as qNaN tests.
53164         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53165         qNaN_var.  Fix a few strings, too.
53166         * math/libm-test.inc (nan_value): Rename to qnan_value.
53167         * math/gen-libm-test.pl (%beautify): Adjust to that.
53168         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53169         * math/test-misc.c (main): Likewise.
53170         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53171         to __qnan_bytes, and __qnan_union, respectively.
53172         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53173         Likewise.
53174         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53175         and lqnanval, respectively.
53176         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53177         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53178         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53179         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53181         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53182         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53183         doubles.
53185         * math/test-misc.c (main): Fix copy'n'pastos.
53186         * misc/tst-efgcvt.c (special): Likewise.
53188         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53189         Remove declarations.
53191 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53193         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53194         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53195         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53196         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53198 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53200         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53201         macro to return vdso values correctly in IFUNC implementations.
53202         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53203         Optimization by using IFUNC.
53205 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53206             Richard Henderson  <rth@redhat.com>
53207             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53209         * Makefile.in (bench): New target.
53210         * NEWS: Mention the benchmark framework.
53211         * Rules (bench): Likewise.
53212         (binaries-bench): Generate binaries for functions to
53213         benchmark.
53214         * benchtests/Makefile: New makefile for benchmark tests.
53215         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53216         programs.
53217         * benchtests/exp-inputs: New input file for EXP function.
53218         * benchtests/pow-inputs: New input file for POW function.
53219         * scripts/bench.pl: New script to generate source files for
53220         benchmark programs.
53222 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53224         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53225         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53226         computations on mantissa.  Use macros for rounding and
53227         division.
53228         (denorm): Likewise.
53229         (__dbl_mp): Likewise.
53230         (add_magnitudes): Likewise.
53231         (sub_magnitudes): Likewise.
53232         (__mul): Likewise.
53233         (__sqr): Likewise.
53234         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53235         powers of two in terms of TWOPOW macro.
53236         (mp_no): Make type of mantissa as MANTISSA_T.
53237         [!RADIXI]: Define RADIXI.
53238         [!TWO52]: Define TWO52.
53239         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53241         * manual/nptl.texi (cindex): Modify threads to pthreads.
53243 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53245         * sysdeps/x86_64/preconfigure: Regenerated.
53247 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53249         [BZ #14155]
53250         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53251         0x1p28 and above.
53252         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53253         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53254         0x1p28 and above.
53255         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53256         * math/libm-test.inc (j0_test): Do not allow one spurious
53257         underflow exception.
53258         (y1_test): Likewise.
53260 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53262         * manual/Makefile (chapters): Add nptl.
53263         * manual/debug.texi (Debugging Support): Add link to Threads
53264         chapter.
53265         * manual/nptl.texi: New file.
53267         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53269 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53271         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53272         for non-NULL pointer before the memory validity test. Pointed
53273         out by Holger Brunck <holger.brunck@keymile.com>.
53275 2013-03-13  Andreas Schwab  <schwab@suse.de>
53277         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53278         instead of .os.
53280 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53282         * timezone/zic.c: Update from tzcode 2013b.
53284 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53286         * manual/install.texi (Configuring and compiling):
53287         Mention i686 and i586.
53288         * INSTALL: Regenerate.
53290 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53292         * sysdeps/init_array/elf-init.c: New file.
53293         * csu/elf-init.c
53294         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53295         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53297         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53298         __gmon_start__ as global, but as static with a .preinit_array pointer.
53299         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53300         * sysdeps/init_array/crti.S: New file, empty except for comments.
53301         * sysdeps/init_array/crtn.S: Likewise.
53303 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53305         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53306         definining bcopy.
53307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53308         Remove Prefer_SSE_for_memop.
53309         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53310         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53311         HAS_PREFER_SSE_FOR_MEMOP.
53312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53313         memset-x86-64.
53314         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53315         Remove bzero, memset ifunc support.
53316         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53317         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53318         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53319         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53321 2013-03-11  Andreas Schwab  <schwab@suse.de>
53323         [BZ #15234]
53324         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53325         by SHLIB_COMPAT.
53326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53327         (GLIBC_2.16): Remove pthread_atfork.
53329 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53331         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53332         (ptestcases.h): Likewise.
53334 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53336         * Makeconfig ($(common-objpfx)config.status): Depend on
53337         sysdeps/*/preconfigure{,.in} too.
53339 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53341         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53342         (__free_hook): Use void * instead of __malloc_ptr_t.
53343         (__malloc_hook): Likewise.
53344         (__realloc_hook): Likewise.
53345         (__memalign_hook): Likewise.
53346         (__after_morecore_hook): Likewise.
53347         * malloc/arena.c (save_malloc_hook): Likewise.
53348         (save_free_hook): Likewise.
53349         * malloc/hooks.c (malloc_hook_ini): Likewise.
53350         (realloc_hook_ini): Likewise.
53351         (memalign_hook_ini): Likewise.
53352         * malloc/malloc.c (malloc_hook_ini): Likewise.
53353         (realloc_hook_ini): Likewise.
53354         (memalign_hook_ini): Likewise.
53355         (__free_hook): Likewise.
53356         (__malloc_hook): Likewise.
53357         (__realloc_hook): Likewise.
53358         (__memalign_hook): Likewise.
53359         (__libc_malloc): Likewise.
53360         (__libc_free): Likewise.
53361         (__libc_realloc): Likewise.
53362         (__libc_memalign): Likewise.
53363         (__libc_valloc): Likewise.
53364         (__libc_pvalloc): Likewise.
53365         (__libc_calloc): Likewise.
53366         (__posix_memalign): Likewise.
53367         * malloc/morecore.c (__sbrk): Likewise.
53368         (__default_morecore): Likewise.
53370         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53372         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53373         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53374         __malloc_ptrdiff_t.
53376         * malloc/malloc.h (__malloc_size_t): Remove macro.
53377         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53378         __malloc_size_t.
53379         (old_memalign_hook): Likewise.
53380         (old_realloc_hook): Likewise.
53381         (struct hdr): Likewise.
53382         (flood): Likewise.
53383         (mallochook): Likewise.
53384         (memalignhook): Likewise.
53385         (reallochook): Likewise.
53386         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53387         (tr_old_realloc_hook): Likewise.
53388         (tr_old_memalign_hook): Likewise.
53389         (tr_mallochook): Likewise.
53390         (tr_reallochook): Likewise.
53391         (tr_memalignhook): Likewise.
53393 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53395         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53396         default_ldbl_pack and using as default implementation.
53397         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53398         implementation.
53399         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53400         redundant definition.
53401         (ldbl_insert_mantissa): Likewise.
53402         (ldbl_canonicalize): Likewise.
53403         (ldbl_nearbyint): Likewise.
53404         (ldbl_pack): Rename to ldbl_pack_ppc.
53405         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53406         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53407         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53409 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53411         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53412         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53413         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53414         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53416         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53417         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53418         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53420 2013-03-07  Andreas Jaeger  <aj@suse.de>
53422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53423         bits/mman-linux.h.
53425 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53427         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53428         Include mpa.h and declare __MPEXP.
53429         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53430         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53431         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53432         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53433         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53434         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53435         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53437         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53438         (__slowpow): Use long double EXPL and LOGL functions to
53439         compute POW.
53440         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53441         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53442         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53443         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53444         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53445         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53448         intermediate variable to calculate exponent.
53449         (__sqr): Likewise.
53450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53451         Likewise.
53452         (__sqr): Likewise.
53454         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53455         [!NO__SQR]: Define __sqr.
53456         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53457         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53458         sysdeps/ieee754/dbl-64/mpa.c.
53459         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53461         [BZ #12723]
53462         * posix/Makefile (tests): Add tst-pathconf.
53463         * posix/tst-pathconf.c: New test case.
53464         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53465         _PC_PIPE_BUF.
53466         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53468 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53470         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53472 2013-03-06  Andreas Jaeger  <aj@suse.de>
53474         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53475         definition via __MAP_ANONYMOUS.
53477         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53478         it's not part of Linux headers.
53480         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53481         (MAP_HUGE_MASK): Define.
53483         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53484         Define.
53485         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53486         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53487         Define.
53488         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53489         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53490         Define.
53491         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53492         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53493         Define.
53494         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53496         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53497         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53498         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53499         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53500         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53501         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53503         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53504         Handle f2fs.
53506         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53507         Handle f2fs and efivarfs.
53509         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53510         f2fs.
53512         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53513         (EFIVARFS_MAGIC): Add.
53514         (F2FS_LINK_MAX): Add.
53516 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53518         * stdio-common/vfprintf.c: Replace __builtin_expect with
53519         __glibc_unlikely.
53521 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53523         [BZ #13550]
53524         * sysdeps/generic/bp-sym.h: Remove file.
53525         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53526         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53527         <bp-sym.h> and <bp-asm.h>.
53528         (__longjmp): Don't use BP_SYM.
53529         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53530         and <bp-asm.h>.
53531         (memcpy): Don't use BP_SYM.
53532         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53533         <bp-sym.h> and <bp-asm.h>.
53534         (memcpy): Don't use BP_SYM.
53535         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53536         <bp-asm.h>.
53537         (memcpy): Don't use BP_SYM.
53538         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53539         <bp-asm.h>.
53540         (memset): Don't use BP_SYM.
53541         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53542         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53543         (__bzero): Don't use BP_SYM.
53544         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53545         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53546         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53547         <bp-sym.h> and <bp-asm.h>.
53548         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53549         pointers.
53550         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53551         <bp-sym.h> and <bp-asm.h>.
53552         (memcpy): Don't use BP_SYM.
53553         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53554         <bp-sym.h> and <bp-asm.h>.
53555         (memset): Don't use BP_SYM.
53556         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53557         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53558         (__bzero): Don't use BP_SYM.
53559         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53560         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53561         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53562         <bp-sym.h> and <bp-asm.h>.
53563         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53564         pointers.
53565         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53566         <bp-sym.h> and <bp-asm.h>.
53567         (memcpy): Don't use BP_SYM.
53568         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53569         <bp-sym.h> and <bp-asm.h>.
53570         (memset): Don't use BP_SYM.
53571         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53572         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53573         (__bzero): Don't use BP_SYM.
53574         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53575         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53576         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53577         <bp-sym.h> and <bp-asm.h>.
53578         (__memchr): Don't use BP_SYM.
53579         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53580         <bp-sym.h> and <bp-asm.h>.
53581         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53582         pointers.
53583         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53584         <bp-sym.h> and <bp-asm.h>.
53585         (memcpy): Don't use BP_SYM.
53586         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53587         <bp-sym.h> and <bp-asm.h>.
53588         (__mempcpy): Don't use BP_SYM.
53589         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53590         <bp-sym.h> and <bp-asm.h>.
53591         (__memrchr): Don't use BP_SYM.
53592         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53593         <bp-sym.h> and <bp-asm.h>.
53594         (memset): Don't use BP_SYM.
53595         (__bzero): Likewise.
53596         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53597         <bp-sym.h> and <bp-asm.h>.
53598         (__rawmemchr): Don't use BP_SYM.
53599         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53600         <bp-sym.h> and <bp-asm.h>.
53601         (__STRCMP): Don't use BP_SYM.
53602         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53603         <bp-sym.h> and <bp-asm.h>.
53604         (strchr): Don't use BP_SYM.
53605         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53606         <bp-sym.h> and <bp-asm.h>.
53607         (__strchrnul): Don't use BP_SYM.
53608         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53609         <bp-sym.h> and <bp-asm.h>.
53610         (strlen): Don't use BP_SYM.
53611         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53612         <bp-sym.h> and <bp-asm.h>.
53613         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53614         pointers.
53615         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53616         <bp-sym.h> and <bp-asm.h>.
53617         (__strnlen): Don't use BP_SYM.
53618         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53619         <bp-sym.h> and <bp-asm.h>.
53620         (__GI__setjmp): Don't use BP_SYM.
53621         (_setjmp): Likewise.
53622         (__sigsetjmp): Likewise.
53623         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53624         (L(start_addresses)): Don't use BP_SYM.
53625         (_start): Likewise.
53626         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53627         <bp-asm.h>.
53628         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53629         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53630         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53631         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53632         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53633         <bp-asm.h>.
53634         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53635         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53636         about bounded pointers.
53637         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53638         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53639         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53640         <bp-asm.h>.
53641         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53642         about bounded pointers.  Remove GKM FIXME comments.
53643         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53644         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53645         <bp-asm.h>.
53646         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53647         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53648         Remove GKM FIXME comments.
53649         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53650         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53651         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53652         <bp-asm.h>.
53653         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53654         about bounded pointers.  Remove GKM FIXME comment.
53655         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53656         and <bp-asm.h>.
53657         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53658         pointers.
53659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53660         <bp-sym.h> and <bp-asm.h>.
53661         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53663         <bp-sym.h> and <bp-asm.h>.
53664         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53665         comment.
53667 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53669         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53670         call free(NULL).
53672 2013-03-05  David S. Miller  <davem@davemloft.net>
53674         * po/es.po: Update from translation team.
53676 2013-03-05  Andreas Jaeger  <aj@suse.de>
53678         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53679         <bits/mman-linux.h>.
53680         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53681         is fine.
53682         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53683         <bits/mman-linux.h> to end of file.
53684         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53685         is fine.
53686         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53687         <bits/mman-linux.h> to end of file.
53688         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53689         is fine.
53690         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53691         <bits/mman-linux.h> to end of file.
53693         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53694         (MCL_CURRENT, MCL_FUTURE): Define here.
53696 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53698         [BZ #15232]
53699         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53700         attribute_hidden.
53701         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53703 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53705         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53706         fourth parameter needed for rt_sigprocmask syscall.
53707         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53708         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53709         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53710         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53711         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53712         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53714 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53716         [BZ #13550]
53717         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53718         comment about bounded pointers.
53719         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53720         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53722 2013-03-04  Andreas Jaeger  <aj@suse.de>
53724         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53725         common definitions.
53727         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53728         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53729         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53730         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53731         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53732         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53734 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53736         [BZ #15055]
53737         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53738         __ieee754_sqrl instead of __sqrl.
53740 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53742         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53743         * sysdeps/powerpc/fpu_control.h: ... here.
53744         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53745         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53746         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53747         * sysdeps/powerpc/bits/mathinline.h: ... here.
53749 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53751         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53752         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53753         to just [NEED_DL_SYSINFO_DSO].
53754         * elf/dl-support.c: Likewise.
53755         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53756         * elf/rtld.c (dl_main): Likewise.
53757         * elf/setup-vdso.h (setup_vdso): Likewise.
53758         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53759         * sysdeps/unix/sysv/linux/dl-sysdep.c
53760         (_dl_discover_osversion): Likewise.
53762 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53764         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53765         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53767 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53769         * NEWS: Mention libm performance improvements and non-x86 PI
53770         futex support.
53772         * csu/libc-start.c (__pthread_initialize_minimal): Change
53773         function arguments.
53774         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53776 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53778         [BZ #13550]
53779         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53780         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53781         <bp-sym.h> and <bp-asm.h>.
53782         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53783         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53784         and <bp-asm.h>.
53785         (memcpy): Don't use BP_SYM.
53786         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53787         <bp-asm.h>.
53788         (__mpn_add_n): Don't use BP_SYM.
53789         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53790         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53791         and <bp-asm.h>.
53792         (__mpn_addmul_1): Don't use BP_SYM.
53793         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53794         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53795         <bp-sym.h>.
53796         (_setjmp): Don't use BP_SYM.
53797         (__novmx_setjmp): Likewise.
53798         (__GI__setjmp): Likewise.
53799         (__vmx_setjmp): Likewise.
53800         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53801         <bp-sym.h>.
53802         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53803         (__bzero): Don't use BP_SYM.
53804         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53805         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53806         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53807         <bp-sym.h> and <bp-asm.h>.
53808         (memcpy): Don't use BP_SYM.
53809         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53810         <bp-sym.h> and <bp-asm.h>.
53811         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53812         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53813         <bp-sym.h> and <bp-asm.h>.
53814         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53815         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53816         <bp-asm.h>.
53817         (__mpn_lshift): Don't use BP_SYM.
53818         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53819         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53820         <bp-asm.h>.
53821         (memset): Don't use BP_SYM.
53822         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53823         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53824         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53825         <bp-asm.h>.
53826         (__mpn_mul_1): Don't use BP_SYM.
53827         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53828         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53829         <bp-sym.h> and <bp-asm.h>.
53830         (memcmp): Don't use BP_SYM.
53831         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53832         <bp-sym.h> and <bp-asm.h>.
53833         (memcpy): Don't use BP_SYM.
53834         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53835         <bp-sym.h> and <bp-asm.h>.
53836         (memset): Don't use BP_SYM.
53837         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53838         <bp-sym.h> and <bp-asm.h>.
53839         (strncmp): Don't use BP_SYM.
53840         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53841         <bp-sym.h> and <bp-asm.h>.
53842         (memcpy): Don't use BP_SYM.
53843         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53844         <bp-sym.h> and <bp-asm.h>.
53845         (memset): Don't use BP_SYM.
53846         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53847         <bp-sym.h> and <bp-asm.h>.
53848         (__memchr): Don't use BP_SYM.
53849         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53850         <bp-sym.h> and <bp-asm.h>.
53851         (memcmp): Don't use BP_SYM.
53852         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53853         <bp-sym.h> and <bp-asm.h>.
53854         (memcpy): Don't use BP_SYM.
53855         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53856         <bp-sym.h> and <bp-asm.h>.
53857         (__mempcpy): Don't use BP_SYM.
53858         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53859         <bp-sym.h> and <bp-asm.h>.
53860         (__memrchr): Don't use BP_SYM.
53861         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53862         <bp-sym.h> and <bp-asm.h>.
53863         (memset): Don't use BP_SYM.
53864         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53865         <bp-sym.h> and <bp-asm.h>.
53866         (__rawmemchr): Don't use BP_SYM.
53867         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53868         <bp-sym.h> and <bp-asm.h>.
53869         (__STRCMP): Don't use BP_SYM.
53870         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53871         <bp-sym.h> and <bp-asm.h>.
53872         (strchr): Don't use BP_SYM.
53873         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53874         <bp-sym.h> and <bp-asm.h>.
53875         (__strchrnul): Don't use BP_SYM.
53876         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53877         <bp-sym.h> and <bp-asm.h>.
53878         (strlen): Don't use BP_SYM.
53879         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53880         <bp-sym.h> and <bp-asm.h>.
53881         (strncmp): Don't use BP_SYM.
53882         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53883         <bp-sym.h> and <bp-asm.h>.
53884         (__strnlen): Don't use BP_SYM.
53885         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53886         <bp-asm.h>.
53887         (__mpn_rshift): Don't use BP_SYM.
53888         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53889         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53890         <bp-sym.h> and <bp-asm.h>.
53891         (__sigsetjmp): Don't use BP_SYM.
53892         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53893         (L(start_addresses)): Don't use BP_SYM.
53894         (_start): Likewise.
53895         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53896         <bp-asm.h>.
53897         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53898         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53899         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53900         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53901         <bp-asm.h>.
53902         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53903         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53904         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53905         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53906         <bp-asm.h>.
53907         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53908         comments.
53909         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53910         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53911         <bp-asm.h>.
53912         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53913         FIXME comments.
53914         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53915         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53916         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53917         <bp-asm.h>.
53918         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53919         comment.
53920         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53921         and <bp-asm.h>.
53922         (strncmp): Don't use BP_SYM,
53923         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53924         <bp-asm.h>.
53925         (__mpn_sub_n): Don't use BP_SYM.
53926         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53927         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53928         and <bp-asm.h>.
53929         (__mpn_submul_1): Don't use BP_SYM.
53930         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53932         <bp-sym.h> and <bp-asm.h>.
53933         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53935         <bp-sym.h> and <bp-asm.h>.
53936         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53937         comment.
53939 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53942         Use ZK to minimize writes to Z.
53943         (sub_magnitudes): Simplify code a bit.
53944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53945         Use ZK to minimize writes to Z.
53946         (sub_magnitudes): Simplify code a bit.
53948 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53950         * csu/gmon-start.c: Add special exception to license text.
53952 2013-02-27  Richard Henderson  <rth@redhat.com>
53954         * scripts/config.guess: Update from config.git.
53955         * scripts/config.sub: Likewise.
53957 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53959         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53961         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53963         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53965         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53967         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53969 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53971         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53972         [$(build-shared = yes].
53974 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53976         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53977         (__mul): Reduce iterations for calculating mantissa.
53979         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53980         MPTWO.
53981         (__mpranred): Likewise.
53983         [BZ #15160]
53984         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53985         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53987 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53989         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53990         Define __attribute__.
53992 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53994         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53995         unused.
53996         * posix/regex_internal.h (__attribute): Remove.
53997         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53998         (re_string_context_at): Likewise.
53999         (bitset_not): Use __attribute__ and mark function as possibly
54000         unused.
54001         (bitset_merge): Likewise.
54002         (bitset_mask): Likewise.
54003         (re_string_char_size_at): Likewise.
54004         (re_string_wchar_at): Likewise.
54005         (re_string_elem_size_at): Likewise.
54007 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54009         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54010         code.
54011         (cc32): Likewise.
54013         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54014         (__acr): Likewise.
54015         (__cpy): Likewise.
54016         (norm): Likewise.
54017         (denorm): Likewise.
54018         (__dbl_mp): Likewise.
54019         (add_magnitudes): Likewise.
54020         (sub_magnitudes): Likewise.
54021         (__mul): Likewise.
54022         (__inv): Likewise.
54024         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54025         style.
54027         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54028         style.
54030         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54031         code.
54033         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54034         up changes with default code.
54035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54036         Likewise.
54038 2013-02-24  Allan McRae  <allan@archlinux.org>
54040         * manual/socket.texi (The Internet Namespace): Order menu items
54041         to match that in the file.
54043         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54044         node listing of the info page menu.
54046 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54048         [BZ #13550]
54049         * sysdeps/i386/bp-asm.h: Remove file.
54050         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54051         (PARMS): Do not use macros from bp-asm.h.
54052         (S1): Likewise.
54053         (S2): Likewise.
54054         (SIZE): Likewise.
54055         (__mpn_add_n): Do not use BP_SYM
54056         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54057         "bp-asm.h".
54058         (PARMS): Do not use macros from bp-asm.h.
54059         (S1): Likewise.
54060         (SIZE): Likewise.
54061         (__mpn_addmul_1): Do not use BP_SYM
54062         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54063         "bp-asm.h".
54064         (PARMS): Do not use macros from bp-asm.h.
54065         (SIGMSK): Likewise.
54066         (_setjmp): Likewise.  Do not use BP_SYM.
54067         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54068         "bp-asm.h".
54069         (PARMS): Do not use macros from bp-asm.h.
54070         (SIGMSK): Likewise.
54071         (setjmp): Likewise.  Do not use BP_SYM.
54072         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54073         "bp-asm.h".
54074         (PARMS): Do not use macros from bp-asm.h.
54075         (__frexp): Do not use BP_SYM.
54076         (frexp): Likewise.
54077         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54078         "bp-asm.h".
54079         (PARMS): Do not use macros from bp-asm.h.
54080         (__frexpf): Do not use BP_SYM.
54081         (frexpf): Likewise.
54082         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54083         "bp-asm.h".
54084         (PARMS): Do not use macros from bp-asm.h.
54085         (__frexpl): Do not use BP_SYM.
54086         (frexpl): Likewise.
54087         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54088         "bp-asm.h".
54089         (PARMS): Do not use macros from bp-asm.h.
54090         (__remquo): Do not use BP_SYM.
54091         (remquo): Likewise.
54092         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54093         "bp-asm.h".
54094         (PARMS): Do not use macros from bp-asm.h.
54095         (__remquof): Do not use BP_SYM.
54096         (remquof): Likewise.
54097         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54098         "bp-asm.h".
54099         (PARMS): Do not use macros from bp-asm.h.
54100         (__remquol): Do not use BP_SYM.
54101         (remquol): Likewise.
54102         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54103         "bp-asm.h".
54104         (PARMS): Do not use macros from bp-asm.h.
54105         (DEST): Likewise.
54106         (SRC): Likewise.
54107         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54108         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54109         "bp-asm.h".
54110         (PARMS): Do not use macros from bp-asm.h.
54111         (strlen): Do not use BP_SYM.
54112         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54113         "bp-asm.h".
54114         (PARMS): Do not use macros from bp-asm.h.
54115         (S1): Likewise.
54116         (S2): Likewise.
54117         (SIZE): Likewise.
54118         (__mpn_add_n): Do not use BP_SYM.
54119         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54120         "bp-asm.h".
54121         (PARMS): Do not use macros from bp-asm.h.
54122         (S1): Likewise.
54123         (SIZE): Likewise.
54124         (__mpn_addmul_1): Do not use BP_SYM.
54125         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54126         weak_alias.
54127         (bzero): Likewise.
54128         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54129         "bp-asm.h".
54130         (PARMS): Do not use macros from bp-asm.h.
54131         (S): Likewise.
54132         (SIZE): Likewise.
54133         (__mpn_lshift): Do not use BP_SYM.
54134         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54135         "bp-asm.h".
54136         (PARMS): Do not use macros from bp-asm.h.
54137         (DEST): Likewise.
54138         (SRC): Likewise.
54139         (LEN): Likewise.
54140         (memcpy): Likewise.  Do not use BP_SYM.
54141         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54142         libc_hidden_def and weak_alias.
54143         (mempcpy): Do not use BP_SYM in weak_alias.
54144         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54145         "bp-asm.h".
54146         (PARMS): Do not use macros from bp-asm.h.
54147         (DEST): Likewise.
54148         (LEN): Likewise.
54149         [!BZERO_P] (CHR): Likewise.
54150         (memset): Likewise.  Do not use BP_SYM.
54151         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54152         "bp-asm.h".
54153         (PARMS): Do not use macros from bp-asm.h.
54154         (S1): Likewise.
54155         (SIZE): Likewise.
54156         (__mpn_mul_1): Do not use BP_SYM.
54157         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54158         "bp-asm.h".
54159         (PARMS): Do not use macros from bp-asm.h.
54160         (S): Likewise.
54161         (SIZE): Likewise.
54162         (__mpn_rshift): Do not use BP_SYM.
54163         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54164         "bp-asm.h".
54165         (PARMS): Do not use macros from bp-asm.h.
54166         (STR): Likewise.
54167         (CHR): Likewise.
54168         (strchr): Likewise.  Do not use BP_SYM.
54169         (index): Do not use BP_SYM in weak_alias.
54170         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54171         "bp-asm.h".
54172         (PARMS): Do not use macros from bp-asm.h.
54173         (DEST): Likewise.
54174         (SRC): Likewise.
54175         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54176         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54177         "bp-asm.h".
54178         (PARMS): Do not use macros from bp-asm.h.
54179         (strlen): Do not use BP_SYM.
54180         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54181         "bp-asm.h".
54182         (PARMS): Do not use macros from bp-asm.h.
54183         (S1): Likewise.
54184         (S2): Likewise.
54185         (SIZE): Likewise.
54186         (__mpn_sub_n): Do not use BP_SYM.
54187         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54188         "bp-asm.h".
54189         (PARMS): Do not use macros from bp-asm.h.
54190         (S1): Likewise.
54191         (SIZE): Likewise.
54192         (__mpn_submul_1): Do not use BP_SYM.
54193         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54194         "bp-asm.h".
54195         (PARMS): Do not use macros from bp-asm.h.
54196         (S1): Likewise.
54197         (S2): Likewise.
54198         (SIZE): Likewise.
54199         (__mpn_add_n): Do not use BP_SYM.
54200         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54201         weak_alias.
54202         (bzero): Likewise.
54203         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54204         "bp-asm.h".
54205         (PARMS): Do not use macros from bp-asm.h.
54206         (BLK2): Likewise.
54207         (LEN): Likewise.
54208         (memcmp): Do not use BP_SYM.
54209         (bcmp): Do not use BP_SYM in weak_alias.
54210         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54211         "bp-asm.h".
54212         (PARMS): Do not use macros from bp-asm.h.
54213         (DEST): Likewise.
54214         (SRC): Likewise.
54215         (LEN): Likewise.
54216         (memcpy): Likewise.  Do not use BP_SYM.
54217         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54218         "bp-asm.h".
54219         (PARMS): Do not use macros from bp-asm.h.
54220         (DEST): Likewise.
54221         (SRC): Likewise.
54222         (LEN): Likewise.
54223         (memmove): Likewise.  Do not use BP_SYM.
54224         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54225         "bp-asm.h".
54226         (PARMS): Do not use macros from bp-asm.h.
54227         (DEST): Likewise.
54228         (SRC): Likewise.
54229         (LEN): Likewise.
54230         (__mempcpy): Likewise.  Do not use BP_SYM.
54231         (mempcpy): Do not use BP_SYM in weak_alias.
54232         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54233         "bp-asm.h".
54234         (PARMS): Do not use macros from bp-asm.h.
54235         (DEST): Likewise.
54236         (LEN): Likewise.
54237         [!BZERO_P] (CHR): Likewise.
54238         (memset): Likewise.  Do not use BP_SYM.
54239         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54240         "bp-asm.h".
54241         (PARMS): Do not use macros from bp-asm.h.
54242         (STR2): Likewise.
54243         (strcmp): Do not use BP_SYM.
54244         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54245         "bp-asm.h".
54246         (PARMS): Do not use macros from bp-asm.h.
54247         (STR): Likewise.
54248         (DELIM): Likewise.
54249         [USE_AS_STRTOK_R] (SAVE): Likewise.
54250         (FUNCTION): Likewise.  Do not use BP_SYM.
54251         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54252         aliases.
54253         (strtok_r): Likewise.
54254         (__GI___strtok_r): Likewise.
54255         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54256         (PARMS): Do not use macros from bp-asm.h.
54257         (S): Likewise.
54258         (SIZE): Likewise.
54259         (__mpn_lshift): Do not use BP_SYM.
54260         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54261         (PARMS): Do not use macros from bp-asm.h.
54262         (STR): Likewise.
54263         (CHR): Likewise.
54264         (__memchr): Do not use BP_SYM.
54265         (memchr): Do not use BP_SYM in weak_alias.
54266         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54267         (PARMS): Do not use macros from bp-asm.h.
54268         (BLK2): Likewise.
54269         (LEN): Likewise.
54270         (memcmp): Do not use BP_SYM.
54271         (bcmp): Do not use BP_SYM in weak_alias.
54272         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54273         (PARMS): Do not use macros from bp-asm.h.
54274         (S1): Likewise.
54275         (SIZE): Likewise.
54276         (__mpn_mul_1): Do not use BP_SYM.
54277         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54278         "bp-asm.h".
54279         (PARMS): Do not use macros from bp-asm.h.
54280         (STR): Likewise.
54281         (CHR): Likewise.
54282         (__rawmemchr): Do not use BP_SYM.
54283         (rawmemchr): Do not use BP_SYM in weak_alias.
54284         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54285         (PARMS): Do not use macros from bp-asm.h.
54286         (S): Likewise.
54287         (SIZE): Likewise.
54288         (__mpn_rshift): Do not use BP_SYM.
54289         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54290         (PARMS): Do not use macros from bp-asm.h.
54291         (SIGMSK): Likewise.
54292         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54293         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54294         (_start): Do not use BP_SYM.
54295         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54296         (PARMS): Do not use macros from bp-asm.h.
54297         (DEST): Likewise.
54298         (SRC): Likewise.
54299         (__stpcpy): Likewise.  Do not use BP_SYM.
54300         (stpcpy): Do not use BP_SYM in weak_alias.
54301         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54302         "bp-asm.h".
54303         (PARMS): Do not use macros from bp-asm.h.
54304         (DEST): Likewise.
54305         (SRC): Likewise.
54306         (LEN): Likewise.
54307         (__stpncpy): Likewise.  Do not use BP_SYM.
54308         (stpncpy): Do not use BP_SYM in weak_alias.
54309         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54310         (PARMS): Do not use macros from bp-asm.h.
54311         (STR): Likewise.
54312         (CHR): Likewise.
54313         (strchr): Likewise.  Do not use BP_SYM.
54314         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54315         "bp-asm.h".
54316         (PARMS): Do not use macros from bp-asm.h.
54317         (STR): Likewise.
54318         (CHR): Likewise.
54319         (__strchrnul): Likewise.  Do not use BP_SYM.
54320         (strchrnul): Do not use BP_SYM in weak_alias.
54321         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54322         "bp-asm.h".
54323         (PARMS): Do not use macros from bp-asm.h.
54324         (STOP): Likewise.
54325         (strcspn): Do not use BP_SYM.
54326         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54327         "bp-asm.h".
54328         (PARMS): Do not use macros from bp-asm.h.
54329         (STR): Likewise.
54330         (STOP): Likewise.
54331         (strpbrk): Likewise.  Do not use BP_SYM.
54332         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54333         "bp-asm.h".
54334         (PARMS): Do not use macros from bp-asm.h.
54335         (STR): Likewise.
54336         (CHR): Likewise.
54337         (strrchr): Likewise.  Do not use BP_SYM.
54338         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54339         (PARMS): Do not use macros from bp-asm.h.
54340         (SKIP): Likewise.
54341         (strspn): Do not use BP_SYM.
54342         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54343         (PARMS): Do not use macros from bp-asm.h.
54344         (STR): Likewise.
54345         (DELIM): Likewise.
54346         (SAVE): Likewise.
54347         (FUNCTION): Likewise.  Do not use BP_SYM.
54348         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54349         aliases.
54350         (strtok_r): Likewise.
54351         (__GI___strtok_r): Likewise.
54352         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54353         (PARMS): Do not use macros from bp-asm.h.
54354         (S1): Likewise.
54355         (S2): Likewise.
54356         (SIZE): Likewise.
54357         (__mpn_sub_n): Do not use BP_SYM.
54358         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54359         "bp-asm.h".
54360         (PARMS): Do not use macros from bp-asm.h.
54361         (S1): Likewise.
54362         (SIZE): Likewise.
54363         (__mpn_submul_1): Do not use BP_SYM.
54364         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54365         <bp-sym.h>.
54366         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54367         and <bp-asm.h>.
54368         (PARMS): Do not use macros from bp-asm.h.
54369         (FLAGS): Likewise.
54370         (PTID): Likewise.
54371         (TLS): Likewise.
54372         (CTID): Likewise.
54373         (__clone): Do not use BP_SYM.
54374         (clone): Do not use BP_SYM in weak_alias.
54375         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54376         and <bp-asm.h>.
54377         (PARMS): Do not use macros from bp-asm.h.
54378         (LEN): Likewise.
54379         (__mmap64): Do not use BP_SYM.
54380         (mmap64): Do not use BP_SYM in weak_alias.
54381         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54382         <bp-sym.h> and <bp-asm.h>.
54383         (PARMS): Do not use macros from bp-asm.h.
54384         (__posix_fadvise64_l64): Do not use BP_SYM.
54385         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54386         (PARMS): Do not use macros from bp-asm.h.
54387         (NSOPS): Likewise.
54388         (semtimedop): Do not use BP_SYM.
54389         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54390         and <bp-asm.h>.
54392 2013-02-21  Allan McRae  <allan@archlinux.org>
54394         * manual/message.texi (Charset conversion in gettext):
54395         Move @end statement to beginning of line.
54397 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54400         static.
54401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54402         Likewise.
54404         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54405         (denorm): Likewise.
54406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54409 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54411         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54412         tail-call to the resolved function if pltexit isn't needed.
54414 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54416         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54417         or Y being zero as being unlikely.
54418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54419         Likewise.
54421 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54423         * manual/nss.texi (System Databases and Name Service Switch):
54424         Remove frobnicate @pxref.
54426 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54428         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54429         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54431 2013-02-20  Petr Machata  <pmachata@redhat.com>
54433         * elf/elf.h (R_ARM_TARGET1): New macro.
54434         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54435         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54436         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54437         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54438         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54439         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54440         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54441         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54442         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54443         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54444         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54445         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54446         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54447         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54448         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54449         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54450         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54451         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54452         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54453         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54454         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54455         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54456         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54457         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54458         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54459         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54460         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54461         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54462         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54463         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54464         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54465         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54466         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54467         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54468         (R_ARM_THM_GOT_BREL12): Likewise.
54469         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54470         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54471         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54472         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54473         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54474         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54475         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54476         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54477         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54479 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54481         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54482         __attribute_used__ to __attribute__ ((unused)).
54484 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54486         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54487         powerpc mpa.c.
54488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54489         comment formatting.
54490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54492 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54494         [BZ #13550]
54495         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54496         Remove macro.
54497         (ENTER): Remove both macro definitions.
54498         (LEAVE): Likewise.
54499         (CHECK_BOUNDS_LOW): Likewise.
54500         (CHECK_BOUNDS_HIGH): Likewise.
54501         (CHECK_BOUNDS_BOTH): Likewise.
54502         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54503         (RETURN_BOUNDED_POINTER): Likewise.
54504         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54505         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54506         (POP_ERRNO_LOCATION_RETURN): Likewise.
54507         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54508         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54509         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54510         macros.
54511         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54512         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54513         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54514         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54515         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54516         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54517         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54518         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54519         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54520         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54521         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54522         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54523         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54524         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54525         removed macros.
54526         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54527         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54528         macros.
54529         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54530         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54531         * sysdeps/i386/i586/memset.S (memset): Likewise.
54532         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54533         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54534         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54535         macros.
54536         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54537         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54538         Change uses of L(2) to L(out).
54539         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54540         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54541         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54542         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54543         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54544         removed macros.
54545         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54546         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54547         macros.
54548         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54549         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54550         (RETURN): Do not use macro LEAVE.
54551         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54552         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54553         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54554         * sysdeps/i386/i686/memset.S (memset): Likewise.
54555         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54556         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54557         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54558         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54559         Likewise.
54560         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54561         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54562         L(1_2) and L(1_3) into L(1).
54563         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54564         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54565         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54566         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54567         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54568         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54569         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54570         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54571         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54572         macros.
54573         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54574         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54575         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54576         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54577         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54578         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54579         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54580         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54581         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54582         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54583         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54584         * sysdeps/i386/strspn.S (strspn): Likewise.
54585         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54586         conditional code.
54587         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54588         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54589         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54590         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54591         L(1_3) into L(1_1).
54592         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54593         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54594         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54595         macros.
54596         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54598 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54600         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54601         macro.
54603 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54605         * math/atest-exp.c (exp_mpn): Remove ROUND.
54606         * math/atest-exp2.c (exp_mpn): Likewise.
54607         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54609         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54610         * stdlib/tst-tls-atexit-lib.c: Likewise.
54611         * stdlib/tst-tls-atexit.c: Likewise.
54613 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54615         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54616         and __attribute_alloc_size__.
54618 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54620         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54621         __attribute_alloc_size__.
54622         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54623         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54625 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54627         * include/programs/xmalloc.h: New file.
54628         * catgets/gencat.c: Include it.
54629         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54630         * elf/pldd.c: Likewise.
54631         * iconv/iconv_charmap.c: Likewise.
54632         * iconv/iconvconfig.c: Likewise.
54633         * iconv/strtab.c: Likewise.
54634         * locale/programs/locale.c: Likewise.
54635         * locale/programs/localedef.h: Likewise.
54636         * locale/programs/simple-hash.c: Likewise.
54637         * nscd/nscd.h: Likewise.
54638         * nss/makedb.c: Likewise.
54639         * sysdeps/generic/ldconfig.h: Likewise.
54641 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54643         * Versions.def: Add GLIBC_2.18.
54644         * include/link.h (struct link_map): New member l_tls_dtor_count.
54645         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54646         (__call_tls_dtors): Likewise.
54647         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54648         __cxa_thread_atexit_impl.
54649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54650         Likewise.
54651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54652         Likewise.
54653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54654         Likewise.
54655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54656         Likewise.
54657         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54659         Likewise.
54660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54661         Likewise.
54662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54664         Likewise.
54665         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54666         (tests): Add test case tst-tls-atexit.
54667         (modules-names): Add shared library for tst-tls-atexit.
54668         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54669         (GLIBC_PRIVATE): Add __call_tls_dtors.
54670         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54671         for libstdc++.
54672         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54673         * stdlib/tst-tls-atexit.c: New test case.
54674         * stdlib/tst-tls-atexit-lib.c: New test case.
54676         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54678         * elf/Versions (ld): Add _dl_find_dso_for_object.
54679         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54680         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54681         (dl_open_worker): Use _dl_find_dso_for_object.
54682         * elf/dl-sym.c (do_sym): Likewise.
54683         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54685 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54687         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54688         Syntactic changes only.
54689         (_dl_runtime_profile): Do a tail-call to the resolved function.
54691 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54693         [BZ #13550]
54694         * sysdeps/x86_64/bp-asm.h: Remove file.
54695         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54696         <bp-sym.h> and <bp-asm.h>.
54697         (__clone): Do not use BP_SYM.
54698         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54699         <bp-sym.h> and <bp-asm.h>.
54700         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54701         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54702         "bp-asm.h".
54703         (_setjmp): Do not use BP_SYM.
54704         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54705         "bp-asm.h".
54706         (setjmp): Do not use BP_SYM.
54707         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54708         libc_hidden_def.
54709         (mempcpy): Do not use BP_SYM in weak_alias.
54710         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54711         "bp-asm.h".
54712         (strchr): Do not use BP_SYM.
54713         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54714         "bp-asm.h".
54715         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54716         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54717         (_start): Do not use BP_SYM.
54718         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54719         "bp-asm.h".
54720         (strcat): Do not use BP_SYM.
54721         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54722         "bp-asm.h".
54723         (STRCMP): Do not use BP_SYM.
54724         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54725         "bp-asm.h".
54726         (STRCPY): Do not use BP_SYM.
54727         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54728         "bp-asm.h".
54729         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54730         "bp-asm.h".
54731         (FUNCTION): Do not use BP_SYM.
54732         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54733         weak_alias.
54734         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54736 2013-02-17  Andreas Jaeger  <aj@suse.de>
54738         * time/Versions: Sort entries.
54739         * string/Versions: Likewise.
54740         * resolv/Versions: Likewise.
54741         * posix/Versions: Likewise.
54742         * iconv/Versions: Likewise.
54743         * elf/Versions: Likewise.
54744         * wcsmbs/Versions: Likewise.
54746 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54748         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54749         loop termination condition.
54751         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54752         variable to calculate EZ.
54753         (__sqr): Likewise.
54755         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54756         the lower precision input.
54758 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54760         [BZ #13550]
54761         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54762         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54763         (run-via-rtld-prefix): Do not handle %-bp tests.
54764         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54765         (all-object-suffixes): Remove .ob.
54766         (bppfx): Remove variable.
54767         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54768         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54769         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54770         [$(build-bounded) = yes] (libtype.ob): Likewise.
54771         * Makerules (elide-routines.ob): Remove variable.
54772         (do-tests-clean): Do not handle *-bp.out.
54773         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54774         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54775         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54776         (tests): Do not include $(tests-bp.out).
54777         (xtests): Do not include $(xtests-bp.out).
54778         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54779         [$(build-bounded) = yes] ($(addprefix
54780         $(objpfx),$(binaries-bounded))): Remove rule.
54781         ($(objpfx)%-bp.out): Remove rule.
54782         * config.make.in (build-bounded): Remove variable.
54783         * crypt/Makefile [$(build-bounded) = yes]
54784         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54785         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54786         append to variable.
54787         [$(build-bounded) = yes] (install-lib): Likewise.
54788         [$(build-bounded) = yes] (generated): Likewise.
54789         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54790         Remove rule.
54791         * intl/Makefile [$(build-bounded) = yes]
54792         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54793         * math/Makefile [$(build-bounded) = yes]
54794         ($(tests:%=$(objpfx)%-bp): Likewise.
54795         * misc/Makefile [$(build-bounded) = yes]
54796         ($(objpfx)tst-tsearch-bp): Likewise.
54797         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54798         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54799         Remove dependency.
54800         * string/Makefile (o-objects.ob): Remove variable.
54801         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54802         (CFLAGS-.ob): Remove variable.
54803         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54804         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54805         both definitions of variable.
54806         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54807         (ASFLAGS-.ob): Remove variable.
54809 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54811         [BZ #13550]
54812         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54813         Remove __BOUNDED_POINTERS__ from condition.
54814         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54815         * string/bits/string2.h [!__NO_STRING_INLINES &&
54816         !__BOUNDED_POINTERS__]: Likewise.
54817         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54818         Likewise.
54819         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54820         Remove conditional code.
54821         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54822         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54823         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54824         condition.
54826         [BZ #13550]
54827         * csu/libc-start.c: Do not include <bp-sym.h>.
54828         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54829         * elf/dl-open.c: Do not include <bp-sym.h>.
54830         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54831         * math/fegetenv.c: Do not include <bp-sym.h>.
54832         (fegetenv): Do not use BP_SYM in versioned symbols.
54833         * nptl/sysdeps/pthread/bits/libc-lockP.h
54834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54835         <bp-sym.h>.
54836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54837         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54839         (__pthread_mutex_destroy): Likewise.
54840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54841         (__pthread_mutex_lock): Likewise.
54842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54843         (__pthread_mutex_trylock): Likewise.
54844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54845         (__pthread_mutex_unlock): Likewise.
54846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54847         (__pthread_mutexattr_init): Likewise.
54848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54849         (__pthread_mutexattr_destroy): Likewise.
54850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54851         (__pthread_mutexattr_settype): Likewise.
54852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54853         (__pthread_rwlock_init): Likewise.
54854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54855         (__pthread_rwlock_destroy): Likewise.
54856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54857         (__pthread_rwlock_rdlock): Likewise.
54858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54859         (__pthread_rwlock_tryrdlock): Likewise.
54860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54861         (__pthread_rwlock_wrlock): Likewise.
54862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54863         (__pthread_rwlock_trywrlock): Likewise.
54864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54865         (__pthread_rwlock_unlock): Likewise.
54866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54867         (__pthread_key_create): Likewise.
54868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54869         (__pthread_setspecific): Likewise.
54870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54871         (__pthread_getspecific): Likewise.
54872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54873         Likewise.
54874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54875         (_pthread_cleanup_push_defer): Likewise.
54876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54877         (_pthread_cleanup_pop_restore): Likewise.
54878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54879         (pthread_setcancelstate): Likewise.
54880         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54881         <bp-sym.h>.
54882         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54883         (memchr): Do not use BP_SYM in weak_alias.
54884         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54885         (fegetenv): Do not use BP_SYM in versioned symbols.
54886         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54887         (fesetenv): Do not use BP_SYM in versioned symbols.
54888         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54889         (feupdateenv): Do not use BP_SYM in versioned symbols.
54890         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54891         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54892         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54893         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54894         (open64): Do not use BP_SYM in weak_alias.
54895         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54896         (fegetenv): Do not use BP_SYM in versioned symbols.
54897         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54898         (fesetenv): Do not use BP_SYM in versioned symbols.
54899         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54900         (feupdateenv): Do not use BP_SYM in versioned symbols.
54901         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54902         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54903         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54904         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54905         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54906         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54907         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54908         <bp-sym.h>.
54909         (__libc_start_main): Do not use BP_SYM.
54911 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54914         redundant return line.
54915         (norm): Likewise.
54916         (denorm): Likewise.
54917         (dbl_mp): Likewise.
54918         (sub_magnitudes): Likewise.
54919         (__add): Likewise.
54920         (__sub): Likewise.
54921         (__mul): Likewise.
54922         (__inv): Likewise.
54923         (__dvd): Likewise.
54924         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54925         (norm): Likewise.
54926         (denorm): Likewise.
54927         (dbl_mp): Likewise.
54928         (sub_magnitudes): Likewise.
54929         (__add): Likewise.
54930         (__sub): Likewise.
54931         (__mul): Likewise.
54932         (__inv): Likewise.
54933         (__dvd): Likewise.
54935         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54936         instead of __mul.
54937         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54938         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54939         (cc32): Likewise.
54941         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54942         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54943         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54944         of __mul for squares.
54945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54946         function
54947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54948         Likewise.
54949         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54950         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54952 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54954         [BZ #13550]
54955         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54956         code.
54957         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54958         prototype or function definition.  Rename ubp_* variables and
54959         parameters.  Remove argv definitions conditional on
54960         [__BOUNDED_POINTERS__].
54961         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54962         * elf/dl-runtime.c (_dl_fixup): Likewise.
54963         * include/set-hooks.h (RUN_HOOK): Likewise.
54964         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54965         definition.
54966         * string/strcpy.c (strcpy): Do not use __unbounded.
54967         * sysdeps/generic/frame.h (struct layout): Likewise.
54968         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54969         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54970         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54971         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54972         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54973         (__backtrace): Likewise.
54974         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54975         use __ptrvalue.
54976         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54977         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54978         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54979         Likewise.
54980         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54981         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54982         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54983         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54984         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54985         Do not use __unbounded.
54986         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54987         Rename __unboundedrlimits parameter to rlimits in prototype.
54988         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54989         Do not use __unbounded.
54990         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54991         not use __ptrvalue.
54992         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54993         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54994         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54995         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54996         __ptrvalue or __unbounded.
54997         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54998         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54999         use __unbounded.
55000         (__new_msgctl): Do not use __ptrvalue.
55001         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55002         __unbounded.
55003         (__libc_msgrcv): Do not use __ptrvalue.
55004         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55005         startup_info): Do not use __unbounded.
55006         (__libc_start_main): Likewise.  Rename ubp_* variables and
55007         parameters.  Remove argv definitions conditional on
55008         [__BOUNDED_POINTERS__].
55009         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55010         __ptrvalue.
55011         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55012         use __unbounded.
55013         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55014         or __ptrvalue.
55015         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55016         use __unbounded.
55017         (__new_shmctl): Do not use __ptrvalue.
55018         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55019         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55020         Likewise.
55021         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55022         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55023         (__libc_sigaction): Likewise.
55024         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55025         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55026         Likewise.
55027         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55029 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55031         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55033         * string/mempcpy.c: Implement by calling memcpy.
55035 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55037         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55039         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55040         evaluation.
55042         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55043         values in the mantissa.
55045         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55046         minimize writes to Z.
55047         (sub_magnitudes): Simplify code a bit.
55049 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55051         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55052         from the message.  The linker prefixes all warnings with that already.
55054 2013-02-12  Andreas Schwab  <schwab@suse.de>
55056         [BZ #15078]
55057         * posix/regexec.c (extend_buffers): Add parameter min_len.
55058         (check_matching): Pass minimum needed length.
55059         (clean_state_log_if_needed): Likewise.
55060         (get_subexp): Likewise.
55061         * posix/Makefile (tests): Add bug-regex34.
55062         (bug-regex34-ENV): Define.
55063         * posix/bug-regex34.c: New file.
55065         [BZ #11561]
55066         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55067         elements compare against the byte sequence of it, not its name.
55068         * posix/Makefile (tests): Add bug-regex35.
55069         (bug-regex35-ENV): Define.
55070         * posix/bug-regex35.c: New file.
55072 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55074         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55075         comment.
55076         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55077         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55078         (CHECK_EOL): Add undef.
55080 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55082         * bits/stdlib-bsearch.h: New file.
55083         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55084         * stdlib/stdlib.h: Likewise.
55086 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55088         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55089         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55090         declaration.
55091         * manual/search.texi (Array Search Function): Add missing const in
55092         lfind prototype.
55093         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55094         declaration to use rlim_t.
55095         (Basic Scheduling Functions): Remove erroneous const from
55096         sched_getparam prototype.  Remove erroneous * from
55097         sched_get_priority_max and sched_get_priority_min prototypes.
55098         (Resource Usage): Fix summary @comment on vtimes to refer to
55099         sys/vtimes.h rather than vtimes.h.
55100         Add missing *s in vtimes prototype.
55101         (Limits on Resources): Fix ulimit prototype to return long int.
55102         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55103         prototypes to use long int rather than double.
55104         (BSD Random): Fix initstate and setstate to use char *, not void *.
55105         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55106         prototype to make second argument 'struct aiocb64 *const[]'.
55107         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55108         (Status of AIO Operations): Remove erroneous const in aio_return and
55109         aio_return64 prototypes.
55110         (Synchronizing I/O): Fix sync prototype to return void.
55111         * manual/startup.texi (Suboptions): Remove an erroneous const in
55112         getsubopt prototype.
55113         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55114         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55115         use size_t rather than int.
55116         (Scanning All Users): Likewise for getpwent_r.
55117         (Setting Groups): Add missing const to setgroups prototype.
55118         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55119         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55120         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55121         'const void *' rather than 'const char *'.
55122         (Host Address Functions): Likewise for inet_ntop.
55123         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55124         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55125         ssize_t for return value.
55126         (Sending Data): Likewise for send, sendto, sendmsg.
55127         (Socket Option Functions): Add a missing const in setsockopt prototype.
55128         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55129         use wchar_t for the argument.
55130         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55131         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55132         take no arguments.
55133         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55134         double/float/long double for second argument.
55135         Fix return types of significand, significandf, significandl.
55136         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55137         argument in fchmod prototype.
55138         (File Owner): Use uid_t and gid_t in fchown prototype.
55139         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55140         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55141         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55142         use 'const struct dirent **' as argument types to CMP function pointer
55143         argument.
55144         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55145         (File Times): Fix summary magic @comment for struct utimbuf and utime
55146         to refer to utime.h, not time.h.
55147         * manual/string.texi (Argz Functions): Add missing const in
55148         argz_extract and argz_next prototypes.
55149         (Finding Tokens in a String): Likewise for basename.
55150         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55151         (Copying and Concatenation): Fix typo in wmemmove prototype.
55152         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55153         (Signal Stack): Remove erroneous const in sigstack prototype.
55154         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55155         prototype.
55156         (Simple Calendar Time): Likewise for stime.
55157         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55158         prototype.
55159         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55160         say sys/sysctl.h instead.
55161         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55162         and vsyslog prototypes.
55164 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55166         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55167         Remove.
55169 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55171         * misc/sys/mman.h: Fix typo in mremap comment.
55173 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55175         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55176         the '\0' terminator.
55178 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55180         [BZ #13550]
55181         * debug/segfault.c: Don't include <bp-checks.h>.
55182         * sysdeps/generic/bp-checks.h: Remove file.
55183         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55184         (__GETDENTS): Don't use CHECK_N.
55185         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55186         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55187         (__getgroups): Don't use CHECK_N.
55188         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55189         (setgroups): Don't use CHECK_N.
55190         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55191         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55192         (__libc_msgrcv): Don't use CHECK_N.
55193         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55194         (__libc_msgsnd): Don't use CHECK_N.
55195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55196         <bp-checks.h>.
55197         (__libc_pread): Don't use CHECK_N.
55198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55199         include <bp-checks.h>.
55200         (__libc_pread64): Don't use CHECK_N.
55201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55202         include <bp-checks.h>.
55203         (__libc_pwrite): Don't use CHECK_N.
55204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55205         include <bp-checks.h>.
55206         (__libc_pwrite64): Don't use CHECK_N.
55207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55208         <bp-checks.h>.
55209         (__libc_pread): Don't use CHECK_N.
55210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55211         include <bp-checks.h>.
55212         (__libc_pread64): Don't use CHECK_N.
55213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55214         include <bp-checks.h>.
55215         (__libc_pwrite): Don't use CHECK_N.
55216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55217         include <bp-checks.h>.
55218         (__libc_pwrite64): Don't use CHECK_N.
55219         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55220         (do_pread): Don't use CHECK_N.
55221         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55222         (do_pread64): Don't use CHECK_N.
55223         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55224         (do_pwrite): Don't use CHECK_N.
55225         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55226         (do_pwrite64): Don't use CHECK_N.
55227         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55228         (__libc_readv): Don't use CHECK_N.
55229         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55230         (semop): Don't use CHECK_N.
55231         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55232         <bp-checks.h>.
55233         (semtimedop): Don't use CHECK_N.
55234         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55235         (__libc_pread): Don't use CHECK_N.
55236         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55237         <bp-checks.h>.
55238         (__libc_pread64): Don't use CHECK_N.
55239         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55240         <bp-checks.h>.
55241         (__libc_pwrite): Don't use CHECK_N.
55242         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55243         <bp-checks.h>.
55244         (__libc_pwrite64): Don't use CHECK_N.
55245         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55246         <bp-checks.h>.
55247         (__libc_msgrcv): Don't use CHECK_N.
55248         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55249         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55250         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55251         (__libc_writev): Don't use CHECK_N.
55253 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55255         * string/strcpy.c: Removed unused variable.
55257         * Makeconfig (+sysdep-includes): Define with := rather than =.
55258         Use an existing include/ subdir of each sysdeps dir before it.
55260 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55262         * nscd/connection.c (register_traced_file): Comment function.
55263         [HAVE_INOTIFY] (union __inev): Define.
55264         [HAVE_INOTIFY] (inotify_check_files): New function.
55265         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55266         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55267         clear_db_cache.
55268         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55270 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55272         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55273         loaded if not already and that a failure is permanent.
55275 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55277         [BZ #15006]
55278         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55279         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55281 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55283         [BZ #13550]
55284         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55285         (CHECK_1_NULL_OK): Likewise.
55286         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55287         (__fxstat): Do not use CHECK_1.
55288         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55289         <bp-checks.h>.
55290         (___fxstat64): Do not use CHECK_1.
55291         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55292         <bp-checks.h>.
55293         (__fxstatat): Do not use CHECK_1.
55294         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55295         <bp-checks.h>.
55296         (__fxstatat64): Do not use CHECK_1.
55297         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55298         <bp-checks.h>.
55299         (__fxstat): Do not use CHECK_1.
55300         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55301         <bp-checks.h>.
55302         (__fxstatat): Do not use CHECK_1.
55303         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55304         <bp-checks.h>.
55305         (__getresgid): Do not use CHECK_1.
55306         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55307         <bp-checks.h>.
55308         (__getresuid): Do not use CHECK_1.
55309         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55310         <bp-checks.h>.
55311         (__lxstat): Do not use CHECK_1.
55312         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55313         <bp-checks.h>.
55314         (__old_msgctl): Do not use CHECK_1.
55315         (__new_msgctl): Likewise.
55316         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55317         <bp-checks.h>.
55318         (__new_setrlimit): Do not use CHECK_1.
55319         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55320         <bp-checks.h>.
55321         (__old_shmctl): Do not use CHECK_1.
55322         (__new_shmctl): Likewise.
55323         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55324         <bp-checks.h>.
55325         (__xstat): Do not use CHECK_1.
55326         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55327         (__lxstat): Do not use CHECK_1.
55328         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55329         <bp-checks.h>.
55330         (___lxstat64): Do not use CHECK_1.
55331         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55332         (__old_msgctl): Do not use CHECK_1.
55333         (__new_msgctl): Likewise.
55334         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55335         <bp-checks.h>.
55336         (__gettimeofday): Do not use CHECK_1.
55337         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55338         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55339         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55340         <bp-checks.h>.
55341         (__gettimeofday): Do not use CHECK_1.
55342         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55343         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55344         (__new_shmctl): Do not use CHECK_1.
55345         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55346         <bp-checks.h>.
55347         (do_sigtimedwait): Do not use CHECK_1.
55348         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55349         <bp-checks.h>.
55350         (do_sigwaitinfo): Do not use CHECK_1.
55351         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55352         <bp-checks.h>.
55353         (msgctl): Do not use CHECK_1.
55354         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55355         <bp-checks.h>.
55356         (shmctl): Do not use CHECK_1.
55357         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55358         (ustat): Do not use CHECK_1.
55359         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55360         <bp-checks.h>.
55361         (__fxstat): Do not use CHECK_1.
55362         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55363         <bp-checks.h>.
55364         (__fxstatat): Do not use CHECK_1.
55365         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55366         <bp-checks.h>.
55367         (__lxstat): Do not use CHECK_1.
55368         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55369         <bp-checks.h>.
55370         (__xstat): Do not use CHECK_1.
55371         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55372         (__xstat): Do not use CHECK_1.
55373         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55374         (___xstat64): Do not use CHECK_1.
55376         [BZ #13550]
55377         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55378         definitions.
55379         (CHECK_BOUNDS_HIGH): Likewise.
55380         * string/strcpy.c: Do not include <bp-checks.h>.
55381         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55383 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55385         * nscd/nscd-client.h (__nscd_drop_map_ref):
55386         Add __attribute__ ((unused)).
55387         * nis/nss-nisplus.h (niserr2nss): Likewise.
55389         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55390         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55392         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55393         Remove inline keyword.
55394         * include/rounding-mode.h (round_away): Likewise.
55395         * libio/wfileops.c (adjust_wide_data): Likewise.
55396         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55397         (__m128i_strloadu_tolower): Likewise.
55398         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55399         (__m128i_strloadu_tolower): Likewise.
55400         * time/mktime.c (ydhms_diff): Likewise.
55401         * locale/elem-hash.h (elem_hash): Likewise.
55402         * locale/setlocale.c (setdata): Likewise.
55403         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55404         (re_string_wchar_at): Likewise.
55405         (bitset_not, bitset_merge, bitset_mask): Likewise.
55406         [!(__GNUC__ > 3)] (inline): Remove macro.
55407         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55408         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55409         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55410         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55411         * string/memcmp.c (memcmp_bytes): Likewise.
55412         * locale/programs/locarchive.c (compute_hashval): Likewise.
55413         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55414         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55415         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55416         * nss/getent.c (print_rpc, print_protocols): Likewise.
55417         (print_passwd, print_group, print_aliases): Likewise.
55418         * nis/nss-nisplus.h (niserr2nss): Likewise.
55419         * nscd/connections.c (restart_p): Likewise.
55420         Change return type to bool.
55422 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55424         * Makeconfig (all-Depend-files): Add existing
55425         $(sorted-subdirs:=/Depend) files.
55426         (all-subdirs): Remove nss.
55427         * sysdeps/unix/inet/Subdirs: Add it here instead.
55428         * hesiod/Depend: New file.
55430         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55431         instead of calling alloca.
55433         * io/lseek.c (__lseek): Rename to __libc_lseek.
55434         Define __lseek as an alias.
55436         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55438 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55440         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55441         else clause and remove check for non-standard endianness.
55443 2013-02-04  David S. Miller  <davem@davemloft.net>
55445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55447 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55449         [BZ #13550]
55450         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55451         (__ubp_memchr): Remove prototype.
55452         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55453         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55454         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55455         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55456         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55457         Remove alias.
55458         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55459         (__ubp_memchr): Likewise.
55460         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55461         (__ubp_memchr): Likewise.
55462         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55463         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55464         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55465         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55466         CHECK_STRING.
55467         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55468         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55469         (__getcwd): Do not use CHECK_STRING.
55470         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55471         <bp-checks.h>.
55472         (__real_chown): Do not use CHECK_STRING.
55473         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55474         <bp-checks.h>.
55475         (fchownat): Do not use CHECK_STRING.
55476         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55477         CHECK_STRING.
55478         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55479         <bp-checks.h>.
55480         (__lchown): Do not use CHECK_STRING.
55481         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55482         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55483         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55484         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55486         include <bp-checks.h>.
55487         (truncate64): Do not use CHECK_STRING.
55488         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55489         <bp-checks.h>.
55490         (__real_chown): Do not use CHECK_STRING.
55491         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55492         <bp-checks.h>.
55493         (__lchown): Do not use CHECK_STRING.
55494         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55495         <bp-checks.h>.
55496         (__chown): Do not use CHECK_STRING.
55497         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55498         <bp-checks.h>.
55499         (truncate64): Do not use CHECK_STRING.
55500         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55501         Likewise.
55502         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55503         (__xmknod): Do not use CHECK_STRING.
55504         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55505         <bp-checks.h>.
55506         (__xmknodat): Do not use CHECK_STRING.
55507         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55508         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55510 2013-02-04  Andreas Schwab  <schwab@suse.de>
55512         [BZ #14142]
55513         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55514         * include/netdb.h: Likewise for h_errno.
55515         * elf/tst-stackguard1.c: Include <tls.h>.
55517 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55519         * elf/link.h (struct link_map): Extend the l_addr comment.
55520         * include/link.h (struct link_map): Likewise.
55522 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55524         [BZ #13550]
55525         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55526         (BOUNDED_1): Remove macro.
55527         * debug/backtrace.c: Don't include <bp-checks.h>.
55528         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55529         (__backtrace): Likewise.
55530         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55531         <bp-checks.h>.
55532         (__backtrace): Don't use BOUNDED_1.
55533         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55534         <bp-checks.h>.
55535         (__backtrace): Don't use BOUNDED_1.
55536         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55537         (__backtrace): Don't use BOUNDED_1.
55538         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55539         (shmat): Don't use BOUNDED_N.
55541 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55543         [BZ #13550]
55544         * sysdeps/generic/bp-start.h: Remove file.
55545         * csu/libc-start.c: Don't include <bp-start.h>.
55546         (LIBC_START_MAIN): Set up __environ directly instead of using
55547         INIT_ARGV_and_ENVIRON.
55548         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55549         <bp-start.h>.
55551         [BZ #13550]
55552         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55553         definitions.
55554         (CHECK_FCNTL): Likewise.
55555         (CHECK_N_PAGES): Likewise.
55557         [BZ #13550]
55558         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55559         definitions.
55560         (CHECK_SIGSET_NULL_OK): Likewise.
55561         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55562         <bp-checks.h>.
55563         (sigpending): Don't use CHECK_SIGSET.
55564         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55565         <bp-checks.h>.
55566         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55567         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55568         <bp-checks.h>.
55569         (do_sigsuspend): Don't use CHECK_SIGSET.
55570         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55571         use CHECK_SIGSET.
55572         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55573         (do_sigwait): Don't use CHECK_SIGSET.
55574         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55575         use CHECK_SIGSET.
55576         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55577         include <bp-checks.h>.
55578         (sigpending): Don't use CHECK_SIGSET.
55579         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55580         include <bp-checks.h>.
55581         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55582         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55583         <bp-checks.h>.
55584         (sigpending): Don't use CHECK_SIGSET.
55585         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55586         <bp-checks.h>.
55587         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55589         [BZ #13550]
55590         * sysdeps/generic/bp-semctl.h: Remove file.
55591         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55592         <bp-checks.h> and <bp-semctl.h>.
55593         (__old_semctl): Don't use CHECK_SEMCTL.
55594         (__new_semctl): Likewise.
55595         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55596         and <bp-semctl.h>.
55597         (__old_semctl): Don't use CHECK_SEMCTL.
55598         (__new_semctl): Likewise.
55599         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55600         <bp-checks.h> and <bp-semctl.h>.
55601         (__old_semctl): Don't use CHECK_SEMCTL.
55602         (__new_semctl): Likewise.
55603         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55604         <bp-checks.h> and <bp-semctl.h>.
55605         (semctl): Don't use CHECK_SEMCTL.
55607         [BZ #13550]
55608         * Makerules (elide-bp-thunks): Remove variable.
55609         (elide-routines.oS): Don't use $(elide-bp-thunks).
55610         (elide-routines.os): Likewise.
55611         (elide-routines.o): Likewise.
55612         (elide-routines.op): Likewise.
55613         (elide-routines.og): Likewise.
55614         (objects): Don't use $(bp-thunks).
55615         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55616         include.
55617         (common-generated): Do not add s-proto-bp.d.
55618         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55619         (int): Likewise.
55620         (typ): Likewise.
55621         Do not generate makefile rules for bounded-pointer thunks.
55622         * sysdeps/generic/bp-thunks.h: Remove file.
55623         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55624         * sysdeps/unix/s-proto-bp.S: Likewise.
55626         [BZ #15062]
55627         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55628         parts of result separately when argument is not close to line from
55629         -i to i and one part of argument is small.
55630         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55631         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55632         * math/libm-test.inc (cacos_test): Add more tests.
55633         (casin_test): Likewise.
55634         (casinh_test): Likewise.
55635         * sysdeps/i386/fpu/libm-test-ulps: Update.
55636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55638 2013-01-31  David S. Miller  <davem@davemloft.net>
55640         * po/de.po: Update from translation team.
55642 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55644         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55646 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55648         * configure.in (_AC_PROG_CC_C89): New definition.
55649         * configure: Regenerate.
55651         * configure.in (AC_PROG_CPP): New definition.
55652         * configure: Regenerate.
55654 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55656         * debug/tst-backtrace.h: New file.
55657         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55658         (ret): Remove variable.
55659         (x): Likewise.
55660         (FAIL): Remove macro.
55661         (NO_INLINE): Likewise.
55662         (fn1): Use match function instead of strstr.
55663         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55664         (ret): Remove variable.
55665         (x): Likewise.
55666         (FAIL): Remove macro.
55667         (NO_INLINE): Likewise.
55668         (fn): Use match function instead of strstr.
55669         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55670         (ret): Remove variable.
55671         (x): Likewise.
55672         (FAIL): Remove macro.
55673         (NO_INLINE): Likewise.
55674         (handle_signal): Use match function instead of strstr.
55675         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55676         (ret): Remove variable.
55677         (x): Likewise.
55678         (FAIL): Remove macro.
55679         (NO_INLINE): Likewise.
55680         (handle_signal): Use match function instead of strstr.
55682 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55684         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55686 2013-01-23  David S. Miller  <davem@davemloft.net>
55688         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55689         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55690         argument of CAS if possible.
55691         * sysdeps/sparc/sparc64/bits/atomic.h
55692         (__arch_compare_and_exchange_val_32_acq): Likewise.
55693         (__arch_compare_and_exchange_val_64_acq): Likewise.
55695 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55697         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55698         * sysdeps/posix/ulimit.c: ... this.
55699         Include <limits.h>.
55700         * sysdeps/unix/bsd/ulimit.c: Remove file.
55702 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55704         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55705         (LDFLAGS-tst-array5): Likewise.
55707 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55709         [BZ #15036]
55710         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55711         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55712         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55713         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55715 2013-01-21  David S. Miller  <davem@davemloft.net>
55717         * sysdeps/sparc/backtrace.c: New file.
55718         * sysdeps/sparc/sparc32/backtrace.h: New file.
55719         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55720         * sysdeps/sparc/sparc64/backtrace.h: New file.
55721         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55722         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55723         -funwind-tables.
55725 2013-01-21  Andreas Schwab  <schwab@suse.de>
55727         [BZ #15020]
55728         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55729         closed its stdout.
55731 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55734         "mpa2.h".
55735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55737 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55738             Mark Mitchell  <mark@codesourcery.com>
55739             Tom de Vries  <tom@codesourcery.com>
55740             Paul Pluzhnikov  <ppluzhnikov@google.com>
55742         * debug/tst-backtrace2.c: New file.
55743         * debug/tst-backtrace3.c: Likewise.
55744         * debug/tst-backtrace4.c: Likewise.
55745         * debug/tst-backtrace5.c: Likewise.
55746         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55747         (CFLAGS-tst-backtrace3.c): Likewise.
55748         (CFLAGS-tst-backtrace4.c): Likewise.
55749         (CFLAGS-tst-backtrace5.c): Likewise.
55750         (LDFLAGS-tst-backtrace2): Likewise.
55751         (LDFLAGS-tst-backtrace3): Likewise.
55752         (LDFLAGS-tst-backtrace4): Likewise.
55753         (LDFLAGS-tst-backtrace5): Likewise.
55754         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55755         tst-backtrace4 and tst-backtrace5.
55757 2013-01-18  Anton Blanchard  <anton@samba.org>
55758             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55760         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55761         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55762         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55763         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55765         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55766         "+r" and remove output regs list as redundant.  Add explicit inline
55767         asm to specify register of return val to work around compiler codegen
55768         bug.  Remove (int) cast on return value.  Add return type parameter to
55769         use in macro so that this macro does not truncate return value for
55770         64-bit values.
55771         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55772         pass to INTERNAL_VSYSCALL_NCS.
55773         (INLINE_VSYSCALL): Add 'long int' as return type to
55774         INTERNAL_VSYSCALL_NCS macro invocation.
55775         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55776         INTERNAL_VSYSCALL_NCS macro invocation.
55777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55779 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55781         [BZ #14496]
55782         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55783         Fix application of SIMD FP exception mask.
55785         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55786         mp_no from a power of two.
55787         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55788         __mpexp_twomm1.  Use __pow_mp.
55790         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55791         multiplication.
55793 2013-01-17  David S. Miller  <davem@davemloft.net>
55795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55797 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55799         [BZ #15023]
55800         * include/complex.h: Condition contents on [!_COMPLEX_H].
55801         (__kernel_casinhf): New prototype.
55802         (__kernel_casinh): Likewise.
55803         (__kernel_casinhl): Likewise.
55804         * math/Makefile (libm_calls): Add k_casinh.
55805         * math/k_casinh.c: New file.
55806         * math/k_casinhf.c: Likewise.
55807         * math/k_casinhl.c: Likewise.
55808         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55809         finite nonzero arguments.
55810         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55811         finite nonzero arguments.
55812         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55813         finite nonzero arguments.
55814         * math/s_casinh.c: Do not include <float.h>.
55815         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55816         * math/s_casinhf.c: Do not include <float.h>.
55817         (__casinhf): Move code for finite nonzero arguments to
55818         k_casinhf.c.
55819         * math/s_casinhl.c: Do not include <float.h>.
55820         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55821         redefine.
55822         (__casinhl): Move code for finite nonzero arguments to
55823         k_casinhl.c.
55824         * math/libm-test.inc (cacos_test): Add more tests.
55825         * sysdeps/i386/fpu/libm-test-ulps: Update.
55826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55828 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55830         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55831         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55832         [!HAVE_MREMAP]: Remove [defined linux] case.
55833         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55835 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55837         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55839 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55841         * elf/elf.h (R_386_SIZE32): New relocation.
55842         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55843         R_386_SIZE32.
55844         (elf_machine_rela): Likewise.
55845         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55846         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55848 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55850         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55851         (FP_FAST_FMA): Do not define.
55852         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55853         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55854         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55855         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55856         !_SOFT_FLOAT]: Likewise.
55857         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55858         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55859         value.
55860         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55861         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55862         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55863         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55864         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55865         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55866         file.
55868 2013-01-16  Andreas Schwab  <schwab@suse.de>
55870         [BZ #14327]
55871         * include/stdlib.h (__mktemp): Add declaration.
55872         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55873         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55875 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55877         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55878         definitions.
55879         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55880         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55881         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55882         definitions here.
55883         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55884         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55885         definitions.
55886         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55887         and ONE.
55888         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55889         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55890         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55891         definitions.
55892         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55893         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55894         definitions.
55895         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55897         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55899 2013-01-15  David S. Miller  <davem@davemloft.net>
55901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55902         trunc{,f} to libm-sysdep_routes.
55903         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55905         file.
55906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55908         file.
55909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55910         file.
55911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55913         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55914         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55915         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55916         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55917         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55918         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55921         nearbyint{,f} to libm-sysdep_routes.
55922         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55924         New file.
55925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55926         file.
55927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55928         New file.
55929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55930         file.
55931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55933         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55934         file.
55935         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55936         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55937         file.
55938         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55939         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55940         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55942         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55943         libc_feholdexcept and libc_fesetenv.
55945 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55947         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55949 2013-01-14  David S. Miller  <davem@davemloft.net>
55951         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55952         (SPARC_ASM_VIS2_IFUNC): Likewise.
55953         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55955         use of 'siam' instruction.
55956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55957         Likewise.
55958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55959         Likewise.
55960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55961         Likewise.
55962         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55963         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55964         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55967         file.
55968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55969         file.
55970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55971         file.
55972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55973         file.
55974         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55975         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55977         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55979         new VIS2 routines.
55980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55983         Likewise.
55984         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55985         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55987         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55989         routines to libm-sysdep_routines.
55990         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55993         fdim/fdimf to libm-sysdep_routines.
55994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55995         file.
55996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55998         file.
55999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56002         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56003         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56004         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56005         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56007 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56009         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56010         to optimize copies.
56012         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56013         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56016         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56017         local variable MPTWO.
56018         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56019         Likewise.
56021 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56023         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56024         GLOB_NOESCAPE.
56026 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56028         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56030 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56032         * manual/pattern.texi (glob_t): Document gl_flags.
56033         (glob64_t): Likewise.
56035 2013-01-11  David S. Miller  <davem@davemloft.net>
56037         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56038         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56039         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56040         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56041         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56042         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56043         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56044         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56045         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56046         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56047         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56048         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56049         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56051         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56052         sparc V9 rather than using V8 code.
56053         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56054         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56056         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56057         Move to...
56058         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56059         Here.
56061 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56063         [BZ #14941]
56064         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56065         not in the main loop.
56066         * configure: Regenerated.
56068 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56070         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56071         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56072         to just #else.
56073         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56074         [!__GLIBC_HAVE_LONG_LONG] case.
56075         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56076         condition to just #else.
56077         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56078         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56079         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56080         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56081         unconditional.
56082         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56083         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56084         #elif condition to just #else.
56085         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56086         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56087         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56088         #elif condition to just #else.
56090 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56092         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56093         (EF_MIPS_ARCH_64): Fix value.
56094         (EF_MIPS_ARCH_32R2): New.
56095         (EF_MIPS_ARCH_64R2): New.
56097 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56099         * Makeconfig (+link-pie-before-libc): New.
56100         (+link-pie-after-libc): Likewise.
56101         (+link-pie-tests): Likewise.
56102         (+link-pie): Rewritten.
56103         (link-before-libc): Remove $(config-LDFLAGS).
56104         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56105         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56106         (config-LDFLAGS): Renamed to ...
56107         (rtld-LDFLAGS): This.
56108         (rtld-tests-LDFLAGS): New macro.
56109         (link-libc-rpath-link): Likewise.
56110         (link-libc-tests-rpath-link): Likewise.
56111         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56112         (link-libc): Prepand $(link-libc-rpath-link).
56113         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56114         (test-program-prefix): New macro.
56115         (test-via-rtld-prefix): Likewise.
56116         (test-program-cmd): Likewise.
56117         (host-test-program-cmd): Likewise.
56118         * Makefile ($(common-objpfx)testrun.sh): Replace
56119         $(run-program-prefix) with $(test-program-prefix).
56120         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56121         $(rtld-LDFLAGS).
56122         ($(common-objpfx)shlib.lds): Likewise.
56123         (build-module-helper): Likewise.
56124         ($(common-objpfx)format.lds): Likewise.
56125         * Rules (binaries-pie-tests): New.
56126         (binaries-pie-notests): Likewise.
56127         (binaries-pie): Rewritten.
56128         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56129         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56130         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56131         (make-test-out): Replace $(host-built-program-cmd) with
56132         $(host-test-program-cmd).
56133         * config.make.in (build-hardcoded-path-in-tests): New variable.
56134         * configure.in (--enable-hardcoded-path-in-tests): New configure
56135         option.
56136         (hardcoded_path_in_tests): New AC_SUBST.
56137         * configure: Regenerated.
56138         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56139         $(built-program-cmd) with $(test-program-cmd).
56140         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56141         (test_program_cmd): This.
56142         * elf/Makefile ($(objpfx)order.out): Run test with
56143         $(test-program-prefix).
56144         ($(objpfx)order2.out): Likewise.
56145         ($(objpfx)tst-initorder.out): Likewise.
56146         ($(objpfx)tst-initorder2.out): Likewise.
56147         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56148         $(test-program-cmd).
56149         ($(objpfx)tst-array1-static.out): Likewise.
56150         ($(objpfx)tst-array2.out): Likewise.
56151         ($(objpfx)tst-array3.out): Likewise.
56152         ($(objpfx)tst-array4.out): Likewise.
56153         ($(objpfx)tst-array5.out): Likewise.
56154         ($(objpfx)tst-array5-static.out): Likewise.
56155         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56156         $(test-program-cmd).
56157         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56158         $(run-program-prefix) with $(test-program-prefix).
56159         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56160         (test_program_prefix): This.
56161         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56162         $(run-program-prefix) with $(test-program-prefix).
56163         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56164         (test_program_prefix): This.
56165         * iconvdata/tst-tables.sh: Likewise.
56166         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56167         $(run-program-prefix) with $(test-program-prefix).
56168         ($(objpfx)tst-translit.out): Likewise.
56169         ($(objpfx)tst-gettext2.out): Likewise.
56170         ($(objpfx)tst-gettext4.out): Likewise.
56171         ($(objpfx)tst-gettext6.out): Likewise.
56172         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56173         (test_program_prefix): This.
56174         * intl/tst-gettext2.sh: Likewise.
56175         * intl/tst-gettext4.sh  Likewise.
56176         * intl/tst-gettext6.sh: Likewise.
56177         * intl/tst-translit.sh: Likewise.
56178         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56179         with $(test-program-cmd).
56180         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56181         $(run-program-prefix) with $(test-program-prefix).
56182         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56183         (test_program_prefix): This.
56184         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56185         $(run-program-prefix) with $(test-program-prefix).
56186         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56187         (test_program_prefix): This.
56188         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56189         * posix/Makefile ($(objpfx)globtest.out): Replace
56190         $(run-via-rtld-prefix) and $(test-wrapper) with
56191         $(test-program-prefix) and $(test-via-rtld-prefix).
56192         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56193         $(test-program-prefix).
56194         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56195         $(host-test-program-cmd).
56196         (tst-spawn-ARGS): Likewise.
56197         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56198         $(test-program-prefix).
56199         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56200         (test_via_rtld_prefix): This.
56201         (test_wrapper): Renamed to ...
56202         (test_program_prefix): This.
56203         (run_program_prefix): Replaced by test_program_prefix.
56204         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56205         (test_program_prefix): This.
56206         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56207         with $(host-test-program-cmd).
56208         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56209         $(run-program-prefix) with $(test-program-prefix).
56210         ($(objpfx)tst-printf.out): Likewise.
56211         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56212         $(test-program-cmd).
56213         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56214         (test_program_prefix): This.
56215         * stdio-common/tst-unbputc.sh: Likewise.
56216         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56217         $(run-program-prefix) with $(test-program-prefix).
56218         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56219         (test_program_prefix): This.
56220         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56221         $(built-program-cmd) with $(test-program-cmd).
56223 2013-01-11  Andreas Jaeger  <aj@suse.de>
56225         [BZ #15003]
56226         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56227         value. Sync with Linux 3.7.
56229 2013-01-10  David S. Miller  <davem@davemloft.net>
56231         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56232         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56233         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56235 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56237         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56238         never set.
56239         * configure: Regenerated.
56241 2013-01-10  David S. Miller  <davem@davemloft.net>
56243         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56244         sparc V9 rather than using V8 code.
56245         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56246         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56248 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56250         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56251         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56252         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56253         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56254         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56255         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56256         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56257         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56258         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56259         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56260         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56261         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56262         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56263         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56264         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56265         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56266         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56267         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56268         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56269         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56270         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56271         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56272         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56273         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56274         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56275         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56276         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56278 2013-01-10  David S. Miller  <davem@davemloft.net>
56280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56282 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56284         * posix/Makefile (tests-static): New variable.
56285         (tests): Add $(tests-static).
56286         (tst-exec-static-ARGS): New variable.
56287         (tst-spawn-static-ARGS): Likewise.
56288         * posix/tst-exec-static.c: New file.
56289         * posix/tst-spawn-static.c: Likewise.
56290         * posix/tst-exec.c: Support run directly.
56291         * posix/tst-spawn.c: Likewise.
56293 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56295         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56296         long.
56297         * math/bits/mathcalls.h (llrint): Likewise.
56298         (llround): Likewise.
56299         * stdlib/stdlib.h (struct drand48_data): Likewise.
56300         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56301         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56302         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56303         Likewise.
56304         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56305         Likewise.
56306         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56307         (elf_greg_t): Likewise.
56308         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56309         (__jmp_buf): Likewise.
56310         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56311         definitions.
56312         (llrint): Likewise, for all definitions.
56313         (llrintl): Likewise.
56315         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56316         Remove [__GNUC__] condition.
56317         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56318         condition to just [__USE_ISOC99].
56319         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56321 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56323         [BZ #14200]
56324         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56325         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56326         defined.
56327         (_POSIX_V6_ILP32_OFF32): Likewise.
56328         (_XBS5_ILP32_OFF32): Likewise.
56329         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56330         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56332 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56334         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56336         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56337         doubles __mpexp_twomm1.  Adjust usage.
56338         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56339         Remove.
56341 2013-01-10  Andreas Schwab  <schwab@suse.de>
56343         [BZ #14964]
56344         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56345         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56347 2013-01-09  David S. Miller  <davem@davemloft.net>
56349         [BZ #15003]
56350         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56351         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56352         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56353         (TCP_FASTOPEN): Define.
56354         (tcp_repair_opt): New structure.
56355         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56356         enum values.
56357         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56358         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56359         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56360         (tcp_cookie_transactions): New structure.
56362 2013-01-09  Anton Blanchard  <anton@samba.org>
56364         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56365         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56366         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56367         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56369 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56371         * include/features.h (__USE_ANSI): Remove.
56373 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56375         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56377         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56379 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56381         * sysdeps/s390/fpu/libm-test-ulps: Update.
56383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56385         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56386         (__acr): Likewise.
56387         (__cpy): Likewise.
56388         (norm): Likewise.
56389         (denorm): Likewise.
56390         (__mp_dbl): Likewise.
56391         (__dbl_mp): Likewise.
56392         (add_magnitudes): Likewise.
56393         (sub_magnitudes): Likewise.
56394         (__add): Likewise.
56395         (__sub): Likewise.
56396         (__mul): Likewise.
56397         (__inv): Likewise.
56398         (__dvd): Likewise.
56399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56400         (__acr): Likewise.
56401         (__cpy): Likewise.
56402         (norm): Likewise.
56403         (denorm): Likewise.
56404         (__mp_dbl): Likewise.
56405         (__dbl_mp): Likewise.
56406         (add_magnitudes): Likewise.
56407         (sub_magnitudes): Likewise.
56408         (__add): Likewise.
56409         (__sub): Likewise.
56410         (__mul): Likewise.
56411         (__inv): Likewise.
56412         (__dvd): Likewise.
56413         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56414         (__acr): Likewise.
56415         (__cpy): Likewise.
56416         (norm): Likewise.
56417         (denorm): Likewise.
56418         (__mp_dbl): Likewise.
56419         (__dbl_mp): Likewise.
56420         (add_magnitudes): Likewise.
56421         (sub_magnitudes): Likewise.
56422         (__add): Likewise.
56423         (__sub): Likewise.
56424         (__mul): Likewise.
56425         (__inv): Likewise.
56426         (__dvd): Likewise.
56428 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56430         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56431         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56432         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56433         2 && __USE_EXTERN_INLINES]: Likewise.
56435 2013-01-08  Andreas Jaeger  <aj@suse.de>
56437         [BZ# 14985]
56438         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56439         Remove.
56440         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56441         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56443 2013-01-07  Anton Blanchard  <anton@samba.org>
56445         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56446         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56447         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56448         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56449         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56450         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56451         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56452         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56453         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56454         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56455         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56456         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56457         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56458         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56459         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56460         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56461         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56462         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56463         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56464         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56465         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56466         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56467         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56468         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56469         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56470         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56471         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56472         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56473         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56474         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56475         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56476         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56477         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56478         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56479         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56480         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56481         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56482         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56483         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56484         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56485         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56486         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56487         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56489 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56491         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56492         (__MALLOC_PMT): Likewise.
56493         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56494         [__GNUC__], only on [_LIBC].
56495         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56496         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56497         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56498         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56499         forward declaration.
56500         (realloc_hook_ini): Likewise.
56501         (memalign_hook_ini): Likewise.
56502         (__libc_memalign): Do not use __MALLOC_PMT in variable
56503         declaration.
56504         (__libc_valloc): Likewise.
56505         (__libc_pvalloc): Likewise.
56506         (__libc_calloc): Likewise.
56507         (__posix_memalign): Likewise.
56509         [BZ #14996]
56510         * math/s_casinh.c: Include <float.h>.
56511         (__casinh): Do not do computation with squaring and square root
56512         for large arguments.
56513         * math/s_casinhf.c: Include <float.h>.
56514         (__casinhf): Do not do computation with squaring and square root
56515         for large arguments.
56516         * math/s_casinhl.c: Include <float.h>.
56517         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56518         (__casinhl): Do not do computation with squaring and square root
56519         for large arguments.
56520         * math/libm-test.inc (casin_test): Add more tests.
56521         (casinh_test): Likewise.
56522         * sysdeps/i386/fpu/libm-test-ulps: Update.
56523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56525 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56527         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56528         (__x86_64_raw_data_cache_size): Likewise.
56529         (__x86_64_data_cache_size_half): Likewise.
56530         (__x86_64_raw_data_cache_size_half): Likewise.
56531         (__x86_64_shared_cache_size): Likewise.
56532         (__x86_64_raw_shared_cache_size): Likewise.
56533         (__x86_64_shared_cache_size_half): Likewise.
56534         (__x86_64_raw_shared_cache_size_half): Likewise.
56535         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56536         to ...
56537         (__x86_data_cache_size): This.
56538         (__x86_64_raw_data_cache_size): Renamed to ...
56539         (__x86_raw_data_cache_size): This.
56540         (__x86_64_data_cache_size_half): Renamed to ...
56541         (__x86_data_cache_size_half): This.
56542         (__x86_64_raw_data_cache_size_half): Renamed to ...
56543         (__x86_raw_data_cache_size_half): This.
56544         (__x86_64_shared_cache_size): Renamed to ...
56545         (__x86_shared_cache_size): This.
56546         (__x86_64_raw_shared_cache_size): Renamed to ...
56547         (__x86_raw_shared_cache_size): This.
56548         (__x86_64_shared_cache_size_half): Renamed to ...
56549         (__x86_shared_cache_size_half): This.
56550         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56551         (__x86_raw_shared_cache_size_half): This.
56552         * sysdeps/x86_64/memcpy.S: Updated.
56553         * sysdeps/x86_64/memset.S: Likewise.
56554         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56555         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56556         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56558 2013-01-04  David S. Miller  <davem@davemloft.net>
56560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56562 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56564         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56565         1 to avoid redefinition warning.
56566         (__USE_GNU): Don't define.
56567         (init_signaling_nan): Protoize.
56569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56571 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56573         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56575         (__cpymn): Likewise.
56576         (norm): Remove commented code.
56577         (denorm): Likewise.
56578         (__mp_dbl): Likewise.
56579         (__inv): Likewise.
56580         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56581         (__cpymn): Likewise.
56582         (norm): Remove commented code.
56583         (denorm): Likewise.
56584         (__mp_dbl): Likewise.
56585         (__inv): Likewise.
56587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56588         mp_no value for 1.0 and 2.0.
56589         (norm): Use RADIXI instead of radixi.d.
56590         (denorm): Likewise.
56591         (__mul): Use 0.0 instead of zero.d.
56592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56593         mp_no value for 1.0 and 2.0.
56594         (norm): Use RADIXI instead of radixi.d.
56595         (denorm): Likewise.
56596         (__mul): Use 0.0 instead of zero.d.
56598 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56600         [BZ #14994]
56601         * math/s_casinh.c (__casinh): Reduce finite argument to first
56602         quadrant then set signs of results at the end.
56603         * math/s_casinhf.c (__casinhf): Likewise.
56604         * math/s_casinhl.c (__casinhl): Likewise.
56605         * math/libm-test.inc (casin_test): Add more tests.
56606         (casinh_test): Likewise.
56607         * sysdeps/i386/fpu/libm-test-ulps: Update.
56608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56610 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56612         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56614         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56616         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56617         declarations.
56618         (denorm): Likewise.
56619         (__mp_dbl): Likewise.
56620         (__inv): Likewise.
56622         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56623         and adjust the header comment.
56625         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56626         variable name from declaration.
56628 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56631         Initialize COMMON_CPUID_INDEX_7 element.
56632         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56633         (CPUID_RTM): Likewise.
56634         (HAS_RTM): Likewise.
56635         (COMMON_CPUID_INDEX_7): New enum.
56637 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56639         [BZ #14981]
56640         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56641         size is zero, record memory as freed.
56643 2013-01-03  Andreas Jaeger  <aj@suse.de>
56645         * po/ia.po: Add new Interlingua translation.
56647 2012-01-03  Allan McRae  <allan@archlinux.org>
56649         * locale/programs/localedef.c: Fix description of '--posix' flag.
56651 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56653         * NEWS: Update dates in second copyright notice.
56654         * README: Update copyright dates in example.
56655         * manual/libc.texinfo: Update copyright dates.
56656         * scripts/test-installation.pl: Update copyright date in --version
56657         output.
56659         * hurd/ctty-input.c: Fix copyright notice formatting.
56660         * hurd/ctty-output.c: Likewise.
56661         * hurd/dtable.c: Likewise.
56662         * hurd/hurd-raise.c: Likewise.
56663         * hurd/hurdprio.c: Likewise.
56664         * hurd/msgportdemux.c: Likewise.
56665         * misc/sys/file.h: Likewise.
56666         * misc/sys/ioctl.h: Likewise.
56667         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56668         * sysdeps/mach/hurd/chdir.c: Likewise.
56669         * sysdeps/mach/hurd/fchdir.c: Likewise.
56670         * sysdeps/mach/hurd/rename.c: Likewise.
56671         * sysdeps/mach/hurd/rmdir.c: Likewise.
56672         * sysdeps/mach/hurd/seekdir.c: Likewise.
56673         * sysdeps/mach/hurd/setsid.c: Likewise.
56674         * sysdeps/posix/wait3.c: Likewise.
56676         * All files with FSF copyright notices: Update copyright dates
56677         using scripts/update-copyrights.
56678         * intl/plural.c: Regenerated.
56679         * locale/programs/charmap-kw.h: Likewise.
56680         * locale/programs/locfile-kw.h: Likewise.
56682 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56684         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56685         four values.
56687         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56688         calculation loop and add branch prediction.
56690         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56691         check access beyond bounds of m1np.
56693         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56694         MPTWO.
56695         (__inv): Remove local variable MPTWO to use the global
56696         constant.
56697         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56698         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56699         variable MPTWO.
56700         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56701         MP3HALFS static const.
56703 2013-01-01  David S. Miller  <davem@davemloft.net>
56705         * po/ca.po: Update from translation team.
56707 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56709         * scripts/update-copyrights: New file.
56710         * Makeconfig: Reformat copyright notice.
56711         * ctype/ctype.h: Likewise.
56712         * debug/swprintf_chk.c: Likewise.
56713         * elf/dl-cache.c: Likewise.
56714         * elf/dl-debug.c: Likewise.
56715         * elf/dl-object.c: Likewise.
56716         * grp/initgroups.c: Likewise.
56717         * hurd/Makefile: Likewise.
56718         * hurd/hurd/signal.h: Likewise.
56719         * hurd/hurdfault.c: Likewise.
56720         * hurd/hurdioctl.c: Likewise.
56721         * hurd/hurdlookup.c: Likewise.
56722         * hurd/intr-msg.c: Likewise.
56723         * iconv/gconv_open.c: Likewise.
56724         * libio/swprintf.c: Likewise.
56725         * locale/lc-ctype.c: Likewise.
56726         * locale/nl_langinfo.c: Likewise.
56727         * mach/Machrules: Likewise.
56728         * mach/Makefile: Likewise.
56729         * malloc/obstack.h: Likewise.
56730         * manual/Makefile: Likewise.
56731         * manual/tsort.awk: Likewise.
56732         * misc/bits/stab.def: Likewise.
56733         * nis/nis_print_group_entry.c: Likewise.
56734         * nis/nis_table.c: Likewise.
56735         * nis/nss_compat/compat-pwd.c: Likewise.
56736         * nis/nss_compat/compat-spwd.c: Likewise.
56737         * po/Makefile: Likewise.
56738         * posix/fnmatch.c: Likewise.
56739         * posix/regex.h: Likewise.
56740         * resolv/Makefile: Likewise.
56741         * resolv/nss_dns/dns-network.c: Likewise.
56742         * resolv/res_hconf.c: Likewise.
56743         * scripts/gen-sorted.awk: Likewise.
56744         * soft-fp/soft-fp.h: Likewise.
56745         * stdio-common/printf.h: Likewise.
56746         * stdlib/monetary.h: Likewise.
56747         * stdlib/random.c: Likewise.
56748         * stdlib/random_r.c: Likewise.
56749         * sysdeps/generic/Makefile: Likewise.
56750         * sysdeps/gnu/Makefile: Likewise.
56751         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56752         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56753         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56754         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56755         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56756         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56757         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56758         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56759         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56760         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56761         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56762         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56763         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56764         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56765         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56766         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56767         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56768         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56769         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56770         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56771         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56772         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56773         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56774         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56775         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56776         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56777         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56778         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56779         * sysdeps/mach/hurd/errnos.awk: Likewise.
56780         * sysdeps/mach/hurd/fork.c: Likewise.
56781         * sysdeps/mach/hurd/getcwd.c: Likewise.
56782         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56783         * sysdeps/mach/hurd/mmap.c: Likewise.
56784         * sysdeps/mach/hurd/utimes.c: Likewise.
56785         * sysdeps/mach/hurd/xmknod.c: Likewise.
56786         * sysdeps/posix/profil.c: Likewise.
56787         * sysdeps/posix/readdir_r.c: Likewise.
56788         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56789         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56790         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56791         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56792         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56793         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56794         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56795         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56797         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56798         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56799         * sysdeps/pthread/lio_listio.c: Likewise.
56800         * sysdeps/sparc/dl-procinfo.h: Likewise.
56801         * sysdeps/unix/i386/sysdep.S: Likewise.
56802         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56803         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56804         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56805         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56807         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56808         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56809         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56810         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56811         * sysdeps/wordsize-32/divdi3.c: Likewise.
56812         * time/sys/time.h: Likewise.
56813         * wcsmbs/Makefile: Likewise.
56815 2013-01-01  David S. Miller  <davem@davemloft.net>
56817         * po/fr.po: Update from translation team.
56819         * catgets/gencat.c: Update copyright year.
56820         * csu/version.c: Likewise.
56821         * debug/catchsegv.sh: Likewise.
56822         * debug/pcprofiledump.c: Likewise.
56823         * debug/xtrace.sh: Likewise.
56824         * elf/ldconfig.c: Likewise.
56825         * elf/ldd.bash.in: Likewise.
56826         * elf/pldd.c: Likewise.
56827         * elf/sotruss.ksh: Likewise.
56828         * elf/sprof.c: Likewise.
56829         * iconv/iconv_prog.c: Likewise.
56830         * iconv/iconvconfig.c: Likewise.
56831         * locale/programs/locale.c: Likewise.
56832         * locale/programs/localedef.c: Likewise.
56833         * login/programs/pt_chown.c: Likewise.
56834         * malloc/memusage.sh: Likewise.
56835         * malloc/memusagestat.c: Likewise.
56836         * malloc/mtrace.pl: Likewise.
56837         * nscd/nscd.c: Likewise.
56838         * nss/getent.c: Likewise.
56839         * nss/makedb.c: Likewise.
56840         * posix/getconf.c: Likewise.
56842 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56844         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56845         numbers.
56847 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56849         * math/bits/mathcalls.h (modf): Use __nonnull.
56851 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56853         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56854         (split): Use macro CN instead of the bare value.
56855         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56856         could be used.
56857         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56858         instead of the bare value.
56859         (power1): Likewise.
56861 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56863         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56864         __ATAN_TWOM.
56865         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56867         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56868         their values.
56869         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56870         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56871         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56872         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56874 2012-12-28  Andreas Jaeger  <aj@suse.de>
56876         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56877         values are from Linux 3.7.
56879         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56880         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56882 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56884         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56885         TRUE case.
56887         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56888         (norm): Likewise.
56889         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56890         variables with preprocessor constants.
56891         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56892         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56893         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56895 2012-12-27  Bruno Haible  <bruno@clisp.org>
56897         [BZ #14317]
56898         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56899         only if needed.
56901 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56903         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56904         and use variable directly.
56905         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56907         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56908         MPONE.
56909         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56910         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56911         variable MPONE.
56912         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56913         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56914         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56915         include directive.  Remove local variable MPONE.
56916         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56917         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56918         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56920 2012-12-25  David S. Miller  <davem@davemloft.net>
56922         * version.h (RELEASE): Set to "development".
56923         (VERSION): Set to "2.17.90".
56924         * NEWS: Add 2.18 section.
56926 2012-12-21  David S. Miller  <davem@davemloft.net>
56928         * po/hr.po: Update from translation team.
56930 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56932         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56934 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56936         * NEWS:  Mention new memcpy for MIPS.
56938 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56940         * manual/contrib.texi (Contributors): Spelling correction.
56942 2012-12-15  David S. Miller  <davem@davemloft.net>
56944         * po/ru.po: Update from translation team.
56946 2012-12-13  David S. Miller  <davem@davemloft.net>
56948         * NEWS: Mention IFUNC testsuite enhancements.
56950         * po/pl.po: Update from translation team.
56951         * po/bg.po: Likewise.
56953         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56954         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56956 2012-12-11  David S. Miller  <davem@davemloft.net>
56958         * po/sv.po: Update from translation team.
56960         * po/vi.po: Update from translation team.
56962         * po/cs.po: Update from translation team.
56964         * po/de.po: Update from translation team.
56965         * po/eo.po: Likewise.
56966         * po/nl.po: Likewise.
56968 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56970         [BZ #14246]
56971         * manual/argp.texi (Argp Helper Functions): Move node to follow
56972         Argp Parsing State.
56974         [BZ #14872]
56975         * manual/conf.texi (Limits on File System Capacity): Mention if
56976         terminating null is included in the max size.
56978 2012-12-10  Andreas Jaeger  <aj@suse.de>
56980         * po/cs.po: Update from translation team.
56982 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56984         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56985         void pointer and cast to uintptr_t.
56986         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56987         path.
56988         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56989         * sysdeps/s390/s390-64/memset.S: Likewise.
56991 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56993         [BZ #14833]
56994         * menual/message.texi (Message Translation): Fix typos.
56995         (Helper programs for gettext): Likewise.
56997 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56999         [BZ #14898]
57000         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57001         Change to -1.
57003 2012-12-07  David S. Miller  <davem@davemloft.net>
57005         * po/libc.pot: Update.
57007 2012-12-07  Richard Henderson  <rth@redhat.com>
57009         [BZ #10114]
57010         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57011         normal/normal case to before the switch.
57012         (_FP_DIV): Likewise.
57014 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57015             Mike Frysinger  <vapier@gentoo.org>
57017         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57018         check for __NR_fadvise64_64.
57020 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57022         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57023         0, not just to plain "0" as a statement.
57024         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57025         with cw.
57027 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57029         * NEWS: Use sourceware.org in Bugzilla URL.
57031 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57034         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57036         * stdio-common/tst-put-error.c (do_test): Add newline to the
57037         padded test to ensure flush.
57039 2012-12-05  Jeff Law  <law@redhat.com>
57041         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57043 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57045         * README: Don't refer to ports add-on as distributed separately.
57046         Mention AArch64 in list of systems supported in the ports add-on.
57048         * LICENSES: Add more non-FSF copyright and license notices.
57050         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57051         ((unused)).
57053         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57055         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57056         10000 as width of padded output.
57058 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57060         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57062         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57063         variable LX with __attribute__ ((unused)).
57064         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57065         Likewise.
57066         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57067         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57068         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57069         with __attribute__ ((unused)).
57071 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57073         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57075 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57077         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57078         (CFLAGS-nldbl-acos.c): New variable.
57079         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57080         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57081         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57082         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57083         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57084         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57085         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57086         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57087         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57088         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57089         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57090         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57091         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57092         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57093         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57094         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57095         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57096         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57097         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57098         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57099         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57100         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57101         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57102         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57103         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57104         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57105         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57106         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57107         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57108         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57109         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57110         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57111         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57112         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57113         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57114         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57115         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57116         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57117         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57118         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57119         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57120         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57121         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57122         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57123         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57124         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57125         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57126         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57127         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57128         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57129         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57130         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57131         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57132         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57133         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57134         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57135         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57136         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57137         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57138         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57139         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57140         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57141         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57142         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57143         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57144         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57145         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57146         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57147         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57148         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57149         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57150         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57151         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57152         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57153         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57154         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57155         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57156         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57157         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57158         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57159         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57160         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57161         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57162         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57163         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57164         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57165         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57166         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57167         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57168         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57169         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57170         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57171         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57172         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57173         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57174         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57175         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57178         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57180         [BZ #14914]
57181         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57182         whole low double instead of just low 47 bits when splitting values
57183         into two parts.
57185 2012-12-03  Allan McRae  <allan@archlinux.org>
57187         * manual/stdio.texi (Predefined Printf Handlers): Remove
57188         @hsep and @vsep usage.
57190 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57192         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57193         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57195 2012-12-03  Jeff Law  <law@redhat.com>
57197         * time/sys/time.h (settimeofday): Do not mark TV argument
57198         as __nonnull.
57200 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57202         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57203         when currently writing and seek to current position when not.
57204         * libio/Makefile (tests): Remove bug-fclose1.
57205         * libio/bug-fclose1.c: Delete.
57207 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57209         * manual/arith.texi (feenableexcept): Fix typo.
57210         (fedisableexcept): Likewise.
57212 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57214         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57215         second, differently-typed declaration, rather than a cast.
57217 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57219         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57220         * include/rpc/svc.h: ... here.
57222 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57224         [BZ #13013]
57225         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57226         depending n and resplen2 to catch cases where answer
57227         equals answerp2.
57229 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57231         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57232         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57234 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57236         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57238 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57240         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57242 2012-11-28  Jeff Law  <law@redhat.com>
57244         [BZ #13761]
57245         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57246         dataset_temporary.  Track alloca usage into alloca_used.
57247         If dataset is large allocate and release it via malloc/free.
57249 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57251         [BZ #14197]
57252         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57254 2012-11-28  David S. Miller  <davem@davemloft.net>
57256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57258 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57260         [BZ #14803]
57261         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57262         of pi/2 rounded to nearest to 64 bits.
57263         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57264         nearest to 64 bits.
57265         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57266         bits.
57268 2012-11-28  Jeff Law <law@redhat.com>
57269             Martin Osvald <mosvald@redhat.com>
57271         [BZ #14889]
57272         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57273         * sunrpc/svc.c: Include time.h.
57274         (__svc_accept_failed): New function.
57275         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57276         any reason other than EINTR, call __svc_accept_failed.
57277         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57278         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57280 2012-11-28  Andreas Schwab  <schwab@suse.de>
57282         * scripts/abilist.awk: Also handle indirect functions in .opd
57283         section.
57285 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57287         [BZ #13881]
57288         * sysdeps/x86/fpu/powl_helper.c: New file.
57289         * sysdeps/x86/fpu/Makefile: Likewise.
57290         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57291         (p3): New object.
57292         (__ieee754_powl): Use __powl_helper for finite arguments except
57293         integer exponents below 8.
57294         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57295         (p3): New object.
57296         (__ieee754_powl): Use __powl_helper for finite arguments except
57297         integer exponents below 8.
57298         * math/libm-test.inc (pow_test): Add more tests and enable some
57299         previously disabled tests.
57300         * sysdeps/i386/fpu/libm-test-ulps: Update.
57301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57303 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57304             Carlos O'Donell  <carlos_odonell@mentor.com>
57306         * nss/makedb.c (is_prime): Assert that input is odd and greater
57307         than 4.  Note that fact in a comment too.
57308         (next_prime): Add 4 to input.
57310 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57312         [BZ #11741]
57313         * libio/Makefile (tests): Add test case tst-fwrite-error.
57314         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57315         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57316         * libio/tst-fwrite-error.c: New test case.
57318 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57320         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57321         before casting to void *.
57322         * include/libc-internal.h (__pointer_type): New macro.
57323         (__integer_if_pointer_type_sub): Likewise.
57324         (__integer_if_pointer_type): Likewise.
57325         (cast_to_integer): Likewise.
57326         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57327         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57328         before casting to atomic64_t.
57329         (atomic_exchange_acq): Likewise.
57330         (__arch_exchange_and_add_body): Likewise.
57331         (__arch_add_body): Likewise.
57332         (atomic_add_negative): Likewise.
57333         (atomic_add_zero): Likewise.
57335 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57337         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57338         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57339         (add_fdes): Likewise.
57340         (linear_search_fdes): Likewise.
57341         (binary_search_unencoded_fdes): Likewise.
57343 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57345         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57347 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57349         * configure.in: Autodetect C++ header directories.
57350         * configure: Regenerated.
57352 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57354         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57356 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57360 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57362         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57363         LDBL_MANT_DIG == 106]: Disable some tests.
57364         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57365         Likewise.
57366         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57367         Likewise.
57369         [BZ #14871]
57370         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57371         input for small inputs.  Return +/- pi/2 for large inputs.
57372         * math/libm-test.inc (atan_test): Add more tests.
57374         * sysdeps/generic/unwind-dw2-fde-glibc.c
57375         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57376         __attribute__ ((unused)).
57378         [BZ #14645]
57379         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57380         x * y if x and y are nonzero and z is zero.
57382         [BZ #14811]
57383         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57384         nonzero exponents with absolute value below 0x1p-117 to +/-
57385         0x1p-117.
57387         [BZ #14869]
57388         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57389         up arguments below 2**-450, not just those below 2**-500.
57390         * math/libm-test.inc (hypot_test): Add another test.
57392         [BZ #14868]
57393         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57394         Return a+b for ratio over 2**120, not 2**60.
57395         * math/libm-test.inc (hypot_test): Add another test.
57397         * math/libm-test.inc (clog_test): Use
57398         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57399         (clog10_test): Likewise.
57401         [BZ #6778]
57402         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57404 2012-11-22  Andreas Schwab  <schwab@suse.de>
57406         * sysdeps/i386/fpu/libm-test-ulps: Update.
57408 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57410         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57411         printf output with newline.
57413 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57415         [BZ #14865]
57416         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57417         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57418         -z nodlopen, -z initfirst and -z execstack support.
57419         * configure: Regenerated.
57421         * elf/elf.h (DF_1_NODIRECT): New macro.
57422         (DF_1_IGNMULDEF): Likewise.
57423         (DF_1_NOKSYMS): Likewise.
57424         (DF_1_NOHDR): Likewise.
57425         (DF_1_EDITED): Likewise.
57426         (DF_1_NORELOC): Likewise.
57427         (DF_1_SYMINTPOSE): Likewise.
57428         (DF_1_GLOBAUDIT): Likewise.
57429         (DF_1_SINGLETON): Likewise.
57430         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57431         DT_1_SUPPORTED_MASK bits.
57432         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57434 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57436         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57438 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57440         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57441         macro.
57443         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57444         (sendmmsg): Move declarations...
57445         * socket/sys/socket.h: ... here.
57446         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57447         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57448         include it from...
57449         * socket/recvmmsg.c: ... this new file.
57450         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57451         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57452         definition of __sendmmsg hidden.
57453         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57454         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57455         Move ENOSYS stub into and include it from...
57456         * socket/sendmmsg.c: ... this new file.
57457         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57458         (sysdep_routines): Move recvmmsg and sendmmsg...
57459         * socket/Makefile (routines): ... here.
57460         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57461         (GLIBC_PRIVATE): Add __sendmmsg.
57462         * include/sys/socket.h (__sendmmsg): Add declarations.
57463         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57464         sendmmsg.
57466 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57468         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57469         variable I1 with __attribute__ ((unused)).
57470         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57472 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57474         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57475         DUMMY variables with __attribute__ ((unused)).
57477         * bits/byteswap.h: Include <bits/types.h>.
57478         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57480 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57482         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57483         string_t.  Do not manually set errno.
57484         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57485         length with __strnlen.  Make sure to both set errno and return it on
57486         failure.
57488 2012-11-19  David S. Miller  <davem@davemloft.net>
57490         With help from Joseph Myers.
57491         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57492         very large arguments properly.
57493         * math/libm-test.inc (atan_test): New tests.
57494         (atan2_test): New tests.
57495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57498 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57500         [BZ #14856]
57501         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57502         Define to 3.
57504         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57505         [POSIX] (EADDRNOTAVAIL): Likewise.
57506         [POSIX] (EAFNOSUPPORT): Likewise.
57507         [POSIX] (EALREADY): Likewise.
57508         [POSIX] (ECONNABORTED): Likewise.
57509         [POSIX] (ECONNREFUSED): Likewise.
57510         [POSIX] (ECONNRESET): Likewise.
57511         [POSIX] (EDESTADDRREQ): Likewise.
57512         [POSIX] (EDQUOT): Likewise.
57513         [POSIX] (EHOSTUNREACH): Likewise.
57514         [POSIX] (EIDRM): Likewise.
57515         [POSIX] (EISCONN): Likewise.
57516         [POSIX] (ELOOP): Likewise.
57517         [POSIX] (EMULTIHOP): Likewise.
57518         [POSIX] (ENETDOWN): Likewise.
57519         [POSIX] (ENETUNREACH): Likewise.
57520         [POSIX] (ENOBUFS): Likewise.
57521         [POSIX] (ENODATA): Likewise.
57522         [POSIX] (ENOLINK): Likewise.
57523         [POSIX] (ENOMSG): Likewise.
57524         [POSIX] (ENOPROTOOPT): Likewise.
57525         [POSIX] (ENOSR): Likewise.
57526         [POSIX] (ENOSTR): Likewise.
57527         [POSIX] (ENOTCONN): Likewise.
57528         [POSIX] (ENOTSOCK): Likewise.
57529         [POSIX] (EOPNOTSUPP): Likewise.
57530         [POSIX] (EOVERFLOW): Likewise.
57531         [POSIX] (EPROTO): Likewise.
57532         [POSIX] (EPROTONOSUPPORT): Likewise.
57533         [POSIX] (EPROTOTYPE): Likewise.
57534         [POSIX] (ESTALE): Likewise.
57535         [POSIX] (ETIME): Likewise.
57536         [POSIX] (ETXTBSY): Likewise.
57537         [POSIX] (EWOULDBLOCK): Likewise.
57538         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57539         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57540         [POSIX] (SEEK_CUR): Likewise.
57541         [POSIX] (SEEK_END): Likewise.
57542         [POSIX || UNIX98] (mode_t): Do not require.
57543         [POSIX] (off_t): Likewise.
57544         [POSIX] (pid_t): Likewise.
57545         [POSIX] (sys/stat.h): Do not allow header.
57546         [POSIX] (unistd.h): Likewise.
57547         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57548         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57549         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57550         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57551         require.
57552         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57553         sigevent): Specify elements.
57554         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57555         entry.
57556         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57557         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57559         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57560         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57561         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57562         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57563         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57564         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57565         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57566         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57567         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57568         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57569         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57570         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57571         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57572         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57573         Likewise.
57574         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57575         Likewise.
57576         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57577         Likewise.
57578         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57579         Likewise.
57580         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57581         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57582         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57583         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57584         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57585         Specify lower bound on value.
57586         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57587         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57588         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57589         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57590         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57591         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57592         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57593         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57594         value.
57595         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57596         as optional.
57597         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57598         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57599         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57600         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57601         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57602         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57603         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57604         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57605         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57606         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57607         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57608         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57609         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57610         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57611         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57612         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57613         entry.
57614         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57615         optional.
57616         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57617         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57618         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57619         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57620         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57621         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57622         Likewise.
57623         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57624         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57625         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57626         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57627         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57628         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57629         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57630         as optional.
57631         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57632         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57633         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57634         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57635         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57636         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57637         specify as optional.
57638         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57639         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57640         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57641         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57642         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57643         [XPG3] (NL_LANGMAX): Likewise.
57644         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57645         [POSIX || XPG3] (NL_NMAX): Likewise.
57646         [POSIX || XPG3] (NL_SETMAX): Likewise.
57647         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57648         [XPG3] (NZERO): Likewise.
57649         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57650         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57651         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57652         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57653         (REG_ERANGE): Expect.
57654         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57655         optional-constant.
57656         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57657         Use (void) in prototype.
57658         [POSIX] (*_t): Allow.
57659         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57660         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57661         (WRDE_BADVAL): Expect.
57663         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57664         expect.
57665         [XPG3 || XPG4] (O_RSYNC): Likewise.
57666         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57667         Likewise.
57668         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57669         [XPG3 || XPG4] (sigqueue): Likewise.
57670         [XPG3 || XPG4] (sigtimedwait): Likewise.
57671         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57672         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57673         [XPG3 || XPG4] (vsnprintf): Likewise.
57674         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57675         Likewise.
57676         [XPG3 || XPG4] (blksize_t): Likewise.
57677         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57678         Likewise.
57679         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57680         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57681         [XPG3 || XPG4] (struct itimerspec): Likewise.
57682         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57683         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57684         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57685         [XPG3 || XPG4] (clockid_t): Likewise.
57686         [XPG3 || XPG4] (timer_t): Likewise.
57687         [XPG3 || XPG4] (clock_getres): Likewise.
57688         [XPG3 || XPG4] (clock_gettime): Likewise.
57689         [XPG3 || XPG4] (clock_settime): Likewise.
57690         [XPG3 || XPG4] (nanosleep): Likewise.
57691         [XPG3 || XPG4] (timer_create): Likewise.
57692         [XPG3 || XPG4] (timer_delete): Likewise.
57693         [XPG3 || XPG4] (timer_gettime): Likewise.
57694         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57695         [XPG3 || XPG4] (timer_settime): Likewise.
57696         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57697         [XPG3 || XPG4] (getlogin_r): Likewise.
57698         [XPG3 || XPG4] (pread): Likewise.
57699         [XPG3 || XPG4] (pthread_atfork): Likewise.
57700         [XPG3 || XPG4] (pwrite): Likewise.
57702         [BZ #14835]
57703         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57704         <bits/siginfo.h>.
57706 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57708         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57709         finalizing MALLSTREAM.
57711         * sysdeps/mach/hurd/syncfs.c: New file.
57713 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57715         [BZ #14719]
57716         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57717         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57718         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57719         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57720         (_nss_dns_gethostbyname4_r): Likewise.
57721         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57722         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57724 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57726         [BZ #13763]
57727         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57729 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57731         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57732         * elf/cache.c (print_entry): Print ",AArch64" for
57733         FLAG_AARCH64_LIB64
57735         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57736         * elf/cache.c (print_entry): Print ",hard-float" for
57737         FLAG_ARM_LIBHF.
57739 2012-11-18  David S. Miller  <davem@davemloft.net>
57741         With help from Joseph Myers.
57742         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57743         cutoff to 2**-13.
57744         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57745         cutoff to 2**-25.
57746         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57747         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57748         small.
57749         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57750         * math/libm-test.inc (y0_test): New tests.
57751         (y1_test): New tests.
57752         * sysdeps/i386/fpu/libm-test-ulps: Update.
57753         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57756 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57758         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57759         64-bit targets.
57760         * configure: Regenerated.
57762 2012-11-17  David S. Miller  <davem@davemloft.net>
57764         [BZ #14811]
57765         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57766         nonzero exponents with absolute value below 0x1p-128 to +/-
57767         0x1p-128.
57769 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57771         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57773         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57775         * posix/getconf-speclist.c: New file.
57776         * posix/posix-envs.def: Likewise.
57777         * posix/confstr.c (START_ENV_GROUP): New macro.
57778         (END_ENV_GROUP): Likewise.
57779         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57780         (KNOWN_PRESENT_ENV_STRING): Likewise.
57781         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57782         (UNKNOWN_ENVIRONMENT): Likewise.
57783         (confstr): Include posix-envs.def instead of handling
57784         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57785         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57786         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57787         (END_ENV_GROUP): Likewise.
57788         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57789         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57790         (UNKNOWN_ENVIRONMENT): Likewise.
57791         (__sysconf): Include posix-envs.def instead of handling associated
57792         cases directly here.
57793         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57794         preprocessing getconf-speclist.c rather than running getconf or
57795         generating empty file.
57797 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57799         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57801 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57803         [BZ #14672]
57804         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57806 2012-11-16  David S. Miller  <davem@davemloft.net>
57808         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57809         smaller than LDBL_EPSILON/2.0L, just return xm1.
57811 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57813         * elf/tst-array1.c (init): Set constructor priority to 1000.
57814         (fini): Set destructor priority to 1000.
57815         * elf/tst-array2dep.c: Likewise.
57817 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57819         [BZ #11741]
57820         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57821         (_IO_new_file_xsputn): Also return EOF if none of the input
57822         data was written when overflow failed.
57823         * libio/iopadn.c (_IO_padn): Likewise.
57824         * libio/iowpadn.c (_IO_wpadn): Likewise.
57825         * stdio-common/tst-put-error.c: Add copyright notice.
57826         (do_test): Add case for printing padded string.
57827         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57828         _IO_padn returned error.
57829         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57830         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57831         return EOF.
57833 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57835         * libio/libioP.h: Add comment note that the references to C++
57836         bits are now obsolete.
57838 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57840         * math/libm-test.inc (check_complex): Use asprintf.
57842 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57844         * debug/pcprofiledump.c (print_version): Update copyright year.
57845         * malloc/memusagestat.c (print_version): Likewise.
57847 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57849         [BZ #14831]
57850         * elf/Makefile (tests): Add tst-audit8.
57851         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57852         ($(objpfx)tst-audit8.out): New target.
57853         (tst-audit8-ENV): New variable.
57854         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57855         audit if l_reloc_result is NULL.
57856         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57857         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57858         * elf/tst-audit8.c: New file.
57860 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57862         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57863         * misc/Makefile (CFLAGS-select.c): Define.
57864         * posix/Makefile (CFLAGS-pause.c): Define.
57866 2012-11-13  David S. Miller  <davem@davemloft.net>
57868         * crypt/Makefile: Move test targets after toplevel Rules
57869         inclusion.  Grab any necessary sysdep routines when linking.
57870         * crypt/md5.c (md5_process_block): Remove define, we will always
57871         name it __md5_process_block.
57872         (md5_finish_ctx): Update md5_process_block call.
57873         (md5_stream): Likewise.
57874         (md5_process_bytes): Likewise.
57875         (md5_process_block): Rename to __md5_process_block and move to ...
57876         * crypt/md5-block.c: ... here.
57877         * crypt/sha256.c (sha256_process_block): Move to ...
57878         * crypt/sha256-block.c: ... here.
57879         * crypt/sha512.c (sha512_process_block): Move to ...
57880         * crypt/sha512-block.c: ... here.
57881         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57882         path.
57883         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57884         * sysdeps/sparc/sparc64/multiarch/Makefile
57885         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57886         crypt subdir.
57887         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57888         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57889         multiarch changes.
57890         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57891         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57892         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57893         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57894         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57895         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57896         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57897         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57898         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57899         file.
57900         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57901         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57902         file.
57903         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57905 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57907         * timezone/tzselect.ksh: Update from tzcode git revision
57908         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57909         * timezone/zdump.c: Likewise.
57910         * timezone/zic.c: Likewise.
57911         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57912         in TZVERSION setting, not $(PKGVERSION).
57913         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57914         REPORT_BUGS_TO settings.
57916         [BZ #14838]
57917         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57918         macro.
57920 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57922         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57923         detection to immediately after _FP_ROUND().
57924         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57925         bits are 0.
57927 2012-11-11  David S. Miller  <davem@davemloft.net>
57929         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57930         inttypes.h
57931         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57932         __close rather than their public counterparts.
57934 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57936         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57937         file.
57938         [UNIX98] (sem_timedwait): Do not expect.
57939         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57940         [XPG4 || UNIX98] (sockatmark): Do not expect.
57941         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57942         (clock_getcpuclockid): Do not expect.
57943         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57944         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57945         Do not expect.
57946         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57947         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57948         [UNIX98] (vwscanf): Likewise.
57949         [UNIX98] (vswscanf): Likewise.
57951 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57953         * timezone/version.h: Remove file.
57954         * timezone/README: Do not refer to version.h.
57955         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57956         $(objpfx)version.h.
57957         ($(objpfx)zdump.o): Likewise.
57958         ($(objpfx)version.h): New target.
57960         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57961         2012i.
57962         * timezone/README: Don't mention modification to tzselect.ksh.
57963         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57964         work on unmodified tzselect.ksh.  Substitute version numbers in
57965         tzselect.ksh.
57967         * Makefile (format-me): Remove.
57968         (INSTALL): Adjust indentation.  Use commands directly instead of
57969         using $(format-me).
57971         * aclocal.m4 (ACX_PKGVERSION): New macro.
57972         (ACX_BUGURL): Likewise.
57973         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57974         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57975         (REPORT_BUGS_TO): Likewise.
57976         * configure: Regenerated.
57977         * config.h.in (PKGVERSION): New macro.
57978         (REPORT_BUGS_TO): Likewise.
57979         * config.make.in (PKGVERSION): New variable.
57980         (PKGVERSION_TEXI): Likewise.
57981         (REPORT_BUGS_TO): Likewise.
57982         (REPORT_BUGS_TEXI): Likewise.
57983         * Makefile (format-me): Use -I$(common-objpfx)manual.
57984         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57985         ($(common-objpfx)manual/%): New target.
57986         (manual/%): Remove target.
57987         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57988         (print_version): Use PKGVERSION.
57989         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57990         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57991         and REPORT_BUGS_TO.
57992         ($(objpfx)xtrace): Likewise.
57993         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57994         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57995         (print_version): Use PKGVERSION.
57996         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57997         (do_version): Use PKGVERSION.
57998         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57999         REPORT_BUGS_TO.
58000         (common-ldd-rewrite): Likewise.
58001         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58002         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58003         (print_version): Use PKGVERSION.
58004         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58005         * elf/pldd.c (argp_program_bug_address): Remove variable.
58006         (more_help): New function.
58007         (argp): Use more_help.
58008         (print_version): Use PKGVERSION.
58009         * elf/sln.c (main): Use PKGVERSION.
58010         (usage): Use REPORT_BUGS_TO.
58011         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58012         (top level): Use PKGVERSION.
58013         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58014         (print_version): Use PKGVERSION.
58015         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58016         (print_version): Use PKGVERSION.
58017         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58018         (print_version): Use PKGVERSION.
58019         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58020         (print_version): Use PKGVERSION.
58021         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58022         (print_version): Use PKGVERSION.
58023         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58024         (print_version): Use PKGVERSION.
58025         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58026         and BUGURL.
58027         ($(objpfx)memusage): Likewise.
58028         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58029         (do_version): Use PKGVERSION.
58030         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58031         (print_version): Use PKGVERSION.
58032         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58033         ($PKGVERSION): New variable.
58034         ($REPORT_BUGS_TO): Likewise.
58035         (usage): Use $REPORT_BUGS_TO.
58036         (top level): Use $PKGVERSION.
58037         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58038         ($(objpfx)pkgvers.texi): New rule.
58039         ($(objpfx)stamp-pkgvers): Likewise.
58040         * manual/install.texi: Include pkgvers.texi.
58041         (--with-pkgversion): Document new configure option.
58042         (--with-bugurl): Likewise.
58043         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58044         than necessarily for this particular distribution.  Use
58045         REPORT_BUGS_TO for where to report bugs.
58046         * INSTALL: Regenerated.
58047         * manual/libc.texinfo: Include pkgvers.texi.
58048         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58049         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58050         (print_version): Use PKGVERSION.
58051         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58052         (print_version): Use PKGVERSION.
58053         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58054         (print_version): Use PKGVERSION.
58055         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58056         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58057         macro.
58058         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58059         (print_version): Use PKGVERSION.
58060         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58061         (print_version): Use PKGVERSION.
58062         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58063         and PKGVERSION.
58065         * timezone/checktab.awk: Update from tzcode 2012i.
58066         * timezone/ialloc.c: Likewise.
58067         * timezone/private.h: Likewise.
58068         * timezone/scheck.c: Likewise.
58069         * timezone/tzfile.h: Likewise.
58070         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58071         (TZVERSION): Hardcode tzcode version number.
58072         * timezone/zdump.c: Update from tzcode 2012i.
58073         * timezone/zic.c: Likewise.
58074         * timezone/version.h: New file.
58075         * timezone/README: Describe version.h.  Update upstream location.
58077         [BZ #14824]
58078         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58079         (mktemp): Enable declaration.
58080         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58081         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58082         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58083         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58084         Likewise.
58085         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58086         Likewise.
58087         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58088         Likewise.
58089         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58090         Likewise.
58091         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58092         Likewise.
58093         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58094         Likewise.
58096         [BZ #14821]
58097         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58098         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58099         for copies of such integer values.
58100         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58101         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58103 2012-11-09  Andreas Jaeger  <aj@suse.de>
58105         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58106         definitions and declarations that are provided by
58107         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58109 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58111         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58112         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58113         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58114         definition.
58116 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58118         * elf/elf.h: Update comment before AArch64 relocations.
58120 2012-11-07  David S. Miller  <davem@davemloft.net>
58122         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58123         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58124         (__start_context): Declare.
58125         (__makecontext_ret): Delete.
58126         (__makecontext): Hook up __start_context instead of
58127         __makecontext_ret.
58128         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58129         (sysdep_routines): Add __start_context when in stdlib.
58131 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58133         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58134         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58135         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58136         hardcoded "nm".
58137         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58138         (READELF): New variable.  Use it instead of hardcoded "readelf".
58140 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58142         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58143         * sysdeps/x86/Makefile: Here.
58144         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58145         * sysdeps/x86/tst-xmmymm.sh: This.
58147 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58149         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58150         expectations.
58151         [UNIX98] (pthread_barrier_t): Do not expect.
58152         [UNIX98] (pthread_barrierattr_t): Likewise.
58153         [UNIX98] (pthread_spinlock_t): Likewise.
58154         [UNIX98] (pthread_barrier_destroy): Likewise.
58155         [UNIX98] (pthread_barrier_init): Likewise.
58156         [UNIX98] (pthread_barrier_wait): Likewise.
58157         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58158         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58159         [UNIX98] (pthread_barrierattr_init): Likewise.
58160         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58161         [UNIX98] (pthread_getcpuclockid): Likewise.
58162         [UNIX98] (pthread_mutex_timedlock): Likewise.
58163         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58164         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58165         [UNIX98] (pthread_sigmask): Likewise.
58166         [UNIX98] (pthread_spin_destroy): Likewise.
58167         [UNIX98] (pthread_spin_init): Likewise.
58168         [UNIX98] (pthread_spin_lock): Likewise.
58169         [UNIX98] (pthread_spin_trylock): Likewise.
58170         [UNIX98] (pthread_spin_unlock): Likewise.
58171         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58172         Do not expect.
58173         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58174         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58175         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58176         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58177         [XPG3 || XPG4] (pthread_key_t): Likewise.
58178         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58179         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58180         [XPG3 || XPG4] (pthread_once_t): Likewise.
58181         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58182         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58183         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58184         [XPG3 || XPG4] (pthread_t): Likewise.
58186         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58187         not expect.
58188         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58190         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58191         Change function return type to int.
58193         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58194         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58195         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58196         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58197         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58198         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58199         [!POSIX] (posix_madvise): Likewise.
58200         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58201         && !UNIX98].
58202         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58203         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58204         (mode_t): Likewise.
58205         (posix_mem_offset): Likewise.
58206         (posix_typed_mem_get_info): Likewise.
58207         (posix_typed_mem_open): Likewise.
58209         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58210         Change condition to [XOPEN2K8].
58212         * conform/conformtest.pl: Preprocess allow-header data with -x c
58213         instead of from stdin.
58214         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58215         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58216         [C99-based standards] (cerfc): Likewise.
58217         [C99-based standards] (cexp2): Likewise.
58218         [C99-based standards] (cexpm1): Likewise.
58219         [C99-based standards] (clog10): Likewise.
58220         [C99-based standards] (clog1p): Likewise.
58221         [C99-based standards] (clog2): Likewise.
58222         [C99-based standards] (clgamma): Likewise.
58223         [C99-based standards] (ctgamma): Likewise.
58224         [C99-based standards] (cerff): Likewise.
58225         [C99-based standards] (cerfcf): Likewise.
58226         [C99-based standards] (cexp2f): Likewise.
58227         [C99-based standards] (cexpm1f): Likewise.
58228         [C99-based standards] (clog10f): Likewise.
58229         [C99-based standards] (clog1pf): Likewise.
58230         [C99-based standards] (clog2f): Likewise.
58231         [C99-based standards] (clgammaf): Likewise.
58232         [C99-based standards] (ctgammaf): Likewise.
58233         [C99-based standards] (cerfl): Likewise.
58234         [C99-based standards] (cerfcl): Likewise.
58235         [C99-based standards] (cexp2l): Likewise.
58236         [C99-based standards] (cexpm1l): Likewise.
58237         [C99-based standards] (clog10l): Likewise.
58238         [C99-based standards] (clog1pl): Likewise.
58239         [C99-based standards] (clog2l): Likewise.
58240         [C99-based standards] (clgammal): Likewise.
58241         [C99-based standards] (ctgammal): Likewise.
58242         * conform/data/inttypes.h-data [C99-based standards]: Include
58243         stdint.h-data.  Remove all expectations for stdint.h contents.
58244         [C99-based standards] (PRI*): Do not allow.
58245         [C99-based standards] (SCN*): Likewise.
58246         [C99-based standards] (*_t): Likewise.
58247         [C99-based-standards] (PRId8): Expect macro.
58248         [C99-based-standards] (PRIi8): Likewise.
58249         [C99-based-standards] (PRIo8): Likewise.
58250         [C99-based-standards] (PRIu8): Likewise.
58251         [C99-based-standards] (PRIx8): Likewise.
58252         [C99-based-standards] (PRIX8): Likewise.
58253         [C99-based-standards] (SCNd8): Likewise.
58254         [C99-based-standards] (SCNi8): Likewise.
58255         [C99-based-standards] (SCNo8): Likewise.
58256         [C99-based-standards] (SCNu8): Likewise.
58257         [C99-based-standards] (SCNx8): Likewise.
58258         [C99-based-standards] (PRIdLEAST8): Likewise.
58259         [C99-based-standards] (PRIiLEAST8): Likewise.
58260         [C99-based-standards] (PRIoLEAST8): Likewise.
58261         [C99-based-standards] (PRIuLEAST8): Likewise.
58262         [C99-based-standards] (PRIxLEAST8): Likewise.
58263         [C99-based-standards] (PRIXLEAST8): Likewise.
58264         [C99-based-standards] (SCNdLEAST8): Likewise.
58265         [C99-based-standards] (SCNiLEAST8): Likewise.
58266         [C99-based-standards] (SCNoLEAST8): Likewise.
58267         [C99-based-standards] (SCNuLEAST8): Likewise.
58268         [C99-based-standards] (SCNxLEAST8): Likewise.
58269         [C99-based-standards] (PRIdFAST8): Likewise.
58270         [C99-based-standards] (PRIiFAST8): Likewise.
58271         [C99-based-standards] (PRIoFAST8): Likewise.
58272         [C99-based-standards] (PRIuFAST8): Likewise.
58273         [C99-based-standards] (PRIxFAST8): Likewise.
58274         [C99-based-standards] (PRIXFAST8): Likewise.
58275         [C99-based-standards] (SCNdFAST8): Likewise.
58276         [C99-based-standards] (SCNiFAST8): Likewise.
58277         [C99-based-standards] (SCNoFAST8): Likewise.
58278         [C99-based-standards] (SCNuFAST8): Likewise.
58279         [C99-based-standards] (SCNxFAST8): Likewise.
58280         [C99-based-standards] (PRId16): Likewise.
58281         [C99-based-standards] (PRIi16): Likewise.
58282         [C99-based-standards] (PRIo16): Likewise.
58283         [C99-based-standards] (PRIu16): Likewise.
58284         [C99-based-standards] (PRIx16): Likewise.
58285         [C99-based-standards] (PRIX16): Likewise.
58286         [C99-based-standards] (SCNd16): Likewise.
58287         [C99-based-standards] (SCNi16): Likewise.
58288         [C99-based-standards] (SCNo16): Likewise.
58289         [C99-based-standards] (SCNu16): Likewise.
58290         [C99-based-standards] (SCNx16): Likewise.
58291         [C99-based-standards] (PRIdLEAST16): Likewise.
58292         [C99-based-standards] (PRIiLEAST16): Likewise.
58293         [C99-based-standards] (PRIoLEAST16): Likewise.
58294         [C99-based-standards] (PRIuLEAST16): Likewise.
58295         [C99-based-standards] (PRIxLEAST16): Likewise.
58296         [C99-based-standards] (PRIXLEAST16): Likewise.
58297         [C99-based-standards] (SCNdLEAST16): Likewise.
58298         [C99-based-standards] (SCNiLEAST16): Likewise.
58299         [C99-based-standards] (SCNoLEAST16): Likewise.
58300         [C99-based-standards] (SCNuLEAST16): Likewise.
58301         [C99-based-standards] (SCNxLEAST16): Likewise.
58302         [C99-based-standards] (PRIdFAST16): Likewise.
58303         [C99-based-standards] (PRIiFAST16): Likewise.
58304         [C99-based-standards] (PRIoFAST16): Likewise.
58305         [C99-based-standards] (PRIuFAST16): Likewise.
58306         [C99-based-standards] (PRIxFAST16): Likewise.
58307         [C99-based-standards] (PRIXFAST16): Likewise.
58308         [C99-based-standards] (SCNdFAST16): Likewise.
58309         [C99-based-standards] (SCNiFAST16): Likewise.
58310         [C99-based-standards] (SCNoFAST16): Likewise.
58311         [C99-based-standards] (SCNuFAST16): Likewise.
58312         [C99-based-standards] (SCNxFAST16): Likewise.
58313         [C99-based-standards] (PRId32): Likewise.
58314         [C99-based-standards] (PRIi32): Likewise.
58315         [C99-based-standards] (PRIo32): Likewise.
58316         [C99-based-standards] (PRIu32): Likewise.
58317         [C99-based-standards] (PRIx32): Likewise.
58318         [C99-based-standards] (PRIX32): Likewise.
58319         [C99-based-standards] (SCNd32): Likewise.
58320         [C99-based-standards] (SCNi32): Likewise.
58321         [C99-based-standards] (SCNo32): Likewise.
58322         [C99-based-standards] (SCNu32): Likewise.
58323         [C99-based-standards] (SCNx32): Likewise.
58324         [C99-based-standards] (PRIdLEAST32): Likewise.
58325         [C99-based-standards] (PRIiLEAST32): Likewise.
58326         [C99-based-standards] (PRIoLEAST32): Likewise.
58327         [C99-based-standards] (PRIuLEAST32): Likewise.
58328         [C99-based-standards] (PRIxLEAST32): Likewise.
58329         [C99-based-standards] (PRIXLEAST32): Likewise.
58330         [C99-based-standards] (SCNdLEAST32): Likewise.
58331         [C99-based-standards] (SCNiLEAST32): Likewise.
58332         [C99-based-standards] (SCNoLEAST32): Likewise.
58333         [C99-based-standards] (SCNuLEAST32): Likewise.
58334         [C99-based-standards] (SCNxLEAST32): Likewise.
58335         [C99-based-standards] (PRIdFAST32): Likewise.
58336         [C99-based-standards] (PRIiFAST32): Likewise.
58337         [C99-based-standards] (PRIoFAST32): Likewise.
58338         [C99-based-standards] (PRIuFAST32): Likewise.
58339         [C99-based-standards] (PRIxFAST32): Likewise.
58340         [C99-based-standards] (PRIXFAST32): Likewise.
58341         [C99-based-standards] (SCNdFAST32): Likewise.
58342         [C99-based-standards] (SCNiFAST32): Likewise.
58343         [C99-based-standards] (SCNoFAST32): Likewise.
58344         [C99-based-standards] (SCNuFAST32): Likewise.
58345         [C99-based-standards] (SCNxFAST32): Likewise.
58346         [C99-based-standards] (PRId64): Likewise.
58347         [C99-based-standards] (PRIi64): Likewise.
58348         [C99-based-standards] (PRIo64): Likewise.
58349         [C99-based-standards] (PRIu64): Likewise.
58350         [C99-based-standards] (PRIx64): Likewise.
58351         [C99-based-standards] (PRIX64): Likewise.
58352         [C99-based-standards] (SCNd64): Likewise.
58353         [C99-based-standards] (SCNi64): Likewise.
58354         [C99-based-standards] (SCNo64): Likewise.
58355         [C99-based-standards] (SCNu64): Likewise.
58356         [C99-based-standards] (SCNx64): Likewise.
58357         [C99-based-standards] (PRIdLEAST64): Likewise.
58358         [C99-based-standards] (PRIiLEAST64): Likewise.
58359         [C99-based-standards] (PRIoLEAST64): Likewise.
58360         [C99-based-standards] (PRIuLEAST64): Likewise.
58361         [C99-based-standards] (PRIxLEAST64): Likewise.
58362         [C99-based-standards] (PRIXLEAST64): Likewise.
58363         [C99-based-standards] (SCNdLEAST64): Likewise.
58364         [C99-based-standards] (SCNiLEAST64): Likewise.
58365         [C99-based-standards] (SCNoLEAST64): Likewise.
58366         [C99-based-standards] (SCNuLEAST64): Likewise.
58367         [C99-based-standards] (SCNxLEAST64): Likewise.
58368         [C99-based-standards] (PRIdFAST64): Likewise.
58369         [C99-based-standards] (PRIiFAST64): Likewise.
58370         [C99-based-standards] (PRIoFAST64): Likewise.
58371         [C99-based-standards] (PRIuFAST64): Likewise.
58372         [C99-based-standards] (PRIxFAST64): Likewise.
58373         [C99-based-standards] (PRIXFAST64): Likewise.
58374         [C99-based-standards] (SCNdFAST64): Likewise.
58375         [C99-based-standards] (SCNiFAST64): Likewise.
58376         [C99-based-standards] (SCNoFAST64): Likewise.
58377         [C99-based-standards] (SCNuFAST64): Likewise.
58378         [C99-based-standards] (SCNxFAST64): Likewise.
58379         [C99-based-standards] (PRIdMAX): Likewise.
58380         [C99-based-standards] (PRIiMAX): Likewise.
58381         [C99-based-standards] (PRIoMAX): Likewise.
58382         [C99-based-standards] (PRIuMAX): Likewise.
58383         [C99-based-standards] (PRIxMAX): Likewise.
58384         [C99-based-standards] (PRIXMAX): Likewise.
58385         [C99-based-standards] (SCNdMAX): Likewise.
58386         [C99-based-standards] (SCNiMAX): Likewise.
58387         [C99-based-standards] (SCNoMAX): Likewise.
58388         [C99-based-standards] (SCNuMAX): Likewise.
58389         [C99-based-standards] (SCNxMAX): Likewise.
58390         [C99-based-standards] (PRIdPTR): Likewise.
58391         [C99-based-standards] (PRIiPTR): Likewise.
58392         [C99-based-standards] (PRIoPTR): Likewise.
58393         [C99-based-standards] (PRIuPTR): Likewise.
58394         [C99-based-standards] (PRIxPTR): Likewise.
58395         [C99-based-standards] (PRIXPTR): Likewise.
58396         [C99-based-standards] (SCNdPTR): Likewise.
58397         [C99-based-standards] (SCNiPTR): Likewise.
58398         [C99-based-standards] (SCNoPTR): Likewise.
58399         [C99-based-standards] (SCNuPTR): Likewise.
58400         [C99-based-standards] (SCNxPTR): Likewise.
58401         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58402         allow.
58403         * conform/data/stdint.h-data: Update comments to clarify
58404         requirements.
58405         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58406         type.
58407         [C99-based standards] (INT8_MAX): Likewise.
58408         [C99-based standards] (INT16_MIN): Likewise.
58409         [C99-based standards] (INT16_MAX): Likewise.
58410         [C99-based standards] (INT32_MIN): Likewise.
58411         [C99-based standards] (INT32_MAX): Likewise.
58412         [C99-based standards] (INT64_MIN): Likewise.
58413         [C99-based standards] (INT64_MAX): Likewise.
58414         [C99-based standards] (UINT8_MAX): Likewise.
58415         [C99-based standards] (UINT16_MAX): Likewise.
58416         [C99-based standards] (UINT32_MAX): Likewise.
58417         [C99-based standards] (UINT64_MAX): Likewise.
58418         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58419         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58420         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58421         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58422         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58423         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58424         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58425         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58426         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58427         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58428         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58429         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58430         [C99-based standards] (INT_FAST8_MIN): Likewise.
58431         [C99-based standards] (INT_FAST8_MAX): Likewise.
58432         [C99-based standards] (INT_FAST16_MIN): Likewise.
58433         [C99-based standards] (INT_FAST16_MAX): Likewise.
58434         [C99-based standards] (INT_FAST32_MIN): Likewise.
58435         [C99-based standards] (INT_FAST32_MAX): Likewise.
58436         [C99-based standards] (INT_FAST64_MIN): Likewise.
58437         [C99-based standards] (INT_FAST64_MAX): Likewise.
58438         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58439         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58440         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58441         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58442         [C99-based standards] (INTPTR_MIN): Likewise.
58443         [C99-based standards] (INTPTR_MAX): Likewise.
58444         [C99-based standards] (UINTPTR_MAX): Likewise.
58445         [C99-based standards] (INTMAX_MIN): Likewise.
58446         [C99-based standards] (INTMAX_MAX): Likewise.
58447         [C99-based standards] (UINTMAX_MAX): Likewise.
58448         [C99-based standards] (PTRDIFF_MIN): Likewise.
58449         [C99-based standards] (PTRDIFF_MAX): Likewise.
58450         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58451         [C99-based standards] (SIZE_MAX): Likewise.
58452         [C99-based standards] (WCHAR_MAX): Likewise.
58453         [C99-based standards] (WINT_MAX): Likewise.
58454         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58455         constraint on value.
58456         [C99-based standards] (WCHAR_MIN): Likewise.
58457         [C99-based standards] (WINT_MIN): Likewise.
58458         [C99-based standards] (*_t): Allow.
58459         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58460         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58461         Include math.h-data and complex.h-data.  Remove all expectations
58462         of math.h and complex.h contents.
58463         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58464         at end of line.
58465         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58466         (struct tm): Expect tag.
58467         [C99-based-standards] (wcstof): Expect function.
58468         [C99-based-standards] (wcstold): Likewise.
58469         [C99-based-standards] (wcstoll): Likewise.
58470         [C99-based-standards] (wcstoull): Likewise.
58471         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58472         macro-int-constant.  Specify type.
58473         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58474         constraint on value.
58475         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58476         Specify type.
58477         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58478         Specify value.
58479         [ISO C standards]: Do not allow headers.
58480         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58481         wcs[abcdefghijklmnopqrstuvwxyz]*.
58482         [ISO C standards] (*_t): Do not allow.
58483         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58484         Expect function.
58485         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58486         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58487         Specify type.
58488         [ISO C standards]: Do not allow headers.
58489         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58490         is[abcdefghijklmnopqrstuvwxyz]*.
58491         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58492         to[abcdefghijklmnopqrstuvwxyz]*.
58493         [ISO C standards] (*_t): Do not allow.
58494         * conform/data/stdalign.h-data: New file.
58495         * conform/data/stdbool.h-data: Likewise.
58496         * conform/data/stdnoreturn.h-data: Likewise.
58498 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58500         [BZ #14815]
58501         * manual/filesys.texi (Directory Entries): Typo fix.
58502         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58504 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58506         * elf/elf.h (EM_AARCH64): New macro.
58507         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58508         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58509         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58510         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58511         (R_AARCH64_TLSDESC): Likewise.
58512         (NT_ARM_TLS): Likewise.
58513         (NT_ARM_HW_BREAK): Likewise.
58514         (NT_ARM_HW_WATCH): Likewise.
58516 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58518         [BZ #14811]
58519         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58520         (__ieee754_powl): Saturate nonzero exponents with absolute value
58521         below 0x1p-79 to +/- 0x1p-79.
58522         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58523         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58524         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58525         nonzero exponents with absolute value below 0x1p-32 to +/-
58526         0x1p-32.
58527         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58528         (__ieee754_powl): Saturate nonzero exponents with absolute value
58529         below 0x1p-79 to +/- 0x1p-79.
58530         * math/libm-test.inc (pow_test): Add more tests.
58532 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58534         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58535         _dl_s390_cap_flags with kernel. Increase string length.
58536         (_dl_s390_platforms): Add z196 and zEC12.
58538 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58540         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58541         Change XOPEN21K to XOPEN2K.
58543 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58545         * string/memmove.c: Use memcpy when possible.
58547 2012-11-06  Andreas Jaeger  <aj@suse.de>
58549         * po/eo.po: Update from translation team.
58551 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58553         [BZ #14793]
58554         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58555         exponent and small x and y exponents, scale x or y up.  Increase
58556         by 2 the exponent used in scaling up.
58557         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58558         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58559         * math/libm-test.inc (fma_test): Add more tests.
58560         (fma_test_towardzero): Likewise.
58561         (fma_test_downward): Likewise.
58562         (fma_test_upward): Likewise.
58564 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58566         [BZ #14805]
58567         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58568         fenv_t *.
58570         [BZ #14801]
58571         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58572         namespace for names of struct fields.
58573         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58574         fenv_t fields.
58575         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58576         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58578 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58580         [BZ #3665]
58581         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58583 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58585         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58586         PTR_DEMANGLE.
58588         [BZ #5246]
58589         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58590         PTR_DEMANGLE.
58592 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58594         [BZ #14797]
58595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58596         definitely overflow as x * y not x * y + z.
58597         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58598         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58599         * math/libm-test.inc (fma_test): Add more tests.
58600         (fma_test_towardzero): Likewise.
58601         (fma_test_downward): Likewise.
58602         (fma_test_upward): Likewise.
58604 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58606         [BZ #157]
58608         * include/stub-tag.h: Remove file.
58609         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58610         '#include' of it.
58611         * manual/maint.texi (Porting): Don't reference it.
58612         * Makerules ($(objpfx)stubs): Likewise.
58613         * dirent/closedir.c: Don't include <stub-tag.h>.
58614         * dirent/dirfd.c: Likewise.
58615         * dirent/fdopendir.c: Likewise.
58616         * dirent/getdents.c: Likewise.
58617         * dirent/getdents64.c: Likewise.
58618         * dirent/opendir.c: Likewise.
58619         * dirent/readdir.c: Likewise.
58620         * dirent/readdir64.c: Likewise.
58621         * dirent/readdir64_r.c: Likewise.
58622         * dirent/readdir_r.c: Likewise.
58623         * dirent/rewinddir.c: Likewise.
58624         * dirent/seekdir.c: Likewise.
58625         * dirent/telldir.c: Likewise.
58626         * gmon/profil.c: Likewise.
58627         * grp/setgroups.c: Likewise.
58628         * inet/if_index.c: Likewise.
58629         * io/access.c: Likewise.
58630         * io/chdir.c: Likewise.
58631         * io/chmod.c: Likewise.
58632         * io/chown.c: Likewise.
58633         * io/close.c: Likewise.
58634         * io/dup.c: Likewise.
58635         * io/dup2.c: Likewise.
58636         * io/dup3.c: Likewise.
58637         * io/euidaccess.c: Likewise.
58638         * io/faccessat.c: Likewise.
58639         * io/fchdir.c: Likewise.
58640         * io/fchmod.c: Likewise.
58641         * io/fchmodat.c: Likewise.
58642         * io/fchown.c: Likewise.
58643         * io/fchownat.c: Likewise.
58644         * io/fcntl.c: Likewise.
58645         * io/flock.c: Likewise.
58646         * io/fstatfs.c: Likewise.
58647         * io/fstatfs64.c: Likewise.
58648         * io/fstatvfs.c: Likewise.
58649         * io/fstatvfs64.c: Likewise.
58650         * io/futimens.c: Likewise.
58651         * io/fxstat.c: Likewise.
58652         * io/fxstat64.c: Likewise.
58653         * io/fxstatat.c: Likewise.
58654         * io/fxstatat64.c: Likewise.
58655         * io/getcwd.c: Likewise.
58656         * io/isatty.c: Likewise.
58657         * io/lchmod.c: Likewise.
58658         * io/lchown.c: Likewise.
58659         * io/link.c: Likewise.
58660         * io/linkat.c: Likewise.
58661         * io/lseek.c: Likewise.
58662         * io/lseek64.c: Likewise.
58663         * io/lxstat64.c: Likewise.
58664         * io/mkdir.c: Likewise.
58665         * io/mkdirat.c: Likewise.
58666         * io/mkfifo.c: Likewise.
58667         * io/mkfifoat.c: Likewise.
58668         * io/open.c: Likewise.
58669         * io/open64.c: Likewise.
58670         * io/openat.c: Likewise.
58671         * io/openat64.c: Likewise.
58672         * io/pipe.c: Likewise.
58673         * io/pipe2.c: Likewise.
58674         * io/poll.c: Likewise.
58675         * io/posix_fadvise.c: Likewise.
58676         * io/posix_fadvise64.c: Likewise.
58677         * io/posix_fallocate.c: Likewise.
58678         * io/posix_fallocate64.c: Likewise.
58679         * io/read.c: Likewise.
58680         * io/readlink.c: Likewise.
58681         * io/readlinkat.c: Likewise.
58682         * io/rmdir.c: Likewise.
58683         * io/sendfile.c: Likewise.
58684         * io/sendfile64.c: Likewise.
58685         * io/statfs.c: Likewise.
58686         * io/statfs64.c: Likewise.
58687         * io/statvfs.c: Likewise.
58688         * io/statvfs64.c: Likewise.
58689         * io/symlink.c: Likewise.
58690         * io/symlinkat.c: Likewise.
58691         * io/ttyname.c: Likewise.
58692         * io/ttyname_r.c: Likewise.
58693         * io/umask.c: Likewise.
58694         * io/unlink.c: Likewise.
58695         * io/unlinkat.c: Likewise.
58696         * io/utime.c: Likewise.
58697         * io/utimensat.c: Likewise.
58698         * io/write.c: Likewise.
58699         * io/xmknod.c: Likewise.
58700         * io/xmknodat.c: Likewise.
58701         * io/xstat.c: Likewise.
58702         * io/xstat64.c: Likewise.
58703         * login/getpt.c: Likewise.
58704         * login/grantpt.c: Likewise.
58705         * login/unlockpt.c: Likewise.
58706         * math/e_acoshl.c: Likewise.
58707         * math/e_acosl.c: Likewise.
58708         * math/e_asinl.c: Likewise.
58709         * math/e_atan2l.c: Likewise.
58710         * math/e_atanhl.c: Likewise.
58711         * math/e_coshl.c: Likewise.
58712         * math/e_expl.c: Likewise.
58713         * math/e_fmodl.c: Likewise.
58714         * math/e_gammal_r.c: Likewise.
58715         * math/e_hypotl.c: Likewise.
58716         * math/e_j0l.c: Likewise.
58717         * math/e_j1l.c: Likewise.
58718         * math/e_jnl.c: Likewise.
58719         * math/e_lgammal_r.c: Likewise.
58720         * math/e_log10l.c: Likewise.
58721         * math/e_log2l.c: Likewise.
58722         * math/e_logl.c: Likewise.
58723         * math/e_powl.c: Likewise.
58724         * math/e_rem_pio2l.c: Likewise.
58725         * math/e_sinhl.c: Likewise.
58726         * math/e_sqrtl.c: Likewise.
58727         * math/fclrexcpt.c: Likewise.
58728         * math/fedisblxcpt.c: Likewise.
58729         * math/feenablxcpt.c: Likewise.
58730         * math/fegetenv.c: Likewise.
58731         * math/fegetexcept.c: Likewise.
58732         * math/fegetround.c: Likewise.
58733         * math/feholdexcpt.c: Likewise.
58734         * math/fesetenv.c: Likewise.
58735         * math/fesetround.c: Likewise.
58736         * math/feupdateenv.c: Likewise.
58737         * math/fgetexcptflg.c: Likewise.
58738         * math/fraiseexcpt.c: Likewise.
58739         * math/fsetexcptflg.c: Likewise.
58740         * math/ftestexcept.c: Likewise.
58741         * math/k_cosl.c: Likewise.
58742         * math/k_rem_pio2l.c: Likewise.
58743         * math/k_sinl.c: Likewise.
58744         * math/k_tanl.c: Likewise.
58745         * math/s_asinhl.c: Likewise.
58746         * math/s_atanl.c: Likewise.
58747         * math/s_cbrtl.c: Likewise.
58748         * math/s_erfl.c: Likewise.
58749         * math/s_expm1l.c: Likewise.
58750         * math/s_log1pl.c: Likewise.
58751         * math/s_tanhl.c: Likewise.
58752         * misc/acct.c: Likewise.
58753         * misc/brk.c: Likewise.
58754         * misc/chflags.c: Likewise.
58755         * misc/chroot.c: Likewise.
58756         * misc/fchflags.c: Likewise.
58757         * misc/fgetxattr.c: Likewise.
58758         * misc/flistxattr.c: Likewise.
58759         * misc/fremovexattr.c: Likewise.
58760         * misc/fsetxattr.c: Likewise.
58761         * misc/fsync.c: Likewise.
58762         * misc/ftruncate.c: Likewise.
58763         * misc/futimes.c: Likewise.
58764         * misc/futimesat.c: Likewise.
58765         * misc/getdomain.c: Likewise.
58766         * misc/getdtsz.c: Likewise.
58767         * misc/gethostid.c: Likewise.
58768         * misc/gethostname.c: Likewise.
58769         * misc/getloadavg.c: Likewise.
58770         * misc/getpagesize.c: Likewise.
58771         * misc/getsysstats.c: Likewise.
58772         * misc/getxattr.c: Likewise.
58773         * misc/gtty.c: Likewise.
58774         * misc/ioctl.c: Likewise.
58775         * misc/lgetxattr.c: Likewise.
58776         * misc/listxattr.c: Likewise.
58777         * misc/llistxattr.c: Likewise.
58778         * misc/lremovexattr.c: Likewise.
58779         * misc/lsetxattr.c: Likewise.
58780         * misc/lutimes.c: Likewise.
58781         * misc/madvise.c: Likewise.
58782         * misc/mincore.c: Likewise.
58783         * misc/mlock.c: Likewise.
58784         * misc/mlockall.c: Likewise.
58785         * misc/mmap.c: Likewise.
58786         * misc/mprotect.c: Likewise.
58787         * misc/msync.c: Likewise.
58788         * misc/munlock.c: Likewise.
58789         * misc/munlockall.c: Likewise.
58790         * misc/munmap.c: Likewise.
58791         * misc/preadv.c: Likewise.
58792         * misc/preadv64.c: Likewise.
58793         * misc/ptrace.c: Likewise.
58794         * misc/pwritev.c: Likewise.
58795         * misc/pwritev64.c: Likewise.
58796         * misc/readv.c: Likewise.
58797         * misc/reboot.c: Likewise.
58798         * misc/remap_file_pages.c: Likewise.
58799         * misc/removexattr.c: Likewise.
58800         * misc/revoke.c: Likewise.
58801         * misc/select.c: Likewise.
58802         * misc/setdomain.c: Likewise.
58803         * misc/setegid.c: Likewise.
58804         * misc/seteuid.c: Likewise.
58805         * misc/sethostid.c: Likewise.
58806         * misc/sethostname.c: Likewise.
58807         * misc/setregid.c: Likewise.
58808         * misc/setreuid.c: Likewise.
58809         * misc/setxattr.c: Likewise.
58810         * misc/sstk.c: Likewise.
58811         * misc/stty.c: Likewise.
58812         * misc/swapoff.c: Likewise.
58813         * misc/swapon.c: Likewise.
58814         * misc/sync.c: Likewise.
58815         * misc/syncfs.c: Likewise.
58816         * misc/syscall.c: Likewise.
58817         * misc/truncate.c: Likewise.
58818         * misc/ualarm.c: Likewise.
58819         * misc/usleep.c: Likewise.
58820         * misc/ustat.c: Likewise.
58821         * misc/utimes.c: Likewise.
58822         * misc/vhangup.c: Likewise.
58823         * misc/writev.c: Likewise.
58824         * posix/_exit.c: Likewise.
58825         * posix/alarm.c: Likewise.
58826         * posix/execve.c: Likewise.
58827         * posix/fexecve.c: Likewise.
58828         * posix/fork.c: Likewise.
58829         * posix/fpathconf.c: Likewise.
58830         * posix/getaddrinfo.c: Likewise.
58831         * posix/getegid.c: Likewise.
58832         * posix/geteuid.c: Likewise.
58833         * posix/getgid.c: Likewise.
58834         * posix/getgroups.c: Likewise.
58835         * posix/getlogin.c: Likewise.
58836         * posix/getlogin_r.c: Likewise.
58837         * posix/getpgid.c: Likewise.
58838         * posix/getpid.c: Likewise.
58839         * posix/getppid.c: Likewise.
58840         * posix/getresgid.c: Likewise.
58841         * posix/getresuid.c: Likewise.
58842         * posix/getsid.c: Likewise.
58843         * posix/getuid.c: Likewise.
58844         * posix/glob64.c: Likewise.
58845         * posix/nanosleep.c: Likewise.
58846         * posix/pathconf.c: Likewise.
58847         * posix/pause.c: Likewise.
58848         * posix/posix_madvise.c: Likewise.
58849         * posix/pread.c: Likewise.
58850         * posix/pread64.c: Likewise.
58851         * posix/pwrite.c: Likewise.
58852         * posix/pwrite64.c: Likewise.
58853         * posix/sched_getaffinity.c: Likewise.
58854         * posix/sched_getp.c: Likewise.
58855         * posix/sched_gets.c: Likewise.
58856         * posix/sched_primax.c: Likewise.
58857         * posix/sched_primin.c: Likewise.
58858         * posix/sched_rr_gi.c: Likewise.
58859         * posix/sched_setaffinity.c: Likewise.
58860         * posix/sched_setp.c: Likewise.
58861         * posix/sched_sets.c: Likewise.
58862         * posix/sched_yield.c: Likewise.
58863         * posix/setgid.c: Likewise.
58864         * posix/setlogin.c: Likewise.
58865         * posix/setpgid.c: Likewise.
58866         * posix/setresgid.c: Likewise.
58867         * posix/setresuid.c: Likewise.
58868         * posix/setsid.c: Likewise.
58869         * posix/setuid.c: Likewise.
58870         * posix/sleep.c: Likewise.
58871         * posix/spawni.c: Likewise.
58872         * posix/sysconf.c: Likewise.
58873         * posix/times.c: Likewise.
58874         * posix/wait.c: Likewise.
58875         * posix/wait3.c: Likewise.
58876         * posix/wait4.c: Likewise.
58877         * posix/waitpid.c: Likewise.
58878         * resolv/gai_sigqueue.c: Likewise.
58879         * resource/getpriority.c: Likewise.
58880         * resource/getrlimit.c: Likewise.
58881         * resource/getrusage.c: Likewise.
58882         * resource/nice.c: Likewise.
58883         * resource/setpriority.c: Likewise.
58884         * resource/setrlimit.c: Likewise.
58885         * resource/ulimit.c: Likewise.
58886         * rt/aio_cancel.c: Likewise.
58887         * rt/aio_fsync.c: Likewise.
58888         * rt/aio_read.c: Likewise.
58889         * rt/aio_sigqueue.c: Likewise.
58890         * rt/aio_suspend.c: Likewise.
58891         * rt/aio_write.c: Likewise.
58892         * rt/clock_getres.c: Likewise.
58893         * rt/clock_gettime.c: Likewise.
58894         * rt/clock_nanosleep.c: Likewise.
58895         * rt/clock_settime.c: Likewise.
58896         * rt/lio_listio.c: Likewise.
58897         * rt/mq_close.c: Likewise.
58898         * rt/mq_getattr.c: Likewise.
58899         * rt/mq_notify.c: Likewise.
58900         * rt/mq_open.c: Likewise.
58901         * rt/mq_receive.c: Likewise.
58902         * rt/mq_send.c: Likewise.
58903         * rt/mq_setattr.c: Likewise.
58904         * rt/mq_timedreceive.c: Likewise.
58905         * rt/mq_timedsend.c: Likewise.
58906         * rt/mq_unlink.c: Likewise.
58907         * rt/shm_open.c: Likewise.
58908         * rt/shm_unlink.c: Likewise.
58909         * rt/timer_create.c: Likewise.
58910         * rt/timer_delete.c: Likewise.
58911         * rt/timer_getoverr.c: Likewise.
58912         * rt/timer_gettime.c: Likewise.
58913         * rt/timer_settime.c: Likewise.
58914         * setjmp/__longjmp.c: Likewise.
58915         * setjmp/setjmp.c: Likewise.
58916         * signal/kill.c: Likewise.
58917         * signal/killpg.c: Likewise.
58918         * signal/raise.c: Likewise.
58919         * signal/sigaction.c: Likewise.
58920         * signal/sigaltstack.c: Likewise.
58921         * signal/sigblock.c: Likewise.
58922         * signal/sigignore.c: Likewise.
58923         * signal/sigintr.c: Likewise.
58924         * signal/signal.c: Likewise.
58925         * signal/sigpause.c: Likewise.
58926         * signal/sigpending.c: Likewise.
58927         * signal/sigqueue.c: Likewise.
58928         * signal/sigreturn.c: Likewise.
58929         * signal/sigset.c: Likewise.
58930         * signal/sigsetmask.c: Likewise.
58931         * signal/sigstack.c: Likewise.
58932         * signal/sigsuspend.c: Likewise.
58933         * signal/sigtimedwait.c: Likewise.
58934         * signal/sigvec.c: Likewise.
58935         * signal/sigwait.c: Likewise.
58936         * signal/sigwaitinfo.c: Likewise.
58937         * signal/sysv_signal.c: Likewise.
58938         * socket/accept.c: Likewise.
58939         * socket/accept4.c: Likewise.
58940         * socket/bind.c: Likewise.
58941         * socket/connect.c: Likewise.
58942         * socket/getpeername.c: Likewise.
58943         * socket/getsockname.c: Likewise.
58944         * socket/getsockopt.c: Likewise.
58945         * socket/isfdtype.c: Likewise.
58946         * socket/listen.c: Likewise.
58947         * socket/recv.c: Likewise.
58948         * socket/recvfrom.c: Likewise.
58949         * socket/recvmsg.c: Likewise.
58950         * socket/send.c: Likewise.
58951         * socket/sendmsg.c: Likewise.
58952         * socket/sendto.c: Likewise.
58953         * socket/setsockopt.c: Likewise.
58954         * socket/shutdown.c: Likewise.
58955         * socket/sockatmark.c: Likewise.
58956         * socket/socket.c: Likewise.
58957         * socket/socketpair.c: Likewise.
58958         * stdio-common/ctermid.c: Likewise.
58959         * stdio-common/cuserid.c: Likewise.
58960         * stdio-common/remove.c: Likewise.
58961         * stdio-common/rename.c: Likewise.
58962         * stdio-common/renameat.c: Likewise.
58963         * stdio-common/tempname.c: Likewise.
58964         * stdlib/getcontext.c: Likewise.
58965         * stdlib/makecontext.c: Likewise.
58966         * stdlib/setcontext.c: Likewise.
58967         * stdlib/swapcontext.c: Likewise.
58968         * stdlib/system.c: Likewise.
58969         * streams/fattach.c: Likewise.
58970         * streams/fdetach.c: Likewise.
58971         * streams/getmsg.c: Likewise.
58972         * streams/getpmsg.c: Likewise.
58973         * streams/putmsg.c: Likewise.
58974         * streams/putpmsg.c: Likewise.
58975         * sysdeps/unix/bsd/getpt.c: Likewise.
58976         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58977         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58978         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58980         Likewise.
58981         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58982         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58983         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58984         * sysvipc/msgctl.c: Likewise.
58985         * sysvipc/msgget.c: Likewise.
58986         * sysvipc/msgrcv.c: Likewise.
58987         * sysvipc/msgsnd.c: Likewise.
58988         * sysvipc/semctl.c: Likewise.
58989         * sysvipc/semget.c: Likewise.
58990         * sysvipc/semop.c: Likewise.
58991         * sysvipc/semtimedop.c: Likewise.
58992         * sysvipc/shmat.c: Likewise.
58993         * sysvipc/shmctl.c: Likewise.
58994         * sysvipc/shmdt.c: Likewise.
58995         * sysvipc/shmget.c: Likewise.
58996         * termios/tcdrain.c: Likewise.
58997         * termios/tcflow.c: Likewise.
58998         * termios/tcflush.c: Likewise.
58999         * termios/tcgetattr.c: Likewise.
59000         * termios/tcgetpgrp.c: Likewise.
59001         * termios/tcsendbrk.c: Likewise.
59002         * termios/tcsetattr.c: Likewise.
59003         * termios/tcsetpgrp.c: Likewise.
59004         * time/adjtime.c: Likewise.
59005         * time/clock.c: Likewise.
59006         * time/getitimer.c: Likewise.
59007         * time/gettimeofday.c: Likewise.
59008         * time/setitimer.c: Likewise.
59009         * time/settimeofday.c: Likewise.
59010         * time/stime.c: Likewise.
59011         * time/time.c: Likewise.
59013 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59015         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59016         /usr/old/bin.
59018         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59019         instead of spaces.
59020         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59022 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59024         [BZ #14796]
59025         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59026         FE_TONEAREST before applying Dekker multiplication and Knuth
59027         addition.  Clear inexact exceptions and check for exact zero
59028         results afterwards.
59029         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59030         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59031         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59032         * math/libm-test.inc (fma_test): Add more tests.
59033         (fma_test_towardzero): Likewise.
59034         (fma_test_downward): Likewise.
59035         (fma_test_upward): Likewise.
59036         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59037         function.
59038         (libc_fesetround): New macro.
59039         (libc_fesetroundf): Likewise.
59040         (libc_fesetroundl): Likewise.
59041         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59042         function.
59043         (libc_fesetround_387): Likewise.
59044         (libc_fesetroundf): New macro.
59045         (libc_fesetround): Likewise.
59046         (libc_fesetroundl): Likewise.
59047         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59048         function.
59049         (libc_fesetroundf): New macro.
59050         (libc_fesetround): Likewise.
59051         (libc_fesetroundl): Likewise.
59052         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59053         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59054         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59055         libm_hidden_ver.
59056         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59057         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59058         libm_hidden_def.
59059         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59060         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59061         libm_hidden_ver.
59062         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59063         libm_hidden_def.
59065         [BZ #3439]
59066         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59067         integer constant usable in #if and use that to give value to enum
59068         constant.
59069         (FE_DIVBYZERO): Likewise.
59070         (FE_UNDERFLOW): Likewise.
59071         (FE_OVERFLOW): Likewise.
59072         (FE_INVALID): Likewise.
59073         (FE_INVALID_SNAN): Likewise.
59074         (FE_INVALID_ISI): Likewise.
59075         (FE_INVALID_IDI): Likewise.
59076         (FE_INVALID_ZDZ): Likewise.
59077         (FE_INVALID_IMZ): Likewise.
59078         (FE_INVALID_COMPARE): Likewise.
59079         (FE_INVALID_SOFTWARE): Likewise.
59080         (FE_INVALID_SQRT): Likewise.
59081         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59082         (FE_TONEAREST): Likewise.
59083         (FE_TOWARDZERO): Likewise.
59084         (FE_UPWARD): Likewise.
59085         (FE_DOWNWARD): Likewise.
59086         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59087         (FE_DIVBYZERO): Likewise.
59088         (FE_OVERFLOW): Likewise.
59089         (FE_UNDERFLOW): Likewise.
59090         (FE_INEXACT): Likewise.
59091         (FE_TONEAREST): Likewise.
59092         (FE_DOWNWARD): Likewise.
59093         (FE_UPWARD): Likewise.
59094         (FE_TOWARDZERO): Likewise.
59095         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59096         (FE_UNDERFLOW): Likewise.
59097         (FE_OVERFLOW): Likewise.
59098         (FE_DIVBYZERO): Likewise.
59099         (FE_INVALID): Likewise.
59100         (FE_TONEAREST): Likewise.
59101         (FE_TOWARDZERO): Likewise.
59102         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59103         (FE_OVERFLOW): Likewise.
59104         (FE_UNDERFLOW): Likewise.
59105         (FE_DIVBYZERO): Likewise.
59106         (FE_INEXACT): Likewise.
59107         (FE_TONEAREST): Likewise.
59108         (FE_TOWARDZERO): Likewise.
59109         (FE_UPWARD): Likewise.
59110         (FE_DOWNWARD): Likewise.
59111         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59112         (FE_DIVBYZERO): Likewise.
59113         (FE_OVERFLOW): Likewise.
59114         (FE_UNDERFLOW): Likewise.
59115         (FE_INEXACT): Likewise.
59116         (FE_TONEAREST): Likewise.
59117         (FE_DOWNWARD): Likewise.
59118         (FE_UPWARD): Likewise.
59119         (FE_TOWARDZERO): Likewise.
59121 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59123         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59125 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59127         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59128         commands.  Quote $PWD.
59129         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59130         -x" by "export".
59131         (remove_newlines): Remove.
59133 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59135         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59136         * stdlib/stdlib.h (atof): Moved to ...
59137         * include/bits/stdlib-float.h: Here.  New file.
59138         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59139         * stdlib/bits/stdlib-float.h: New file.
59140         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59141         -mno-sse -mno-mmx.
59142         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59143         <xmmintrin.h>.
59145 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59147         * conform/conformtest.pl (@headers): Add fenv.h.
59148         * conform/data/fenv.h-data: New file.
59149         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59150         include of <math/fenv.h>.
59152         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59153         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59154         && !UNIX98].  Enables tests for XOPEN2K8.
59155         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59156         POSIX2008]: Likewise.
59158         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59159         (struct rusage): Do not expect type or its members.
59161         [BZ #3439]
59162         * math/math.h (FP_NAN): Define macro to integer constant usable in
59163         #if and use that to give value to enum constant.
59164         (FP_INFINITE): Likewise.
59165         (FP_ZERO): Likewise.
59166         (FP_SUBNORMAL): Likewise.
59167         (FP_NORMAL): Likewise.
59169 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59171         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59172         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59173         arguments.
59175 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59177         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59178         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59179         autoconf-time if not.
59180         * configure.in: Remove AC_PREREQ.
59182 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59184         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59185         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59186         of the internal implementation.
59188 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59190         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59191         except include of <misc/sys/syslog.h>.
59193 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59196         function returns with a NULL context exit with zero.
59198 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59200         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59202 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59204         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59205         (run_program_cmd): This.
59206         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59207         (tst_langinfo): New variable.  Use it.
59209 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59211         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59212         floating point opcodes.
59214 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59216         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59217         variable.
59219         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59221         * sysdeps/mach/hurd/powerpc: Remove directory.
59222         * sysdeps/mach/powerpc: Likewise.
59224 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59226         * scripts/check-local-headers.sh: Ignore c++ headers.
59228 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59230         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59231         __libc_cleanup_region_start argument.
59233 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59235         [BZ #14784]
59236         [BZ #14785]
59237         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59238         x * y using scaling, not as x * y + z.
59239         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59240         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59241         * math/libm-test.inc (fma_test): Add more tests.
59242         (fma_test_towardzero): Likewise.
59243         (fma_test_downward): Likewise.
59244         (fma_test_upward): Likewise.
59246 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59248         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59250 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59252         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59253         New variable.
59255 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59257         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59259 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59262         Fix sort order.
59263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59264         Likewise.
59266 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59269         Fix the order of the list for glibc 2.17.
59270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59271         Likewise.
59273 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59277 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59279         [BZ #14610]
59280         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59281         for low part of x being zero before using __atanl (y).
59282         * math/libm-test.inc (atan2_test): Add another test.
59284         * manual/install.texi (Configuring and compiling): Document
59285         general use of test-wrapper and test-wrapper-env.
59286         * INSTALL: Regenerated.
59288         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59289         (__fma): Do not extract and scale down low bits on after-rounding
59290         systems when result rounded to normal precision would have normal
59291         exponent.
59292         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59293         (__fmal): Do not extract and scale down low bits on after-rounding
59294         systems when result rounded to normal precision would have normal
59295         exponent.
59296         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59297         (__fmal): Do not extract and scale down low bits on after-rounding
59298         systems when result rounded to normal precision would have normal
59299         exponent.
59300         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59301         macro.
59302         (fma_test): Add more tests.
59303         (fma_test_towardzero): Likewise.
59304         (fma_test_downward): Likewise.
59305         (fma_test_upward): Likewise.
59307 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59309         * sysdeps/i386/tininess.h: Renamed to ...
59310         * sysdeps/x86/tininess.h: This.
59311         * sysdeps/x86_64/tininess.h: Removed.
59313 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59315         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59316         input.  Use $(build-program-cmd).
59317         ($(objpfx)tst-array1-static.out): Likewise.
59318         ($(objpfx)tst-array2.out): Likewise.
59319         ($(objpfx)tst-array3.out): Likewise.
59320         ($(objpfx)tst-array4.out): Likewise.
59321         ($(objpfx)tst-array5.out): Likewise.
59322         ($(objpfx)tst-array5-static.out): Likewise.
59324 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59326         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59327         if defined.
59329         * nss/nsswitch.h (nss_interface_function): Provide new
59330         macro for use with NSS functions.
59331         * grp/initgroups.c: Use new macro.
59332         * nss/getXXbyYY.c: Likewise.
59333         * nss/getXXbyYY_r.c: Likewise.
59334         * nss/getXXent.c: Likewise.
59335         * nss/getXXent_r.c: Likewise.
59336         * sysdeps/posix/getaddrinfo.c: Likewise.
59338 2012-10-30  Andreas Jaeger  <aj@suse.de>
59340         * po/ru.po: Update Russion translation from translation project.
59342 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59344         [BZ #14152]
59345         [BZ #14783]
59346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59347         result and shift together with sticky bit instead of replicating
59348         round-to-nearest rounding.
59349         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59350         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59351         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59352         missing underflow exceptions.
59353         (fma_test_towardzero): Add more tests.
59354         (fma_test_downward): Likewise.
59355         (fma_test_upward): Likewise.
59357         [BZ #14047]
59358         * sysdeps/generic/tininess.h: New file.
59359         * sysdeps/i386/tininess.h: Likewise.
59360         * sysdeps/sh/tininess.h: Likewise.
59361         * sysdeps/x86_64/tininess.h: Likewise.
59362         * stdlib/tst-strtod-underflow.c: Likewise.
59363         * stdlib/tst-tininess.c: Likewise.
59364         * stdlib/strtod_l.c: Include <tininess.h>.
59365         (round_and_return): Do not set errno for exact underflow cases.
59366         Force an underflow exception when setting errno for underflow.
59367         Determine underflow based on rounding to normal precision if
59368         TININESS_AFTER_ROUNDING.
59369         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59370         ERANGE for exact underflow cases.
59371         * stdlib/Makefile (tests): Add tst-tininess and
59372         tst-strtod-underflow.
59373         ($(objpfx)tst-tininess): Use $(link-libm).
59374         ($(objpfx)tst-strtod-underflow): Likewise.
59376 2012-10-30  Andreas Jaeger  <aj@suse.de>
59378         [BZ#14767]
59379         * elf/Makefile (tests): Remove conditional for have-initfini-array
59380         since this is now always required and the variable does not exist
59381         anymore.
59382         (tests-static): Likewise.
59383         (modules-names): Likewise.
59385         * po/eo.po: Add Esperanto translation from translation project.
59387         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59388         merged with constructor/destructor.
59389         (init_array): Likewise.
59390         * elf/tst-array2dep.c (fini_array): Likewise.
59391         (init_array): Likewise.
59393 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59395         * manual/message.texi: Delete @cartouche tags.
59397 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59399         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59400         EOPNOTSUPP.
59401         * sysdeps/mach/hurd/fsync.c: Likewise.
59403         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59404         [_POSIX_REALTIME_SIGNALS]: Change condition to
59405         [_POSIX_REALTIME_SIGNALS > 0].
59407 2012-10-27  Andreas Jaeger  <aj@suse.de>
59409         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59410         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59411         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59412         [__WORDSIZE != 64]: Likewise.
59414 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59416         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59417         *  iconvdata/tst-tables.sh: Likewise.
59419 2012-10-25  David S. Miller  <davem@davemloft.net>
59421         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59422         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59423         of strtoull.
59425         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59426         ifunc-impl-list.c
59427         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59428         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59429         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59430         file.
59432 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59434         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59435         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59436         __getdirentries.
59438 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59439             Jim Blandy  <jimb@codesourcery.com>
59441         * scripts/cross-test-ssh.sh: New file.
59442         * manual/install.texi (Configuring and compiling): Document use of
59443         cross-test-ssh.sh.
59444         * INSTALL: Regenerated.
59446 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59448         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59449         EOPNOTSUPP.
59451 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59453         * Makeconfig (run-program-prefix): Fix comment.
59455 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59456             Jim Blandy  <jimb@codesourcery.com>
59458         * Makeconfig (test-wrapper): New variable,
59459         (test-wrapper-env): Likewise.
59460         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59461         (run-built-tests): Define to yes.
59462         (run-program-prefix): Use $(test-wrapper).
59463         (built-program-cmd): Likewise.
59464         * Rules (make-test-out): Use $(test-wrapper-env) and
59465         $(host-built-program-cmd).
59466         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59467         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59468         tst-pathopt.sh.
59469         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59470         $(test-wrapper-env) to tst-rtld-load-self.sh.
59471         ($(objpfx)order2.out): Use $(test-wrapper).
59472         ($(objpfx)tst-initorder.out): Likewise.
59473         ($(objpfx)tst-initorder2.out): Likewise.
59474         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59475         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59476         (test_wrapper_env): New variable.  Use it to run ld.so.
59477         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59478         Use it to run ld.so.
59479         (test_wrapper_env): Likewise.
59480         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59481         $(test-wrapper) to run-iconv-test.sh.
59482         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59483         (ICONV): Use $test_wrapper.
59484         * posix/Makefile ($(objpfx)globtest.out): Pass
59485         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59486         globtest.sh, not $(run-program-prefix).
59487         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59488         (test_wrapper): Likewise.
59489         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59490         set together with run_via_rtld_prefix.
59491         (run_program_prefix): Define in terms of test_wrapper and
59492         run_via_rtld_prefix.
59494 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59496         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59497         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59498         Targets removed.
59500         [BZ #14743]
59501         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59502         Declare __clock_getres, __clock_gettime, __clock_settime,
59503         __clock_nanosleep, and __clock_getcpuclockid.
59504         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59505         Remove librt_hidden_def (clock_gettime).
59506         * sysdeps/unix/clock_gettime.c: Likewise.
59507         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59508         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59509         * rt/clock_getres.c: Define __clock_getres as an alias.
59510         * sysdeps/posix/clock_getres.c: Likewise.
59511         * rt/clock_settime.c: Define __clock_settime as an alias.
59512         * sysdeps/unix/clock_settime.c: Likewise.
59513         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59514         * sysdeps/unix/clock_nanosleep.c: Likewise.
59515         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59516         * rt/clock-compat.c: New file.
59517         * rt/Makefile (librt-routines): Add clock-compat and move
59518         $(clock-routines) to ...
59519         (routines): ... here, new variable.
59520         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59521         Don't add get_clockfreq here.
59522         * rt/Versions (libc: GLIBC_2.17): New version set.
59523         Add clock_* symbols here.
59524         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59525         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59526         (GLIBC_2.17): Add clock_* symbols.
59527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59529         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59531         Likewise.
59532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59533         Likewise.
59534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59538         * NEWS: Mention the move.
59540         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59541         Use __open, __read, __close rather than their public counterparts.
59542         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59543         (__get_clockfreq_via_cpuinfo): Likewise.
59544         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59545         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59547         * config.h.in (HAVE_IFUNC): New #undef.
59548         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59549         was successful.
59550         * configure: Regenerated.
59552 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59554         * configure.in: Move READELF check to start of file.
59555         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59556         libc_cv_asm_gnu_indirect_function in the process.
59557         * configure: Regenerated.
59559 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59561         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59562         send the output to /dev/null.
59563         (libc_cv_cc_with_libunwind): Likewise.
59564         (libc_cv_as_noexecstack): Likewise.
59565         * configure: Regenerate.
59567 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59569         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59571         * posix/globtest.sh (TMPDIR): Do not set.
59572         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59573         (testout): Likewise.
59575 2012-10-24  Andreas Jaeger  <aj@suse.de>
59577         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59578         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59579         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59580         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59581         posix_fadvise64, posix_fallocate64.
59583         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59584         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59585         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59586         Likewise.
59587         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59588         Likewise.
59589         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59591         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59592         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59593         <bits/fcntl-linux.h>.
59594         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59596         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59597         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59598         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59599         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59600         [__WORDSIZE != 64]: Likewise.
59602 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59604         * Makeconfig (run-built-tests): New variable.
59605         * Rules [$(cross-compiling) = yes]: Change condition to
59606         [$(run-built-tests) = no].
59607         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59608         to [$(run-built-tests) = yes].
59609         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59610         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59611         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59612         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59613         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59614         * io/Makefile [$(cross-compiling) = no]: Likewise.
59615         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59616         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59617         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59618         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59619         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59620         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59621         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59622         * string/Makefile [$(cross-compiling) = no]: Likewise.
59624         * posix/Makefile ($(objpfx)globtest.out): Pass
59625         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59626         $(rtld-installed-name).
59627         * posix/globtest.sh (elf_objpfx): Remove variable.
59628         (rtld_installed_name): Likewise.
59629         (library_path): Likewise.
59630         (run_program_prefix): New variable.  Use for running globtest
59631         binary.
59633 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59634             Joseph Myers  <joseph@codesourcery.com>
59636         * Makeconfig (host-built-program-cmd): New variable.
59637         * elf/Makefile (tst-stackguard1-ARGS): Use
59638         $(host-built-program-cmd).
59639         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59640         (tst-spawn-ARGS): Likewise.
59641         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59643 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59644             Jim Blandy  <jimb@codesourcery.com>
59646         * Makeconfig (run-via-rtld-prefix): New variable.
59647         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59648         (built-program-cmd): Likewise.
59650 2012-10-22  Andreas Jaeger  <aj@suse.de>
59652         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59653         __O_RSYNC if it exists, otherwise to O_SYNC.
59655 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59656             Joseph Myers  <joseph@codesourcery.com>
59658         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59659         /dev/null.
59660         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59661         from /dev/null
59662         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59663         /dev/null.
59665 2012-10-22  Andreas Jaeger  <aj@suse.de>
59667         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59668         Define always.
59669         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59671         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59672         bits/fcntl-linux.h.
59674         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59675         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59677         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59678         to __O_LARGEFILE.
59679         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59680         to __O_LARGEFILE.
59682 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59683             Joseph Myers  <joseph@codesourcery.com>
59685         * config.make.in (NM): New variable.
59687 2012-10-21  Andreas Jaeger  <aj@suse.de>
59689         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59690         definitions and declarations that are provided by
59691         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59693 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59695         [BZ #14683]
59696         * elf/Makefile (tests-static): Add tst-leaks1-static.
59697         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59698         ($(objpfx)tst-leaks1-static): New rule.
59699         ($(objpfx)tst-leaks1-static-mem): Likewise.
59700         (tst-leaks1-static-ENV): New macro.
59701         * elf/dl-open.c (dl_open_worker): Check the main application
59702         only if SHARED is defined.
59703         * elf/tst-leaks1-static.c: New file.
59705 2012-10-20  Andreas Jaeger  <aj@suse.de>
59707         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59708         generic values for Linux.
59709         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59710         and declarations that are provided by <bits/fcntl-linux.h> and
59711         include <bits/fcntl-linux.h>.
59712         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59713         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59715 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59717         * io/fcntl.h: Move include of <bits/types.h> to the top and
59718         include it unconditionally.
59720 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59722         * wcsmbs/Makefile (tests-ifunc): New variable.
59723         (tests): Add $(tests-ifunc).
59724         * wcsmbs/test-wcschr-ifunc.c: New file.
59725         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59726         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59727         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59728         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59729         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59731         * string/Makefile (tests-ifunc): New variable.
59732         (tests): Add $(tests-ifunc).
59733         * string/test-memccpy.c (TEST_NAME): New macro.
59734         * string/test-memchr.c (TEST_NAME): Likewise.
59735         * string/test-memcmp.c (TEST_NAME): Likewise.
59736         * string/test-memcpy.c (TEST_NAME): Likewise.
59737         * string/test-memmem.c (TEST_NAME): Likewise.
59738         * string/test-memmove.c (TEST_NAME): Likewise.
59739         * string/test-memset.c (TEST_NAME): Likewise.
59740         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59741         * string/test-stpcpy.c (TEST_NAME): Likewise.
59742         * string/test-stpncpy.c (TEST_NAME): Likewise.
59743         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59744         * string/test-strcasestr.c (TEST_NAME): Likewise.
59745         * string/test-strcat.c (TEST_NAME): Likewise.
59746         * string/test-strchr.c (TEST_NAME): Likewise.
59747         * string/test-strcmp.c(TEST_NAME): Likewise.
59748         * string/test-strcpy.c (TEST_NAME): Likewise.
59749         * string/test-strcspn.c (TEST_NAME): Likewise.
59750         * string/test-strlen.c (TEST_NAME): Likewise.
59751         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59752         * string/test-strncmp.c (TEST_NAME): Likewise.
59753         * string/test-strncpy.c (TEST_NAME): Likewise.
59754         * string/test-strnlen.c (TEST_NAME): Likewise.
59755         * string/test-strpbrk.c (TEST_NAME): Likewise.
59756         * string/test-strrchr.c (TEST_NAME): Likewise.
59757         * string/test-strspn.c (TEST_NAME): Likewise.
59758         * string/test-strstr.c (TEST_NAME): Likewise.
59759         * string/test-bcopy-ifunc.c: New file.
59760         * string/test-bzero-ifunc.c: Likewise.
59761         * string/test-memccpy-ifunc.c: Likewise.
59762         * string/test-memchr-ifunc.c: Likewise.
59763         * string/test-memcmp-ifunc.c: Likewise.
59764         * string/test-memcpy-ifunc.c: Likewise.
59765         * string/test-memmem-ifunc.c: Likewise.
59766         * string/test-memmove-ifunc.c: Likewise.
59767         * string/test-mempcpy-ifunc.c: Likewise.
59768         * string/test-memset-ifunc.c: Likewise.
59769         * string/test-rawmemchr-ifunc.c: Likewise.
59770         * string/test-stpcpy-ifunc.c: Likewise.
59771         * string/test-stpncpy-ifunc.c: Likewise.
59772         * string/test-strcasecmp-ifunc.c: Likewise.
59773         * string/test-strcasestr-ifunc.c: Likewise.
59774         * string/test-strcat-ifunc.c: Likewise.
59775         * string/test-strchr-ifunc.c: Likewise.
59776         * string/test-strchrnul-ifunc.c: Likewise.
59777         * string/test-strcmp-ifunc.c: Likewise.
59778         * string/test-strcpy-ifunc.c: Likewise.
59779         * string/test-strcspn-ifunc.c: Likewise.
59780         * string/test-strlen-ifunc.c: Likewise.
59781         * string/test-strncasecmp-ifunc.c: Likewise.
59782         * string/test-strncat-ifunc.c: Likewise.
59783         * string/test-strncmp-ifunc.c: Likewise.
59784         * string/test-strncpy-ifunc.c: Likewise.
59785         * string/test-strnlen-ifunc.c: Likewise.
59786         * string/test-strpbrk-ifunc.c: Likewise.
59787         * string/test-strrchr-ifunc.c: Likewise.
59788         * string/test-strspn-ifunc.c: Likewise.
59789         * string/test-strstr-ifunc.c: Likewise.
59791         * debug/Makefile (tests-ifunc): New variable.
59792         (tests): Add $(tests-ifunc).
59793         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59794         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59795         * debug/test-stpcpy_chk-ifunc.c: New file.
59796         * debug/test-strcpy_chk-ifunc.c: Likewise.
59798 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59800         [BZ #13601]
59801         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59802         header is not read in.
59804 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59806         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59807         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59808         directly.  Pass built executable to script as
59809         $(built-program-cmd).
59810         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59811         $testprogram without using LD_LIBRARY_PATH and $ldso.
59813         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59814         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59815         $(rtld-installed-name).
59816         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59817         (rtld_installed_name): Likewise.
59818         (library_path): Likewise.
59819         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59820         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59821         $(run-program-prefix) to tst-tables.sh.
59822         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59823         it to run tst-table-from and tst-table-to.
59824         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59825         Pass it to tst-table.sh.
59826         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59827         $(run-program-prefix) to tst-gettext.sh.
59828         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59829         tst-translit.sh.
59830         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59831         tst-gettext2.sh.
59832         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59833         to run tst-gettext.
59834         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59835         to run tst-gettext2.
59836         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59837         to run tst-translit.
59838         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59839         $(run-program-prefix) to tst-mtrace.sh.
59840         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59841         to run tst-mtrace.
59842         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59843         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59844         $(rtld-installed-name).
59845         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59846         (rtld_installed_name): Likewise.
59847         (run_program_prefix): New variable.  Use it to run wordexp-test.
59849         * Makeconfig (ARCH): Remove all definitions.
59850         (machine): Likewise.
59851         [ARCH]: Remove conditional code.
59852         [!objdir]: Give error.
59853         [!objdir] (objpfx): Remove.
59854         [!objdir] (common-objpfx): Likewise.
59855         [!objdir] (common-objdir): Likewise.
59856         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59857         AC_CONFIG_FILES call.
59858         * configure: Regenerated.
59860         [BZ #13888]
59861         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59862         or TMPDIR.
59863         (testout): Likewise.
59865         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59866         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59867         $(rtld-installed-name).
59868         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59869         (rtld_installed_name): Likwise.
59870         (runit): Remove function.
59871         (run_getconf): New variable,  Use it for running getconf binary.
59873 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59875         [BZ #14716]
59876         * string/test-memmem.c (check_result): New function.
59877         (do_one_test): Use it.
59878         (check1): New function.
59879         (test_main): Use it.
59881 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59883         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59885 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59887         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59888         (_G_LSEEK64): Likewise.
59889         (_G_MMAP64): Likewise.
59890         (_G_FSTAT64): Likewise.
59891         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59892         (_G_LSEEK64): Likewise.
59893         (_G_MMAP64): Likewise.
59894         (_G_FSTAT64): Likewise.
59895         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59896         unconditional.  Call __mmap64 directly.
59897         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59898         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59899         __lseek64 directly.
59900         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59901         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59902         __mmap64 directly.
59903         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59904         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59905         __lseek64 directly.
59906         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59907         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59908         __lseek64 directly.
59909         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59910         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59911         __lseek64 directly.
59912         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59913         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59914         __fxstat64 directly.
59915         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59916         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59917         unconditional.
59918         (freopen64) [!_G_OPEN64]: Remove conditional code.
59919         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59920         unconditional.
59921         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59922         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59923         unconditional.
59924         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59925         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59926         unconditional.
59927         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59928         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59929         unconditional.
59930         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59931         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59932         unconditional.
59933         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59934         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59935         unconditional.
59936         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59937         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59938         unconditional.
59939         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59941 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59943         [BZ #12140]
59944         * manual/memory.texi (Malloc Tunable Parameters): Add note
59945         about free list pointers overwriting some perturb bytes.
59946         Wording suggested by Roland McGrath.
59948 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59950         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59951         (lgamma_test): Likewise.
59952         (tgamma_test): Likewise.
59954 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59956         [BZ #14700]
59957         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59958         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59960 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59962         * NEWS: Mention BZ #14716.
59963         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59964         when removing AVAILABLE1_USES_J macro.
59966 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59968         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59969         (__bswap_64): __uint64_t for unsigned 64-bit int.
59971 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59973         * include/string.h (memmem): Declare libc hidden alias.
59974         * string/memmem.c (memmem): Define libc hidden alias.
59975         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59976         __read, __close instead of open, read, close.
59978 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59980         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59981         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59982         global and hidden.
59983         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59984         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59985         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59986         Likewise.
59987         (__rawmemchr_sse2): Likewise.
59988         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59989         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59990         (__strchr_sse2): Likewise.
59991         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59992         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59993         (__strcasecmp_sse2): Likewise.
59994         (__strncasecmp_sse2): Likewise.
59995         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59996         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59997         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59998         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59999         (__strrchr_sse2): Likewise.
60000         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60001         ifunc-impl-list.c.
60002         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60003         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60004         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60005         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60006         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60007         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60008         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60009         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60010         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60011         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60012         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60013         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60014         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60015         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60016         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60017         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60018         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60019         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60020         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60021         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60022         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60023         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60024         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60025         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60026         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60027         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60028         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60029         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60030         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60031         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60033         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60034         global and hidden.
60035         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60036         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60037         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60038         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60039         Likewise.
60040         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60041         Likewise.
60042         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60043         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60044         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60045         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60046         ifunc-impl-list.c.
60047         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60048         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60049         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60050         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60051         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60052         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60053         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60054         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60055         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60056         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60057         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60058         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60059         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60060         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60061         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60062         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60063         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60064         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60065         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60066         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60067         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60068         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60069         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60070         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60071         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60072         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60073         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60074         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60075         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60076         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60077         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60078         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60079         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60080         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60081         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60082         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60083         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60084         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60085         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60086         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60087         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60089         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60090         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60091         * include/ifunc-impl-list.h: New file.
60092         * misc/ifunc-impl-list.c: Likewise.
60093         * misc/Makefile (routines): Add ifunc-impl-list.
60094         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60095         * string/test-string.h: Include <ifunc-impl-list.h>.
60096         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60097         TEST_NAME]: New variables.
60098         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60099         are defined.
60100         (test_init): Call __libc_ifunc_impl_list to initialize
60101         func_list if TEST_IFUNC and TEST_NAME are defined.
60103         * string/Makefile (strop-tests): Add bcopy and bzero.
60104         * string/test-bcopy.c: New file.
60105         * string/test-bzero.c: Likewise.
60106         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60107         defined.
60108         * string/test-memset.c: Support bzero test if TEST_BZERO is
60109         defined.
60110         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60111         __libc_memmove.
60112         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60113         __libc_memset.
60114         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60115         of memset.
60117 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60119         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60120         * configure: Regenerated.
60122         * Makeconfig (+link-static-before-libc): Don't include
60123         $(link-static-libc).
60125         * libio/libio.h (_IO_pos_t): Remove.
60127 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60129         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60130         McGrath.
60132 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60134         * crypt/crypt-entry.c: Include fips-private.h.
60135         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60136         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60137         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60138         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60140 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60142         * crypt/crypt-private.h: Include stdbool.h.
60143         (_ufc_setup_salt_r): Return bool.
60144         * crypt/crypt-entry.c: Include errno.h.
60145         (__crypt_r): Return NULL with EINVAL for bad salt.
60146         * crypt/crypt_util.c (bad_for_salt): New.
60147         (_ufc_setup_salt_r): Check that salt is long enough and within
60148         the specified alphabet.
60149         * crypt/badsalttest.c: New file.
60150         * crypt/Makefile (tests): Add it.
60151         ($(objpfx)badsalttest): New.
60153 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60155         * NEWS: Add entry for BZ #14602.
60157 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60159         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60160         type-generic.
60161         * math/libm-test.inc: Update comment listing what functions and
60162         macros are tested.
60163         (isgreater_test): New function.
60164         (isgreaterequal_test): Likewise.
60165         (isless_test): Likewise.
60166         (islessequal_test): Likewise.
60167         (islessgreater_test): Likewise.
60168         (isunordered_test): Likewise.
60169         (main): Call the new functions.
60171 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60173         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60174         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60175         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60176         * sysdeps/i386/configure: Regenerated.
60177         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60178         * sysdeps/mach/configure: Regenerated.
60179         * sysdeps/mach/hurd/configure: Regenerated.
60180         * sysdeps/powerpc/configure: Regenerated.
60181         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60182         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60183         * sysdeps/s390/s390-32/configure: Regenerated.
60184         * sysdeps/s390/s390-64/configure: Regenerated.
60185         * sysdeps/sh/configure: Regenerated.
60186         * sysdeps/sparc/configure: Regenerated.
60187         * sysdeps/unix/sysv/linux/configure: Regenerated.
60188         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60189         * sysdeps/x86_64/configure: Regenerated.
60191         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60192         defined.  Don't check if MAP is NULL.
60194 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60196         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60197         (_G_stat64): Likewise.
60198         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60199         (_G_stat64): Likewise.
60200         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60201         instead of struct _G_stat64.
60202         * libio/fileops.c (mmap_remap_check): Likewise.
60203         (decide_maybe_mmap): Likewise.
60204         (_IO_new_file_seekoff): Likewise.
60205         (_IO_file_stat): Likewise.
60206         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60207         _G_off64_t.
60208         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60209         instead of struct _G_stat64.
60210         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60212 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60214         [BZ #14602]
60215         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60216         Replace with ...
60217         (CHECK_EOL): New macro.
60218         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60219         CHECK_EOL.
60220         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60221         Replace with CHECK_EOL.
60222         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60223         Replace with CHECK_EOL.
60225 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60227         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60228         type-generic.
60229         * math/libm-test.inc: Update comment listing what functions and
60230         macros are tested.
60231         (finite_test): New function.
60232         (isinf_test): Likewise.
60233         (isnan_test): Likewise.
60234         (fpclassify_test): Test subnormal input.
60235         (isfinite_test): Likewise.
60236         (isnormal_test): Likewise.
60237         (main): Call the new functions.
60239 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60241         [BZ #14660]
60242         * Makerules (%.dynsym): Force C locale when running
60243         $(OBJDUMP) --dynamic-syms.
60245 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60247         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60248         <stdint.h>.
60250 2012-10-06  David S. Miller  <davem@davemloft.net>
60252         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60253         upper 32-bits of the length value in %o2 since we use branch-on-register
60254         tests which consider the entire 64-bit register.
60256 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60258         * string/test-strstr.c (check2): Add a test for page boundary.
60260 2012-10-05  David S. Miller  <davem@davemloft.net>
60262         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60263         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60264         file.
60265         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60266         sysdep_routines.
60267         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60268         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60269         and bzero when HWCAP_SPARC_CRYPTO is present.
60271 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60273         [BZ #14602]
60274         * string/test-strstr.c (check2): New function.
60275         (test_main): Call check2.
60277         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60278         and bug-strchr1.
60279         * string/bug-strcasestr1.c (do_test): Moved to ...
60280         * string/test-strcasestr.c (check1): Here.  New function.
60281         (do_one_test): Break out result checking code into ...
60282         (check_result): This.  New function.
60283         (do_one_test): Call check_result.
60284         (test_main): Call check1.
60285         * string/bug-strchr1.c (do_test): Moved to ...
60286         * string/test-strchr.c (check1): Here.  New function.
60287         (do_one_test): Break out result checking code into ...
60288         (check_result): This.  New function.
60289         (do_one_test): Call check_result.
60290         (test_main): Call check1.
60291         * string/bug-strstr1.c (main): Moved to ...
60292         * string/test-strstr.c (check1): Here.  New function.
60293         (do_one_test): Break out result checking code into ...
60294         (check_result): This.  New function.
60295         (do_one_test): Call check_result.
60296         (test_main): Call check1.
60297         * string/bug-strcasestr1.c: Removed.
60298         * string/bug-strchr1.c: Likewise.
60299         * string/bug-strstr1.c: Likewise.
60301         * elf/Makefile (dl-routines): Add hwcaps.
60302         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60303         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60304         (_dl_important_hwcaps): Moved to ...
60305         * elf/dl-hwcaps.c: Here.  New file.
60306         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60308         [BZ #14557]
60309         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60310         if IS_IN_rtld isn't defined.
60312         * elf/dl-support.c (_dl_sysinfo_map): New.
60313         Include "get-dynamic-info.h" and "setup-vdso.h".
60314         (_dl_non_dynamic_init): Call setup_vdso.
60315         * elf/dynamic-link.h: Don't include <assert.h>.
60316         (elf_get_dynamic_info): Moved to ...
60317         * elf/get-dynamic-info.h: Here.  New file.
60318         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60319         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60320         * elf/setup-vdso.h: Here.  New file.
60321         * elf/rtld.c: Include "setup-vdso.h".
60322         (dl_main): Call setup_vdso.
60324 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60326         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60327         creal in comment listing functions tested.  List finite, isinf,
60328         isnan, isless, islessequal, isgreater, isgreaterequal,
60329         islessgreater, isunordered, lgamma_r and pow10 as functions and
60330         macros not tested.  Mention which functions not tested are aliases
60331         for other functions.  Fix typo.  Note that signs of NaNs are not
60332         tested.
60334         * scripts/config.guess: Update from config.git.
60335         * scripts/config.sub: Likewise.
60337 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60339         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60340         * misc/madvise.c (madvise): Renamed to __madvise.
60341         Make madvise a weak alias.
60342         * include/sys/mman.h: Declare __madvise.
60343         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60344         * sysdeps/unix/syscalls.list
60345         (madvise): Make __madvise the strong name, and madvise a weak alias.
60346         * sysdeps/unix/sysv/linux/syscalls.list
60347         (madvise, mmap): Remove redundant entries.
60348         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60349         * malloc/malloc.c (mtrim): Likewise.
60350         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60352 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60354         * sysdeps/mach/hurd/dl-cache.c: File removed.
60355         * config.h.in (USE_LDCONFIG): New #undef.
60356         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60357         * configure: Regenerated.
60358         * elf/Makefile (dl-routines): Add dl-cache only under
60359         [$(use-ldconfig) = yes].
60360         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60361         cache on [USE_LDCONFIG].
60362         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60363         [USE_LDCONFIG].
60364         * elf/rtld.c (dl_main): Likewise.
60366 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60368         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60369         _SC_LEVEL4_CACHE_LINESIZE.
60371 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60373         * sysdeps/unix/bsd/confstr.h: File removed.
60375 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60377         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60378         sys/sdt-config.h.
60380 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60382         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60383         Make 'mapoff' field ElfW(Off) rather than off_t.
60385 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60387         * nscd/Makefile: Remove nscd-cflags and all its users.
60388         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60389         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60391         [BZ #10631]
60392         * malloc.c (malloc_printerr): Clarify error message.
60394 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60396         [BZ #14648]
60397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60398         Set bit_FMA_Usable if FMA is supported.
60399         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60400         macro.
60401         (bit_FMA4_Usable): Updated.
60402         (index_FMA_Usable): New macro.
60403         (CPUID_FMA): Likewise.
60404         (HAS_FMA): Defined with bit_FMA_Usable.
60406 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60408         * bits/types.h (__swblk_t): Type removed.
60409         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60410         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60411         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60412         (__SWBLK_T_TYPE): Likewise.
60413         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60414         (__SWBLK_T_TYPE): Likewise.
60415         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60416         (__SWBLK_T_TYPE): Likewise.
60417         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60418         (__SWBLK_T_TYPE): Likewise.
60420 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60421             Honza Horak <hhorak@redhat.com>
60423         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60424         (xdr_mapname): Use YPMAXMAP as maxsize.
60425         (xdr_peername): Use YPMAXPEER as maxsize.
60426         (xdr_keydat): Use YPAXRECORD as maxsize.
60427         (xdr_valdat): Use YPMAXRECORD as maxsize.
60429 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60431         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60433         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60434         * csu/init-first.c: ... here.
60435         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60436         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60437         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60438         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60439         * sysdeps/i386/init-first.c: File removed.
60440         * sysdeps/sh/init-first.c: File removed.
60442 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60444         [BZ #14645]
60445         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60446         if x * y might underflow to zero and z is zero.
60447         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60448         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60449         * math/libm-test.inc (min_subnorm_value): New variable.
60450         (fma_test): Add more tests.
60451         (fma_test_towardzero): Likewise.
60452         (fma_test_downward): Likewise.
60453         (fma_test_upward): Likewise.
60454         (initialize): Set min_subnorm_value.
60456 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60458         [BZ #14638]
60459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60460         0 + 0.
60461         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60462         mode for addition resulting in exact zero.
60463         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60464         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60465         exact 0 + 0.
60466         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60467         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60468         * math/libm-test.inc (fma_test): Add more tests.
60469         (fma_test_towardzero): New function.
60470         (fma_test_downward): Likewise.
60471         (fma_test_upward): Likewise.
60472         (main): Call the new functions.
60474 2012-09-28  David S. Miller  <davem@davemloft.net>
60476         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60478 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60480         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60481         instead of SIGALRM.
60483         * sysdeps/gnu/_G_config.h: Moved to ...
60484         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60485         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60486         * sysdeps/generic/_G_config.h: ... here.
60488         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60490         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60492         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60493         Conditionalize target on [libnss_test1.so-version].
60495         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60497         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60498         (elfobjdir): Move out of conditionals.
60500         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60501         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60502         (__nss_lookup_function): Conditionalize label remove_from_tree on
60503         [!DO_STATIC_NSS || SHARED], matching its only use.
60505 2012-09-28  David S. Miller  <davem@davemloft.net>
60507         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60508         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60509         file.
60510         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60511         sysdep_routines.
60512         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60513         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60514         when HWCAP_SPARC_CRYPTO is present.
60516 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60518         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60520 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60522         [BZ #6530]
60523         * stdio-common/vfprintf.c (process_string_arg): Revert
60524         2000-07-22 change.
60526 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60528         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60529         for testcase.
60530         * stdio-common/tst-sprintf.c: Include <locale.h>
60531         (main): Test sprintf's handling of incomplete multibyte
60532         characters.
60534 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60536         * elf/dl-runtime.c (VERSYMIDX): Removed.
60537         * elf/dl-version.c (VERSYMIDX): Likewise.
60538         * elf/do-rel.h (VERSYMIDX): Likewise.
60539         (VALIDX): Likewise.
60540         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60541         * elf/rtld.c (VALIDX): Likewise.
60542         (ADDRIDX): Likewise.
60543         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60544         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60545         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60546         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60547         (VALIDX): Likewise.
60548         (ADDRIDX): Likewise.
60550 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60552         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60554 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60556         [BZ #11438]
60557         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60558         to global scope.
60559         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60560         addresses are in the same scope as 192.0.2/24.
60561         * posix/gai.conf: Document new scope table defaults.
60563 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60565         [BZ #5298]
60566         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60567         for ftell.  Compute offsets from write pointers instead.
60568         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60570 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60572         [BZ #14543]
60573         * libio/Makefile (tests): New test case tst-fseek.
60574         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60575         combination works in wide mode.
60576         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60577         state when the external buffer state changes.
60579 2012-09-27  David S. Miller  <davem@davemloft.net>
60581         [BZ #14376]
60582         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60583         pass reloc->r_addend in as the 'high' argument to
60584         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60588 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60590         * rt/tst-aio2.c: Include <pthread.h>.
60591         * rt/tst-aio3.c: Likewise.
60593 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60595         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60597 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60599         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60600         contents on [SHARED].
60602 2012-09-26  Marek Polacek  <polacek@redhat.com>
60604         [BZ #14530]
60605         [BZ #13741]
60606         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60607         for C++ and GCC <4.3 as well as for non GCC compilers.
60609 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60613 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60615         * Makefile.in (all, install): Declare with .PHONY.
60616         Reported by Michael Hope <michael.hope@linaro.org>.
60618 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60620         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60621         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60622         system header.
60623         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60624         Likewise.
60625         (sydep_routines): Add the new and the internal functions.
60626         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60627         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60629         (GLIBC_2.17): Add the new function.
60630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60631         (GLIBC_2.17): Likewise.
60632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60633         (GLIBC_2.17): Likewise.
60634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60635         (GLIBC_2.17): Likewise.
60636         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60638 2012-09-25  Alan Modra  <amodra@gmail.com>
60640         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60641         Add release barrier before setting once_control to say
60642         initialisation is done.  Add hints on lwarx.  Use macro in
60643         place of isync.
60644         (clear_once_control): Add release barrier.
60646 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60648         [BZ #13629]
60649         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60650         specially.
60651         * math/s_clog10.c (__clog10): Likewise.
60652         * math/s_clog10f.c (__clog10f): Likewise.
60653         * math/s_clog10l.c (__clog10l): Likewise.
60654         * math/s_clogf.c (__clogf): Likewise.
60655         * math/s_clogl.c (__clogl): Likewise.
60656         * math/Makefile (libm-calls): Add x2y2m1.
60657         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60658         (__x2y2m1): Likewise.
60659         (__x2y2m1l): Likewise.
60660         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60661         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60662         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60663         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60664         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60665         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60666         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60667         * sysdeps/i386/fpu/libm-test-ulps: Update.
60668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60670         [BZ #14621]
60671         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60672         int as type of variable DEPTH.
60673         (glob): Use size_t instead of int as type of variables NEWCOUNT
60674         and OLD_PATHC.
60676 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60678         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60679         Add s_sincosf-sse2.
60680         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60681         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60682         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60683         macros for using routine as __sincosf_ia32.
60684         Use macro for function declaration and weak_alias.
60685         * sysdeps/i386/fpu/libm-test-ulps: Update.
60687         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60688         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60690         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60691         subnormal argument.
60692         * math/s_cexpf.c (__cexpf): Likewise.
60693         * math/s_csinf.c (__csinf): Likewise.
60694         * math/s_csinhf.c (__csinhf): Likewise.
60695         * math/s_ctanf.c (__ctanf): Likewise.
60696         * math/s_ctanhf.c (__ctanhf): Likewise.
60697         * math/s_ccosh.c (__ccoshf): Likewise.
60698         * math/s_cexp.c (__cexpl): Likewise.
60699         * math/s_csin.c (__csin): Likewise.
60700         * math/s_csinh.c (__csinh): Likewise.
60701         * math/s_ctan.c (__ctan): Likewise.
60702         * math/s_ctanh.c (ctanh): Likewise.
60703         * math/s_ccoshl.c (__ccoshl): Likewise.
60704         * math/s_cexpl.c (__cexpl): Likewise.
60705         * math/s_csinl.c (__csinl): Likewise.
60706         * math/s_csinhl.c (__csinhl): Likewise.
60707         * math/s_ctanl.c (__ctanl): Likewise.
60708         * math/s_ctanhl.c (__ctanhl): Likewise.
60710 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60712         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60713         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60714         (_IO_off_t): Define to __off_t, not _G_off_t.
60715         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60716         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60717         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60718         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60719         type of __dummy and __dummy2 fields.
60720         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60721         (_G_ssize_t): Likewise.
60722         (_G_off_t): Likewise.
60723         (_G_pid_t): Likewise.
60724         (_G_uid_t): Likewise.
60725         (_G_wchar_t): Likewise.
60726         (_G_wint_t): Likewise.
60727         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60728         (_G_ssize_t): Likewise.
60729         (_G_off_t): Likewise.
60730         (_G_pid_t): Likewise.
60731         (_G_uid_t): Likewise.
60732         (_G_wchar_t): Likewise.
60733         (_G_wint_t): Likewise.
60734         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60735         (_G_ssize_t): Likewise.
60736         (_G_off_t): Likewise.
60737         (_G_pid_t): Likewise.
60738         (_G_uid_t): Likewise.
60739         (_G_wchar_t): Likewise.
60740         (_G_wint_t): Likewise.
60742 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60744         * malloc/arena.c: Include malloc-sysdep.h.
60745         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60746         is sufficient to shrink the heap or an unmap is needed.
60747         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60748         new function check_may_shrink_heap.
60749         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60750         new function check_may_shrink_heap.
60752 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60754         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60755         comments.
60757 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60759         * catgets/test-gencat.sh: Add "set -e".
60760         * elf/tst-pathopt.sh: Likewise.
60761         * grp/tst_fgetgrent.sh: Likewise.
60762         * iconvdata/run-iconv-test.sh: Likewise.
60763         * intl/tst-gettext.sh: Likewise.
60764         * intl/tst-gettext2.sh: Likewise.
60765         * intl/tst-gettext4.sh: Likewise.
60766         * intl/tst-gettext6.sh: Likewise.
60767         * intl/tst-translit.sh: Likewise.
60768         * io/ftwtest-sh: Likewise.
60769         * libio/test-freopen.sh: Likewise.
60770         * malloc/tst-mtrace.sh: Likewise.
60771         * posix/globtest.sh: Likewise.
60772         * posix/tst-getconf.sh: Likewise.
60773         * posix/wordexp-tst.sh: Likewise.
60774         * stdio-common/tst-printf.sh: Likewise.
60775         * stdio-common/tst-unbputc.sh: Likewise.
60776         * stdlib/tst-fmtmsg.sh: Likewise.
60777         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60778         * catgets/Makefile: Do not specify -e option when running
60779         testsuite shell scripts.
60780         * elf/Makefile: Likewise.
60781         * grp/Makefile: Likewise.
60782         * iconvdata/Makefile: Likewise.
60783         * intl/Makefile: Likewise.
60784         * io/Makefile: Likewise.
60785         * libio/Makefile: Likewise.
60786         * malloc/Makefile: Likewise.
60787         * posix/Makefile: Likewise.
60788         * stdio-common/Makefile: Likewise.
60789         * stdlib/Makefile: Likewise.
60790         * sysdeps/x86_64/Makefile: Likewise.
60792         * io/ftwtest-sh: Add copyright header.
60793         * posix/globtest.sh: Likewise.
60794         * posix/tst-getconf.sh: Likewise.
60795         * posix/wordexp-tst.sh: Likewise.
60796         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60798 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60800         [BZ #13679]
60801         * Makeconfig (+link): Defined as $(+link-static) if
60802         $(build-shared) isn't yes.
60803         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60804         isn't yes.
60805         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60807         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60809         [BZ #14562]
60810         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60811         new chunk size with MALLOC_ALIGN_MASK.
60813 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60815         [BZ #5044]
60816         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60817         <rounding-mode.h>.
60818         (__printf_fphex): Determine rounding using get_rounding_mode and
60819         round_away.
60820         * stdio-common/tst-printf-round.c (struct hex_test): New
60821         structure.
60822         (hex_tests): New variable.
60823         (test_hex_in_one_mode): New function.
60824         (do_test): Also run tests for hex float output.
60826 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60828         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60829         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60830         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60831         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60832         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60833         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60834         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60835         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60837 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60839         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60840         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60841         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60842         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60844 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60846         [BZ #14579]
60847         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60848         mode only.
60849         * elf/tst-rtld-load-self.sh: New test.
60850         * elf/Makefile: Run it.
60852 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60854         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60855         (tst-writev-ENV): Remove.
60856         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60858 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60860         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60862 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60864         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60865         unconditional.
60866         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60867         Likewise.
60868         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60869         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60870         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60871         Likewise.
60873 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60875         [BZ #14587]
60876         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60877         * config.make.in (have-cpp-asm-debuginfo): Removed.
60878         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60879         * configure: Regenerated.
60881 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60883         [BZ #5044]
60884         * stdio-common/printf_fp.c: Include <stdbool.h> and
60885         <rounding-mode.h>.
60886         (___printf_fp): Determine rounding using get_rounding_mode and
60887         round_away.
60888         * stdio-common/tst-printf-round.c: New file.
60889         * stdio-common/Makefile (tests): Add tst-printf-round.
60890         (link-libm): New variable.
60891         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60893 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60895         [BZ #14576]
60896         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60897         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60898         Likewise.
60899         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60900         Likewise.
60902 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60904         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60905         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60906         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60907         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60909 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60911         [BZ #14518]
60912         * include/rounding-mode.h: New file.
60913         * sysdeps/generic/get-rounding-mode.h: Likewise.
60914         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60915         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60916         (MAX_VALUE): New macro.
60917         (MIN_VALUE): Likewise.
60918         (overflow_value): New function.
60919         (underflow_value): Likewise.
60920         (round_and_return): Use overflow_value and underflow_value to
60921         determine return values in overflow and underflow cases.  Use
60922         round_away to determine rounding depending on rounding mode.
60923         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60924         determine return values in overflow and underflow cases.
60925         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60926         (struct test_results): New structure.
60927         (struct test): Use struct test_results to store expected results
60928         for all rounding modes.
60929         (TEST): Include expected results for all rounding modes.
60930         (test_in_one_mode): New function.
60931         (do_test): Use test_in_one_mode to compute and check results.
60932         Check results for all rounding modes.
60933         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60934         $(link-libm).
60936 2012-12-09  Allan McRae  <allan@archlinux.org>
60938         * sysdeps/i386/fpu/libm-test-ulps: Update
60940 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60942         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60943         (_G_int32_t): Likewise.
60944         (_G_uint16_t): Likewise.
60945         (_G_uint32_t): Likewise.
60946         (_G_HAVE_BOOL): Likewise.
60947         (_G_HAVE_ATEXIT): Likewise.
60948         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60949         (_G_HAVE_IO_FILE_OPEN): Likewise.
60950         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60951         (_G_int32_t): Likewise.
60952         (_G_uint16_t): Likewise.
60953         (_G_uint32_t): Likewise.
60954         (_G_HAVE_BOOL): Likewise.
60955         (_G_HAVE_ATEXIT): Likewise.
60956         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60957         (_G_HAVE_IO_FILE_OPEN): Likewise.
60958         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60959         (_G_int32_t): Likewise.
60960         (_G_uint16_t): Likewise.
60961         (_G_uint32_t): Likewise.
60962         (_G_HAVE_BOOL): Likewise.
60963         (_G_HAVE_ATEXIT): Likewise.
60964         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60965         (_G_HAVE_IO_FILE_OPEN): Likewise.
60967 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60969         * csu/libc-tls.c: Update copyright years.
60971 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60973         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60974         [!_G_USING_THUNKS]: Remove conditional code.
60975         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60976         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60978         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60979         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60980         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60981         (_G_VTABLE_LABEL_PREFIX): Likewise.
60982         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60983         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60984         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60985         (_G_VTABLE_LABEL_PREFIX): Likewise.
60986         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60987         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60988         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60989         (_G_VTABLE_LABEL_PREFIX): Likewise.
60990         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60992 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60994         * libio/Makefile: Include ../Makeconfig before tests.
60995         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60996         only if $(build-shared) is yes.
60998         * iconv/gconv_db.c: Update copyright years.
61000 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61002         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61003         unwind info if defined PIC. Fix special cases description.
61004         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61006         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61007         DP_HI_MASK entry.
61008         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61010 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61012         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61014         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61015         is NULL.
61017         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61018         (LDLIBS-tst-chk4): This.
61019         (LDFLAGS-tst-chk5): Renamed to ...
61020         (LDLIBS-tst-chk5): This.
61021         (LDFLAGS-tst-chk6): Renamed to ...
61022         (LDLIBS-tst-chk6): This.
61023         (LDFLAGS-tst-lfschk4): Renamed to ...
61024         (LDLIBS-tst-lfschk4): This.
61025         (LDFLAGS-tst-lfschk5): Renamed to ...
61026         (LDLIBS-tst-lfschk5): This.
61027         (LDFLAGS-tst-lfschk6): Renamed to ...
61028         (LDLIBS-tst-lfschk6): This.
61030         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61031         on $(common-objpfx)soversions.mk.
61033 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61035         [BZ #10014]
61036         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61037         example host name.
61039 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61041         * malloc/arena.c (arena_get_retry): New function that gets
61042         another arena for the caller to try its request on.
61043         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61044         current arena cannot fulfill the request.
61045         (__libc_memalign): Likewise.
61046         (__libc_memalign): Likewise.
61047         (__libc_pvalloc): Likewise.
61048         (__libc_calloc): Likewise.
61050 2012-09-05  John Tobey  <john.tobey@gmail.com>
61052         [BZ #13542]
61053         * manual/arith.texi (Operations on Complex): Fix description
61054         of carg branch cut.
61056 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61058         [BZ #10014]
61059         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61060         host name.
61062         [BZ #10038]
61063         * manual/memory.texi (Memory): Make order of menu items match
61064         order of sections.
61066 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61068         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61069         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61070         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61072 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61074         * csu/libc-tls.c (static_dtv): Renamed to ...
61075         (_dl_static_dtv): This.  Make it global.
61076         (_dl_initial_dtv): Removed.
61077         (__libc_setup_tls): Updated.
61078         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61079         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61080         DL_INITIAL_DTV.
61082 2012-09-06  Petr Machata  <pmachata@redhat.com>
61084         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61085         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61086         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61087         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61089 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61091         [BZ #14545]
61092         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61093         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61094         freeing dtv[-1].
61096 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61098         [BZ #14544]
61099         * Makeconfig (link-static-before-libc): Replace $(+prector)
61100         with $(+prectorT).
61101         (link-static-after-libc): Replace $(+postctor) with
61102         $(+postctorT).
61103         (link-bounded): Replace $(+prector)/$(+postctor) with
61104         $(+prectorT)/$(+postctorT).
61105         (+prectorT): New macro.
61106         (+postctorT): Likewise.
61108 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61110         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61111         (round_str): Handle values above the maximum for IBM long double
61112         as inexact.
61113         * stdlib/tst-strtod-round.c (tests): Regenerated.
61115 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61117         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61118         assembler flag.
61119         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61120         zarch_nohighgprs around the zarch optimized routines.
61121         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61122         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61123         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61124         for zarch.
61126 2012-09-05  David S. Miller  <davem@davemloft.net>
61128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61130         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61131         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61132         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61133         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61134         entries.
61136 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61138         * malloc/arena.c: Fold copyright years.
61139         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61141 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61143         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61145 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61147         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61149 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61151         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61152         change internal state upon failure.
61154 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61156         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61157         * malloc/memusage.c (mmap): Likewise.
61158         (mmap64, mremap): Likewise.  Adjust name in comment.
61160 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61162         * libio/fileops.c: Fix typos in comments.
61163         * libio/oldfileops.c: Likewise.
61164         * libio/wfileops.c: Likewise.
61166 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61168         [BZ #1349]
61169         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61170         (tst-malloc-usable-ENV): Set environment for test case.
61171         * malloc/hooks.c (malloc_check_get_size): New function to get
61172         requested size.
61173         * malloc/malloc.c (musable): Use malloc_check_get_size.
61174         * malloc/tst-malloc-usable.c: New test case.
61176 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61178         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61180 2012-09-05  Allan McRae  <allan@archlinux.org>
61182         [BZ #13966]
61183         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61184         determine header location.
61185         * configure: Regenerated.
61187 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61189         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61190         float format.
61191         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61192         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61193         format.
61194         (test): Regenerate.
61196 2012-09-04  David S. Miller  <davem@davemloft.net>
61198         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61199         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61200         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61202 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61204         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61205         failures.
61207         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61209 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61211         [BZ #9914]
61212         * libio/iogetdelim.c: Include <limits.h>.
61213         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61214         + len + 1 would overflow.
61216 2012-09-03  Andreas Jaeger  <aj@suse.de>
61218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61219         * sysdeps/i386/fpu/libm-test-ulps: Update.
61221 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61223         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61224         Add s_sinf-sse2, s_conf-sse2.
61226         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61227         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61228         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61229         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61231         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61232         for using routine as __sinf_ia32.
61233         Use macro for function declaration and weak_alias.
61234         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61235         for using routine as __cosf_ia32.
61236         Use macro for function declaration and weak_alias.
61238         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61239         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61241         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61242         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61243         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61245         * math/libm-test.inc (cos_test): Add more test cases.
61246         (sin_test): Likewise.
61247         (sincos_test): Likewise.
61249 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61251         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61252         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61253         hidden.
61254         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61256 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61258         [BZ #14538]
61259         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61260         first element of the GOT.
61261         (elf_machine_load_address): Return the difference between
61262         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61264 2012-09-01  Allan McRae  <allan@archlinux.org>
61266         [BZ #13412]
61267         * configure.in (AWK): Require gawk version 3.0 or later.
61268         * configure: Regenerated.
61270 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61272         * sysdeps/unix/sysv/linux/kernel-features.h
61273         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61274         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61275         [__NR_clock_getres]: Make code unconditional.
61276         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61277         (clock_getcpuclockid): Remove code left unreachable by removal of
61278         conditionals.
61279         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61280         code unconditional.
61281         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61282         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61283         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61284         Make code unconditional.
61285         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61286         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61287         * sysdeps/unix/sysv/linux/clock_settime.c
61288         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61289         conditional code.
61290         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61291         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61293 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61295         [BZ #14476]
61296         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61297         scripts/test-installation.pl.
61299         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61300         and $ld_so_version if it is set.
61302 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61304         [BZ #14516]
61305         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61306         failure if reading from procfs failed.
61307         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61309 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61311         * sysdeps/unix/sysv/linux/kernel-features.h
61312         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61313         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61314         Remove conditional code.
61315         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61316         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61317         Remove conditional code.
61318         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61319         * sysdeps/unix/sysv/linux/i386/fxstat.c
61320         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61321         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61322         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61323         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61324         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61325         * sysdeps/unix/sysv/linux/i386/lxstat.c
61326         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61327         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61328         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61329         Remove conditional code.
61330         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61331         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61332         Remove conditional code.
61333         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61334         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61335         <kernel-features.h>.
61336         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61337         Remove.
61338         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61339         Remove conditional code.
61340         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61341         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61342         Remove conditional.
61344 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61346         [BZ #5400]
61347         * NEWS: Add fixed bug number.
61349 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61351         [BZ #14519]
61352         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61353         underflowing exponent in case of negative sign.
61354         * stdlib/tst-strtod-round-data: Add more tests.
61355         * stdlib/tst-strtod-round.c (tests): Regenerated.
61357         [BZ #3479]
61358         * stdlib/strtod_l.c (NDIG): Remove.
61359         (HEXNDIG): Likewise.
61360         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61361         smallest representable value.
61362         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61363         lie within an exact representation of 1/2 ulp of the result.
61364         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61365         unconditionally.
61366         (TENS_P9_IDX): Define unconditionally.
61367         (TENS_P9_SIZE): Likewise.
61368         (TENS_P10_IDX): Likewise.
61369         (TENS_P10_SIZE): Likewise.
61370         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61371         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61372         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61373         entries for 10^2^13 and 10^2^14.
61374         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61375         (TENS_P13_IDX): Define.
61376         (TENS_P13_SIZE): Likewise.
61377         (TENS_P14_IDX): Likewise.
61378         (TENS_P14_SIZE): Likewise.
61379         (_fpioconst_pow10): Change array size to
61380         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61381         unconditional.
61382         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61383         1024]: Add entries for 10^2^13 and 10^2^14.
61384         [LAST_POW10 > _LAST_POW10]: Remove #error.
61385         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61386         (_fpioconst_pow10): Change array size to
61387         FPIOCONST_POW10_ARRAY_SIZE.
61388         * stdlib/gen-fpioconst.c: New file.
61389         * stdlib/gen-tst-strtod-round.c: Likewise.
61390         * stdlib/tst-strtod-round-data: Likewise.
61391         * stdlib/tst-strtod-round.c: Likewise.
61392         * stdlib/Makefile (tests): Add tst-strtod-round.
61394         [BZ #14459]
61395         * stdlib/strtod_l.c: Include <stdint.h>.
61396         (NDEBUG): Do not define.
61397         (round_and_return): Change EXPONENT parameter to type intmax_t.
61398         Rearrange calculations to avoid internal overflow possibilities.
61399         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61400         Rearrange calculations to avoid internal overflow possibilities.
61401         Assert that number fits inside MPNSIZE limbs.
61402         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61403         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61404         calculations and add assertions to avoid internal overflow
61405         possibilities.  Add casts to avoid signed/unsigned operations.
61406         * stdlib/tst-strtod-overflow.c: New file.
61407         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61409 2012-08-25  Marek Polacek  <polacek@redhat.com>
61411         * time/time.h: Fix some typos in comments.
61413 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61415         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61416         * posix/tst-rfc3484-2.c: Likewise.
61417         * posix/tst-rfc3484-3.c: Likewise.
61419 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61421         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61422         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61424 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61426         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61427         #include of fxstatat64.c.
61429 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61431         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61432         * shadow/getspent_r.c: Likewise.
61433         * shadow/getspnam.c: Likewise.
61434         * shadow/getspnam_r.c: Likewise.
61435         * gshadow/getsgent.c: Likewise.
61436         * gshadow/getsgent_r.c: Likewise.
61437         * gshadow/getsgnam.c: Likewise.
61438         * gshadow/getsgnam_r.c: Likewise.
61439         * inet/getnetbyad.c: Likewise.
61440         * inet/getnetbyad_r.c: Likewise.
61441         * inet/getnetbynm.c: Likewise.
61442         * inet/getnetbynm_r.c: Likewise.
61443         * inet/getnetent.c: Likewise.
61444         * inet/getnetent_r.c: Likewise.
61445         * inet/getproto.c: Likewise.
61446         * inet/getproto_r.c: Likewise.
61447         * inet/getprtent.c: Likewise.
61448         * inet/getprtent_r.c: Likewise.
61449         * inet/getprtname.c: Likewise.
61450         * inet/getprtname_r.c: Likewise.
61451         * inet/getrpcbyname.c: Likewise.
61452         * inet/getrpcbyname_r.c: Likewise.
61453         * inet/getrpcbynumber.c: Likewise.
61454         * inet/getrpcbynumber_r.c: Likewise.
61455         * inet/getrpcent.c: Likewise.
61456         * inet/getrpcent_r.c: Likewise.
61457         * inet/getaliasent.c: Likewise.
61458         * inet/getaliasent_r.c: Likewise.
61459         * inet/getaliasname.c: Likewise.
61460         * inet/getaliasname_r.c: Likewise.
61461         * nscd/getgrgid_r.c: Likewise.
61462         * nscd/getgrnam_r.c: Likewise.
61463         * nscd/gethstbyad_r.c: Likewise.
61464         * nscd/gethstbynm3_r.c: Likewise.
61465         * nscd/getpwnam_r.c: Likewise.
61466         * nscd/getpwuid_r.c: Likewise.
61467         * nscd/getsrvbynm_r.c: Likewise.
61468         * nscd/getsrvbypt_r.c: Likewise.
61469         * nscd/gai.c: Likewise.
61471         * configure.in (build_nscd): New substituted variable, set
61472         by --disable-build-nscd and defaults to $use_nscd.
61473         * configure: Regenerated.
61474         * config.make.in (build-nscd): New substituted variable.
61475         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61476         Change conditional to require [$(build-nscd) = yes] as well.
61477         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61479         [BZ# 13696]
61480         * configure.in (use_nscd): New substituted variable, set by
61481         --disable-nscd.  If enabled, define USE_NSCD.
61482         * configure: Regenerated.
61483         * config.h.in: Add USE_NSCD.
61484         * config.make.in (use-nscd): New substituted variable.
61485         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61486         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61487         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61488         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61489         (CFLAGS-getgrnam_r.c): Likewise.
61490         (CFLAGS-initgroups.c): Likewise.
61491         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61492         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61493         Variables removed.
61494         * inet/getnetgrent_r.c
61495         (nscd_setnetgrent): New function, broken out of ...
61496         (setnetgrent): ... here.  Call it.
61497         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61498         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61499         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61500         * nscd/Makefile (routines, aux): Move definitions after include of
61501         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61502         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61503         Conditionalize on [USE_NSCD].
61504         (is_nscd, nscd_init_cb): Likewise.
61505         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61506         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61507         * nss/nss_db/db-init.c: Likewise.
61508         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61509         [USE_NSCD].
61510         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61511         (make_request): Use it.
61512         (cache_valid_p): New function.
61513         (__check_pf): Use it.
61514         * NEWS: Add item for --disable-nscd.
61516 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61518         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61519         to support sed >= 4.2.1-20-ga9bf076.
61520         * configure: Regenerated.
61522 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61524         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61525         Conditionalize whole body on [IREL].
61527 2012-08-22  Jeff Law <law@redhat.com>
61529         [BZ #14505]
61530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61531         if the family is PF_UNSPEC.
61533 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61535         * Makerules (lib-version): Rename from V.
61536         (install-lib-nosubdir): Change V to lib-version.
61538 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61540         [BZ #14252]
61541         * powerpc32/power6/wcschr.c: New file.
61542         * powerpc32/power6/wcscpy.c: New file.
61543         * powerpc32/power6/wcsrchr.c: New file.
61544         * powerpc64/power6/wcschr.c: New file.
61545         * powerpc64/power6/wcscpy.c: New file.
61546         * powerpc64/power6/wcsrchr.c: New file.
61548 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61550         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61551         (two_way_short_needle): Use it.
61552         * string/strstr.c (AVAILABLE1_USES_J): Define.
61553         * string/strcasestr.c: Likewise.
61555         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61556         array references.
61557         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61559         [BZ #11607]
61560         * NEWS: Add an entry.
61561         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61562         define their defaults.
61563         (two_way_short_needle): Detect end-of-string on-the-fly.
61564         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61565         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61566         * string/bug-strcasestr1.c: New test.
61567         * string/Makefile: Run it.
61569 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61571         [BZ #11607]
61572         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61573         the first character.
61575 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61577         * csu/elf-init.c (__libc_csu_irel): Function removed.
61578         * csu/libc-start.c (apply_irel): New function.
61579         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61581 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61583         * sysdeps/unix/sysv/linux/kernel-features.h
61584         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61585         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61586         <kernel-features.h>.
61587         [__NR_fadvise64_64]: Make code unconditional.
61588         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61589         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61590         !__NR_fadvise64_64)]: Likewise.
61591         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61592         !__NR_fadvise64_64))]: Likewise.
61593         [__NR_fadvise64]: Make code unconditional.
61594         [!__NR_fadvise64]: Remove conditional code.
61595         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61596         <kernel-features.h>.
61597         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61598         unconditional.
61599         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61600         conditional code.
61601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61602         not include <kernel-features.h>.
61603         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61604         unconditional.
61605         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61606         conditional code.
61607         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61608         include <kernel-features.h>.
61609         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61610         unconditional.
61611         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61612         conditional code.
61614 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61616         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61617         slight instruction rearrangements per scrollpipe analysis.
61618         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61620 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61622         * manual/syslog.texi (syslog; vsyslog, closelog):
61623         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61624         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61626         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61627         DSOCAPS to match condition on defining it.
61629 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61631         * sysdeps/unix/sysv/linux/kernel-features.h
61632         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61634         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61635         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61637         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61638         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61640         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61641         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61643         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61644         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61646         * sysdeps/unix/sysv/linux/kernel-features.h
61647         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61648         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61649         unconditional.
61650         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61651         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61652         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61653         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61654         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61655         Make code unconditional.
61656         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61657         (__mmap64) [!__NR_mmap2]: Likewise.
61658         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61659         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61660         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61661         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61662         [__NR_mmap2]: Make code unconditional.
61663         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61664         (__mmap64) [!__NR_mmap2]: Likewise.
61666 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61668         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61670 2012-08-18  Andreas Jaeger  <aj@suse.de>
61672         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61674 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61676         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61677         * include/unistd.h (__have_sock_cloexec): Likewise.
61678         (__have_pipe2): Likewise.
61679         (__have_dup3): Likewise.
61681 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61683         [BZ #9685]
61684         * include/unistd.h (__have_pipe2): Change define into an extern int.
61685         (__have_dup3): Likewise.
61686         * socket/have_sock_cloexec.c: Include fcntl.h.
61687         (__have_pipe2): New variable.
61688         (__have_dup3): Likewise.
61690 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61692         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61694 2012-08-17  Marek Polacek  <polacek@redhat.com>
61696         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61697         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61699 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61701         * configure.in: Add AC_SUBST for sysheaders.
61702         * configure: Regenerated.
61703         * config.make.in (sysheaders): New substituted variable.
61705         * sysdeps/unix/mkfifo.c: Moved ...
61706         * sysdeps/posix/mkfifo.c: ... here.
61707         * sysdeps/unix/mkfifoat.c: Moved ...
61708         * sysdeps/posix/mkfifoat.c: ... here.
61710         * sysdeps/unix/utime.c: Moved ...
61711         * sysdeps/posix/utime.c: ... here.
61713         * sysdeps/unix/time.c: Moved ...
61714         * sysdeps/posix/time.c: ... here.
61715         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61716         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61718         * sysdeps/unix/nice.c: Moved ...
61719         * sysdeps/posix/nice.c: ... here.
61721         * sysdeps/unix/alarm.c: Moved ...
61722         * sysdeps/posix/alarm.c: ... here.
61724         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61726 2012-08-17  Jeff Law <law@redhat.com>
61728         * intl/Makefile (codeset_mo): New variable.
61729         ($(codeset_mo)): New target.
61730         (tst-codeset.out): Depend on that.  Remove explicit rule.
61731         (tst-gettext3.out, tst-gettext5.out): Likewise.
61732         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61733         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61734         * intl/tst-codeset.sh: Remove.
61735         * intl/tst-gettext3.sh: Likewise.
61736         * intl/tst-gettext5.sh: Likewise.
61738 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61740         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61741         * sysdeps/unix/syscalls.list: ... here.
61743         * sysdeps/posix/getaddrinfo.c
61744         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61745         (gaiconf_init, gaiconf_reload): Use them.
61746         [!_STATBUF_ST_NSEC]
61747         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61748         Define using time_t rather than struct timespec.
61750         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61751         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61752         Macros removed.
61753         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61754         [!NO_THREADS].
61755         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61756         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61757         Likewise.
61759         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61760         __libc_cleanup_push argument.
61762         * bits/param.h: New file.
61763         * misc/sys/param.h: New file.
61764         * include/sys/param.h: New file.
61765         * misc/Makefile (headers): Add bits/param.h.
61766         * sysdeps/generic/sys/param.h: File removed.
61767         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61768         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61769         * sysdeps/mach/hurd/bits/param.h: New file.
61770         * sysdeps/mach/hurd/sys/param.h: File removed.
61772         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61773         last change.
61775         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61776         [_IO_MTSAFE_IO].
61777         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61778         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61779         New macros.
61781         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61782         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61783         rather than -D_IO_MTSAFE_IO conditionally.
61784         * stdio-common/Makefile (CPPFLAGS): Likewise.
61785         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61786         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61787         Use $(libio-mtsafe).
61788         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61789         of -D_IO_MTSAFE_IO.
61790         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61791         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61792         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61793         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61794         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61795         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61796         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61797         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61798         (CFLAGS-fread_u_chk.c): Likewise.
61799         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61800         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61801         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61802         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61803         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61804         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61805         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61806         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61807         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61809         * libio/Makefile: Test [$(libc-reentrant) = yes]
61810         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61812         * Makeconfig
61813         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61814         * sysdeps/pthread/configure: File removed.
61815         * sysdeps/pthread/Makeconfig: New file.
61816         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61817         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61819 2012-08-16  Gary Benson  <gbenson@redhat.com>
61821         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61822         unmapping the first object in a namespace.
61824 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61826         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61827         (__internal_setnetgrent): ... this.  Add internal_function to
61828         definition.  Add libc_hidden_def.
61829         (setnetgrent): Update caller.
61830         (internal_endnetgrent): Renamed to ...
61831         (__internal_endnetgrent): ... this.  Add internal_function to
61832         definition.  Add libc_hidden_def.
61833         (endnetgrent): Update caller.
61834         (internal_getnetgrent_r): Renamed to ...
61835         (__internal_getnetgrent_r): ... this.  Add internal_function to
61836         definition.  Add libc_hidden_def.
61837         (__getnetgrent_r): Update caller.
61838         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61840 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61842         * stdlib/longlong.h: Update from GCC.
61844 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61846         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61847         on _QL, which is set by umul_ppmm but never used.
61848         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61849         variables, which are set by GMP macros but never used.
61850         * stdio-common/_itowa.c (_itowa): Likewise.
61851         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61852         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61854 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61856         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61857         struct La_sh_regs is not constant.
61858         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61859         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61860         and struct La_sparc64_regs are not constant.
61862 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61864         * sysdeps/unix/sysv/linux/kernel-features.h
61865         (__ASSUME_POSIX_TIMERS): Remove.
61866         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61867         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61868         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61869         Make code unconditional.
61870         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61871         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61872         Make code unconditional.
61873         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61874         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61875         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61876         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61877         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61878         Make code unconditional.
61879         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61880         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61881         (__libc_missing_posix_timers): Remove.
61883 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61885         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61886         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61888         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61890         * elf/dl-sym.c: Include <stdlib.h>.
61892         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61893         constants, which avoids warnings in 32-bit builds.
61895         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61896         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61898         * misc/lseek.c: File moved to ...
61899         * io/lseek.c: ... here.
61901         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61903         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61904         shifting LEN more than 31 bits at once.
61906 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61908         [BZ #14195]
61909         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61910         segmentation fault for a case of two empty input strings.
61911         * string/test-strncasecmp.c (check1): Renamed to...
61912         (bz12205): ...this.
61913         (bz14195): Add new testcase for two empty input strings and N > 0.
61914         (test_main): Call new testcase, adapt for renamed function.
61916 2012-08-15  Andreas Jaeger  <aj@suse.de>
61918         [BZ #14090]
61919         * crypt/md5test2.c: New test, based on test supplied by Serge
61920         Belyshev <belyshev@depni.sinp.msu.ru>.
61921         * crypt/Makefile (xtests): Add md5test-giant..
61922         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61924 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61926         [BZ #14090]
61927         * crypt/md5.c (md5_process_block): Don't assume the buffer
61928         length is less than 2**32.
61929         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61930         length is less than 2**64.
61932 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61934         * string/str-two-way.h: Include <sys/param.h>.
61935         (MAX): Macro removed.
61937         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61938         Move #define and #undef of memmove to just before and after
61939         including <string.h>.
61941         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61942         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61943         and after including <string.h>.  Move declarations of
61944         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61945         to before #include "string/memmove.c".
61947         * include/dirent.h: Declare __getdirentries.
61949         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61950         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61952 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61954         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61955         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61956         * sysdeps/i386/configure: Regenerated.
61957         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61958         STABS_CURRENT_FILE, and STABS_FUN.
61959         (END): Remove call to STABS_FUN_END.
61960         (STABS_CURRENT_FILE1): Delete.
61961         (STABS_CURRENT_FILE): Likewise.
61962         (STABS_FUN): Likewise.
61963         (STABS_FUN_END): Likewise.
61964         (STABS_FUN2): Likewise.
61965         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61966         * sysdeps/x86_64/configure: Regenerated.
61968 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61970         * elf/dl-open.c: Include <atomic.h>.
61971         * elf/dl-lookup.c: Likewise.
61973 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61975         * sysdeps/unix/sysv/linux/kernel-features.h
61976         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61977         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61978         unconditionally.
61979         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61980         unconditionally.
61981         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61982         condition on __ASSUME_CLONE_THREAD_FLAGS.
61984 2012-08-14  Andreas Jaeger  <aj@suse.de>
61986         * sysdeps/i386/fpu/libm-test-ulps: Update.
61988 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61990         * include/atomic.h (atomic_exchange_and_add): Split into ...
61991         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61992         New atomic macros.
61994 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61998 2012-08-13  Jeff Law <law@redhat.com>
62000         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62001         null byte in the output string.
62003 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62005         * sysdeps/unix/sysv/linux/kernel-features.h
62006         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62007         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62008         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62009         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62010         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62011         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62012         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62014 2012-08-09  Jeff Law <law@redhat.com>
62016         [BZ #13939]
62017         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62018         When avoid_arena is set, don't retry in the that arena.  Pick the
62019         next one, whatever it might be.
62020         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62021         (arena_lock): Pass in new parameter to arena_get2.
62022         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62023         arena_get2.
62024         (__libc_malloc): Unify retrying after main arena failure with
62025         __libc_memalign version.
62026         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62028 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62030         [BZ #14166]
62031         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62032         to __redirect_strstr.
62033         (__strstr_sse42): Use typeof __redirect_strstr.
62034         (__strstr_ia32): Likewise.
62035         (__libc_strstr): New prototype.
62036         (strstr): Renamed to ...
62037         (__libc_strstr): This.
62038         (strstr): New strong alias of __libc_strstr.
62039         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62040         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62041         __redirect_time.
62042         Include <time.h>.
62043         (__libc_time): New prototype.
62044         (time_ifunc): Replace time with __libc_time.
62045         (time): New strong alias and hidden definition of __libc_time.
62046         (__GI_time): Remove strong alias.
62047         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62048         Include <stddef.h>.
62049         (memmove): Redefined to __redirect_memmove.
62050         (__memmove_sse2): Use typeof __redirect_memmove.
62051         (__memmove_ssse3): Likewise.
62052         (__memmove_ssse3_back): Likewise.
62053         (__libc_memmove): New prototype.
62054         (memmove): Renamed to ...
62055         (__libc_memmove): This.
62056         (memmove): New strong alias of __libc_memmove.
62058 2012-08-08  Mark Salter  <msalter@redhat.com>
62060         * elf/elf.h
62061         (R_MN10300_TLS_GD): Define.
62062         (R_MN10300_TLS_LD): Likewise.
62063         (R_MN10300_TLS_LDO): Likewise.
62064         (R_MN10300_TLS_GOTIE): Likewise.
62065         (R_MN10300_TLS_IE): Likewise.
62066         (R_MN10300_TLS_LE): Likewise.
62067         (R_MN10300_TLS_DTPMOD): Likewise.
62068         (R_MN10300_TLS_DTPOFF): Likewise.
62069         (R_MN10300_TLS_TPOFF): Likewise.
62070         (R_MN10300_SYM_DIFF): Likewise.
62071         (R_MN10300_ALIGN): Likewise.
62072         (R_MN10300_NUM): Update.
62074 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62076         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62077         Remove.
62079 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62081         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62083         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62084         sysdeps/unix -> sysdeps/posix move.
62085         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62087 2012-08-07      Allan McRae     <allan@archlinux.org>
62089         [BZ #14303]
62090         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62091         (SUNOS_CPP): Likewise.
62092         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62093         not found.
62094         (open_input): Call CPP using execvp.
62096 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62098         * sysdeps/unix/sysv/linux/kernel-features.h
62099         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62100         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62101         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62102         (__ASSUME_WAITID_SYSCALL): Likewise.
62103         * sysdeps/unix/sysv/linux/dl-execstack.c
62104         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62105         code unconditional.
62106         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62107         conditional code.
62108         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62109         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62110         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62111         code.
62112         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62113         unconditional.
62114         [__ASSUME_WAITID_SYSCALL]: Likewise.
62115         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62117 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62119         * sysdeps/unix/closedir.c: Renamed to ...
62120         * sysdeps/posix/closedir.c: ... here.
62121         * sysdeps/unix/dirfd.c: Renamed to ...
62122         * sysdeps/posix/dirfd.c: ... here.
62123         * sysdeps/unix/dirstream.h: Renamed to ...
62124         * sysdeps/posix/dirstream.h: ... here.
62125         * sysdeps/unix/fdopendir.c: Renamed to ...
62126         * sysdeps/posix/fdopendir.c: ... here.
62127         * sysdeps/unix/opendir.c: Renamed to ...
62128         * sysdeps/posix/opendir.c: ... here.
62129         * sysdeps/unix/readdir.c: Renamed to ...
62130         * sysdeps/posix/readdir.c: ... here.
62131         * sysdeps/unix/readdir_r.c: Renamed to ...
62132         * sysdeps/posix/readdir_r.c: ... here.
62133         * sysdeps/unix/rewinddir.c: Renamed to ...
62134         * sysdeps/posix/rewinddir.c: ... here.
62135         * sysdeps/unix/seekdir.c: Renamed to ...
62136         * sysdeps/posix/seekdir.c: ... here.
62137         * sysdeps/unix/telldir.c: Renamed to ...
62138         * sysdeps/posix/telldir.c: ... here.
62139         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62140         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62141         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62142         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62144         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62145         * bits/fcntl.h: ... here.
62147         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62148         not 0.
62149         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62150         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62151         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62152         (struct flock): Move l_start, l_len to the beginning.
62153         Use __pid_t for l_pid.
62154         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62155         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62156         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62157         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62158         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62159         [__USE_LARGEFILE64] (struct flock64): New type.
62160         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62162         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62163         * bits/dirent.h: ... here.
62165         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62166         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62168 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62170         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62171         Change from 2.6.0 to 2.6.16.
62172         * sysdeps/unix/sysv/linux/configure: Regenerated.
62173         * sysdeps/unix/sysv/linux/kernel-features.h
62174         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62175         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62176         version.
62177         (__ASSUME_UTIMES): Likewise.
62178         (__ASSUME_CLONE_STOPPED): Remove.
62179         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62180         architectures, not kernel version.
62181         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62182         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62183         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62184         (__ASSUME_WAITID_SYSCALL): Likewise.
62185         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62186         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62187         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62188         refer to older versions.
62190 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62192         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62193         Define alphasort64 as an alias.
62194         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62195         Define versionsort64 as an alias.
62196         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62197         Define scandir64 as an alias.
62198         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62199         Define scandirat64 as an alias.
62200         * dirent/alphasort64.c (alphasort64):
62201         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62202         * dirent/versionsort64.c: Likewise.
62203         * dirent/scandir64.c: Likewise.
62204         * dirent/scandirat64.c: Likewise.
62205         * sysdeps/wordsize-64/alphasort.c: File removed.
62206         * sysdeps/wordsize-64/alphasort64.c: File removed.
62207         * sysdeps/wordsize-64/scandir.c: File removed.
62208         * sysdeps/wordsize-64/scandir64.c: File removed.
62209         * sysdeps/wordsize-64/scandirat.c: File removed.
62210         * sysdeps/wordsize-64/scandirat64.c: File removed.
62211         * sysdeps/wordsize-64/versionsort.c: File removed.
62212         * sysdeps/wordsize-64/versionsort64.c: File removed.
62213         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62214         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62215         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62216         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62217         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62218         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62219         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62220         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62222         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62223         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62224         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62225         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62226         [defined __arch64__ || defined __sparcv9]
62227         (__INO_T_MATCHES_INO64_T): New macro.
62228         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62229         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62230         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62231         * sysdeps/unix/sysv/linux/bits/dirent.h
62232         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62233         (_DIRENT_MATCHES_DIRENT64): New macro.
62235         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62236         Define lockf64 as an alias.
62237         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62238         Define fseeko64 as an alias.
62239         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62240         Define ftello64 as an alias.
62241         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62242         Define _IO_fgetpos64 and fgetpos64 as aliases.
62243         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62244         Define _IO_fsetpos64 and fsetpos64 as aliases.
62245         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62246         Conditionalize body on this.
62247         * libio/fseeko64.c: Likewise.
62248         * libio/ftello64.c: Likewise.
62249         * libio/iofgetpos64.c: Likewise.
62250         * libio/iofsetpos64.c: Likewise.
62251         * sysdeps/wordsize-64/lockf.c: File removed.
62252         * sysdeps/wordsize-64/lockf64.c: File removed.
62253         * sysdeps/wordsize-64/fseeko.c: File removed.
62254         * sysdeps/wordsize-64/fseeko64.c: File removed.
62255         * sysdeps/wordsize-64/ftello.c: File removed.
62256         * sysdeps/wordsize-64/ftello64.c: File removed.
62257         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62258         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62259         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62260         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62261         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62262         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62263         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62264         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62265         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62266         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62267         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62268         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62269         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62270         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62272         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62273         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62274         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62275         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62276         [defined __arch64__ || defined __sparcv9]
62277         (__OFF_T_MATCHES_OFF64_T): New macro.
62278         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62279         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62280         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62281         (__OFF_T_MATCHES_OFF64_T): New macro.
62283 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62285         * stdlib/secure-getenv.c (__secure_getenv): Replace
62286         GLIBC_2_16 with GLIBC_2_17.
62288 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62290         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62291         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62293 2012-08-03  David S. Miller  <davem@davemloft.net>
62295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62297 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62299         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62300         Remove.
62301         (__ASSUME_CORRECT_SI_PID): Likewise.
62302         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62303         (__ASSUME_TMPFS_NAME): Likewise.
62304         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62305         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62306         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62307         (HAVE_AUX_SECURE): Make definition unconditional.
62308         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62309         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62311 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62313         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62314         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62315         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62316         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62317         __eloop_threshold instead of SYMLOOP_MAX.
62319         * sysdeps/generic/eloop-threshold.h: New file.
62320         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62321         of MAXSYMLINKS.
62322         * elf/chroot_canon.c (chroot_canon): Likewise.
62324 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62326         [BZ #13717]
62327         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62328         Change to 2.6.0 everywhere.
62329         * sysdeps/unix/sysv/linux/configure: Regenerated.
62330         * sysdeps/unix/sysv/linux/kernel-features.h
62331         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62332         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62333         kernel versions.
62334         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62335         (__ASSUME_FUTEX_REQUEUE): Remove.
62336         (__ASSUME_STATFS64): Define unconditionally.
62337         (__ASSUME_AT_SECURE): Likewise.
62338         (__ASSUME_CORRECT_SI_PID): Likewise.
62339         (__ASSUME_TGKILL): Define without depending on kernel version for
62340         i386.
62341         (__ASSUME_UTIMES): Likewise.
62342         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62343         kernel version.
62344         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62345         (__ASSUME_TMPFS_NAME): Likewise.
62346         * README: Update reference to Linux kernel versions.
62348 2012-08-02  Marek Polacek  <polacek@redhat.com>
62350         [BZ# 14150]
62351         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62352         libc_cv_asm_type_prefix with %.
62353         * configure: Regenerated.
62354         * include/libc-symbols.h: Remove comment about
62355         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62356         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62357         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62358         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62359         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62360         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62361         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62362         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62363         * elf/tst-unique2mod1.c: Likewise.
62364         * elf/tst-unique1mod2.c: Likewise.
62365         * elf/tst-unique1mod1.c: Likewise.
62366         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62367         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62368         Replace ASM_TYPE_DIRECTIVE with .type.
62369         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62370         * sysdeps/i386/sysdep.h: Likewise.
62371         * sysdeps/x86_64/sysdep.h: Likewise.
62372         * sysdeps/sh/sysdep.h: Likewise.
62373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62374         Do not define ASM_TYPE_DIRECTIVE.
62375         * sysdeps/powerpc/sysdep.h: Likewise.
62376         * sysdeps/powerpc/powerpc32/sysdep.h:
62377         Replace ASM_TYPE_DIRECTIVE with .type.
62378         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62379         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62380         * sysdeps/i386/fpu/e_powf.S: Likewise.
62381         * sysdeps/i386/fpu/e_expl.S: Likewise.
62382         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62383         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62384         * sysdeps/i386/fpu/e_pow.S: Likewise.
62385         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62386         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62387         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62388         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62389         * sysdeps/i386/fpu/e_log2.S: Likewise.
62390         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62391         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62392         * sysdeps/i386/fpu/e_powl.S: Likewise.
62393         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62394         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62395         * sysdeps/i386/fpu/e_logl.S: Likewise.
62396         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62397         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62398         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62399         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62400         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62401         * sysdeps/i386/fpu/e_log.S: Likewise.
62402         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62403         * sysdeps/i386/fpu/e_logf.S: Likewise.
62404         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62405         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62406         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62407         * sysdeps/i386/fpu/e_log10.S: Likewise.
62408         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62409         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62410         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62411         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62412         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62413         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62414         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62415         * sysdeps/i386/i686/strtok.S: Likewise.
62416         * sysdeps/i386/i386-mcount.S: Likewise.
62417         * sysdeps/i386/strtok.S: Likewise.
62418         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62419         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62420         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62421         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62422         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62423         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62424         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62425         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62426         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62427         * sysdeps/x86_64/_mcount.S: Likewise.
62428         * sysdeps/x86_64/strtok.S: Likewise.
62429         * sysdeps/sh/_mcount.S: Likewise.
62431 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62433         * libio/iofopen.c: Include <fcntl.h>.
62434         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62435         (_IO_fopen64, fopen64): Define as aliases.
62436         * libio/iofopen64.c: Include <fcntl.h>.
62437         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62438         Conditionalize body on this.
62439         * sysdeps/wordsize-64/iofopen.c: File removed.
62440         * sysdeps/wordsize-64/iofopen64.c: File removed.
62442 2012-08-01  Marek Polacek  <polacek@redhat.com>
62444         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62445         Use dlfcn directly instead of a variable.
62446         (binfmt-subdir): Do not define.
62447         (dlfcn): Likewise.
62449 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62451         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62452         Remove all definitions.
62453         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62454         <kernel-features.h>.
62455         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62456         (miss_F_GETOWN_EX): Remove all definitions.
62457         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62458         macro definition.
62459         [!__ASSUME_FCNTL64]: Remove conditional code.
62460         [__ASSUME_FCNTL64]: Make code unconditional.
62461         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62462         <kernel-features.h>.
62463         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62464         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62465         (lockf64) [__NR_fcntl64]: Make code unconditional.
62466         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62468         * sysdeps/unix/sysv/linux/kernel-features.h
62469         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62470         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62471         Make code unconditional.
62472         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62473         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62475         [__NR_vfork]: Make code unconditional.
62476         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62477         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62479         [__NR_vfork]: Make code unconditional.
62480         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62481         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62483 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62485         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62486         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62488         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62489         Define mkstemp64 as an alias.
62490         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62491         Define mkstemps64 as an alias.
62492         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62493         Define mkostemp64 as an alias.
62494         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62495         Define mkostemps64 as an alias.
62496         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62497         Conditionalize body on this.
62498         * misc/mkostemp64.c: Likewise.
62499         * misc/mkostemps64.c: Likewise.
62500         * misc/mkstemps64.c: Likewise.
62501         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62502         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62503         * sysdeps/wordsize-64/mkostemp.c: File removed.
62504         * sysdeps/wordsize-64/mkstemp.c: File removed.
62505         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62506         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62507         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62508         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62510         [BZ #14138]
62511         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62512         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62513         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62514         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62516         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62517         compat_symbol macros from <shlib-compat.h> rather than the underlying
62518         default_symbol_version and symbol_version macros, so that DEFAULT
62519         lines in shlib-versions are respected.
62520         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62522 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62524         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62525         Declare with warn_unused_result.
62526         (setgid, setregid, setegid, setresgid): Likewise.
62527         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62528         Likewise.
62529         * WUR-REPORT: Remove set*id functions.
62531 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62533         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62535 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62537         [BZ #10191]
62538         * include/sys/socket.h (__libc_accept, __libc_accept4):
62539         Add attribute_hidden.
62540         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62542         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62543         use of PTR_MANGLE.
62544         * inet/getnetgrent_r.c (setup): Likewise.
62546         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62548 2012-07-31  David S. Miller  <davem@davemloft.net>
62550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62552 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62554         [BZ #13629]
62555         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62556         value between 1.0 and 2.0 and smaller part has absolute value less
62557         than 1.0.
62558         * math/s_clog10.c (__clog10): Likewise.
62559         * math/s_clog10f.c (__clog10f): Likewise.
62560         * math/s_clog10l.c (__clog10l): Likewise.
62561         * math/s_clogf.c (__clogf): Likewise.
62562         * math/s_clogl.c (__clogl): Likewise.
62563         * math/libm-test.inc (clog_test): Add more tests.
62564         (clog10_test): Likewise.
62565         * sysdeps/i386/fpu/libm-test-ulps: Update.
62566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62568 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62570         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62571         Exit with zero in case no suitable GID is found, and write a
62572         message to standard error.
62574 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62576         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62577         rather than to 1.
62578         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62579         (MAXPATHLEN): Removed.
62580         (NOGROUP, NODEV): New macros.
62581         (setbit, clrbit, isset, isclr): New macros.
62582         (howmany, roundup, powerof2): New macros.
62583         (DEV_BSIZE): New macro.
62585         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62586         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62588         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62589         definition on [!__NO_LONG_DOUBLE_MATH].
62591         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62592         PTR_MANGLE and PTR_DEMANGLE.
62594         * socket/accept4.c (accept4): Rename to __libc_accept4.
62595         Define accept4 as a weak alias.
62597         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62598         on [_DIRENT_HAVE_D_TYPE].
62599         * io/ftw.c (ftw_dir): Likewise.
62601         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62603         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62605         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62606         Use the BSD numbers rather than the arbitrary ones we had.
62607         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62608         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62609         (SIGXCPU, SIGXFSZ): New macros.
62610         (_NSIG): Now 32.
62612         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62613         initializer on [_LIBC_REENTRANT].
62615         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62616         definitions inside [_POSIX_MAPPED_FILES].
62618         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62620         * dirent/opendir.c: Include <fcntl.h>.
62622         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62623         (__libc_getspecific): Likewise.
62624         (__libc_key_create): Likewise.
62626         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62627         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62628         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62629         (tmpfile64): Define as alias.
62630         * sysdeps/wordsize-64/tmpfile.c: File removed.
62631         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62632         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62633         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62635         * stdio-common/vfscanf.c: Include <stdbool.h>.
62636         * nss/makedb.c: Likewise.
62637         * stdio-common/_i18n_number.h: Likewise.
62638         * argp/argp-help.c: Likewise.
62639         * posix/wordexp.c: Likewise.
62640         * sysdeps/posix/spawni.c: Likewise.
62641         * nss/nss_files/files-initgroups.c: Likewise.
62642         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62643         * nss/nss_files/files-initgroups.c: Likewise.
62644         * nss/nss_db/db-netgrp.c: Likewise.
62645         * nss/nss_db/db-initgroups.c: Likewise.
62646         * io/fchmodat.c: Include <sys/stat.h>.
62648         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62649         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62651         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62652         [HAVE_MMAP].
62654         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62655         Add multiple inclusion protection.
62657 2012-07-27  David S. Miller  <davem@davemloft.net>
62659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62661 2012-07-27  Gary Benson  <gbenson@redhat.com>
62663         [BZ #14298]
62664         * elf/rtld.c: Include <stap-probe.h>.
62665         (dl_main): Added static probes "init_start" and "init_complete".
62666         * elf/dl-load.c: Include <stap-probe.h>.
62667         (lose): Take new parameter "nsid".
62668         Added static probe "map_failed".
62669         (_dl_map_object_from_fd): Pass namespace id to lose.
62670         Added static probe "map_start".
62671         (open_verify): Pass namespace id to lose.
62672         * elf/dl-open.c: Include <stap-probe.h>.
62673         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62674         and "reloc_complete".
62675         * elf/dl-close.c: Include <stap-probe.h>.
62676         (_dl_close_worker): Added static probes "unmap_start" and
62677         "unmap_complete".
62678         * elf/rtld-debugger-interface.txt: New file documenting the above.
62680 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62682         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62683         rather than a string variable.
62684         * sunrpc/rpc_main.c (h_output): Likewise.
62685         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62687 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62689         * inet/check_native.c: New file.
62691 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62693         [BZ #13629]
62694         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62695         if larger part has absolute value 1.0.
62696         * math/s_clog10.c (__clog10): Likewise.
62697         * math/s_clog10f.c (__clog10f): Likewise.
62698         * math/s_clog10l.c (__clog10l): Likewise.
62699         * math/s_clogf.c (__clogf): Likewise.
62700         * math/s_clogl.c (__clogl): Likewise.
62701         * math/libm-test.inc (clog_test): Add more tests.
62702         (clog10_test): Likewise.
62703         * sysdeps/i386/fpu/libm-test-ulps: Update.
62704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62706         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62707         (pltexit): Likewise.
62708         (La_regs): Likewise.
62709         (La_retval): Likewise.
62710         (int_retval): Likewise.
62711         Update #error for removed macros to refer only to definitions in
62712         tst-audit.h.
62713         * elf/tst-auditmod3b.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-auditmod4b.c (pltenter): Remove all definitions of
62720         macro.
62721         (pltexit): Likewise.
62722         (La_regs): Likewise.
62723         (La_retval): Likewise.
62724         (int_retval): Likewise.
62725         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62726         macro.
62727         (pltexit): Likewise.
62728         (La_regs): Likewise.
62729         (La_retval): Likewise.
62730         (int_retval): Likewise.
62731         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62732         macro.
62733         (pltexit): Likewise.
62734         (La_regs): Likewise.
62735         (La_retval): Likewise.
62736         (int_retval): Likewise.
62737         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62738         macro.
62739         (pltexit): Likewise.
62740         (La_regs): Likewise.
62741         (La_retval): Likewise.
62742         (int_retval): Likewise.
62743         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62744         macro.
62745         (pltexit): Likewise.
62746         (La_regs): Likewise.
62747         (La_retval): Likewise.
62748         (int_retval): Likewise.
62749         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62750         macro definitions in tst-audit.h.
62751         * sysdeps/i386/tst-audit.h: New file.
62752         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62753         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62754         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62755         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62756         * sysdeps/sh/tst-audit.h: Likewise.
62757         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62758         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62759         * sysdeps/x86_64/tst-audit.h: Likewise.
62761 2012-07-26  Andreas Jaeger  <aj@suse.de>
62763         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62764         ptrace.
62766         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62767         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62768         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62769         PTRACE_O_MASK.
62770         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62771         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62772         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62774         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62775         value.
62777         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62778         _sigsys.
62779         (si_call_addr, si_syscall, si_arch): Define new macro.
62780         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62781         _sigsys.
62782         (si_call_addr, si_syscall, si_arch): Define new marcro.
62783         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62784         _sigsys.
62785         (si_call_addr, si_syscall, si_arch): Define new macro.
62786         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62787         _sigsys.
62788         (si_call_addr, si_syscall, si_arch): Define new macro.
62790 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62792         [BZ #13717]
62793         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62794         Change to 2.4.21 where previously 2.4.1.
62795         * sysdeps/unix/sysv/linux/configure: Regenerated.
62796         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62797         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62798         Linux kernel version.
62799         (__ASSUME_STD_AUXV): Remove.
62800         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62801         kernel version.
62802         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62803         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62804         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62805         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62806         (__ASSUME_NETLINK_SUPPORT): Likewise.
62807         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62808         (__no_netlink_support): Remove conditional definition.
62809         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62810         Remove.
62811         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62812         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62813         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62814         (if_nameindex_ioctl): Remove.
62815         (if_nameindex_netlink): Do not handle __no_netlink_support.
62816         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62817         code.
62818         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62819         Remove conditional code.
62820         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62821         code.
62822         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62823         unconditional.
62824         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62825         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62826         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62827         Remove.
62828         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62829         [!__ASSUME_STD_AUXV]: Remove conditional code.
62830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62831         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62832         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62834         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62835         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62836         code.
62837         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62839         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62840         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62841         conditional code.
62842         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62844         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62845         code.
62846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62847         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62848         conditional code.
62849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62850         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62851         code unconditional.
62852         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62853         conditional code.
62854         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62855         unconditional.
62856         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62857         conditional code.
62858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62859         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62860         unconditional.
62861         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62862         conditional code.
62863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62864         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62865         code unconditional.
62866         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62867         conditional code.
62868         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62869         unconditional.
62870         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62871         conditional code.
62872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62873         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62874         code unconditional.
62875         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62876         conditional code.
62877         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62878         unconditional.
62879         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62880         conditional code.
62882 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62884         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62885         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62886         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62887         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62888         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62889         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62890         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62891         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62892         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62893         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62894         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62895         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62896         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62897         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62898         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62899         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62900         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62901         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62902         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62903         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62904         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62905         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62906         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62908 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62910         * Versions.def: Add GLIBC_2.17.
62911         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62912         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62913         Introduce __libc_secure_getenv.
62914         * stdlib/Versions (2.17): Add secure_getenv
62915         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62916         * stdlib/secure-getenv.c: Rename __secure_getenv to
62917         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62918         symbol __secure_getenv for GLIBC_2.0.
62919         * stdlib/tst-secure-getenv.c: New.
62920         * stdlib/Makefile (tests): Add testcase.
62921         * manual/startup.texi (Environment Access): Document
62922         secure_getenv.
62923         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62924         __libc_secure_getenv.
62925         * inet/ruserpass.c (ruserpass): Likewise.
62926         * malloc/mtrace.c (mtrace): Likewise.
62927         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62928         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62929         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62930         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62931         HAVE_SECURE_GETENV.
62932         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62933         __secure_getenv to __libc_secure_getenv.
62934         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62936         Likewise.
62937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62938         Likewise.
62939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62941         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62947 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62949         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62950         (struct La_i86_retval): Likewise.
62951         (struct La_x86_64_regs): Likewise.
62952         (struct La_x86_64_retval): Likewise.
62953         (struct La_x32_regs): Likewise.
62954         (struct La_x32_retval): Likewise.
62955         (struct La_ppc32_regs): Likewise.
62956         (struct La_ppc32_retval): Likewise.
62957         (struct La_ppc64_regs): Likewise.
62958         (struct La_ppc64_retval): Likewise.
62959         (struct La_sh_regs): Likewise.
62960         (struct La_sh_retval): Likewise.
62961         (struct La_s390_32_regs): Likewise.
62962         (struct La_s390_32_retval): Likewise.
62963         (struct La_s390_64_regs): Likewise.
62964         (struct La_s390_64_retval): Likewise.
62965         (struct La_sparc32_regs): Likewise.
62966         (struct La_sparc32_retval): Likewise.
62967         (struct La_sparc64_regs): Likewise.
62968         (struct La_sparc64_retval): Likewise.
62969         (struct audit_ifaces): Remove architecture-specific pltenter and
62970         pltexit members.
62971         * sysdeps/i386/ldsodefs.h: New file.
62972         * sysdeps/powerpc/ldsodefs.h: Likewise.
62973         * sysdeps/s390/ldsodefs.h: Likewise.
62974         * sysdeps/sh/ldsodefs.h: Likewise.
62975         * sysdeps/sparc/ldsodefs.h: Likewise.
62976         * sysdeps/x86_64/ldsodefs.h: Likewise.
62978 2012-07-25  Marek Polacek  <polacek@redhat.com>
62980         [BZ #6808]
62981         * math/libm-test.inc (yn_test): Add another test.
62982         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62983         to ERANGE when the result is +-Inf.
62984         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62985         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62986         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62987         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62989 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62991         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62992         equal to 0.
62993         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62994         clock_t.
62995         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62997 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62999         * configure.in <sysdeps resolving>: Correct printing
63000         Implies_before.
63001         * configure: Regenerate.
63003 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63005         * math/w_ilogb.c: Include <limits.h>.
63006         * math/w_ilogbl.c: Likewise.
63008 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63010         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63011         va_copy.  Document allowing for unavailable va_copy only as
63012         pre-C99 compatibility.
63013         * manual/string.texi (Copying and Concatenation): Use va_copy
63014         instead of __va_copy in concat example.
63016 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63018         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63019         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63020         it if not null.
63022         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63023         with O_NOLINK passed to __file_name_lookup.
63025         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63026         with O_NOLINK passed to __file_name_lookup.
63028         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63029         negative N or less than NGIDS.
63031         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63032         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63033         enough.  Use memcpy instead of strncpy.
63035 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63037         * elf/Makefile (check-data): Remove.
63038         (localplt.data): New vpath directive.
63039         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63040         instead of $(check-data).
63041         * scripts/data/localplt-generic.data: Move to ...
63042         * sysdeps/generic/localplt.data: ... here.
63043         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63044         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63045         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63047         ... here.
63048         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63050         ... here.
63051         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63053         ... here.
63054         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63056         ... here.
63057         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63059         ... here.
63060         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63062         ... here.
63064 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63066         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63067         PPC32 and PPC64 files.
63068         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63069         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63071 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63073         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63074         __makecontext_ret to ...
63075         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63076         ... here and call exit if uc_link is NULL.  New file.
63077         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63078         __makecontext_ret.S.
63079         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63080         __makecontext_ret to ...
63081         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63082         ... here and call exit if uc_link is NULL.  New file.
63083         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63084         __makecontext_ret.S.
63086 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63088         * elf/elf.h (R_390_IRELATIVE): New definition.
63089         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63090         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63091         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63092         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63093         (elf_machine_lazy_rel): Likewise.
63094         * sysdeps/s390/dl-irel.h: New file.
63095         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63096         * sysdeps/s390/s390-64/memset.S: New asm code.
63097         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63098         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63099         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63100         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63101         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63102         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63103         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63104         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63105         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63106         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63107         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63108         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63109         * sysdeps/s390/s390-32/memset.S: New asm code.
63110         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63112 2012-07-17  Marek Polacek  <polacek@redhat.com>
63114         [BZ #14349]
63115         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63116         * sysdeps/s390/s390-64/configure.in: Likewise.
63117         * sysdeps/sparc/configure.in: Likewise.
63118         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63119         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63120         * sysdeps/i386/configure.in: Likewise.
63121         * sysdeps/x86_64/configure.in: Likewise.
63122         * sysdeps/sh/configure.in: Likewise.
63123         * sysdeps/s390/s390-32/configure: Regenerated.
63124         * sysdeps/s390/s390-64/configure: Likewise.
63125         * sysdeps/x86_64/configure: Likewise.
63126         * sysdeps/sh/configure: Likewise.
63127         * sysdeps/powerpc/powerpc64/configure: Likewise.
63128         * sysdeps/powerpc/powerpc32/configure: Likewise.
63129         * sysdeps/sparc/configure: Likwise.
63130         * sysdeps/i386/configure: Likewise.
63132         * elf/dl-open.c: Comment fixes.
63134 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63136         * Makefile [CXX] (check-data): Remove.
63137         [CXX] (c++-types.data): New vpath directive.
63138         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63139         vpath.  Do not allow for C++ type data being missing.
63140         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63141         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63142         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63143         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63144         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63145         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63146         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63148         ... here.
63149         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63151         ... here.
63152         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63154         ... here.
63155         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63157         ... here.
63158         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63160         ... here.
63161         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63163         ... here.
63164         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63166         ... here.
63167         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63170         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63171         definitions to architecture-specific files.
63172         (TLS_IE): Likewise.
63173         (TLS_LD): Likewise.
63174         (TLS_GD): Likewise.
63175         * sysdeps/i386/tls-macros.h: New file.
63176         * sysdeps/powerpc/tls-macros.h: Likewise.
63177         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63178         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63179         * sysdeps/sh/tls-macros.h: Likewise.
63180         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63181         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63182         * sysdeps/x86_64/tls-macros.h: Likewise.
63184 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63186         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63187         zero value for regular exit case.
63189         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63190         (__start_context): Preserve zero value for regular exit case.
63192 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63193             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63195         * manual/setjmp.texi (setcontext): Clarify normal process
63196         termination when uc_link is the null pointer.
63197         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63198         exit call.
63200 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63202         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63203         preprocessor.  Test for each exception mask separately.
63205 2012-07-16  Andreas Jaeger  <aj@suse.de>
63207         * po/ru.po: Update from translation team.
63209 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63211         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63212         equal to 0.
63213         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63214         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63215         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63216         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63217         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63219 2012-07-13  Andreas Jaeger  <aj@suse.de>
63221         * po/fr.po: Update from translation team.
63223 2012-07-12  Marek Polacek  <polacek@redhat.com>
63225         [BZ #14173]
63226         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63227         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63228         loop condition.
63230 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63232         [BZ #13717]
63233         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63234         Change to 2.4.1 where previously 2.4.0.
63235         * sysdeps/unix/sysv/linux/configure: Regenerated.
63236         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63237         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63238         version.
63239         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63240         (__ASSUME_AT_CLKTCK): Remove.
63241         (__ASSUME_AT_PAGESIZE): Likewise.
63242         (__ASSUME_AT_XID): Likewise.
63243         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63244         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63245         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63246         unconditionally.
63247         (HAVE_AUX_PAGESIZE): Likewise.
63248         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63249         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63250         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63252 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63254         [BZ #14307]
63255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63256         the temporary buffer used to invoke __gethostbyname2_r,
63257         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63258         host_data / struct gaih_addrtuple.
63259         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63260         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63261         header file nss/nsswitch.h.
63262         * nss/nsswitch.h (global scope): Add definition of implementation
63263         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63264         resolv/nss_dns/dns-host.c).
63266 2012-07-11  Andreas Jaeger  <aj@suse.de>
63268         * po/fr.po: Update from translation team.
63270         * po/sv.po: Update from translation team
63271         * po/fr.po: Another update from translation team.
63273 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63275         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63276         for subnormals or multiply small sinh result by itself.
63277         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63280 2012-07-11  David S. Miller  <davem@davemloft.net>
63282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63284 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63286         [BZ #14347]
63287         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63288         (INTERNAL_MARK): Shift it here.
63290 2012-07-10  Marek Polacek  <polacek@redhat.com>
63292         [BZ #14151]
63293         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63294         libc_cv_asm_global_directive with .globl.
63295         * configure: Regenerated.
63296         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63297         with .globl.
63298         * sysdeps/i386/configure: Regenerated.
63299         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63300         with .globl.
63301         * sysdeps/x86_64/configure: Regenerated.
63302         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63303         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63304         * elf/tst-unique2mod2.c: Likewise.
63305         * elf/tst-unique2mod1.c: Likewise.
63306         * elf/tst-unique1mod2.c: Likewise.
63307         * elf/tst-unique1mod1.c: Likewise.
63308         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63309         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63310         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63311         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63312         * sysdeps/mach/sysdep.h: Likewise.
63313         * sysdeps/i386/sysdep.h: Likewise.
63314         * sysdeps/i386/i386-mcount.S: Likewise.
63315         * sysdeps/x86_64/_mcount.S: Likewise.
63316         * sysdeps/x86_64/sysdep.h: Likewise.
63317         * sysdeps/sh/_mcount.S: Likewise.
63318         * sysdeps/sh/sysdep.h: Likewise.
63319         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63320         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63321         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63322         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63323         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63324         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63325         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63326         * locale/localeinfo.h: Likewise.
63327         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63328         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63330 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63332         [BZ #14336]
63333         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63334         system".
63335         * manual/message.texi (The Uniforum approach): Likewise.
63336         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63337         (glibc iconv Implementation): Likewise.
63339 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63341         [BZ #14337]
63342         * math/s_clog.c (__clog): Avoid scaling a value down where that
63343         could result in underflow.
63344         * math/s_clog10.c (__clog10): Likewise.
63345         * math/s_clog10f.c (__clog10f): Likewise.
63346         * math/s_clog10l.c (__clog10l): Likewise.
63347         * math/s_clogf.c (__clogf): Likewise.
63348         * math/s_clogl.c (__clogl): Likewise.
63349         * math/libm-test.inc (clog_test): Add more tests.
63350         (clog10_test): Likewise.
63351         * sysdeps/i386/fpu/libm-test-ulps: Update.
63352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63354 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63356         [BZ #14283]
63357         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63358         by 7 not 8 to examine high bit of fractional part.
63360         [BZ #14042]
63361         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63362         for call to __mcount_internal.
63363         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63364         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63365         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63367 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63369         [BZ #14154]
63370         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63371         approximation for values within 0x1p-13f of an odd multiple of
63372         pi/4.
63373         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63374         exception.  Add more tests.
63375         * sysdeps/i386/fpu/libm-test-ulps: Update.
63377         [BZ #6778]
63378         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63379         inputs and return -1 for them.  Do not check for +Inf in case not
63380         reachable for +Inf.
63381         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63382         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63383         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63384         and return -1 for them.  Do not check for +Inf in case not
63385         reachable for +Inf.
63386         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63387         define.
63388         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63389         and return -1 for them.  Do not check for +Inf in case not
63390         reachable for +Inf.
63391         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63392         spurious underflow.
63393         * sysdeps/i386/fpu/libm-test-ulps: Update.
63394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63396 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63398         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63400 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63402         [BZ #14157]
63403         [BZ #14331]
63404         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63405         could result in spurious underflow.  Scale down values above
63406         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63407         * math/s_csqrtf.c (__csqrtf): Likewise.
63408         * math/s_csqrtl.c (__csqrtl): Likewise.
63409         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63410         spurious underflow.
63411         * sysdeps/i386/fpu/libm-test-ulps: Update.
63412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63414 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63416         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63417         xopen-msg.sed.
63418         * catgets/xopen-msg.awk: New file.
63419         * catgets/xopen-msg.sed: Removed.
63421         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63422         po2text.sed.
63423         * intl/po2test.awk: New file.
63424         * intl/po2test.sed: Removed.
63426 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63428         [BZ #14328]
63429         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63430         or multiply small sinh result by itself.
63431         * math/s_ctanf.c (__ctanf): Likewise.
63432         * math/s_ctanh.c (__ctanh): Likewise.
63433         * math/s_ctanhf.c (__ctanhf): Likewise.
63434         * math/s_ctanhl.c (__ctanhl): Likewise.
63435         * math/s_ctanl.c (__ctanl): Likewise.
63436         * math/libm-test.inc (ctan_test_tonearest): New function.
63437         (ctan_test_towardzero): Likewise.
63438         (ctan_test_downward): Likewise.
63439         (ctan_test_upward): Likewise.
63440         (ctanh_test_tonearest): Likewise.
63441         (ctanh_test_towardzero): Likewise.
63442         (ctanh_test_downward): Likewise.
63443         (ctanh_test_upward): Likewise.
63444         (main): Call these new functions.
63445         * sysdeps/i386/fpu/libm-test-ulps: Update.
63446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63448 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63450         * .gitignore: Delete /ports entry.
63452 2012-07-03  Andreas Jaeger  <aj@suse.de>
63454         * po/bg.po: Update from translation team.
63455         * po/cs.po: Likewise.
63456         * po/de.po: Likewise.
63457         * po/hr.po: Likewise.
63458         * po/nl.pl: Likewise.
63459         * po/pl.po: Likewise.
63460         * po/vi.po: Likewise.
63462 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63464         * Makeconfig [!+link] (+link-before-libc): New variable.
63465         [!+link] (+link-after-libc): Likewise.
63466         [!+link] (+link-tests): Likewise.
63467         [!+link] (+link): Define in terms of $(+link-before-libc) and
63468         $(+link-after-libc).
63469         [!+link-static] (+link-static-before-libc): New variable.
63470         [!+link-static] (+link-static-after-libc): Likewise.
63471         [!+link-static] (+link-static-tests): Likewise.
63472         [!+link-static] (+link-static): Define in terms of
63473         $(+link-static-before-libc) and $(+link-static-after-libc).
63474         [build-shared] (link-libc-before-gnulib): New variable.
63475         [build-shared] (link-libc-tests): Likewise.
63476         [build-shared] (link-libc): Define in terms of
63477         $(link-libc-before-gnulib).
63478         [!build-shared] (link-libc-tests): New variable.
63479         (link-libc-static-tests): New variable.
63480         [!gnulib] (gnulib-arch): New variable.
63481         [!gnulib] (gnulib-tests): Likewise.
63482         [!gnulib] (static-gnulib-arch): Likewise.
63483         [!gnulib] (static-gnulib-tests): Likewise.
63484         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63485         Define with "=" instead of ":=".
63486         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63487         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63488         * Rules (binaries-all-notests): New variable.
63489         (binaries-all-tests): Likewise.
63490         (binaries-static-notests): Likewise.
63491         (binaries-static-tests): Likewise.
63492         (binaries-all): Define using $(binaries-all-notests) and
63493         $(binaries-all-tests).
63494         (binaries-static): Define using $(binaries-static-notests) and
63495         $(binaries-static-tests).
63496         (binaries-shared-tests): New variable.
63497         (binaries-shared-notests): Likewise.
63498         (binaries-shared): Remove variable.
63499         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63500         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63501         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63502         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63503         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63504         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63505         * elf/Makefile (sln-modules): New variable.
63506         (extra-objs): Add $(sln-modules:=.o).
63507         (ldconfig-modules): Add static-stubs.
63508         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63509         * elf/static-stubs.c: New file.
63511         [BZ #14283]
63512         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63513         by 7 not 8 to examine high bit of fractional part.  Use volatile
63514         variables when splitting into final array of floats if
63515         __FLT_EVAL_METHOD__ != 0.
63516         * math/libm-test.inc (cos_test): Add another test.
63517         (sin_test): Likewise.
63518         * sysdeps/i386/fpu/libm-test-ulps: Update.
63520         [BZ #14273]
63521         * math/libm-test.inc (cosh_test): Add more tests.
63523         * version.h (RELEASE): Set to "development".
63524         (VERSION): Set to "2.16.90".
63526 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63528         * NEWS: Update copyright. Remove last-updated date.
63529         Mention math library bug fixes and timezone data changes.
63530         * README: Mention GNU/Hurd, x32, and HPPA support status.
63532 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63534         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63536 2012-06-27  Andreas Jaeger  <aj@suse.de>
63538         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63540 2012-06-25  Andreas Jaeger  <aj@suse.de>
63542         * sysdeps/s390/fpu/libm-test-ulps: Update.
63544 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63545             Thomas Schwinge  <thomas@codesourcery.com>
63547         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63548         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63549         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63550         fanotify_mark.
63552 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63554         * sysdeps/mach/start.c: Remove file.
63555         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63556         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63557         * sysdeps/sh/init-first.c: Likewise.
63559         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63560         registers for frame unwinding purposes, add CFI directives.
63561         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63562         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63563         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63564         Likewise.
63566         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63567         __fortify_fail returning.
63568         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63570         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63571         sysdeps/sh/____longjmp_chk.S.
63572         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63573         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63574         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63575         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63577         * sysdeps/sh/abort-instr.h: New file.
63578         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63579         process in case exit returns.
63581         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63582         initialize the GOT register before use.
63584         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63585         calculation of ARGC > 4.
63587         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63588         meaningful names to some local labels.
63590 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63591             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63593         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63594         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63595         (__arch_compare_and_exchange_val_16_acq): Likewise.
63596         (__arch_compare_and_exchange_val_32_acq): Likewise.
63597         (atomic_exchange_and_add): Fix gUSA sequence.
63598         (atomic_add): Likewise.
63599         (atomic_add_negative): Likewise.
63600         (atomic_add_zero): Likewise.
63601         (atomic_bit_test_set): Likewise.
63603 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63605         [BZ #13579]
63606         * include/link.h (struct link_map): Add l_free_initfini.
63607         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63608         l_initfini.
63609         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63610         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63611         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63612         set.
63614 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63616         * configure.in: Use AC_LANG_SOURCE.
63617         * configure: Regenerate.
63619 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63621         * configure.in (libc_cv_localstatedir): New substituted variable.
63622         * configure: Regenerated.
63623         * config.make.in (localstatedir): New variable, substituted from
63624         libc_cv_localstatedir.
63625         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63626         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63627         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63628         * sysdeps/gnu/configure: Regenerated.
63630 2012-06-21  Jeff Law  <law@redhat.com>
63632         [BZ #14277]
63633         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63634         free.  Simplify list management for _LIBC case.
63636 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63638         [BZ #14273]
63639         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63640         Clear sign bit of 64-bit integer value before comparing against
63641         overflow value.
63643         * sysdeps/mach/configure: Regenerated.
63645 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63647         [BZ #14278]
63648         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63650 2012-06-21  Jeff Law  <law@redhat.com>
63652         [BZ #13882]
63653         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63654         uint16_t for elements in the "seen" array to avoid char overflows.
63655         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63656         * elf/dl-open.c (dl_open_worker): Likewise.
63658 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63660         * scripts/list-sources.sh: Scan PORTS for translations.
63661         * po/libc.pot: Regenerated.
63663 2012-06-21  Andreas Jaeger  <aj@suse.de>
63665         [BZ #12194]
63666         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63667         warning.
63668         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63669         * bits/byteswap-16.h (__bswap_16): Likewise.
63670         * bits/byteswap.h (__bswap_constant_16): Likewise.
63672 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63674         [BZ #14117]
63675         * sysdeps/i386/fpu_control.h: Removed.
63676         * sysdeps/x86_64/fpu_control.h: Moved to ...
63677         * sysdeps/x86/fpu_control.h: Here.
63679         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63680         (_FPU_SETCW): Likewise.
63682 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63684         [BZ #14117]
63685         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63686         * sysdeps/x86/fpu/bits/mathinline.h: This.
63687         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63689         [BZ #14050]
63690         [BZ #14117]
63691         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63692         functions if __x86_64__ is defined.
63694 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63696         * string/endian.h: Add !__ASSEMBLER__ condition for including
63697         conversion interfaces.
63699 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63701         [BZ #14241]
63702         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63703         of ABS(x) in calculating zero to negative powers other than odd
63704         integers.
63705         * math/libm-test.inc (pow_test): Add more tests.
63707 2012-06-15  Andreas Jaeger  <aj@suse.de>
63709         * manual/contrib.texi (Contributors): Update entry of Liubov
63710         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63711         Machado Filho.
63713 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63715         * string/string.h: Add __wur to GNU version of strerror_r.
63717 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63719         [BZ #14229]
63720         * string/Makefile (tests): Add tst-strtok_r.
63721         * string/tst-strtok_r.c: New file.
63722         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63723         RAX_LP/RDX_LP on SAVE_PTR.
63725 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63727         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63729 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63731         * libm_test.inc (csqrt_test): Allow more spurious underflow
63732         exceptions.
63733         (j0_test): Likewise.
63734         (j1_test): Likewise.
63735         (y0_test): Likewise.
63736         (y1_test): Likewise.
63738 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63740         * po/Makefile (libc.pot): Use UTF-8 charset.
63742 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63744         [BZ #14210]
63745         Suppress sign-conversion warning from FD_SET.
63746         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63747         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63748         not unsigned long int.
63749         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63751 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63753         [BZ #14050]
63754         [BZ #14117]
63755         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63756         __extern_always_inline instead of __extern_inline.
63757         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63758         (__signbit): Likewise.
63759         (__signbitl): Support C++ namespace.
63760         (lrintf): New inline function.
63761         (lrint): Likewise.
63762         (llrintf): Likewise.
63763         (llrint): Likewise.
63764         (fmaxf): Likewise.
63765         (fmax): Likewise.
63766         (fminf): Likewise.
63767         (fmin): Likewise.
63768         (rint): Likewise.
63769         (rintf): Likewise.
63770         (ceil): Likewise.
63771         (ceilf): Likewise.
63772         (floor): Likewise.
63773         (floorf): Likewise.
63774         (nearbyint): Likewise.
63775         (nearbyintf): Likewise.
63777 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63779         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63780         non-default versions.
63782 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63784         [BZ #14218]
63785         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63787 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63789         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63790         (FE_UPWARD, FE_DOWNWARD): Don't define.
63791         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63792         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63794         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63795         reading it.
63796         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63797         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63799 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63801         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63802         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63803         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63804         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63806 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63808         [BZ #14117]
63809         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63810         * sysdeps/i386/fpu/Implies: New file.
63811         * sysdeps/x86_64/fpu/Implies: Likewise.
63812         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63813         * sysdeps/x86/fpu/bits/fenv.h: This.
63815         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63816         __SSE_MATH__.
63818 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63820         [BZ #14134]
63821         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63822         character 0xffff that matches the last element of the
63823         conversion table.
63825 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63827         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63828         fmodl commit.
63830 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63832         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63833         values higher than 25.6283.
63835 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63837         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63838         subnormal exponent extraction and add some __builtin_expect.
63839         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63840         Fix for subnormal mantissa calculation.
63842 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63844         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63845         cpu2 is -1 and errno is not ENOSYS.
63847 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63849         [BZ #14117]
63850         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63851         * sysdeps/x86/bits/string.h: This.
63852         * sysdeps/x86_64/bits/string.h: Removed.
63854         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63855         if not compiling for x86-64, but compiling for >= i486.
63857         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63858         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63860         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63861         New macro from Linux kernel 3.4.0.
63862         (FP_XSTATE_MAGIC2): Likewise.
63863         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63864         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63865         (struct _fpx_sw_bytes): New struct.
63866         (struct _xsave_hdr): Likewise.
63867         (struct _ymmh_state): Likewise.
63868         (struct _xstate): Likewise.
63870         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63871         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63872         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63873         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63874         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63875         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63877         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63878         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63879         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63880         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63881         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63882         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63884 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63886         [BZ #13743]
63887         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63888         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63889         (sysdep_headers): Include sys/platform/ppc.h.
63890         * sysdeps/powerpc/test-gettimebase.c: Test for
63891         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63892         * manual/Makefile (appendices): Include platform.texi.
63893         * manual/contrib.texi (Contributors): Update @node pointers.
63894         * manual/maint.texi (Maintenance): Likewise.
63895         (Platform): New node.
63896         * manual/platform.texi: New file.  Document the new features.
63898 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63899             Jakub Jelinek  <jakub@redhat.com>
63901         [BZ #14188]
63902         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63903         where __builtin_expect is unavailable.
63905 2012-06-03  David S. Miller  <davem@davemloft.net>
63907         * stdlib/longlong.h: Updated from GCC.
63909 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63911         [BZ #14042]
63912         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63913         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63914         __mcount_internal.
63915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63916         (GLIBC_2.16): Likewise.
63918 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63920         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63922 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63925         (default-abi): New variable.
63926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63927         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63928         variable.
63929         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63930         Likewise.
63931         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63932         Likewise.
63933         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63934         Likewise.
63936         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63937         definition.  Document in comment.
63939 2012-06-01  David S. Miller  <davem@davemloft.net>
63941         * stdlib/longlong.h: Updated from GCC.
63943 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63945         [BZ #14117]
63946         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63947         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63948         sys/debugreg.h sys/io.h here.
63949         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63950         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63951         sys/io.h.
63952         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63953         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63954         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63955         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63956         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63957         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63959         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63960         Define only if __x86_64__ is defined.
63962 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63964         [BZ #14048]
63965         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63966         Use int64_t for variable i.
63967         * math/libm-test.inc (fmod_test): Add more tests.
63969         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63970         z computation is not scheduled after fetestexcept.
63971         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63972         Use math_force_eval instead of asm to ensure calculation scheduled
63973         before exception test.
63974         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63975         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63977 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63979         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63980         computation is not scheduled after fetestexcept.
63982 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63984         [BZ #14117]
63985         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63986         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63988 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63990         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63991         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63993 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63995         [BZ #14117]
63996         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63997         <bits/wordsize.h>.
63998         (__WCHAR_MIN): Support __WORDSIZE == 64.
63999         (__WCHAR_MAX): Likewise.
64001         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64002         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64004         [BZ #14183]
64005         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64006         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64008         [BZ #14117]
64009         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64010         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64012         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64013         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64015         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64016         Defined to 1 if __x86_64__ isn't defined.
64017         (_STAT_VER_LINUX_OLD): New.
64018         (st_atime): Remove duplicate.
64019         (st_mtime): Likewise.
64020         (st_ctime): Likewise.
64022 2012-05-31  David S. Miller  <davem@davemloft.net>
64024         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64025         entries.
64027 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64029         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64030         gen-libm-test.pl.
64032         [BZ #14132]
64033         * elf/dl-reloc.c: Include <_itoa.h>.
64034         (_dl_reloc_bad_type): Remove use of INTUSE.
64035         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64036         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64037         * stdio-common/psiginfo.c (psiginfo): Likewise.
64038         * stdio-common/psignal.c (psignal): Likewise.
64039         * string/strsignal.c (strsignal): Likewise.
64040         * include/signal.h (_sys_siglist): Declare hidden proto.
64041         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64042         INTVARDEF with libc_hidden_data_def.
64043         * stdio-common/itoa-udigits.c: Likewise.
64044         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64045         (_itoa_lower_digits_internal): Remove declaration.
64046         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64047         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64048         (_sys_sigabbrev_internal): Remove aliases.
64049         (_sys_siglist): Define hidden alias.
64051 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64053         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64054         bits/sysctl.h.
64056 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64058         [BZ #14117]
64059         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64060         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64062         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64063         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64064         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64065         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64066         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64067         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64069         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64070         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64071         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64073         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64074         with __addr.
64075         (insw): Likewise.
64076         (insl): Likewise.
64077         (outsb): Likewise.
64078         (outsw): Likewise.
64079         (outsl): Likewise.
64081         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64082         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64083         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64085         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64086         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64087         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64088         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64089         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64090         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64092         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64093         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64095         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64096         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64098         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64099         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64100         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64102         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64103         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64104         to ...
64105         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64107         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64108         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64109         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64111         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64112         for x86-64.
64113         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64115 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64117         * math/math.h (M_El): Use two more decimal places.
64118         (M_LOG2El): Likewise.
64119         (M_LOG10El): Likewise.
64120         (M_LN2l): Likewise.
64121         (M_LN10l): Likewise.
64122         (M_PIl): Likewise.
64123         (M_PI_2l): Likewise.
64124         (M_PI_4l): Likewise.
64125         (M_1_PIl): Likewise.
64126         (M_2_PIl): Likewise.
64127         (M_2_SQRTPIl): Likewise.
64128         (M_SQRT2l): Likewise.
64129         (M_SQRT1_2l): Likewise.
64131 2012-05-31  David S. Miller  <davem@davemloft.net>
64133         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64134         values between float registers.
64135         * sysdeps/sparc/sparc64/memset.S: Likewise.
64136         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64138 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64140         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64141         -D_FORTIFY_SOURCE=1.
64142         (CPPFLAGS-tst-longjmp_chk.c): Define.
64143         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64144         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64145         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64146         CFLAGS-tst-wchar-h.c.
64148 2012-05-31  Marek Polacek  <polacek@redhat.com>
64150         [BZ #14132]
64151         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64152         __endmntent_internal): Remove declaration.
64153         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64154         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64155         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64157 2012-05-30  David S. Miller  <davem@davemloft.net>
64159         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64160         (___Q_simulate_exceptions): Use real FP ops rather than writing
64161         into the %fsr.
64162         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64163         Likewise.
64165 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64167         [BZ #14117]
64168         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64169         * sysdeps/x86/bits/xtitypes.h: This.
64171         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64172         * sysdeps/x86/bits/wordsize.h: This.
64174         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64175         * sysdeps/x86/bits/huge_vall.h: This.
64177         * sysdeps/i386/bits/select.h: Removed.
64178         * sysdeps/x86_64/bits/select.h: Renamed to ...
64179         * sysdeps/x86/bits/select.h: This.
64181         * sysdeps/i386/bits/setjmp.h: Removed.
64182         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64183         * sysdeps/x86/bits/setjmp.h: This.
64185         * sysdeps/i386/bits/mathdef.h: Removed.
64186         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64187         * sysdeps/x86/bits/mathdef.h: This.
64189 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64191         [BZ #14132]
64192         * include/sys/socket.h (__connect_internal)
64193         (__libc_sa_len_internal): Remove declaration.
64194         (__connect, __libc_sa_len): Declare hidden_proto.
64195         (SA_LEN): Remove use of INTUSE.
64196         * socket/connect.c: Add libc_hidden_def.
64197         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64198         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64199         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64200         alias.
64201         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64202         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64203         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64204         of adding _internal alias.
64206 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64208         [BZ #14117]
64209         * sysdeps/i386/bits/link.h: Removed.
64210         * sysdeps/i386/bits/linkmap.h: Likewise.
64211         * sysdeps/x86_64/bits/link.h: Renamed to ...
64212         * sysdeps/x86/bits/link.h: This.
64213         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64214         * sysdeps/x86/bits/linkmap.h: This.
64216         * sysdeps/i386/bits/endian.h: Removed.
64217         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64218         * sysdeps/x86/bits/endian.h: This.
64220         * sysdeps/i386/bits/byteswap.h: Removed.
64221         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64222         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64223         * sysdeps/x86/bits/byteswap.h: This.
64224         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64225         * sysdeps/x86/bits/byteswap-16.h: This.
64226         * sysdeps/i386/Implies: Add x86.
64227         * sysdeps/x86_64/Implies: Likewise.
64229 2012-05-30  David S. Miller  <davem@davemloft.net>
64231         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64232         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64233         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64234         (FP_TRAPPING_EXCEPTIONS): Define.
64235         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64236         (FP_TRAPPING_EXCEPTIONS): Define.
64237         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64238         subnormals only when inexact has been signalled or underflow
64239         exceptions are enabled.
64240         (_FP_PACK_CANONICAL): Likewise.
64242 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64244         [BZ #14183]
64245         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64246         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64248 2012-05-30  Richard Henderson  <rth@twiddle.net>
64250         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64251         with #ifndef NOT_IN_libc.
64253         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64254         marked to avoid plt entry.
64256 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64258         [BZ #14112]
64259         * Makeconfig (default-abi): New macro.
64260         (abi-includes): Likewise.
64261         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64262         $(abi-$(default-abi)-lib-soname) for soname if defined.
64263         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64264         abi-variants.
64265         * Makefile (installed-stubs): Likewise.
64266         * include/stubs-biarch.h: Removed.
64267         * scripts/lib-names.awk: Only handle one library at a time.
64268         * scripts/soversions.awk: Remove WORDSIZE support.
64269         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64270         entries.
64271         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64272         Removed.
64273         (syscall-list-default-condition): Likewise.
64274         (syscall-list-default-condition): Likewise.
64275         (syscall-list-includes): Likewise.
64276         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64277         syscall-list-* with abi-*.  Handle undefined abi-variants.
64278         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64279         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64280         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64281         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64282         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64283         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64284         Removed.
64285         (syscall-list-32-options): Likewise.
64286         (syscall-list-32-condition): Likewise.
64287         (syscall-list-64-options): Likewise.
64288         (syscall-list-64-condition): Likewise.
64289         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64290         macro.
64291         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64292         Renamed to ...
64293         (abi-*): This.
64294         (abi-64-ld-soname): New macro.
64295         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64296         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64297         Renamed to ...
64298         (abi-*): This.
64299         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64300         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64302 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64304         * sysdeps/unix/sysv/linux/kernel-features.h
64305         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64306         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64307         include <kernel-features.h>.
64308         [!__NR_ftruncate64]: Remove conditional code.
64309         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64310         [__NR_ftruncate64]: Make code unconditional.
64311         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64312         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64313         include <kernel-features.h>.
64314         [!__NR_ftruncate64]: Remove conditional code.
64315         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64316         [__NR_ftruncate64]: Make code unconditional.
64317         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64319         include <kernel-features.h>.
64320         [!__NR_ftruncate64]: Remove conditional code.
64321         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64322         [__NR_ftruncate64]: Make code unconditional.
64323         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64325         include <kernel-features.h>.
64326         [!__NR_ftruncate64]: Remove conditional code.
64327         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64328         [__NR_ftruncate64]: Make code unconditional.
64329         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64331         * configure.in (libc_cv_fpie): Weaken to a compile test using
64332         LIBC_TRY_CC_OPTION.
64333         * configure: Regenerated.
64335 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64341         Refreshed.
64342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64348         Refreshed.
64350 2012-05-27  David S. Miller  <davem@davemloft.net>
64352         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64353         (___Q_zero): New.
64354         (__Q_simulate_exceptions): Return void.  Change to simulate
64355         exceptions by writing into the %fsr.
64356         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64357         (__Qp_handle_exceptions): Likewise.
64358         (numbers): Delete.
64359         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64360         __Qp_handle_exceptions.
64361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64362         __Qp_handle_exceptions.
64363         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64364         as unused and give dummy FP_RND_NEAREST initializer.
64365         (FP_INHIBIT_RESULTS): Define.
64366         (___Q_simulate_exceptions): Update declaration.
64367         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64368         formatting.
64369         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64370         as unused and give dummy FP_RND_NEAREST initializer.
64371         (__Qp_handle_exceptions): Update declaration.
64372         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64373         formatting.
64375 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64377         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64378         the temporary FPU control word.
64379         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64380         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64381         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64382         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64383         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64384         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64385         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64386         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64387         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64388         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64389         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64391 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64393         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64394         fields.
64396 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64398         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64399         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64400         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64401         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64402         Likewise.
64403         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64404         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64405         Likewise.
64407 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64409         * po/h.po: Update from translation team.
64411 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64413         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64415         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64416         handling of denormals.
64417         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64418         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64419         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64420         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64421         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64422         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64423         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64424         Likewise.
64426 2012-05-26  Marek Polacek  <polacek@redhat.com>
64428         [BZ #14152]
64429         * math/libm-test.inc (fma_test): Don't always expect underflow
64430         exception.
64432 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64434         [BZ #12416]
64435         * elf/tst-execstack.c: Include stackinfo.h.
64436         (do_test): Adjust test case to ensure that pthread_getattr_np
64437         behaviour remains the same after marking stack executable.
64439 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64441         * sysdeps/unix/sysv/linux/kernel-features.h
64442         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64443         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64444         kernel-features.h.
64445         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64446         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64447         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64448         kernel-features.h.
64449         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64450         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64452 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64454         * configure.in: Define the default includes to being none.
64455         * configure: Regenerated.
64457 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64459         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64460         * sysdeps/x86_64/setjmp.S: Likewise.
64461         * sysdeps/i386/bsd-setjmp.S: Likewise.
64462         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64463         * sysdeps/i386/setjmp.S: Likewise.
64464         * sysdeps/i386/__longjmp.S: Likewise.
64465         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64466         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64468         * include/stap-probe.h: New file.
64469         * configure.in: Handle --enable-systemtap.
64470         * configure: Regenerated.
64471         * config.h.in (USE_STAP_PROBE): New #undef.
64472         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64473         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64474         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64476 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64478         [BZ #13717]
64479         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64480         to 2.4.0 where earlier.
64481         * sysdeps/unix/sysv/linux/configure: Regenerated.
64482         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64483         <kernel-features.h>.
64484         [__ASSUME_32BITUIDS]: Make code unconditional.
64485         [!__ASSUME_32BITUIDS]: Remove conditional code.
64486         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64487         <kernel-features.h>.
64488         [__ASSUME_32BITUIDS]: Make code unconditional.
64489         [!__ASSUME_32BITUIDS]: Remove conditional code.
64490         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64491         [__ASSUME_32BITUIDS]: Make code unconditional.
64492         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64493         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.c: Do not include
64510         <kernel-features.h>.
64511         [__ASSUME_32BITUIDS]: Make code unconditional.
64512         [!__ASSUME_32BITUIDS]: Remove conditional code.
64513         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64514         <kernel-features.h>.
64515         [__ASSUME_32BITUIDS]: Make code unconditional.
64516         [!__ASSUME_32BITUIDS]: Remove conditional code.
64517         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64518         <kernel-features.h>.
64519         [__ASSUME_32BITUIDS]: Make code unconditional.
64520         [!__ASSUME_32BITUIDS]: Remove conditional code.
64521         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64522         <kernel-features.h>.
64523         [__ASSUME_32BITUIDS]: Make code unconditional.
64524         [!__ASSUME_32BITUIDS]: Remove conditional code.
64525         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64526         <kernel-features.h>.
64527         [__ASSUME_32BITUIDS]: Make code unconditional.
64528         [!__ASSUME_32BITUIDS]: Remove conditional code.
64529         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64530         <kernel-features.h>.
64531         [__ASSUME_32BITUIDS]: Make code unconditional.
64532         [!__ASSUME_32BITUIDS]: Remove conditional code.
64533         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64534         <kernel-features.h>.
64535         [__NR_setresgid] (__setresgid): Do not declare.
64536         [__ASSUME_32BITUIDS]: Make code unconditional.
64537         [!__ASSUME_32BITUIDS]: Remove conditional code.
64538         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64539         <kernel-features.h>.
64540         [__NR_setresuid] (__setresuid): Do not declare.
64541         [__ASSUME_32BITUIDS]: Make code unconditional.
64542         [!__ASSUME_32BITUIDS]: Remove conditional code.
64543         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/i386/setregid.c: Do not include
64560         <kernel-features.h>.
64561         [__ASSUME_32BITUIDS]: Make code unconditional.
64562         [!__ASSUME_32BITUIDS]: Remove conditional code.
64563         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64564         <kernel-features.h>.
64565         [__ASSUME_32BITUIDS]: Make code unconditional.
64566         [!__ASSUME_32BITUIDS]: Remove conditional code.
64567         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64568         <kernel-features.h>.
64569         [__ASSUME_32BITUIDS]: Make code unconditional.
64570         [!__ASSUME_32BITUIDS]: Remove conditional code.
64571         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64572         <kernel-features.h>.
64573         [__ASSUME_32BITUIDS]: Make code unconditional.
64574         [!__ASSUME_32BITUIDS]: Remove conditional code.
64575         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64576         <kernel-features.h>.
64577         [__ASSUME_32BITUIDS]: Make code unconditional.
64578         [!__ASSUME_32BITUIDS]: Remove conditional code.
64579         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64580         <kernel-features.h>.
64581         [__ASSUME_32BITUIDS]: Make code unconditional.
64582         [!__ASSUME_32BITUIDS]: Remove conditional code.
64583         * sysdeps/unix/sysv/linux/kernel-features.h
64584         (__ASSUME_SETRESUID_SYSCALL): Remove.
64585         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64586         (__ASSUME_32BITUIDS): Likewise.
64587         (__ASSUME_LDT_WORKS): Likewise.
64588         (__ASSUME_O_DIRECTORY): Likewise.
64589         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64590         architecture but not kernel version.
64591         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64592         (__ASSUME_MMAP2_SYSCALL): Likewise.
64593         (__ASSUME_STAT64_SYSCALL): Likewise.
64594         (__ASSUME_IPC64): Likewise.
64595         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64596         <kernel-features.h>.
64597         [__ASSUME_32BITUIDS]: Make code unconditional.
64598         [!__ASSUME_32BITUIDS]: Remove conditional code.
64599         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64600         <kernel-features.h>.
64601         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64602         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64603         132096]: Remove conditional code.
64604         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64605         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64606         <kernel-features.h>.
64607         [__ASSUME_32BITUIDS]: Make code unconditional.
64608         [!__ASSUME_32BITUIDS]: Remove conditional code.
64609         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64610         <kernel-features.h>.
64611         [__ASSUME_32BITUIDS]: Make code unconditional.
64612         [!__ASSUME_32BITUIDS]: Remove conditional code.
64613         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64614         <kernel-features.h>.
64615         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64616         unconditional.
64617         (__setresgid): Do not declare.
64618         [__ASSUME_32BITUIDS]: Make code unconditional.
64619         [!__ASSUME_32BITUIDS]: Remove conditional code.
64620         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64621         <kernel-features.h>.
64622         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64623         unconditional.
64624         (__setresuid): Do not declare.
64625         [__ASSUME_32BITUIDS]: Make code unconditional.
64626         [!__ASSUME_32BITUIDS]: Remove conditional code.
64627         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64628         <kernel-features.h>.
64629         [__ASSUME_32BITUIDS]: Make code unconditional.
64630         [!__ASSUME_32BITUIDS]: Remove conditional code.
64631         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64632         <kernel-features.h>.
64633         [__ASSUME_32BITUIDS]: Make code unconditional.
64634         [!__ASSUME_32BITUIDS]: Remove conditional code.
64636 2012-05-25  Richard Henderson  <rth@twiddle.net>
64638         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64639         dl_hwcap to ifunc resolver.
64640         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64641         elf_ifunc_invoke.
64642         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64643         dl_hwcap to ifunc resolver.
64644         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64646 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64648         [BZ #14153]
64649         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64650         for |x| <= 2**-26, not 2**-57.
64651         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64652         exception.
64654 2012-05-24  Jeff Law  <law@redhat.com>
64656         * stdio-common/Makefile (tests): Add bug25.
64657         * stdio-common/bug25.c: New test.
64659 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64661         [BZ #13576]
64662         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64663         multiple of MALLOC_ALIGNMENT in size.
64664         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64666 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64668         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64669         Require >= 256.
64670         (FILENAME_MAX): Use macro-int-constant.
64671         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64672         (_IOFBF): Use macro-int-constant.
64673         (_IOLBF): Likewise.
64674         (_IONBF): Likewise.
64675         (SEEK_CUR): Likewise.
64676         (SEEK_END): Likewise.
64677         (SEEK_SET): Likewise.
64678         (TMP_MAX): Likewise.
64679         (EOF): Use macro-int-constant.  Require < 0.
64680         (NULL): Use macro-constant.  Require == 0.
64681         (stdin): Require type to be FILE *.
64682         (stdout): Likewise.
64683         (stderr): Likewise.
64684         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64685         macro-int-constant.
64686         (EXIT_SUCCESS): Likewise.
64687         (NULL): Use macro-constant.  Require == 0.
64688         (RAND_MAX): Use macro-int-constant.
64689         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64690         [C99-based standards] (strtof): Require function.
64691         [C99-based standards] (strtold): Likewise.
64692         [C99-based standards] (strtoll): Likewise.
64693         [C99-based standards] (strtoull): Likewise.
64694         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64695         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64696         [ISO || ISO99 || ISO11] (math.h): Likewise.
64697         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64698         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64699         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64701 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64703         [BZ #14132]
64704         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64705         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64706         * intl/dgettext.c (DCGETTEXT): Likewise.
64707         * intl/gettext.c (DCGETTEXT): Likewise.
64708         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64709         * posix/regex_internal.h (gettext): Likewise.
64710         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64711         Remove declaration.
64712         * include/argz.h (__argz_count_internal)
64713         (__argz_stringify_internal): Remove declaration.
64714         (__argz_count, __argz_stringify): Declare hidden proto.
64715         * intl/dcgettext.c: Remove use of INTDEF.
64716         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64717         * string/argz-stringify.c: Likewise.
64718         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64719         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64720         Declare hidden proto.
64721         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64722         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64723         Declare hidden proto.
64724         * include/stdio.h (__asprintf_internal): Don't declare.
64725         (__asprintf): Don't define as macro.  Declare hidden proto.
64726         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64727         (__fsetlocking): Declare hidden proto.
64728         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64729         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64730         hidden proto.
64731         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64732         (_IO_setlinebuf): Remove use of INTUSE.
64733         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64734         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64735         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64736         Remove declaration.
64737         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64738         (_IO_do_flush): Remove use of INTUSE.
64739         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64740         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64741         (_IO_adjust_column, _IO_least_wmarker)
64742         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64743         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64744         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64745         (_IO_default_doallocate, _IO_wdefault_doallocate)
64746         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64747         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64748         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64749         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64750         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64751         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64752         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64753         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64754         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64755         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64756         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64757         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64758         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64759         proto.
64760         (_IO_flush_all_internal, _IO_adjust_column_internal)
64761         (_IO_default_uflow_internal, _IO_default_finish_internal)
64762         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64763         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64764         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64765         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64766         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64767         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64768         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64769         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64770         (_IO_file_close_internal, _IO_file_close_it_internal)
64771         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64772         (_IO_file_init_internal, _IO_file_attach_internal)
64773         (_IO_file_fopen_internal, _IO_file_read_internal)
64774         (_IO_file_sync_internal, _IO_file_seek_internal)
64775         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64776         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64777         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64778         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64779         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64780         (_IO_list_all_internal, _IO_link_in_internal)
64781         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64782         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64783         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64784         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64785         (_IO_do_write_internal, _IO_padn_internal)
64786         (_IO_getline_info_internal, _IO_getline_internal)
64787         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64788         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64789         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64790         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64791         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64792         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64793         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64794         with libc_hidden_ver, remove use of INTUSE.
64795         * libio/genops.c: Likewise.
64796         * libio/freopen.c: Likewise.
64797         * libio/freopen64.c: Likewise.
64798         * libio/iofclose.c: Likewise.
64799         * libio/iofdopen.c: Likewise.
64800         * libio/iofflush.c: Likewise.
64801         * libio/iofflush_u.c: Likewise.
64802         * libio/iofgets.c: Likewise.
64803         * libio/iofgets_u.c: Likewise.
64804         * libio/iofopen.c: Likewise.
64805         * libio/iofopncook.c: Likewise.
64806         * libio/iofread.c: Likewise.
64807         * libio/iofread_u.c: Likewise.
64808         * libio/ioftell.c: Likewise.
64809         * libio/iofwrite.c: Likewise.
64810         * libio/iogetline.c: Likewise.
64811         * libio/iogets.c: Likewise.
64812         * libio/iogetwline.c: Likewise.
64813         * libio/iopadn.c: Likewise.
64814         * libio/iopopen.c: Likewise.
64815         * libio/ioseekoff.c: Likewise.
64816         * libio/ioseekpos.c: Likewise.
64817         * libio/iosetbuffer.c: Likewise.
64818         * libio/iosetvbuf.c: Likewise.
64819         * libio/ioungetc.c: Likewise.
64820         * libio/ioungetwc.c: Likewise.
64821         * libio/iovdprintf.c: Likewise.
64822         * libio/iovsprintf.c: Likewise.
64823         * libio/iovsscanf.c: Likewise.
64824         * libio/memstream.c: Likewise.
64825         * libio/obprintf.c: Likewise.
64826         * libio/oldfileops.c: Likewise.
64827         * libio/oldiofclose.c: Likewise.
64828         * libio/oldiofdopen.c: Likewise.
64829         * libio/oldiofopen.c: Likewise.
64830         * libio/oldiopopen.c: Likewise.
64831         * libio/oldstdfiles.c: Likewise.
64832         * libio/putc.c: Likewise.
64833         * libio/setbuf.c: Likewise.
64834         * libio/setlinebuf.c: Likewise.
64835         * libio/stdfiles.c: Likewise.
64836         * libio/strops.c: Likewise.
64837         * libio/vasprintf.c: Likewise.
64838         * libio/vscanf.c: Likewise.
64839         * libio/vsnprintf.c: Likewise.
64840         * libio/vswprintf.c: Likewise.
64841         * libio/wfiledoalloc.c: Likewise.
64842         * libio/wfileops.c: Likewise.
64843         * libio/wgenops.c: Likewise.
64844         * libio/wmemstream.c: Likewise.
64845         * libio/wstrops.c: Likewise.
64846         * libio/__fpurge.c: Likewise.
64847         * libio/__fsetlocking.c: Likewise.
64848         * assert/assert.c: Likewise.
64849         * debug/fgets_chk.c: Likewise.
64850         * debug/fgets_u_chk.c: Likewise.
64851         * debug/fread_chk.c: Likewise.
64852         * debug/fread_u_chk.c: Likewise.
64853         * debug/gets_chk.c: Likewise.
64854         * debug/obprintf_chk.c: Likewise.
64855         * debug/vasprintf_chk.c: Likewise.
64856         * debug/vdprintf_chk.c: Likewise.
64857         * debug/vsnprintf_chk.c: Likewise.
64858         * debug/vsprintf_chk.c: Likewise.
64859         * malloc/mtrace.c: Likewise.
64860         * misc/error.c: Likewise.
64861         * misc/syslog.c: Likewise.
64862         * stdio-common/asprintf.c: Likewise.
64863         * stdio-common/fxprintf.c: Likewise.
64864         * stdio-common/getw.c: Likewise.
64865         * stdio-common/isoc99_fscanf.c: Likewise.
64866         * stdio-common/isoc99_scanf.c: Likewise.
64867         * stdio-common/isoc99_vfscanf.c: Likewise.
64868         * stdio-common/isoc99_vscanf.c: Likewise.
64869         * stdio-common/isoc99_vsscanf.c: Likewise.
64870         * stdio-common/printf-prs.c: Likewise.
64871         * stdio-common/printf_fp.c: Likewise.
64872         * stdio-common/printf_fphex.c: Likewise.
64873         * stdio-common/printf_size.c: Likewise.
64874         * stdio-common/putw.c: Likewise.
64875         * stdio-common/scanf.c: Likewise.
64876         * stdio-common/sprintf.c: Likewise.
64877         * stdio-common/tmpfile.c: Likewise.
64878         * stdio-common/vfprintf.c: Likewise.
64879         * stdio-common/vfscanf.c: Likewise.
64880         * stdlib/strfmon_l.c: Likewise.
64881         * sunrpc/openchild.c: Likewise.
64882         * sunrpc/xdr_stdio.c: Likewise.
64883         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64884         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64886 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64888         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64890         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64891         in the third column, to generate for the shared library an IFUNC
64892         that uses _dl_vdso_vsym.
64893         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64894         * Makeconfig (object-suffixes-noshared): New variable.
64896         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64897         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64898         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64899         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64901         [BZ #14132]
64902         * include/sys/time.h (__gettimeofday): Remove macro.
64903         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64904         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64905         Remove INTDEF.
64906         (__gettimeofday): Add libc_hidden_def.
64907         (gettimeofday): Add libc_hidden_weak.
64908         * sysdeps/mach/gettimeofday.c: Likewise.
64909         * sysdeps/posix/gettimeofday.c: Likewise.
64910         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64911         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64912         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64913         (__gettimeofday_internal): Remove strong_alias.
64914         (__gettimeofday): Add libc_hidden_def.
64915         (gettimeofday): Add libc_hidden_weak.
64916         * sysdeps/unix/syscalls.list (gettimeofday):
64917         Remove __gettimeofday_internal alias.
64919 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64920             H.J. Lu  <hongjiu.lu@intel.com>
64922         [BZ #12495]
64923         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64924         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64925         (largebin_index_32_big): New.
64926         (largebin_index): Use it for 16-byte alignment.
64927         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64928         correction with front_misalign.
64930 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64934         Likewise.
64935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64936         Likewise.
64937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64938         Likewise.
64939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64940         Likewise.
64941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64942         Likewise.
64943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64944         Likewise.
64945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64946         Likewise.
64947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64948         Likewise.
64949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64950         Likewise.
64951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64952         Likewise.
64953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64954         Likewise.
64955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64956         Likewise.
64958         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64959         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64961 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64963         [BZ #10846]
64964         [BZ #14036]
64965         * math/libm-test.inc (exp_test): Add test from bug 14036.
64966         (pow_test): Add test from bug 10846.
64968         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64969         and other flags.
64970         (special_function): Do not include flags in test name.
64971         (parse_args): Likewise.
64972         * sysdeps/i386/fpu/libm-test-ulps: Update.
64973         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64974         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64975         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64978         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64979         exceptions.
64980         * math/libm-test.inc ("Philosophy"): Update comment about
64981         exception testing.
64982         (UNDERFLOW_EXCEPTION): New macro.
64983         (UNDERFLOW_EXCEPTION_OK): Likewise.
64984         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64985         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64986         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64987         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64988         (INVALID_EXCEPTION_OK): Update value.
64989         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64990         (OVERFLOW_EXCEPTION_OK): Likewise.
64991         (IGNORE_ZERO_INF_SIGN): Likewise.
64992         (test_exceptions): Handle underflow exceptions.
64993         (acos_test): Update for underflow exception expectations.
64994         (cexp_test): Likewise.
64995         (clog_test): Likewise.
64996         (clog10_test): Likewise.
64997         (csqrt_test): Likewise.
64998         (ctan_test): Likewise.
64999         (ctanh_test): Likewise.
65000         (exp_test): Likewise.
65001         (exp10_test): Likewise.
65002         (exp2_test): Likewise.
65003         (expm1_test): Likewise.
65004         (fma_test): Likewise.
65005         (j0_test): Likewise.
65006         (jn_test): Likewise.
65007         (nexttoward_test): Likewise.
65008         (pow_test): Likewise.
65009         (scalbn_test): Likewise.
65010         (scalbln_test): Likewise.
65011         (tan_test): Likewise.
65012         (y1_test): Likewise.
65013         * sysdeps/i386/fpu/libm-test-ulps: Update.
65014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65016 2012-05-23  David S. Miller  <davem@davemloft.net>
65018         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65019         (__libc_sigaction): Remove unused local variables.
65021 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65023         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65025 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65027         mktime: avoid signed integer overflow
65028         * time/mktime.c (__mktime_internal): Do not mishandle the case
65029         where diff == INT_MIN.
65031         mktime: simplify computation of average
65032         * time/mktime.c (ranged_convert): Use new time_t_avg function
65033         instead of rolling our own (probably-slower) code.
65035         mktime: do not assume signed right shift propagates sign bit
65036         * time/mktime.c (isdst_differ): New static function.
65037         (__mktime_internal): No need to normalize tm_isdst now.
65038         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65039         tm_isdst values.
65041         mktime: merge another wrapv change from gnulib
65042         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65043         from some compilers.
65045         mktime: remove incorrect attempt at unusual arithmetics
65046         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65047         The code didn't really work on such machines anyway.
65048         (TYPE_MINIMUM): Assume two's complement.
65049         (twos_complement_arithmetic): Verify that long_int and time_t
65050         are two's complement (or unsigned, in the latter case).
65052         mktime: check signed shifts on long_int and time_t, too
65053         * time/mktime.c (SHR): Check that shifts work as desired
65054         on the types long_int and time_t too, as SHR is used on
65055         such types.
65057         mktime: do not assume 'long' is wide enough
65058         * time/mktime.c (verify): Move decl up.
65059         (long_int): New type.
65060         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65061         to remove assumption in the code that 'long' is wide enough to
65062         store year values.  This assumption is not true on x32 and on
65063         some non-glibc platforms.
65065         mktime: merge wrapv change from gnulib
65066         * time/mktime.c (WRAPV): New macro.
65067         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65068         (guess_time_tm, __mktime_internal): Do not assume that signed
65069         integer overflow wraps around; modern compilers generate code
65070         where this assumption is no longer valid.
65072 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65074         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65075         Replace "jmp L(pseudo_end)" with "ret".
65076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65077         Likewise.
65079 2012-05-23  Andreas Jaeger  <aj@suse.de>
65081         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65082         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65084 2012-05-23  Andreas Jaeger  <aj@suse.de>
65085             Maximilian Attems  <max@stro.at>
65087         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65088         New macros.
65090 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65092         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65093         code so that pseudo_end is just ret and the stack pointer is
65094         correct also for static library in error case.
65096 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65098         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65099         move to syscalls.list.
65100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65105         * manual/install.texi (Running make install): Do not mention Linux
65106         kernel version for which pt_chown is not needed.
65107         (Linux): Do not mention problems with nscd with 2.0 kernels.
65108         * INSTALL: Regenerated.
65110 2012-05-23  Andreas Jaeger  <aj@suse.de>
65112         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65113         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65114         macro.
65115         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65116         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65117         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65118         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65119         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65120         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65121         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65122         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65123         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65124         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65125         * sysdeps/unix/sysv/linux/bits/in.h
65126         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65128 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65130         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65131         (PREPARE_VERSION): Just use assert instead, it will be elided
65132         under [NDEBUG] anyway.
65134 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65136         * sysdeps/unix/sysv/linux/Makefile: Include
65137         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65138         (sysdep_routines): Remove sysctl.
65139         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65140         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65141         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65142         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65143         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65145 2012-05-22  Andreas Jaeger  <aj@suse.de>
65147         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65148         that pseudo_end is just ret and the stack pointer is correct also
65149         for static library in error case.
65151 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65153         [BZ #14122]
65154         * nss/nsswitch.c (defconfig_entries): New variable.
65155         (__nss_database_lookup): Don't leak defconfig entries.
65156         (nss_parse_service_list): Don't leak on error paths.
65157         (free_database_entries): New function.
65158         (free_defconfig): New function.
65159         (free_mem): Move common code to free_database_entries.
65161 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65163         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65164         Add arch_prctl.
65165         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65167         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65168         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65169         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65170         New macro.
65171         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65172         (INTERNAL_SYSCALL_TYPES): Likewise.
65173         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65174         (LOAD_REGS_TYPES_[1-6]): Likewise.
65175         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65176         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65178 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65180         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65181         copysignl for GLIBC_2_0.
65182         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65183         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65184         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65185         logbl for GLIBC_2_0.
65186         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65187         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65189 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65191         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65192         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65194         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65195         Use "neg %eax".
65197         * time/mktime.c: Update copyright years.
65199 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65201         mktime: merge comment-quoting-style change from gnulib
65202         * time/mktime.c: Quote 'like this' in comments.
65203         The GNU coding standards suggest that we no longer quote `like this',
65204         as "`" and "'" are typically rendered asymmetrically nowadays.
65205         The typical gnulib style is to quote 'like this' when quoting
65206         code, and "like this" when quoting English.
65208         * time/mktime.c (compile-command): Add "-I.".
65210         mktime: merge mktime-internal.h change from gnulib
65211         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65213         mktime: merge time_r change from gnulib
65214         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65216         mktime: merge DEBUG change from gnulib
65217         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65218         case system <time.h> has a #define.
65220         mktime: merge <sys/types.h> change from gnulib
65221         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65222         since <time.t> is now guaranteed to define time_t.
65224         mktime: merge HAVE_CONFIG_H change from gnulib
65225         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65227 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65229         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65230         Use "neg %eax".
65232         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65233         __rlim_t cast.
65234         (struct rusage): Use anonymous union to pad each field to
65235         __syscall_slong_t.
65237 2012-05-21  David S. Miller  <davem@davemloft.net>
65239         * Makefules (o-iterator): Remove .s cases.
65240         (compile-command.s): Delete.
65241         (COMPILE.s): Delete.
65242         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65244 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65246         * configure.in (libc_cv_predef_stack_protector): Only consider
65247         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65248         * configure: Regenerated.
65250 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65253         New macro.  Use R*LP on int and pointer.
65254         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65255         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65256         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65257         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65259         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65260         [__WORDSIZE_TIME64_COMPAT32] instead of
65261         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65262         (struct utmp): Likewise.
65263         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65264         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65265         Renamed to ...
65266         (__WORDSIZE_TIME64_COMPAT32): This.
65267         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65268         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65269         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65270         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65271         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65272         (__WORDSIZE_TIME64_COMPAT32): New macro.
65274 2012-05-21  Andreas Jaeger  <aj@suse.de>
65276         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65277         only if [SHARED]. Add prototype for __wcschr_ia32.
65279 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65281         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65282         of %rbp unmolested in the jmp_buf while mangling the low bits.
65283         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65284         unmolested high bits of %rbp while demangling the low bits.
65285         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65287 2012-05-21  Andreas Jaeger  <aj@suse.de>
65289         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65290         * sunrpc/svc_simple.c: Use it for registerrpc.
65291         * sunrpc/xcrypt.c: Use it for passwd2des.
65293         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65295 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65297         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65298         Don't define if [__SYSCALL_WORDSIZE != 32].
65299         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65300         New macro.
65302 2012-05-21  Bruno Haible  <bruno@clisp.org>
65303             Andreas Jaeger  <aj@suse.de>
65305         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65306         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65307         inptr and inend for must_buffer_ch.
65308         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65309         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65310         * stdio-common/Makefile (tests): Remove bug15.
65311         (bug15-ENV): Remove macro.
65312         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65313         anymore.
65315 2012-05-19  Andreas Jaeger  <aj@suse.de>
65316             Roland McGrath  <roland@hack.frob.com>
65318         * manual/contrib.texi: Completely rewritten. It contains now an
65319         alphabetical list of contributors and their contributions.
65321 2012-05-21  Richard Henderson  <rth@twiddle.net>
65323         * misc/getauxval.c (__getauxval): Use unsigned long int.
65324         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65325         (getauxval): Use unsigned long int.
65327 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65329         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65331 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65333         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65334         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65335         __alignof__ (long double).
65337 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65341 2012-05-20  Richard Henderson  <rth@twiddle.net>
65343         * misc/getauxval.c: New file.
65344         * misc/sys/auxv.h: New file.
65345         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65346         (routines): Add getauxval.
65347         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65348         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65349         * elf/dl-sysdep.c (_dl_auxv): Remove.
65350         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65351         * elf/dl-support.c (_dl_auxv): New variable.
65352         (_dl_aux_init): Initialize it.
65353         * manual/startup.texi (Auxiliary Vector): New node.
65354         * sysdeps/generic/bits/hwcap.h: New file.
65355         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65356         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65357         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65358         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65359         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65360         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65362         Update.
65363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65366         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65372 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65376 2012-05-19  David S. Miller  <davem@davemloft.net>
65378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65380 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65382         [BZ #14123]
65383         * math/s_ccosh.c: Include <float.h>
65384         (__ccosh): Avoid internal overflow calculating sinh and cosh
65385         values before multiplying by sin and cos values.
65386         * math/s_ccoshf.c: Likewise.
65387         * math/s_ccoshl.c: Likewise.
65388         * math/s_csin.c: Likewise.
65389         * math/s_csinf.c: Likewise.
65390         * math/s_csinl.c: Likewise.
65391         * math/s_csinh.c: Likewise.
65392         * math/s_csinhf.c: Likewise.
65393         * math/s_csinhl.c: Likewise.
65394         * math/libm-test.inc (ccos_test): Add more tests.
65395         (ccosh_test): Likewise.
65396         (csin_test): Likewise.
65397         (csinh_test): Likewise.
65398         * sysdeps/i386/fpu/libm-test-ulps: Update.
65399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65401 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65403         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65404         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65406         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65408 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65410         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65411         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65412         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65413         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65414         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65415         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65416         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65417         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65418         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65419         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65420         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65421         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65422         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65423         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65424         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65425         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65426         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65427         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65428         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65429         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65430         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65431         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65432         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65433         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65434         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65435         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65436         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65437         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65438         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65439         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65440         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65442 2012-05-18  Andreas Jaeger  <aj@suse.de>
65444         * csu/.gitignore: Delete.
65446 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65448         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65449         (timex): Use __syscall_slong_t.
65451 2012-05-18  Andreas Jaeger  <aj@suse.de>
65452             Carlos O'Donell  <carlos_odonell@mentor.com>
65454         * manual/install.texi (Configuring and compiling): Update
65455         description about files modified in the source directory.
65456         * INSTALL: Regenerated.
65458 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65460         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65461         value.  Use "or" to set return value to -1.
65462         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65463         negate return value.
65465 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65467         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65468         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65469         failure if the compiler has Graphite support disabled.
65470         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65471         Likewise.
65472         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65473         (CFLAGS-memmove.c): Likewise.
65474         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65475         Likewise.
65477 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65479         * sysdeps/x86_64/x32/_itoa.h: New file.
65481         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65482         getdents system call only if kernel and user dirents have the
65483         same d_ino and d_off.
65485         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65486         LLONG_MAX != LONG_MAX.
65487         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65488         (_fitoa_word): Likewise.
65490         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65491         years.
65492         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65493         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65494         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65496         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65497         include <bits/wordsize.h>.  Check __x86_64__ instead of
65498         __WORDSIZE.
65499         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65500         if __x86_64__ is defined.  Use anonymous union on fpstate.
65502         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65503         anonymous union.
65505 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65507         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65508         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65509         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65510         Refer to _rtld_local_ro instead of _rtld_global_ro.
65511         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65512         Likewise.
65513         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65514         Likewise.
65515         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65516         Likewise.
65517         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65518         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65519         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65521         [BZ #10882]
65522         * sysdeps/powerpc/powerpc32/dl-machine.c
65523         (__elf_machine_runtime_setup) [PROF]: Don't reference
65524         _dl_prof_resolve.
65526 2012-05-18  Andreas Jaeger  <aj@suse.de>
65528         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65529         function only available for GCCs before 3.4 since GCC 3.4
65530         introduced a builtin.
65531         (lrint): Likewise.
65532         (llrintf): Likewise.
65533         (llrint): Likewise.
65534         (fmaxf): Likewise.
65535         (fmax): Likewise.
65536         (fminf): Likewise.
65537         (fmin): Likewise.
65538         (rint): Likewise.
65539         (rintf): Likewise.
65540         (nearbyint): Likewise.
65541         (nearbyintf): Likewise.
65542         (ceil): Likewise.
65543         (ceilf): Likewise.
65544         (floor): Likewise.
65545         (floorf): Likewise.
65547 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65549         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65550         on both fields and cast pointer to __syscall_ulong_t.
65552         * bits/types.h (__fsword_t): New type.
65553         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65554         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65555         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65556         (__FSWORD_T_TYPE): Likewise.
65557         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65558         (__FSWORD_T_TYPE): Likewise.
65559         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65560         (__FSWORD_T_TYPE): Likewise.
65561         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65562         (__FSWORD_T_TYPE): Likewise.
65563         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65564         __SWORD_TYPE with __fsword_t.
65565         (statfs64): Likewise.
65567 2012-05-17  David S. Miller  <davem@davemloft.net>
65569         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65571 2012-05-17  Andreas Jaeger  <aj@suse.de>
65573         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65574         warning.
65576 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65578         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65580 2012-05-17  Andreas Jaeger  <aj@suse.de>
65582         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65583         when it is used.
65585 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65587         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65589 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65591         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65592         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65594 2012-05-17  Andreas Jaeger  <aj@suse.de>
65595             Carlos O'Donell  <carlos_odonell@mentor.com>
65597         [BZ #14059]
65598         * sysdeps/x86_64/multiarch/init-arch.h
65599         (bit_YMM_Usable): Rename to...
65600         (bit_AVX_Usable): ... this.
65601         (bit_FMA4_Usable): New macro.
65602         (bit_XMM_state): New macro.
65603         (bit_YMM_state): New macro.
65604         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65605         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65606         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65607         (CPUID_OSXSAVE): New macro.
65608         (CPUID_AVX): New macro.
65609         (CPUID_FMA4): New macro.
65610         (index_YMM_Usable): Rename to...
65611         (index_AVX_Usable): ... this.
65612         (HAS_AVX): Use HAS_ARCH_FEATURE.
65613         (HAS_FMA4): Likewise.
65614         (HAS_YMM_USABLE): Remove.
65615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65616         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65617         are present.
65618         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65619         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65620         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65621         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65622         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65624 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65626         * math/libm-test.c: Support platforms without multiple rounding modes.
65627         * math/bug-nextafter.c: Support platforms without FP exceptions.
65628         * math/bug-nexttoward.c: Likewise.
65629         * math/test-fenv.c: Likewise.
65630         * math/test-misc.c: Likewise.
65631         * stdlib/bug-getcontext.c: Likewise.
65633 2012-05-17  Andreas Jaeger  <aj@suse.de>
65635         * manual/examples/search.c (critter_cmp): Change signature to
65636         avoid warnings.
65637         * manual/string.texi (Collation Functions): Likewise.
65639 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65641         * bits/types.h: Fold copyright years.
65642         * bits/typesizes.h: Likewise.
65643         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65644         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65645         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65646         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65647         * time/time.h: Likewise.
65649 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65651         [BZ #208]
65652         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65653         in instead of returning them.  Return void.
65654         (__libc_mallinfo): Accumulate over all arenas.
65655         (__malloc_stats): Adjust for change in int_mallinfo interface.
65657 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65659         [BZ #10375]
65660         * configure.in (NM): Add AC_CHECK_TOOL for it.
65661         (libc_extra_cflags): New substituted variable.
65662         Check for -fstack-protector being used implicitly.
65663         * configure: Regenerated.
65664         * config.make.in (config-extra-cflags): New variable,
65665         gets @libc_extra_cflags@.
65666         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65668         [BZ #10375]
65669         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65670         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65671         * configure: Regenerated.
65672         * config.make.in (CPPUNDEFS): New substituted variable.
65673         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65674         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65675         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65677 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65679         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65680         (mq_attr): Use __syscall_slong_t.
65682 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65684         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65685         Check __x86_64__ instead of __WORDSIZE.
65686         (_STAT_VER_LINUX): Likewise.
65687         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65688         __syscall_ulong_t and __syscall_slong_t.
65689         (stat64): Likewise.
65691 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65693         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65695 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65697         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65699 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65701         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65702         __syscall_ulong_t.
65704         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65705         include <bits/wordsize.h>.  Check __x86_64__ instead of
65706         __WORDSIZE.
65707         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65708         defined.
65709         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65711         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65712         include <bits/wordsize.h>.  Check __x86_64__ instead of
65713         __WORDSIZE.
65714         (user_regs_struct): Use "__extension__ unsigned long long"
65715         instead of "unsigned long" if __x86_64__ is defined.
65716         (user): Likewise.  Pad after pointer field if __ILP32__ is
65717         defined.
65719 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65721         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65722         versions 5 to 9.
65723         * configure: Regenerated.
65724         * manual/install.texi (texinfo): Increase version requirement to
65725         4.5 or later.
65726         * INSTALL: Regenerated.
65728         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65730 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65732         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65734         * sysdeps/x86_64/x32/ffs.c: New file.
65736         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65737         __syscall_ulong_t.
65738         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65739         defined.  Use __syscall_ulong_t.
65740         (shminfo): Use __syscall_ulong_t.
65741         (shm_info): Likewise.
65743         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65744         __syscall_ulong_t.
65746         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65747         <bits/wordsize.h>.
65748         (msgqnum_t): Use __syscall_ulong_t.
65749         (msglen_t): Likewise.
65750         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65751         __syscall_ulong_t.
65753         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65754         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65756         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65758         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65759         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65761         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65762         __syscall_slong_t.
65764         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65765         include <bits/wordsize.h>.  Check __x86_64__ instead of
65766         __WORDSIZE.
65768         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65769         "unsigned long long int" if __x86_64__ is defined.
65770         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65772         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65773         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65774         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65776         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65777         <stdint.h>.
65778         (GET_PC): Cast to uintptr_t first.
65779         (GET_FRAME): Likewise.
65780         (GET_STACK): Likewise.
65782         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65783         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65784         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65785         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65786         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65787         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65788         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65789         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65790         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65791         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65792         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65793         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65794         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65795         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65796         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65797         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65798         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65799         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65800         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65801         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65802         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65803         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65804         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65805         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65806         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65807         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65808         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65809         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65810         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65812 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65814         * Makerules (+depfiles): Also collect depfiles from .oS in
65815         $(extra-objs).
65816         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65817         .oS, $(libnldbl-routines)).
65819         * Makerules (native-compile-mkdep-flags): Define.
65820         * sunrpc/Makefile (extra-objs): Add $(addprefix
65821         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65822         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65823         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65824         calling $(make-target-directory).
65826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65828         * bits/types.h (__snseconds_t): Removed.
65829         * time/time.h (struct timespec): Replace __snseconds_t with
65830         __syscall_slong_t.
65831         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65832         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65833         Likewise.
65834         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65835         (__SNSECONDS_T_TYPE): Likewise.
65836         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65837         (__SNSECONDS_T_TYPE): Likewise.
65838         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65839         (__SNSECONDS_T_TYPE): Likewise.
65841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65843         * sysdeps/mach/hurd/bits/typesizes.h
65844         (__SYSCALL_SLONG_TYPE): New macro.
65845         (__SYSCALL_ULONG_TYPE): Likewise.
65847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65849         * bits/types.h (__syscall_slong_t): New type.
65850         (__syscall_ulong_t): Likewise.
65852         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65853         (__SYSCALL_ULONG_TYPE): Likewise.
65854         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65855         (__SYSCALL_SLONG_TYPE): Likewise.
65856         (__SYSCALL_ULONG_TYPE): Likewise.
65857         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65858         (__SYSCALL_SLONG_TYPE): Likewise.
65859         (__SYSCALL_ULONG_TYPE): Likewise.
65860         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65861         (__SYSCALL_SLONG_TYPE): Likewise.
65862         (__SYSCALL_ULONG_TYPE): Likewise.
65864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65866         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65867         Add sigaltstack-offsets.sym.
65868         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65869         <sigaltstack-offsets.h>.
65870         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65871         longjmp_msg pointer.
65872         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65873         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65874         signal stack.
65875         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65877 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65879         * elf/stackguard-macros.h: Remove file.
65880         * sysdeps/generic/stackguard-macros.h: New file.
65881         * sysdeps/i386/stackguard-macros.h: Likewise.
65882         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65883         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65884         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65885         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65886         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65887         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65888         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65889         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65890         <elf/stackguard-macros.h>.
65892         [BZ #14109]
65893         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65894         __aligned__ in attribute.
65895         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65896         (gregset_t): Likewise.
65898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65900         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65901         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65902         * sysdeps/x86_64/x32/Implies-after: New file.
65904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65906         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65907         and access return value for _dl_profile_fixup.  Use R10_LP to
65908         load frame size.
65910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65912         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65914 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65916         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65917         * sysdeps/x86_64/x32/sysdep.h: New file.
65919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65921         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65922         * sysdeps/x86_64/setjmp.S: Likewise.
65924 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65926         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65927         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65928         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65929         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65930         remove unused global constant.
65932 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65934         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65935         include of <not-cancel.h>.
65937 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65939         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65941 2012-05-15  Jeff Law  <law@redhat.com>
65942             Andreas Jaeger  <aj@suse.de>
65944         [BZ #13594]
65945         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65946         out from...
65947         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65948         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65949         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65950         code changing __hst_map_handle.map.
65952 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65954         * configure.in (sysnames): Look for Implies-before and Implies-after
65955         files.
65956         * configure: Regenerated.
65958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65960         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65961         8-byte data alignment with LP_SIZE alignment.
65963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65965         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65966         into R10_LP.
65968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65970         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65974         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65975         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65976         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65977         Likewise.
65978         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65980 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65982         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65983         (stackinfo_sub_sp): Likewise.
65985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65987         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65988         RAX_LP.
65990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65992         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65993         into R*_LP.
65995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65997         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65998         sizes into R*_LP.
66000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66002         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66006         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66007         into R11_LP and load __x86_64_shared_cache_size_half into
66008         R8_LP.
66010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66012         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66013         R8_LP.
66015 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66017         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66018         logb for POWER7.
66019         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66020         logbf for POWER7.
66021         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66022         logbl for POWER7.
66023         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66024         powerpc32/power7/fpu/s_logb.c via #include.
66025         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66026         powerpc32/power7/fpu/s_logbf.c via #include.
66027         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66028         powerpc32/power7/fpu/s_logbl.c via #include.
66030 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66032         * README.libm: Remove file.
66034 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66036         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66037         count for x32.  Use R*_LP and omit operand-size suffix.
66039 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66041         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66042         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66043         * sysdeps/x86_64/x32/shlib-versions: New file.
66045 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66047         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66048         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66049         Use _dl_fatal_printf instead.
66051 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66053         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66054         set if not set by the user.  Do not allow for being unset.
66055         * sysdeps/unix/sysv/linux/configure: Regenerated.
66057 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66059         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66060         the `q' suffix from lea and replace .quad with ASM_ADDR.
66062 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66064         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66065         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66066         instead of $17.
66067         (PTR_DEMANGLE): Likewise.
66069 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66071         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66072         (LP_OP): Likewise.
66073         (ASM_ADDR): Likewise.
66074         (RAX_LP): Likewise.
66075         (RBP_LP): Likewise.
66076         (RBX_LP): Likewise.
66077         (RCX_LP): Likewise.
66078         (RDI_LP): Likewise.
66079         (RSI_LP): Likewise.
66080         (RSP_LP): Likewise.
66081         (R8_LP): Likewise.
66082         (R9_LP): Likewise.
66083         (R10_LP): Likewise.
66084         (R10_LP): Likewise.
66085         (R11_LP): Likewise.
66086         (R12_LP): Likewise.
66087         (R13_LP): Likewise.
66088         (R14_LP): Likewise.
66089         (R15_LP): Likewise.
66091 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66093         * sysdeps/x86_64/x32/dl-machine.h: New file.
66095 2012-05-14  Andreas Jaeger  <aj@suse.de>
66097         * manual/Makefile (subdir): Remove export of subdir.
66098         (all): Remove target.
66099         (.PHONY): Remove all from list.
66100         (mkinstalldirs): Remove.
66101         (.PHONY): Remove installdirs from list.
66102         ($(inst_infodir)/libc.info): Use make-target-directory.
66103         (installdirs): Remove.
66104         (subdir_%): Remove.
66105         (glibc-targets): Remove.
66106         (lib): Remove.
66107         (stubs): Remove.
66108         ($(objpfx)stubs ../po/manual.pot): Remove.
66109         ($(objpfx)stamp%): Remove.
66110         (make-target-directory): Remove.
66111         (subdir_install): Remove.
66112         (routines): Remove.
66113         (aux): Remove.
66114         (sources): Remove.
66115         (objects): Remove.
66116         (headers): Remove.
66118         [BZ #13750]
66119         * manual/.gitignore: Remove, it's not needed anymore.
66120         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66121         all files in it.
66122         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66123         directory.
66124         (texis): Renamed to $(objpfx)texis.
66125         (texis-path): New, contains path to generated files.
66126         (chapters.%): Use texis-path for complete path, add extra argument
66127         libc-texinfo.sh.
66128         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66129         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66130         (summary,texi, stamp-summary): Use complete path of
66131         files. Generate files in build dir.
66132         (dir-add.texi): Build in build dir.
66133         (libm-err.texi,stamp-libm-err): Likewise.
66134         (version.texi, stamp-version): Likewise.
66135         (.%c.texi): Likewise.
66136         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66137         (mostlyclean): Remove target.
66138         (realclean): Remove target.
66139         (generated): Add new variable with contents from mostlyclean and
66140         realclean, remove entries duplicated in common-mostlyclean, add
66141         stamp-libm-err and stamp-version.
66142         (generated-dirs): Add libc directory.
66143         ($(inst_infodir)/libc.info): Install files from build dir.
66145         * manual/install.texi (Configuring and compiling): Adjust since
66146         the info files are not part of the tar ball anymore.
66148 2012-05-14  Andreas Jaeger  <aj@suse.de>
66150         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66151         variable.
66153 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66155         [BZ #13717]
66156         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66157         to 2.2.0 where earlier.
66158         * sysdeps/unix/sysv/linux/configure: Regenerated.
66159         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66160         Remove conditional code.
66161         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66162         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66163         Remove conditional code.
66164         [!__NR_lchown]: Likewise.
66165         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66166         [__NR_lchown]: Likewise.
66167         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66168         comment referencing __ASSUME_LCHOWN_SYSCALL.
66169         * sysdeps/unix/sysv/linux/i386/sigaction.c
66170         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66171         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66172         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66173         Remove conditional code.
66174         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66175         (__protocol_available): Remove #if 0 code.
66176         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66177         conditional code.
66178         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66179         * sysdeps/unix/sysv/linux/kernel-features.h
66180         (__ASSUME_GETCWD_SYSCALL): Don't define.
66181         (__ASSUME_REALTIME_SIGNALS): Likewise.
66182         (__ASSUME_PREAD_SYSCALL): Likewise.
66183         (__ASSUME_PWRITE_SYSCALL): Likewise.
66184         (__ASSUME_POLL_SYSCALL): Likewise.
66185         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66186         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66187         non-SPARC.
66188         (__ASSUME_SIOCGIFNAME): Don't define.
66189         (__ASSUME_MSG_NOSIGNAL): Likewise.
66190         (__ASSUME_SENDFILE): Define unconditionally.
66191         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66192         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66193         conditional code.
66194         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66195         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66196         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66197         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66198         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66199         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66200         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66202         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66203         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66205         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66206         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66208         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66209         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66211         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66212         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66214         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66215         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66217         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66218         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66220         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66221         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66223         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66224         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66225         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66226         Remove conditional code.
66227         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66228         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66229         Remove conditional code.
66230         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66231         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66232         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66233         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66234         Remove conditional code.
66235         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66236         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66237         Remove conditional code.
66238         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66239         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66240         Remove conditional code.
66241         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66242         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66243         Remove conditional code.
66244         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66245         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66246         Remove conditional code.
66247         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66248         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66249         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66250         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66251         * sysdeps/unix/sysv/linux/sigaction.c
66252         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66253         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66254         * sysdeps/unix/sysv/linux/sigpending.c
66255         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66256         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66257         * sysdeps/unix/sysv/linux/sigprocmask.c
66258         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66259         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66260         * sysdeps/unix/sysv/linux/sigsuspend.c
66261         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66262         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66263         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66264         (__libc_missing_rt_sigs): Remove.
66265         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66266         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66267         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66268         Remove conditional code.
66269         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66270         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66271         return 1.
66272         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66273         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66274         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66275         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66277 2012-05-14  Andreas Jaeger  <aj@suse.de>
66279         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66280         it's not used in glibc.
66281         (__coshm1): Likewise.
66282         (__acosh1p): Likewise.
66283         (__sgn): Likewise.
66285         * manual/string.texi (Copying and Concatenation): Add missing
66286         variable in concat example.
66287         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66289 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66291         [BZ #14103]
66292         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66293         __builtin_clzl with __builtin_clzll.
66295 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66297         [BZ #14104]
66298         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66299         libc_freeres_ptr.
66301 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66303         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66304         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66305         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66306         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66308 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66310         * NEWS: Update ia64 info.
66312 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66314         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66315         used as bcopy.
66317 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66319         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66320         * sysdeps/unix/syscalls.list (dup3): Likewise.
66321         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66322         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66324 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66326         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66327         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66329 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66331         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66332         thread pointer.
66333         (TLS_IE): Use mov/add instead of movq/addq to load thread
66334         pointer.
66335         (TLS_GD_PREFIX): New.
66336         (TLS_GD): Use it.
66338 2012-05-11  David S. Miller  <davem@davemloft.net>
66340         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66341         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66342         (_FPU_SETCW): Likewise.
66344 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66346         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66347         is 32-byte aligned.
66349 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66351         [BZ #11837]
66352         * iconvdata/gb18030.c: Update tables.
66353         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66354         characters specially.
66355         (BODY for TO_LOOP): Add encoding of missing ranges.
66357 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66359         [BZ #13673]
66360         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66361         * sysdeps/mach/hurd/dup3.c: Likewise.
66362         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66363         * sysdeps/powerpc/memmove.c:: Likewise.
66365 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66367         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66368         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66370 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66372         * elf/elf.h (R_X86_64_RELATIVE64): New.
66373         (R_X86_64_NUM): Updated.
66374         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66375         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66376         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66377         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66378         tst-quad1pie tst-quad2pie
66379         (modules-names): Add tst-quadmod1 tst-quadmod2.
66380         ($(objpfx)tst-quad1): New dependency.
66381         ($(objpfx)tst-quad2): Likewise.
66382         ($(objpfx)tst-quad1pie): Likewise.
66383         ($(objpfx)tst-quad2pie): Likewise.
66384         * sysdeps/x86_64/tst-quad1.c: New file.
66385         * sysdeps/x86_64/tst-quad1pie.c: New file.
66386         * sysdeps/x86_64/tst-quad2.c: Likewise.
66387         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66388         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66389         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66390         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66391         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66393 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66395         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66396         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66397         * streams/stropts.h (t_scalar_t): Define type.
66399         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66400         (_PATH_PRESERVE): Set to "/var/lib".
66401         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66403         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66404         instead of int.
66406         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66407         if __dir_mkfile succeeded.
66409         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66410         checking for _hurd_dtablesize.  Unlock it right after having
66411         finished _hurd_dtable allocation.
66413 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66415         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66416         * sysdeps/mach/hurd/configure: Regenerated.
66417         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66418         special-casing to...
66419         * sysdeps/gnu/configure.in: ... this new file.
66420         * sysdeps/unix/sysv/linux/configure: Regenerated.
66421         * sysdeps/gnu/configure: New generated file.
66423         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66424         for Linux: use nsec instead of usec, as well as:
66425         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66426         members of type struct timespec.
66427         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66428         New macros.
66429         (struct stat64): Likewise.
66430         (_STATBUF_ST_NSEC): New macro.
66431         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66433         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66434         __strtoul_internal rather than strtoul.
66436 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66438         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66439         and reject them.
66441 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66443         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66444         which preserves existing values.
66445         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66447 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66449         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66450         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66451         greater than FD_SETSIZE.
66453 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66455         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66456         allocated, call __vm_protect to finish enabling the existing space, and
66457         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66458         allocate the remainder.
66460 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66462         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66463         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66465 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66467         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66468         sysdeps/mach/hurd/readlink.c.
66470         * posix/tst-sysconf.c (posix_options): Only use
66471         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66472         _POSIX_SYNCHRONIZED_IO when they are defined
66473         * sysdeps/mach/hurd/bits/posix_opt.h:
66474         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66475         (_XOPEN_REALTIME): Undefine macro.
66476         (_XOPEN_REALTIME_THREADS): Undefine macro.
66477         (_XOPEN_SHM): Undefine macro.
66478         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66479         macro to -1.
66480         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66481         macro to -1.
66482         (_POSIX_ASYNC_IO): Undefine macro.
66483         (_POSIX_PRIORITIZED_IO): Undefine macro.
66484         (_POSIX_SPIN_LOCKS): Define macro to -1.
66486         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66487         SA_NODEFER, SA_RESETHAND.
66488         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66489         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66490         F_DUPFD_CLOEXEC.
66492 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66494         * elf/Makefile (pldd-modules): Define unconditionally.
66496 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66498         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66500 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66502         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66503         Return ENOENT when name is empty.
66504         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66506 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66508         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66510         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66512 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66514         Fix mlock in all cases except non-readable pages.
66515         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66516         instead of VM_PROT_ALL as parameter to __vm_wire function.
66518         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66519         (__mkdir): When path is `/', just fail with EEXIST.
66520         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66522 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66524         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66525         <sys/uio.h> (for writev).
66526         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66527         and <sys/param.h> (for MIN).
66529 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66531         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66532         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66533         if interrupted.
66535 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66537         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66538         Depend on against $(link-rpcuserlibs).
66540 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66542         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66543         (__libc_stack_end): Do not use attribute_relro.
66544         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66545         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66546         to libthread-provided value.
66547         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66548         attribute_relro.
66550 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66552         [BZ #3748]
66553         * bits/libc-lock.h (__libc_once_get): New macro.
66554         * sysdeps/mach/bits/libc-lock.h: Likewise.
66555         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66556         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66557         instead of using implementation details.
66559         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66560         * libio/freopen.c: Likewise.
66561         * libio/freopen64.c: Likewise.
66562         * misc/syslog.c: Likewise.
66563         * nscd/connections.c: Likewise.
66564         * nscd/netgroupcache.c: Likewise.
66565         * sysdeps/posix/getcwd.c: Likewise.
66567 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66569         * math/w_ilogbf.c: Add #include <limits.h>.
66571 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66573         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66574         path instead of returning without unlocking.
66576         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66577         immediate-write ioctls.
66578         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66580 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66582         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66583         __builtin_frame_address instead of making assumptions about the
66584         location of the return address relative to DATA.  Force early load of
66585         the return address.
66586         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66587         __builtin_frame_address.
66589         dup3 for GNU Hurd.
66590         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66591         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66592         implement dup3 and do some further code clean-ups.
66593         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66594         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66596 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66598         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66600         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66601         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66602         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66603         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66604         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66605         d->port.lock.
66607         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66608         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66609         when handler == SIG_ERR, not when handler != SIG_ERR.
66611 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66613         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66614         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66615         definitions.
66617         accept4 for GNU Hurd.
66618         * include/sys/socket.h (__libc_accept4): New prototype.
66619         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66620         to implement __libc_accept4.
66621         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66622         __libc_accept4.
66623         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66625         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66626         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66627         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66628         signal-defines.sym.
66630 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66632         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66634 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66636         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66637         assertion on O_CLOEXEC flag.
66638         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66639         * hurd/intern-fd.c: Likewise.
66640         * hurd/port2fd.c: Likewise.
66642 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66644         [BZ #3906]
66645         * bits/in.h (IPV6_PKTINFO): Define new macro.
66646         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66648 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66650         [BZ #13954]
66651         [BZ #13955]
66652         [BZ #13956]
66653         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66654         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66655         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66656         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66657         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66658         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66659         * math/libm-test.inc (logb_test) : Additional logb tests.
66661 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66662             Andreas Jaeger  <aj@suse.de>
66664         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66665         * configure: Regenerated.
66666         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66667         * config.make.in (link-obsolete-rpc): New substituted variable.
66668         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66669         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66670         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66671         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66672         so that libc.a contains the symbols.
66673         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66674         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66675         * sunrpc/auth_none.c: Likewise.
66676         * sunrpc/auth_unix.c: Likewise.
66677         * sunrpc/authdes_prot.c: Likewise.
66678         * sunrpc/authuxprot.c: Likewise.
66679         * sunrpc/clnt_gen.c: Likewise.
66680         * sunrpc/clnt_perr.c: Likewise.
66681         * sunrpc/clnt_raw.c: Likewise.
66682         * sunrpc/clnt_simp.c: Likewise.
66683         * sunrpc/clnt_tcp.c: Likewise.
66684         * sunrpc/clnt_udp.c: Likewise.
66685         * sunrpc/clnt_unix.c: Likewise.
66686         * sunrpc/des_crypt.c: Likewise.
66687         * sunrpc/des_soft.c: Likewise.
66688         * sunrpc/get_myaddr.c: Likewise.
66689         * sunrpc/key_call.c: Likewise.
66690         * sunrpc/key_prot.c: Likewise.
66691         * sunrpc/netname.c: Likewise.
66692         * sunrpc/pm_getmaps.c: Likewise.
66693         * sunrpc/pm_getport.c: Likewise.
66694         * sunrpc/pmap_clnt.c: Likewise.
66695         * sunrpc/pmap_prot.c: Likewise.
66696         * sunrpc/pmap_prot2.c: Likewise.
66697         * sunrpc/pmap_rmt.c: Likewise.
66698         * sunrpc/publickey.c: Likewise.
66699         * sunrpc/rpc_cmsg.c: Likewise.
66700         * sunrpc/rpc_common.c: Likewise.
66701         * sunrpc/rpc_dtable.c: Likewise.
66702         * sunrpc/rpc_prot.c: Likewise.
66703         * sunrpc/rpc_thread.c: Likewise.
66704         * sunrpc/rtime.c: Likewise.
66705         * sunrpc/svc.c: Likewise.
66706         * sunrpc/svc_auth.c: Likewise.
66707         * sunrpc/svc_raw.c: Likewise.
66708         * sunrpc/svc_run.c: Likewise.
66709         * sunrpc/svc_tcp.c: Likewise.
66710         * sunrpc/svc_udp.c: Likewise.
66711         * sunrpc/svc_unix.c: Likewise.
66712         * sunrpc/svcauth_des.c: Likewise.
66713         * sunrpc/xcrypt.c: Likewise.
66714         * sunrpc/xdr.c: Likewise.
66715         * sunrpc/xdr_array.c: Likewise.
66716         * sunrpc/xdr_float.c: Likewise.
66717         * sunrpc/xdr_intXX_t.c: Likewise.
66718         * sunrpc/xdr_mem.c: Likewise.
66719         * sunrpc/xdr_rec.c: Likewise.
66720         * sunrpc/xdr_ref.c: Likewise.
66721         * sunrpc/xdr_sizeof.c: Likewise.
66722         * sunrpc/xdr_stdio.c: Likewise.
66724 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66726         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66727         change.  Update copyright years.
66729 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66731         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66733 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66734             Joseph Myers  <joseph@codesourcery.com>
66735             Paul Pluzhnikov  <ppluzhnikov@google.com>
66737         [BZ #14012]
66738         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66739         requiring rpcgen.
66740         [cross-compiling] (extra-libs): Likewise.
66741         [cross-compiling] (extra-libs-others): Likewise.
66742         [cross-compiling] (librpcsvc-routines): Likewise.
66743         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66744         [cross-compiling] (omit-deps): Likewise.
66745         (sunrpc-CPPFLAGS): New variable.
66746         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66747         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66748         (cross-rpcgen-objs): New variable.
66749         (extra-objs): Append $(cross-rpcgen-objs).
66750         ($(cross-rpcgen-objs)): New rule.
66751         ($(objpfx)cross-rpcgen): Likewise.
66752         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66753         comment.
66754         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66755         ($(objpfx)x%.stmp): Likewise.
66756         * sunrpc/proto.h [IS_IN_build] (_): Define.
66757         [IS_IN_build] (_libc_intl_domainname): Likewise.
66759 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66761         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66762         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66763         and R_X86_64_TPOFF64.
66765 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66767         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66768         sysdeps/unix/sysv/syscalls.list.
66769         (stime): Likewise.
66770         (utime): Likewise.
66771         * sysdeps/unix/sysv/syscalls.list: Remove file.
66773 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66775         [BZ #3440]
66776         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66777         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66778         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66779         (__LC_IDENTIFICATION): Make these macros useful in #if
66780         expressions, as required by C99.
66782 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66784         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66785         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66786         after this.
66788 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66790         * stdlib/longlong.h: Updated from GCC.
66792 2012-05-09  Andreas Jaeger  <aj@suse.de>
66794         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66795         default is first entry.
66796         (run_mode): Set type.
66797         (main): Remove informal message about syslog.
66798         (options): Fix typo.
66800         [BZ #14053]
66801         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66802         to asm.
66803         (lrint): Likewise.
66804         (llrintf): Likewise.
66805         (llrint): Likewise.
66806         (rint): Likewise.
66807         (rintf): Likewise.
66808         (nearbyint): Likewise.
66809         (nearbyintf): Likewise.
66811 2012-05-09  Andreas Jaeger  <aj@suse.de>
66812             Pedro Alves  <palves@redhat.com>
66814         * nscd/nscd.c (run_mode): Use enum.
66815         (main): Cleanup coding style issue.
66817 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66818             Andreas Jaeger  <aj@suse.de>
66820         * nscd/nscd.c (go_background): Replaced with...
66821         (run_mode): ... this.
66822         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66823         (options): Add -F --foreground.
66824         (main): Implement it.
66825         (parse_opt): Parse it.
66827 2012-05-09  Andreas Jaeger  <aj@suse.de>
66829         [BZ #14083]
66830         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66831         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66832         -Wconversion warning.
66833         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66834         Likewise.
66836 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66838         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66839         == 0.
66840         (LC_ALL): Use macro-int-constant.
66841         (LC_COLLATE): Likewise.
66842         (LC_CTYPE): Likewise.
66843         (LC_MESSAGES): Likewise.
66844         (LC_MONETARY): Likewise.
66845         (LC_NUMERIC): Likewise.
66846         (LC_TIME): Likewise.
66847         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66848         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66849         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66850         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66851         Specify type.
66852         [C99-based standards] (float_t): Expect type.
66853         [C99-based standards] (double_t): Expect type.
66854         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66855         type.
66856         [C99-based standards] (HUGE_VALL): Likewise.
66857         [C99-based standards] (INFINITY): Likewise.
66858         [C99-based standards] (NAN): Likewise.
66859         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66860         [C99-based standards] (FP_NAN): Likewise.
66861         [C99-based standards] (FP_NORMAL): Likewise.
66862         [C99-based standards] (FP_SUBNORMAL): Likewise.
66863         [C99-based standards] (FP_ZERO): Likewise.
66864         [C99-based standards] (FP_FAST_FMA): Use
66865         optional-macro-int-constant.  Specify type.  Require == 1.
66866         [C99-based standards] (FP_FAST_FMAF): Likewise.
66867         [C99-based standards] (FP_FAST_FMAL): Likewise.
66868         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66869         [C99-based standards] (FP_ILOGBNAN): Likewise.
66870         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66871         Specify type.
66872         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66873         [C99-based standards] (math_errhandling): Specify type.
66874         [ISO99 || ISO11] (signgam): Do not allow.
66875         [non-C99-based standards] (copysignf): Do not allow.
66876         [non-C99-based standards] (exp2f): Likewise.
66877         [non-C99-based standards] (log2f): Likewise.
66878         [non-C99-based standards] (modff): Allow.
66879         [non-C99-based standards] (erff): Do not allow.
66880         [non-C99-based standards] (erfcf): Likewise.
66881         [non-C99-based standards] (gammaf): Likewise.
66882         [non-C99-based standards] (hypotf): Likewise.
66883         [non-C99-based standards] (j0f): Likewise.
66884         [non-C99-based standards] (j1f): Likewise.
66885         [non-C99-based standards] (jnf): Likewise.
66886         [non-C99-based standards] (lgammaf): Likewise.
66887         [non-C99-based standards] (tgammaf): Likewise.
66888         [non-C99-based standards] (y0f): Likewise.
66889         [non-C99-based standards] (y1f): Likewise.
66890         [non-C99-based standards] (ynf): Likewise.
66891         [non-C99-based standards] (isnanf): Likewise.
66892         [non-C99-based standards] (acoshf): Likewise.
66893         [non-C99-based standards] (asinhf): Likewise.
66894         [non-C99-based standards] (atanhf): Likewise.
66895         [non-C99-based standards] (cbrtf): Likewise.
66896         [non-C99-based standards] (expm1f): Likewise.
66897         [non-C99-based standards] (ilogbf): Likewise.
66898         [non-C99-based standards] (log1pf): Likewise.
66899         [non-C99-based standards] (logbf): Likewise.
66900         [non-C99-based standards] (nextafterf): Likewise.
66901         [non-C99-based standards] (remainderf): Likewise.
66902         [non-C99-based standards] (rintf): Likewise.
66903         [non-C99-based standards] (scalbf): Likewise.
66904         [non-C99-based standards] (copysignl): Likewise.
66905         [non-C99-based standards] (exp2l): Likewise.
66906         [non-C99-based standards] (log2l): Likewise.
66907         [non-C99-based standards] (modfl): Allow.
66908         [non-C99-based standards] (erfl): Do not allow.
66909         [non-C99-based standards] (erfcl): Likewise.
66910         [non-C99-based standards] (gammal): Likewise.
66911         [non-C99-based standards] (hypotl): Likewise.
66912         [non-C99-based standards] (j0l): Likewise.
66913         [non-C99-based standards] (j1l): Likewise.
66914         [non-C99-based standards] (jnl): Likewise.
66915         [non-C99-based standards] (lgammal): Likewise.
66916         [non-C99-based standards] (tgammal): Likewise.
66917         [non-C99-based standards] (y0l): Likewise.
66918         [non-C99-based standards] (y1l): Likewise.
66919         [non-C99-based standards] (ynl): Likewise.
66920         [non-C99-based standards] (isnanl): Likewise.
66921         [non-C99-based standards] (acoshl): Likewise.
66922         [non-C99-based standards] (asinhl): Likewise.
66923         [non-C99-based standards] (atanhl): Likewise.
66924         [non-C99-based standards] (cbrtl): Likewise.
66925         [non-C99-based standards] (expm1l): Likewise.
66926         [non-C99-based standards] (ilogbl): Likewise.
66927         [non-C99-based standards] (log1pl): Likewise.
66928         [non-C99-based standards] (logbl): Likewise.
66929         [non-C99-based standards] (nextafterl): Likewise.
66930         [non-C99-based standards] (remainderl): Likewise.
66931         [non-C99-based standards] (rintl): Likewise.
66932         [non-C99-based standards] (scalbl): Likewise.
66933         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66934         [non-C99-based standards] (FP_*): Do not allow.
66935         [C99-based standards] (FP_*): Change to
66936         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66937         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66938         allow.
66939         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66940         (SIG_ERR): Likewise.
66941         [X/Open-based standards] (SIG_HOLD): Likewise.
66942         (SIG_IGN): Likewise.
66943         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66944         positive value.
66945         (SIGFPE): Likewise.
66946         (SIGILL): Likewise.
66947         (SIGINT): Likewise.
66948         (SIGSEGV): Likewise.
66949         (SIGTER): Likewise.
66950         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66951         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66952         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66953         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66954         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66955         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66956         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66957         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66958         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66959         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66960         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66961         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66962         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66963         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66964         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66965         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66966         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66967         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66968         [X/Open-based standards] (SIGTRAP): Likewise.
66969         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66970         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66971         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66972         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66973         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66974         allow.
66976 2012-05-08  Ian Wienand  <ianw@vmware.com>
66978         [BZ #14080]
66979         * time/tzset.c (__tzset_parse_tz): Update default rules for
66980         daylight time changes in the Energy Policy Act of 2005.
66982 2012-05-09  Andreas Jaeger  <aj@suse.de>
66984         [BZ #13983]
66985         * elf/ldconfig.c (parse_conf): Change string to make clear that
66986         ldconfig only issued a warning if ld.so.conf does not exist.
66988 2012-05-08  David S. Miller  <davem@davemloft.net>
66990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66991         movxtod instead of popping the value on the stack.
66993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66995 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66997         * config.h.in: Add HAVE_ARM_PCS_VFP.
66999 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67001         [BZ #13979]
67002         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67003         checking but the checks are disabled for any reason.
67005 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67007         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67008         and ELF64_R_TYPE with ELFW(R_TYPE).
67010 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67012         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67013         (ulimit): Likewise.
67015         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67016         (settimeofday): Likewise.
67018 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67020         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67021         a struct th_u2 inside the union, and move tu_block/tu_code into
67022         a new th_u3 union of tu_block/tu_code inside of that.  Move
67023         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67024         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67025         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67026         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67027         (th_stuff): Change to th_u1.tu_stuff.
67028         (th_data): Define.
67029         (th_msg): Change to th_u1.th_u2.tu_data.
67031 2012-05-07  David S. Miller  <davem@davemloft.net>
67033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67035         [BZ #14074]
67036         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67037         (SETUP_PIC_REG): Use it.
67038         (SETUP_PIC_REG_LEAF): Use it.
67040 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67042         [BZ #13885]
67043         [BZ #13923]
67044         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67045         USE_AS_EXPM1L.
67046         (EXPL_FINITE): Likewise.
67047         (FLDLOG): Likewise.
67048         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67049         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67050         e_expl.S.
67051         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67052         USE_AS_EXPM1L.
67053         (EXPL_FINITE): Likewise.
67054         (FLDLOG): Likewise.
67055         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67056         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67057         e_expl.S.
67058         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67059         test of -max_value argument for long double.
67060         * sysdeps/i386/fpu/libm-test-ulps: Update.
67061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67063 2012-05-06  David S. Miller  <davem@davemloft.net>
67065         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67066         quad soft-float symbols whose references which are compiler
67067         generated.
67068         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67070 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67072         [BZ #13884]
67073         [BZ #13914]
67074         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67075         USE_AS_EXP10L.
67076         (EXPL_FINITE): Likewise.
67077         (FLDLOG): Likewise.
67078         (c0): Likewise.
67079         (c1): Likewise.
67080         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67081         Adjust comments for base varying.
67082         (__expl_finite): Change alias to EXPL_FINITE.
67083         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67084         e_expl.S.
67085         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67086         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67087         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67088         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67089         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67090         USE_AS_EXP10L.
67091         (EXPL_FINITE): Likewise.
67092         (FLDLOG): Likewise.
67093         (c0): Likewise.
67094         (c1): Likewise.
67095         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67096         Adjust comments for base varying.
67097         (__expl_finite): Change alias to EXPL_FINITE.
67098         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67099         tests for bugs.
67100         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67102         [BZ #14064]
67103         * math/libm-test.inc (check_float_internal): Correct ulp
67104         calculation for subnormal expected results.
67106 2012-05-06  Andreas Jaeger  <aj@suse.de>
67108         * Makeconfig (+math-flags): New, set to -frounding-math.
67109         (+cflags): Add +math-flags so that all of glibc gets compiled with
67110         it.
67112         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67114 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67116         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67117         Disable one test.
67119         [BZ #13787]
67120         [BZ #13922]
67121         [BZ #14036]
67122         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67123         (__ieee754_expl): Allow for and saturate large arguments.
67124         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67125         (u_threshold): Likewise.
67126         (__exp): Call __ieee754_exp before checking for overflow and
67127         underflow.
67128         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67129         (u_threshold): Likewise.
67130         (__expf): Call __ieee754_expf before checking for overflow and
67131         underflow.
67132         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67133         (u_threshold): Likewise.
67134         (__expl): Call __ieee754_expl before checking for overflow and
67135         underflow.
67136         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67137         (__ieee754_expl): Allow for and saturate large arguments.
67138         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67139         missing overflow exception on overflow.
67140         (expm1_test): Do not allow missing overflow exception on overflow.
67142         * sysdeps/i386/fpu/e_expl.c: Move to ...
67143         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67144         rather than using inline asm.
67145         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67146         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67147         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67149         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67150         (nice): Likewise.
67151         (poll): Likewise.
67152         (signal): Likewise.
67153         (time): Likewise.
67154         (times): Likewise.
67156 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67158         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67159         sysdeps/unix/common/syscalls.list.
67160         (fchmod): Likewise.
67161         (fchown): Likewise.
67162         (ftruncate): Likewise.
67163         (getrusage): Likewise.
67164         (gettimeofday): Likewise.
67165         (setpgid): Likewise.
67166         (setregid): Likewise.
67167         (setreuid): Likewise.
67168         (sigaction): Likewise.
67169         (truncate): Likewise.
67170         (vhangup): Likewise.
67171         * sysdeps/unix/common/syscalls.list: Remove file.
67172         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67173         * sysdeps/unix/sysv/linux/Implies: Likewise.
67175 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67177         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67179         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67180         Moved to ...
67181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67182         Here.
67183         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67184         to ...
67185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67186         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67187         to ...
67188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67189         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67190         to ...
67191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67192         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67193         to ...
67194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67195         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67196         to ...
67197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67198         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67199         to ...
67200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67201         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67202         to ...
67203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67204         Here.
67205         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67206         to ...
67207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67208         Here.
67209         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67210         to ...
67211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67212         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67213         Moved to ...
67214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67215         Here.
67216         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67217         to ...
67218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67220 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67222         * sysdeps/unix/common/bits/dirent.h: Remove file.
67223         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67225         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67226         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67227         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67228         * sysdeps/unix/bsd/isatty.c: Likewise.
67229         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67230         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67231         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67233 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67235         [BZ #13563]
67236         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67237         long double comparison inaccuracies.
67238         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67241 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67243         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67244         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67246 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67248         [BZ #14049]
67249         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67250         nonzero digits before rounding a hex value.
67251         * stdlib/tst-strtod.c (tests): Add another test.
67253 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67255         * sysdeps/s390/fpu/libm-test-ulps: Update.
67257 2012-05-03  Andreas Jaeger  <aj@suse.de>
67259         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67260         does not get optimized out.
67261         (malloc_opt_barrier): New.
67263 2012-05-03  Andreas Jaeger  <aj@suse.de>
67264             Roland McGrath  <roland@hack.frob.com>
67266         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67267         intermediate file deletion.
67268         (generated): Add .symlist files.
67270 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67272         [BZ #13775]
67273         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67274         Redirect under this condition.
67275         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67276         [__USE_GNU] (__dprintf_chk): Not under this condition.
67277         [__USE_GNU] (__vdprintf_chk): Likewise.
67278         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67279         under this condition.
67280         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67281         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67282         [__USE_XOPEN2K8] (vdprintf): Likewise.
67283         [__USE_GNU] (__dprintf_chk): Not under this condition.
67284         [__USE_GNU] (__vdprintf_chk): Likewise.
67285         [__USE_GNU] (dprintf): Likewise.
67286         [__USE_GNU] (vdprintf): Likewise.
67288 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67290         * elf/Makefile (common-generated): Set this instead of generated for
67291         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67292         $(all-built-dso)-derived lists.
67294 2012-05-03  Andreas Jaeger  <aj@suse.de>
67296         * sysdeps/i386/fpu/libm-test-ulps: Update.
67298         * FAQ: Removed.
67299         * FAQ.in: Likewise.
67300         * scripts/gen-FAQ.pl: Likewise.
67301         * manual/install.texi (Installation): Point to online location of
67302         FAQ.
67303         * Makefile (files-for-dist): Remove FAQ.
67304         (FAQ): Remove.
67306 2012-05-02  Allan McRae  <allan@archlinux.org>
67308         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67309         (LDFLAGS-reldepmod5.so): Likewise.
67310         (LDFLAGS-reldep6mod1.so): Likewise.
67311         (LDFLAGS-reldep6mod4.so): Likewise.
67312         (LDFLAGS-reldep8mod3.so): Likewise.
67313         (LDFLAGS-unload4mod1.so): Likewise.
67314         (LDFLAGS-unload4mod2.so): Likewise.
67315         (LDFLAGS-tst-initorder): Likewise.
67316         (LDFLAGS-tst-initordera2.so): Likewise.
67317         (LDFLAGS-tst-initordera3.so): Likewise.
67318         (LDFLAGS-tst-initordera4.so): Likewise.
67319         (LDFLAGS-tst-initorderb2.so): Likewise.
67320         (LDFLAGS-noload): Likewise.
67321         (LDFLAGS-next): Likewise.
67322         (LDFLAGS-order2mod1.so): Likewise.
67323         (LDFLAGS-order2mod2.so): Likewise.
67324         (LDFLAGS-tst-initorder2): Likewise.
67325         (LDFLAGS-tst-initorder2a.so): Likewise.
67326         (LDFLAGS-tst-initorder2b.so): Likewise.
67327         (LDFLAGS-tst-initorder2c.so): Likewise.
67328         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67330 2012-05-02  David S. Miller  <davem@davemloft.net>
67332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67334 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67336         [BZ #14055]
67337         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67339 2012-05-02  Andreas Jaeger  <aj@suse.de>
67341         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67342         since we manipulate rounding mode.
67343         (CPPFLAGS-test-idouble.c): Likewise.
67344         (CPPFLAGS-test-ifloat.c): Likewise.
67345         (CFLAGS-test-ldouble.c): Likewise.
67346         (CFLAGS-test-double.c): Likewise.
67347         (CFLAGS-test-float.c): Likewise.
67348         (CFLAGS-test-misc.c): Likewise.
67349         (CFLAGS-test-test-fenv.c): Likewise.
67351 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67353         [BZ #2550]
67354         [BZ #2570]
67355         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67356         comparisons to determine direction to adjust input.
67358 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67360         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67361         output to the target.
67363         * scripts/localplt.awk: New file.
67364         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67365         (check-localplt-CFLAGS): Variable removed.
67366         ($(all-built-dso:=.jmprel)): New static pattern rule.
67367         (generated): Add those targets.
67368         (localplt-built-dso): New variable.
67369         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67371         * elf/check-localplt.c: File removed.
67373         * scripts/check-execstack.awk: New file.
67374         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67375         (check-execstack-CFLAGS): Variable removed.
67376         ($(objpfx)check-execstack.h): Target removed.
67377         ($(objpfx)execstack-default): New target.
67378         (generated): Add that instead of check-execstack.h.
67379         ($(all-built-dso:=.phdr)): New static pattern rule.
67380         (generated): Add those targets.
67381         * elf/check-execstack.c: File removed.
67383         * scripts/check-textrel.awk: New file.
67384         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67385         (check-textrel-CFLAGS): Variable removed.
67386         (all-built-dso): Use := to define.o
67387         ($(all-built-dso:=.dyn)): New static pattern rule.
67388         (generated): Add those targets.
67389         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67390         * config.make.in (READELF): New substituted variable.
67391         * elf/check-textrel.c: File removed.
67393 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67395         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67396         allow.
67397         * conform/data/ctype.h-data [C99-based standards] (isblank):
67398         Expect function.
67399         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67400         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67401         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67402         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67403         Specify type.  Require positive value.
67404         (EILSEQ): Likewise.
67405         (ERANGE): Likewise.
67406         [ISO || POSIX] (EILSEQ): Do not expect.
67407         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67408         Specify type.  Require positive value.
67409         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67410         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67411         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67412         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67413         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67414         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67415         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67416         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67417         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67418         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67419         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67420         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67421         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67422         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67423         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67424         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67425         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67426         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67427         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67428         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67429         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67430         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67431         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67432         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67433         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67434         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67435         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67436         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67437         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67438         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67439         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67440         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67441         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67442         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67443         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67444         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67445         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67446         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67447         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67448         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67449         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67450         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67451         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67452         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67453         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67454         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67455         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67456         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67457         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67458         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67459         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67460         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67461         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67462         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67463         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67464         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67465         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67466         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67467         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67468         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67469         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67470         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67471         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67472         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67473         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67474         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67475         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67476         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67477         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67478         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67479         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67480         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67481         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67482         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67483         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67484         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67485         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67486         Require >= 2.
67487         (FLT_ROUNDS): Expect as macro, not constant.
67488         (FLT_MANT_DIG): Use macro-int-constant.
67489         (DBL_MANT_DIG): Likewise.
67490         (LDBL_MANT_DIG): Likewise.
67491         (FLT_DIG): Likewise.
67492         (DBL_DIG): Likewise.
67493         (LDBL_DIG): Likewise.
67494         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67495         (DBL_MIN_EXP): Likewise.
67496         (LDBL_MIN_EXP): Likewise.
67497         (FLT_MAX_EXP): Use macro-int-constant.
67498         (DBL_MAX_EXP): Likewise.
67499         (LDBL_MAX_EXP): Likewise.
67500         (FLT_MAX_10_EXP): Likewise.
67501         (DBL_MAX_10_EXP): Likewise.
67502         (LDBL_MAX_10_EXP): Likewise.
67503         (FLT_MAX): Use macro-constant.
67504         (DBL_MAX): Likewise.
67505         (LDBL_MAX): Likewise.
67506         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67507         (DBL_EPSILON): Likewise.
67508         (LDBL_EPSILON): Likewise.
67509         (FLT_MIN): Likewise.
67510         (DBL_MIN): Likewise.
67511         (LDBL_MIN): Likewise.
67512         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67513         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67514         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67515         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67516         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67517         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67518         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67519         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67520         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67521         [ISO11] (FLT_TRUE_MIN): Likewise.
67522         [ISO11] (LDBL_TRUE_MIN): Likewise.
67523         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67524         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67525         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67526         (SCHAR_MAX): Likewise.
67527         (UCHAR_MAX): Likewise.
67528         (CHAR_MIN): Likewise.
67529         (CHAR_MAX): Likewise.
67530         (MB_LEN_MAX): Use macro-int-constant.
67531         (SHRT_MIN): Use macro-int-constant.  Specify type.
67532         (SHRT_MAX): Likewise.
67533         (USHRT_MAX): Likewise.
67534         (INT_MAX): Likewise.
67535         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67536         bound negative.
67537         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67538         bound with "U".
67539         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67540         bound with "L".
67541         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67542         bound negative.  Suffix upper bound with "L".
67543         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67544         bound with "UL".
67545         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67546         Specify type.
67547         [C99-based standards] (LLONG_MAX): Likewise.
67548         [C99-based standards] (ULLONG_MAX): Likewise.
67549         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67550         == 0.
67551         [ISO11] (max_align_t): Require type.
67552         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67554         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67555         from $CFLAGS, without defining away __attribute__ calls.
67556         (checknamespace): Use $CFLAGS_namespace.
67558         * conform/conformtest.pl (@keywords): Only include C99 keywords
67559         for standards based on C99 or C11.
67561         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67562         Disable tests.
67563         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67564         UNIX98]: Likewise.
67566         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67567         usability of symbols in #if.
67569         * conform/conformtest.pl: If macro or constant types start
67570         "promoted:", expect the symbol to be of the following type
67571         promoted by the integer promotions.
67573         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67574         in one place.  Also handle "macro-constant".
67576         * conform/conformtest.pl: Only accept expected macro values with
67577         "==".  Parse all "macro" lines in one place.
67578         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67580         * conform/conformtest.pl: Handle braced types on "constant" lines
67581         instead of handling "typed-constant".
67582         * conform/data/signal.h-data: Use "constant" instead of
67583         "typed-constant".
67585         * conform/conformtest.pl: Handle "optional-" at start of lines in
67586         one place rather than duplicating several cases.  Handle each
67587         format of "macro" line with initial "optional-".
67589         * conform/conformtest.pl: Only accept expected constant or
67590         optional-constant values with "==".  Parse all "constant" lines in
67591         one place.  Parse all "optional-constant" lines in one place.
67592         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67593         * conform/data/fmtmsg.h-data: Likewise.
67594         * conform/data/netinet/in.h-data: Likewise.
67595         * conform/data/tar.h-data: Likewise.
67596         * conform/data/limits.h-data: Use "==" form on "constant" and
67597         "optional-constant" lines.
67599         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67600         Use -std=c99 for XOPEN2K.
67601         (@knownproblems): Remove.
67602         (newtoken): Don't check %isknown.
67604         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67605         Do not expect macro.
67606         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67607         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67608         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67609         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67610         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67611         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67612         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67613         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67614         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67615         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67616         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67617         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67618         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67619         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67620         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67621         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67622         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67623         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67624         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67625         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67626         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67627         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67628         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67629         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67630         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67631         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67632         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67633         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67634         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67635         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67636         [XPG3] (acosh): Likewise.
67637         [XPG3] (asinh): Likewise.
67638         [XPG3] (atanh): Likewise.
67639         [XPG3] (cbrt): Likewise.
67640         [XPG3] (expm1): Likewise.
67641         [XPG3] (ilogb): Likewise.
67642         [XPG3] (log1p): Likewise.
67643         [XPG3] (logb): Likewise.
67644         [XPG3] (nextafter): Likewise.
67645         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67646         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67647         [XPG3] (remainder): Likewise.
67648         [XPG3] (rint): Likewise.
67649         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67650         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67651         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67652         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67653         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67654         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67655         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67656         [UNIX98 || XOPEN2K] (scalb): Expect.
67657         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67658         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67659         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67660         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67661         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67662         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67663         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67664         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67665         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67666         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67667         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67668         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67669         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67670         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67671         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67672         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67673         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67674         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67675         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67676         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67677         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67678         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67679         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67680         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67681         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67682         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67683         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67684         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67685         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67686         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67687         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67688         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67689         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67690         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67691         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67692         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67693         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67694         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67695         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67696         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67697         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67698         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67699         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67700         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67701         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67702         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67703         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67704         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67705         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67706         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67707         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67708         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67709         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67710         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67711         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67712         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67713         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67714         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67715         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67716         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67717         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67718         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67719         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67720         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67721         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67722         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67723         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67724         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67725         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67726         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67727         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67728         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67729         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67730         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67731         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67732         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67733         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67734         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67735         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67736         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67737         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67738         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67739         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67740         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67741         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67742         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67743         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67744         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67745         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67746         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67747         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67748         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67749         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67750         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67751         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67752         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67753         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67754         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67755         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67756         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67757         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67758         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67759         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67760         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67761         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67762         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67763         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67764         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67765         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67766         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67767         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67768         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67769         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67770         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67771         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67772         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67773         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67774         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67775         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67776         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67777         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67778         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67779         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67780         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67781         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67782         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67783         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67784         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67785         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67786         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67787         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67788         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67789         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67790         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67791         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67792         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67793         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67795         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67796         _XOPEN_SOURCE_EXTENDED for XPG4.
67798         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67800         * Makeconfig (localtime): Remove variable.
67801         (inst_localtime-file): Likewise.
67803 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67806         Update.
67807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67808         Update.
67809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67810         Update.
67811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67812         Update.
67813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67814         Update.
67815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67816         Update.
67817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67818         Update.
67819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67820         Update.
67821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67822         Update.
67824 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67826         [BZ #2550]
67827         [BZ #2570]
67828         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67829         comparisons to determine direction to adjust input.
67830         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67831         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67832         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67833         Likewise.
67834         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67835         Likewise.
67836         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67837         Likewise.
67838         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67839         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67840         Likewise.
67841         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67842         Likewise.
67843         * math/libm-test.inc (nexttoward_test): Add more tests.
67845 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67847         [BZ #14040]
67848         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67849         in version GLIBC_2.1, not GLIBC_2.0.
67850         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67851         Likewise.
67853 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67855         [BZ #13942]
67856         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67857         (1 - x) * (1 + x).
67858         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67859         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67860         * math/libm-test.inc (acos_test): Add more tests.
67861         (asin_test): Likewise.
67862         * sysdeps/i386/fpu/libm-test-ulps: Update.
67863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67865         [BZ #14034]
67866         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67867         of square root.
67868         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67869         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67870         * math/libm-test.inc (acos_test_tonearest): New function.
67871         (acos_test_towardzero): Likewise.
67872         (acos_test_downward): Likewise.
67873         (acos_test_upward): Likewise.
67874         (asin_test_tonearest): Likewise.
67875         (asin_test_towardzero): Likewise.
67876         (asin_test_downward): Likewise.
67877         (asin_test_upward): Likewise.
67878         (main): Call the new functions.
67879         * sysdeps/i386/fpu/libm-test-ulps: Update.
67880         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67882         [BZ #13884]
67883         [BZ #13924]
67884         * math/e_exp10.c: Include <float.h>.
67885         (__ieee754_exp10): Handle underflow here rather than multiplying
67886         large negative argument by M_LN10.
67887         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67888         of __ieee754_expf.
67889         * math/e_exp10l.c: Include <float.h>.
67890         (__ieee754_exp10l): Handle underflow here rather than multiplying
67891         large negative argument by M_LN10l.
67892         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67893         spurious overflow exception on underflow.
67895 2012-04-29  Marek Polacek  <polacek@redhat.com>
67897         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67898         (__fortify_function): New macro.
67899         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67900         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67901         __extern_always_inline.
67902         * libio/bits/stdio2.h: Likewise.
67903         * libio/bits/stdio.h: Likewise.
67904         * string/string.h: Likewise.
67905         * string/bits/string3.h: Likewise.
67906         * include/stdio.h: Likewise.
67907         * stdlib/bits/stdlib.h: Likewise.
67908         * stdlib/stdlib.h: Likewise.
67909         * rt/bits/mqueue2.h: Likewise.
67910         * rt/mqueue.h: Likewise.
67911         * posix/bits/unistd.h: Likewise.
67912         * posix/unistd.h: Likewise.
67913         * io/bits/poll2.h: Likewise.
67914         * io/bits/fcntl2.h: Likewise.
67915         * io/fcntl.h: Likewise.
67916         * io/sys/poll.h: Likewise.
67917         * misc/bits/syslog.h: Likewise.
67918         * misc/bits/syslog-ldbl.h: Likewise.
67919         * misc/sys/syslog.h: Likewise.
67920         * socket/bits/socket2.h: Likewise.
67921         * socket/sys/socket.h: Likewise.
67922         * debug/tst-chk1.c: Likewise.
67923         * wcsmbs/bits/wchar2.h: Likewise.
67924         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67925         * wcsmbs/wchar.h: Likewise.
67927 2012-04-29  Andreas Jaeger  <aj@suse.de>
67929         * Makerules (tests): Remove enable-check-abi protection.
67930         (check-abi-warn): Remove.
67931         (check-abi-%): Remove check-abi-warn usage.
67933         * configure.in: Remove check-abi configure option.
67934         * configure: Regenerated.
67935         * config.make.in (enable-check-abi): Remove.
67937 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67939         [BZ #14033]
67940         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67941         double functions to double *_finite functions.
67943         [BZ #13941]
67944         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67945         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67946         LDBL_MIN_EXP.
67947         * stdio-common/Makefile (tests): Add tst-sprintf3.
67948         * stdio-common/tst-sprintf3.c: New file.
67950         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67951         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67953 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67955         * conform/conformtest.pl: Remove duplicate typed-constant
67956         handling.
67958 2012-04-28  David S. Miller  <davem@davemloft.net>
67960         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67961         (check-abi-%): Remove AWK script prerequisite and explicit
67962         abilist directory.
67963         (check-abi): Rewrite to just diff the symlist with the abilist.
67964         (config-tls, config-abi-config): Delete, no longer used.
67965         (update-abi-%): Remove AWK script and explicit abilist directory.
67966         (update-abi): Rewrite to simply compare and conditionally copy the
67967         symlist and the sysdep abilist file.  Remove update-abi-config
67968         checks.
67969         * abilist/ld.abilist: Remove.
67970         * abilist/libBrokenLocale.abilist: Remove.
67971         * abilist/libanl.abilist: Remove.
67972         * abilist/libcrypt.abilist: Remove.
67973         * abilist/libdl.abilist: Remove.
67974         * abilist/librt.abilist: Remove.
67975         * abilist/libthread_db.abilist: Remove.
67976         * abilist/libutil.abilist: Remove.
67977         * scripts/extract-abilist.awk: Remove.
67978         * scripts/merge-abilist.awk: Remove.
67979         * sysdeps/generic/libcidn.abilist: New file.
67980         * sysdeps/generic/libnss_compat.abilist: New file.
67981         * sysdeps/generic/libnss_db.abilist: New file.
67982         * sysdeps/generic/libnss_dns.abilist: New file.
67983         * sysdeps/generic/libnss_files.abilist: New file.
67984         * sysdeps/generic/libnss_hesiod.abilist: New file.
67985         * sysdeps/generic/libnss_nis.abilist: New file.
67986         * sysdeps/generic/libnss_nisplus.abilist: New file.
67987         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67988         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67989         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67990         file.
67991         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67992         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67993         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67994         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67995         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67996         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67997         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67998         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67999         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68000         file.
68001         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68002         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68003         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68004         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68005         file.
68006         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68007         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68008         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68009         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68010         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68011         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68012         file.
68013         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68014         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68015         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68016         file.
68017         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68018         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68019         New file.
68020         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68021         New file.
68022         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68023         New file.
68024         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68025         New file.
68026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68027         New file.
68028         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68029         New file.
68030         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68031         New file.
68032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68033         New file.
68034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68035         New file.
68036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68037         New file.
68038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68039         New file.
68040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68041         New file.
68042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68043         New file.
68044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68045         file.
68046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68047         New file.
68048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68049         New file.
68050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68051         file.
68052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68053         New file.
68054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68055         New file.
68056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68057         file.
68058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68059         New file.
68060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68061         New file.
68062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68063         New file.
68064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68065         New file.
68066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68067         New file.
68068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68069         New file.
68070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68072         file.
68073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68074         New file.
68075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68076         file.
68077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68078         file.
68079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68080         file.
68081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68082         file.
68083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68084         file.
68085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68086         New file.
68087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68088         file.
68089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68090         file.
68091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68092         New file.
68093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68094         file.
68095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68097         file.
68098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68099         New file.
68100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68101         file.
68102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68103         file.
68104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68105         file.
68106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68107         file.
68108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68109         file.
68110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68111         New file.
68112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68113         file.
68114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68115         file.
68116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68117         New file.
68118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68119         file.
68120         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68121         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68122         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68123         file.
68124         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68125         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68126         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68127         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68128         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68129         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68130         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68131         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68132         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68133         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68136         file.
68137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68138         New file.
68139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68140         file.
68141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68142         file.
68143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68144         file.
68145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68146         file.
68147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68148         file.
68149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68150         New file.
68151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68152         New file.
68153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68154         file.
68155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68156         New file.
68157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68158         file.
68159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68161         file.
68162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68163         New file.
68164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68165         file.
68166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68167         file.
68168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68169         file.
68170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68171         file.
68172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68173         file.
68174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68175         New file.
68176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68177         New file.
68178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68179         file.
68180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68181         New file.
68182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68183         file.
68185 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68187         * conform/conformtest.pl: Fix typo in handling typed-constant from
68188         allow-header.
68190 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68192         * README: Cut down references to pre-2.6 Linux kernels and
68193         Linuxthreads.  Update lists of configurations in libc and ports
68194         and sort alphabetically.  Say "or newer" with Linux kernel version
68195         requirements.
68197         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68199 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68201         [BZ #887]
68202         * math/libm-test.inc (logb_test_downward): New test to expose
68203         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68204         rounding mode.
68206 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68208         [BZ #14027]
68209         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68210         to be done.
68211         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68212         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68214 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68216         * sysdeps/unix/i386/brk.S: Remove file.
68217         * sysdeps/unix/i386/dl-brk.S: Likewise.
68218         * sysdeps/unix/i386/pipe.S: Likewise.
68219         * sysdeps/unix/i386/sigreturn.S: Likewise.
68220         * sysdeps/unix/i386/syscall.S: Likewise.
68221         * sysdeps/unix/i386/vfork.S: Likewise.
68222         * sysdeps/unix/i386/wait.S: Likewise.
68224         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68225         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68227         * configure.in (arm*-none*): Do not allow without
68228         --enable-hacker-mode.
68229         (netbsd*): Remove case setting base_os.
68230         (386bsd*): Likewise.
68231         (freebsd*): Likewise.
68232         (bsdi*): Likewise.
68233         (osf*): Likewise.
68234         (sunos*): Likewise.
68235         (ultrix*): Likewise.
68236         (newsos*): Likewise.
68237         (dynix*): Likewise.
68238         (*bsd*): Likewise.
68239         (sysv*): Likewise.
68240         (isc*): Likewise.
68241         (esix*): Likewise.
68242         (sco*): Likewise.
68243         (minix*): Likewise.
68244         (irix4*): Likewise.
68245         (irix6*): Likewise.
68246         (solaris[2-9]*): Likewise.
68247         (none): Likewise.
68248         * configure: Regenerated.
68250 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68252         [BZ #11521]
68253         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68254         overflow or cancellation in calculating denominator.
68255         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68256         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68257         down expression to avoid unexpected rounding in newer GCCs.
68258         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68260 2012-04-26  David S. Miller  <davem@davemloft.net>
68262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68263         long-double compat symbols.
68264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68278 2012-04-25  David S. Miller  <davem@davemloft.net>
68280         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68281         HWCAP_* values only after the memory barriers have been defined.
68282         (atomic_full_barrier): Define.
68283         (atomic_read_barrier): Define.
68284         (atomic_write_barrier): Define.
68286 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68288         * shlib-versions: Add libgcc_s version information.
68289         * sysdeps/generic/libgcc_s.h: Remove.
68290         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68291         libgcc_s.h.
68292         * sysdeps/gnu/unwind-resume.c: Likewise.
68293         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68295 2012-04-25  David S. Miller  <davem@davemloft.net>
68297         * sysdeps/unix/sparc/brk.S: Delete.
68298         * sysdeps/unix/sparc/dl-brk.S: Delete.
68299         * sysdeps/unix/sparc/pipe.S: Delete.
68300         * sysdeps/unix/sparc/sysdep.S: Delete.
68301         * sysdeps/unix/sparc/sysdep.h: Delete.
68302         * sysdeps/unix/sparc/vfork.S: Delete.
68303         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68304         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68305         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68306         (ret_ERRVAL, r0, r1, MOVE): Define.
68307         (JUMPTARGET): Remove.
68308         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68309         sysdeps/unix/sparc/sysdep.h
68310         (ENTRY, END): Remove.
68311         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68313 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68315         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68316         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68317         -DIS_IN_build.
68319         * timezone/README: Update upstream location and email address for
68320         tzcode and tzdata.
68321         * timezone/zdump.c: Update from tzcode 2012b.
68322         * timezone/zic.c: Likewise.
68324         * configure.in (libc_cv_as_needed): Remove test.
68325         * configure: Regenerated.
68326         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68327         conditional definition.
68328         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68329         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68330         * config.make.in (have-as-needed): Remove variable.
68332 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68333             Paul Pluzhnikov  <ppluzhnikov@google.com>
68335         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68336         strings correctly.
68338 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68340         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68341         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68342         * sysdeps/sh/strlen.S: Likewise.
68344 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68346         * sysdeps/unix/fork.S: Remove file.
68347         * sysdeps/unix/i386/fork.S: Likewise.
68348         * sysdeps/unix/sparc/fork.S: Likewise.
68350         * sysdeps/unix/system.c: Remove file.
68351         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68353         * sysdeps/unix/getegid.S: Remove file.
68354         * sysdeps/unix/geteuid.S: Likewise.
68356 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68358         * scripts/check-localplt.awk: New file.
68359         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68360         of diff.
68361         * scripts/data/localplt-generic.data: Add a comment.
68363         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68364         NODE when __dir_mkfile failed.
68365         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68366         Reported by Ludovic Courtès <ludo@gnu.org>.
68368 2012-04-24  Andreas Jaeger  <aj@suse.de>
68370         * Makerules (common-clean): Also remove gen-as-const-headers
68371         files.
68373 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68375         * Makerules (native-compile): Do not change working directory for
68376         build.  Use $(OUTPUT_OPTION) in command.
68377         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68379 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68381         [BZ #13886]
68382         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68383         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68384         * math/libm-test.inc (floor_test): Add more tests.
68385         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68387 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68389         * sysdeps/unix/getdents.c: Remove file.
68390         * sysdeps/unix/sysv/getdents.c: Likewise.
68391         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68393         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68394         sysdeps/unix/mman/syscalls.list.
68395         (mmap): Likewise.
68396         (mprotect): Likewise.
68397         (msync): Likewise.
68398         (munmap): Likewise.
68399         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68400         * sysdeps/unix/mman/syscalls.list: Remove.
68401         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68403         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68404         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68405         * configure: Regenerated.
68406         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68407         $(libgcc_s_suffix).
68408         * config.make.in (libgcc_s_suffix): Remove variable.
68410 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68412         * sysdeps/unix/sysv/gethostname.c: Move to ...
68413         * sysdeps/posix/gethostname.c: ... here.
68415         * sysdeps/unix/execve.S: Remove file.
68417         * sysdeps/unix/_exit.S: Remove file.
68419 2012-04-23  Andreas Jaeger  <aj@suse.de>
68421         [BZ #13739]
68422         * manual/Makefile: Remove make dist support, there's no
68423         need for a stand-alone documentation tar ball.
68424         (TEXI2DVI): Define always, it's not in Makeconfig.
68425         (dist): Removed.
68426         (tar-it): Removed.
68427         (edition): Removed.
68428         (glibc-doc-$(edition).tar): Removed
68429         (%.Z): Removed.
68430         (%.gz): Removed.
68431         (%.uu): Removed.
68432         (ETAGS): Remove, it's in Makeconfig.
68433         (move-if-change): Remove, it's in Makeconfig.
68435 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68437         [BZ #13970]
68438         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68439         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68440         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68441         (strtod_l, strtof_l, strtold_l): Remove __wur.
68442         It is not necessarily an error to ignore strtol's return value.
68443         One can reliably look at the stored endptr to decide whether
68444         the number had valid syntax.
68446 2012-04-21  Andreas Jaeger  <aj@suse.de>
68448         [BZ #13739]
68449         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68451 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68453         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68454         * sysdeps/unix/sysv/Versions: Remove file.
68456 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68458         [BZ #13927]
68459         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68461 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68463         [BZ #7064]
68464         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68465         version from __vm86.
68467 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68469         * sysdeps/unix/common/lxstat.c: Remove file.
68470         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68472         * sysdeps/unix/sysv/Makefile: Remove file.
68474         * sysdeps/unix/sysv/direct.h: Remove file.
68476         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68477         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68478         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68479         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68480         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68481         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68482         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68484         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68486         * sysdeps/unix/xmknod.c: Remove file.
68487         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68489         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68491         * sysdeps/unix/sysv/i386/time.S: Remove file.
68493         * sysdeps/unix/fxstat.c: Remove file.
68494         * sysdeps/unix/xstat.c: Likewise.
68495         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68497         * sysdeps/unix/sysv/sigaction.c: Remove file.
68499         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68500         (sysdep_headers): Remove variable.
68501         [termio.h not in sysdep_headers] (generated): Likewise.
68502         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68503         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68504         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68505         * sysdeps/unix/sysv/tcflow.c: Likewise.
68506         * sysdeps/unix/sysv/tcflush.c: Likewise.
68507         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68508         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68509         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68510         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68511         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68513         * sysdeps/unix/siglist.c: Remove file.
68515         * sysdeps/unix/getppid.S: Remove file.
68517         * sysdeps/unix/mkdir.c: Remove file.
68518         * sysdeps/unix/rmdir.c: Likewise.
68520 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68522         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68523         ERR_MAX value.
68524         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68525         errlist-compat value.
68527 2012-04-18  David S. Miller  <davem@davemloft.net>
68529         * sysdeps/generic/memcopy.h (reg_char): Delete.
68530         * debug/strcat_chk.c: Use char, not reg_char.
68531         * debug/strcpy_chk.c: Likewise.
68532         * debug/strncat_chk.c: Likewise.
68533         * debug/strncpy_chk.c: Likewise.
68534         * string/memchr.c: Likewise.
68535         * string/memrchr.c: Likewise.
68536         * string/rawmemchr.c: Likewise.
68537         * string/strcat.c: Likewise.
68538         * string/strchr.c: Likewise.
68539         * string/strchrnul.c: Likewise.
68540         * string/strcmp.c: Likewise.
68541         * string/strcpy.c: Likewise.
68542         * string/strncat.c: Likewise.
68543         * string/strncmp.c: Likewise.
68544         * string/strncpy.c: Likewise.
68546 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68548         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68549         __builtin_memcopy is called when src and dest ranges are known to not
68550         overlap.
68552 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68554         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68555         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68556         fwd_align_merge macro call.
68557         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68558         bwd_align_merge macro call.
68559         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68561 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68563         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68564         bwd_align_merge macros.
68565         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68566         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68567         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68569 2012-04-18  David S. Miller  <davem@davemloft.net>
68571         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68573 2012-04-18  Andreas Jaeger  <aj@suse.de>
68575         [BZ# 6794]
68576         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68577         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68578         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68580         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68581         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68582         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68584         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68585         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68586         Adjust for changed ldbl-128 files.
68588         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68589         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68590         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68592 2012-04-17  David S. Miller  <davem@davemloft.net>
68594         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68596 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68598         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68599         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68600         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68601         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68602         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68603         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68605 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68607         [BZ #6794]
68608         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68609         * math/libm-test.inc: Add ilogb errno and exception tests.
68610         * math/w_ilogb.c: New file: ilogb wrapper.
68611         * math/w_ilogbf.c: New file: ilogbf wrapper.
68612         * math/w_ilogbl.c: New file: ilogbl wrapper.
68613         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68614         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68615         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68616         exception being thrown with 0.0 as argument.
68617         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68618         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68619         exception being thrown with 0.0 as argument.
68620         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68621         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68622         exception being thrown with 0.0 as argument.
68623         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68624         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68625         exception being thrown with 0.0 as argument.
68626         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68627         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68628         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68629         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68630         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68631         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68632         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68633         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68634         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68636 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68638         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68639         with altivec.
68641 2012-04-16  Marek Polacek  <polacek@redhat.com>
68643         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68645 2012-04-16  Marek Polacek  <polacek@redhat.com>
68647         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68648         operands of fdivp instruction.
68650 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68652         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68653         * elf/tst-auditmod3b.c: Likewise.
68654         * elf/tst-auditmod4b.c: Likewise.
68655         * elf/tst-auditmod5b.c: Likewise.
68656         * elf/tst-auditmod6b.c: Likewise.
68657         * elf/tst-auditmod6c.c: Likewise.
68658         * elf/tst-auditmod7b.c: Likewise.
68659         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68660         * sysdeps/x86_64/preconfigure.in: Likewise.
68661         * sysdeps/x86_64/preconfigure: Regenerated.
68663 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68665         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68666         __ILP32__.
68668 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68670         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68671         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68673 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68675         [BZ #13973]
68676         * locale/iso-639.def: Fix gl language name. Spotted by
68677         Yaron Shahrabani.
68679 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68681         [BZ #2074]
68682         * libio/libio.h (__io_write_fn): Update comment.
68684 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68686         [BZ #2074]
68687         * stdio.texi (Hook Functions): The user provided writer function
68688         is not allowed to return -1.
68690 2012-04-11  David S. Miller  <davem@davemloft.net>
68692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68694 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68696         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68697         Add a leading slash to rtkaio.
68699 2012-04-11  Jim Meyering  <meyering@redhat.com>
68701         [BZ #11959]
68702         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68703         It is not necessarily an error to ignore fwrite's return
68704         value.  One can reliably use ferror to test for errors after
68705         the fact.
68707 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68709         * bits/types.h (__snseconds_t): New type.
68710         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68712         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68713         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68714         (__SNSECONDS_T_TYPE): Likewise.
68715         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68716         (__SNSECONDS_T_TYPE): Likewise.
68717         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68718         (__SNSECONDS_T_TYPE): Likewise.
68720 2012-04-10  Andreas Jaeger  <aj@suse.de>
68722         [BZ #2636]
68723         * manual/time.texi (Processor Time): Return type of times is
68724         elapsed real time since an arbitrary point in the past.
68725         (CPU Time): Move CLK_TCK from here...
68726         (Processor Time): ...to here.  Correct description.
68727         * manual/conf.texi (Constants for Sysconf): Correct description of
68728         _SC_CLK_TCK.
68730 2012-04-10  David S. Miller  <davem@davemloft.net>
68732         [BZ #13967]
68733         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68734         where the is a gap between DT_REL(A) and DT_JMPREL.
68736 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68738         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68739         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68740         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68742 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68744         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68745         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68746         (dl_main): Handle --inhibit-cache.
68747         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68748         _dl_inhibit_cache.
68749         * elf/dl-load.c (_dl_map_object): Use it.
68750         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68752 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68754         [BZ #13872]
68755         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68756         (__ieee754_powl): Saturate large exponents rather than testing for
68757         overflow of y*log2(x).
68758         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68759         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68760         exceptions.
68762         [BZ #11521]
68763         * math/s_ctan.c: Include <float.h>.
68764         (__ctan): Avoid internal overflow or cancellation in calculating
68765         denominator.
68766         * math/s_ctanf.c: Likewise.
68767         * math/s_ctanl.c: Likewise.
68768         * math/s_ctanh.c: Likewise.
68769         * math/s_ctanhf.c: Likewise.
68770         * math/s_ctanhl.c: Likewise.
68771         * math/libm-test.inc (ctan_test): Add more tests.
68772         (ctanh_test): Likewise.
68773         * sysdeps/i386/fpu/libm-test-ulps: Update.
68774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68776 2012-04-09  Andreas Jaeger  <aj@suse.de>
68778         [BZ #6894]
68779         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68780         is an optional BSD extension.
68782         [BZ #10254]
68783         * manual/stdio.texi (Opening Streams): Document additional fopen
68784         parameters.
68786 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68788         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68789         %eax without telling the compiler.
68791 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68793         [BZ # 13963]
68794         * manual/install.texi: Use sourceware.org.
68796 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68798         [BZ #13873]
68799         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68800         (__ieee754_pow): Generate overflow and underflow using huge*huge
68801         and tiny*tiny rather than just returning constant infinity or zero
68802         for large exponents.
68803         * math/libm-test.inc (pow_test): Require overflow exceptions for
68804         applicable cases of large exponents.
68806         [BZ #706]
68807         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68808         (__ieee754_pow): Use iterative multiplication algorithm only for
68809         integer exponents with absolute value below 1024.  Check for odd
68810         integer exponents when using algorithm for real exponents.
68811         * math/libm-test.inc (pow_test): Add more tests.
68812         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68814 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68816         [BZ #13705]
68817         * math/libm-test.inc (exp_test): Do not allow overflow exception
68818         on underflow test.
68820 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68822         [BZ #13705]
68823         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68824         instead of __kernel_standard_f.
68826 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68828         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68829         * sysdeps/x86_64/memset_chk.S: Likewise.
68831 2012-04-08  Andreas Jaeger  <aj@suse.de>
68833         [BZ #10153]
68834         * manual/startup.texi (Environment Access): Describe return value
68835         for putenv and setenv.
68837         [BZ #6895]
68838         * manual/filesys.texi (Directory Entries): Add description for
68839         DT_LNK.
68841         [BZ #6890]
68842         * manual/filesys.texi (Directory Entries): Clarify that it's file
68843         system not operating system in the description of DT_UNKNOWN.
68845         [BZ #6578]
68846         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68848 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68850         [BZ #6649]
68851         * manual/llio.texi (Opening and Closing Files): Add cross
68852         reference to explain mode argument.
68854 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68856         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68857         * sysdeps/x86_64/memset_chk.S: Likewise.
68859 2012-04-07  David S. Miller  <davem@davemloft.net>
68861         * elf/elf.h (R_SPARC_WDISP10): Define.
68862         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68863         R_SPARC_SIZE32.
68864         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68865         R_SPARC_SIZE64 and R_SPARC_H34.
68867 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68869         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68870         conditions and remove no longer applicable assertion.
68872 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68874         * bits/byteswap.h: Include <features.h>.
68875         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68876         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68878 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68880         * bits/byteswap.h (__bswap_16): Removed.
68881         Include <bits/byteswap-16.h> to get __bswap_16.
68882         * sysdeps/i386/bits/byteswap.h: Likewise.
68883         * sysdeps/s390/bits/byteswap.h: Likewise.
68884         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68885         * bits/byteswap-16.h: New file.
68886         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68887         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68888         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68889         * string/Makefile (headers): Add bits/byteswap-16.h.
68891 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68893         [BZ #13895]
68894         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68895         extra indirection.
68896         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68897         * nss/tst-nss-static.c: New.
68899 2012-04-06  Robert Millan  <rmh@gnu.org>
68901         [BZ #6486]
68902         * manual/llio.texi (File Position Primitive): lseek
68903         refers to WHENCE when it really means OFFSET.
68905 2012-04-06  Andreas Jaeger  <aj@suse.de>
68907         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68908         strncmp declarations.
68910         * abilist/libc.abilist: Add __poll and __ppoll.
68912 2012-04-05  David S. Miller  <davem@davemloft.net>
68914         * scripts/check-local-headers.sh: Accept a host triplet in the
68915         path matched by the exclude regexp.
68917         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68918         definition.
68919         * sysdeps/powerpc/powerpc32/dl-machine.h
68920         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68921         * sysdeps/s390/s390-32/dl-machine.h
68922         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68923         * sysdeps/sparc/sparc32/dl-machine.h
68924         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68925         * sysdeps/sparc/sparc64/dl-machine.h
68926         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68928         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68929         lazy binding.
68930         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68931         undefined symbol errors.
68933         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68934         DT_NEEDED entries.
68936 2012-04-05  Michael Matz  <matz@suse.de>
68938         [BZ #13592]
68939         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68941 2012-04-05  Andreas Jaeger  <aj@suse.de>
68943         [BZ #13908]
68944         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68945         comment.
68947 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68949         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68950         which ROUND is no valid rounding mode.
68952 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68954         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68955         read again.
68956         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68958 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68960         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68961         an exception using FPU order intentionally.
68963 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68965         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68966         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68967         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68968         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68970 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68972         [BZ #12340]
68973         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68974         EINVAL when BUFLEN is too smal.
68976 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68978         [BZ #13553]
68979         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68980         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68982 2012-04-03  Andreas Jaeger  <aj@suse.de>
68984         [BZ #13938]
68985         * manual/setjmp.texi (System V contexts): Fix sentence.
68987         [BZ #13926]
68988         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68989         New macro for this case.
68990         [!__GNUC__] (__bswap_64): New inline function for this case.
68991         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68992         * bits/byteswap.h: Likewise.
68993         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68994         ull, guard with __GLIBC_HAVE_LONG_LONG.
68996         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68997         __GLIBC_HAVE_LONG_LONG.
68999         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69000         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69002 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69004         [BZ #13691]
69005         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69006         inptr and inend, rather than using last_ch.
69008 2012-04-02  David S. Miller  <davem@davemloft.net>
69010         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69011         * stdio-common/printf-parse.h (read_int): Change return type to
69012         'int', return -1 on INT_MAX overflow.
69013         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69014         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69015         overflows INT_MAX.  Check for overflow of in-format-string precision
69016         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69017         SIZE_MAX not INT_MAX for integer overflow test.
69018         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69019         skip the construct in the format string but do not record anything.
69020         * stdio-common/bug22.c: Adjust to test both width/prevision
69021         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69022         explicitly for proper errno values.
69024 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69026         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69027         CHAR_MAX.
69028         * string/test-strcmp.c [! WIDE]: Likewise.
69029         * time/tst-mktime2.c: Likewise for INT_MAX.
69030         * string/test-string.h: #include <sys/param.h> for MIN.
69032         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69033         * sysdeps/i386/init-first.c (init): Likewise.
69034         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69035         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69036         * sysdeps/sh/init-first.c (init): Likewise.
69038 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69040         * po/ru.po: Update from translation team.
69041         * po/vi.po: Likewise.
69043 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69045         * resolv/nss_dns/dns-host.c: Merge copyright years.
69047 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69049         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69050         Optimize memcpy with prefetch if
69051         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69052         src, dst pointers have unequal 16 byte alignments.
69054 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69056         [BZ #13928]
69057         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69058         from a CNAME entry and return the minimum ttl for the query.
69059         (gaih_getanswer_slice): Likewise.
69061 2012-03-30  Jeff Law  <law@redhat.com>
69063         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69064         due to long keys.
69065         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69066         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69068         * resolv/nss_dns/dns-host.c: Update copyright year.
69070 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69072         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69073         requests to save a system call.  Fix check that all bytes are sent.
69075         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69076         comments for sendmmsg.
69078 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69080         [BZ #13691]
69081         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69082         with only 1 character between 0x0041 and 0x01b0.
69083         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69084         * wcsmbs/tst-mbsnrtowcs.c: New file.
69086 2012-03-29  David S. Miller  <davem@davemloft.net>
69088         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69089         small copies by hand.
69091 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69093         [BZ #13761]
69094         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69095         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69096         group memberships.
69098 2012-03-28  David S. Miller  <davem@davemloft.net>
69100         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69101         that branches into memcpy.
69102         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69103         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69104         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69105         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69106         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69107         bits.
69108         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69109         implementation too.
69110         * sysdeps/sparc/mempcpy.S: New file.
69112         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69113         the IFUNC routine in the libc case.
69114         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69116         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69117         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69118         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69119         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69120         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69121         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69122         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69123         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69125         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69126         loop to 256 bytes instead of 64 bytes and fix test signedness.
69128         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69129         * sysdeps/sparc/sparc32/Makefile: rather than here...
69130         * sysdeps/sparc/sparc64/Makefile: and here.
69132 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69134         * malloc/mallocbug.c: Avoid warnings about unused variables.
69136 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69138         [BZ #13760]
69139         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69140         in the right place. Discard and retry query if response is
69141         larger than input buffer size.
69143 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69145         [BZ #369]
69146         [BZ #2678]
69147         [BZ #3866]
69148         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69149         x for large integer exponent.
69150         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69151         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69152         sign of result as needed afterwards.
69153         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69154         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69155         result for underflowing pow the same as for overflow.
69156         (__kernel_standard_l): Handle powl overflow and underflow here
69157         rather than calling __kernel_standard.
69158         * math/libm-test.inc (pow_test): Add more tests.
69160         [BZ #3868]
69161         [BZ #13879]
69162         [BZ #13910]
69163         [BZ #13911]
69164         [BZ #13912]
69165         [BZ #13913]
69166         [BZ #13915]
69167         [BZ #13916]
69168         [BZ #13917]
69169         [BZ #13918]
69170         [BZ #13919]
69171         [BZ #13920]
69172         [BZ #13921]
69173         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69174         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69175         (__kernel_standard_l): New function.
69176         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69177         __kernel_standard.
69178         * math/w_acosl.c (__acosl): Likewise.
69179         * math/w_asinl.c (__asinl): Likewise.
69180         * math/w_atan2l.c (__atan2l): Likewise.
69181         * math/w_atanhl.c (__atanhl): Likewise.
69182         * math/w_coshl.c (__coshl): Likewise.
69183         * math/w_exp10l.c (__exp10l): Likewise.
69184         * math/w_exp2l.c (__exp2l): Likewise.
69185         * math/w_fmodl.c (__fmodl): Likewise.
69186         * math/w_hypotl.c (__hypotl): Likewise.
69187         * math/w_j0l.c (__j0l, __y0l): Likewise.
69188         * math/w_j1l.c (__j1l, __y1l): Likewise.
69189         * math/w_jnl.c (__jnl, __ynl): Likewise.
69190         * math/w_lgammal.c (__lgammal): Likewise.
69191         * math/w_log10l.c (__log10l): Likewise.
69192         * math/w_log2l.c (__log2l): Likewise.
69193         * math/w_logl.c (__logl): Likewise.
69194         * math/w_powl.c (__powl): Likewise.
69195         * math/w_remainderl.c (__remainderl): Likewise.
69196         * math/w_scalbl.c (sysv_scalbl): Likewise.
69197         * math/w_sinhl.c (__sinhl): Likewise.
69198         * math/w_sqrtl.c (__sqrtl): Likewise.
69199         * math/w_tgammal.c (__tgammal): Likewise.
69200         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69201         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69202         * math/libm-test.inc (acos_test): Add more tests.
69203         (acosh_test): Likewise.
69204         (asin_test): Likewise.
69205         (atanh_test): Likewise.
69206         (exp_test): Likewise.
69207         (exp10_test): Likewise.
69208         (exp2_test): Likewise.
69209         (expm1_test): Likewise.
69210         (lgamma_test): Likewise.
69211         (log_test): Likewise.
69212         (log10_test): Likewise.
69213         (log1p_test): Likewise.
69214         (log2_test): Likewise.
69215         (pow_test): Do not allow some spurious overflow exceptions.
69216         (sqrt_test): Add more tests.
69217         (tgamma_test): Likewise.
69218         (y0_test): Likewise.
69219         (y1_test): Likewise.
69220         (yn_test): Likewise.
69222 2012-03-27  Anton Blanchard  <anton@samba.org>
69224         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69225         MAP_HUGETLB.
69226         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69227         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69228         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69230 2012-03-27  David S. Miller  <davem@davemloft.net>
69232         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69234         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69235         have-as-vis3 check.
69237 2012-03-27  Andreas Jaeger  <aj@suse.de>
69239         * sysdeps/x86_64/elf/configure.in: Moved to ...
69240         * sysdeps/x86_64/configure.in: ... here.
69241         * sysdeps/x86_64/elf/start.S: Moved to ...
69242         * sysdeps/x86_64/start.S: ... here.
69243         * sysdeps/x86_64/elf/configure: Delete.
69245         * sysdeps/x86_64/configure.in: Merge contents from
69246         sysdeps/i386/configure.in (without i686 check).
69248         * sysdeps/i386/elf/Versions: Merge into ...
69249         * sysdeps/i386/Versions: ... this.
69250         * sysdeps/i386/elf/Versions: Delete file.
69251         * sysdeps/i386/elf/start.S: Moved to ...
69252         * sysdeps/i386/start.S: ...here.
69253         * sysdeps/i386/elf/configure.in: Merge into...
69254         * sysdeps/i386/configure.in: ...here.
69255         * sysdeps/i386/elf/configure.in: Delete file.
69256         * sysdeps/i386/elf/configure: Delete file.
69258         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69259         * debug/backtracesyms.c: ... here.
69260         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69261         * debug/backtracesymsfd.c: ... here.
69262         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69263         * sysdeps/generic/ifunc-sel.h: ... here.
69265         * sysdeps/unix/i386/start.c: Delete file.
69266         * sysdeps/unix/sparc/start.c: Delete file.
69267         * sysdeps/unix/start.c: Delete file.
69269         * sysdeps/sh/elf/configure.in: Moved to ...
69270         * sysdeps/sh/configure.in: ... here.
69271         * sysdeps/sh/elf/start.S: Moved to ...
69272         * sysdeps/sh/start.S: ... here.
69273         * sysdeps/sh/elf/configure: Delete file.
69275         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69276         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69277         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69278         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69279         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69280         * sysdeps/powerpc/powerpc64/start.S: here.
69281         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69282         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69283         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69284         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69285         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69287         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69288         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69289         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69290         * sysdeps/powerpc/powerpc32/start.S: ... here.
69291         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69292         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69293         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69295         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69296         * sysdeps/powerpc/ifunc-sel.h: ... here.
69297         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69298         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69300         * sysdeps/sparc/elf/configure.in: Moved to ...
69301         * sysdeps/sparc/configure.in: ... here.
69302         * sysdeps/sparc/elf/configure: Delete file.
69303         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69304         * sysdeps/sparc/sparc32/start.S: ... here.
69305         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69306         * sysdeps/sparc/sparc64/start.S: ... here.
69307         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69308         * sysdeps/sparc/sparc32/Makefile: ... this.
69309         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69310         * sysdeps/sparc/sparc64/Makefile: ... this.
69312         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69313         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69314         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69315         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69316         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69317         * sysdeps/s390/s390-32/setjmp.S: ... here.
69318         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69319         * sysdeps/s390/s390-32/configure.in: ... here.
69320         * sysdeps/s390/s390-32/elf/configure: Delete file.
69321         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69322         * sysdeps/s390/s390-32/start.S: ... here.
69324         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69325         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69326         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69327         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69328         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69329         * sysdeps/s390/s390-64/setjmp.S: ... here.
69330         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69331         * sysdeps/s390/s390-64/configure.in: ... here
69332         * sysdeps/s390/s390-64/elf/configure: Delete file.
69333         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69334         * sysdeps/s390/s390-64/start.S: ... here.
69335         * sysdeps/s390/s390-64/elf/configure: Delete.
69337         * configure.in: Remove support for elf directories in sysdeps.
69339         * configure: Regenerated.
69340         * sysdeps/i386/configure: Regenerated.
69341         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69342         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69343         * sysdeps/s390/s390-32/configure: Regenerated.
69344         * sysdeps/s390/s390-64/configure: Regenerated.
69345         * sysdeps/sh/configure: Regenerated.
69346         * sysdeps/sparc/configure: Regenerated.
69347         * sysdeps/x86_64/configure: Regenerated.
69349 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69353         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69354         denormal result into account.
69356 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69358         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69359         Reported by Allan McRae <allan@archlinux.org>.
69361 2012-03-23  Jeff Law  <law@redhat.com>
69363         * nss/getnssent.c (__nss_getent): Fix typo.
69365 2012-03-23  David S. Miller  <davem@davemloft.net>
69367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69369 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69371         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69372         to pad to uint64_t for each field.
69373         (dl_tls_index): Replace unsigned long with uint64_t.
69375 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69376         Paul Pluzhnikov  <ppluzhnikov@google.com>
69378         [BZ #6528]
69379         * grp/Makefile (otherlibs): Don't set it.
69380         * inet/Makefile (otherlibs): Likewise.
69381         * login/Makefile (otherlibs): Likewise.
69382         * nscd/Makefile (otherlibs): Likewise.
69383         * posix/Makefile (otherlibs): Likewise.
69384         * pwd/Makefile (otherlibs): Likewise.
69385         * rt/Makefile (otherlibs): Likewise.
69386         * sunrpc/Makefile (otherlibs): Likewise.
69387         * nss/Makefile (otherlibs): Likewise.
69388         Add libnss_files to routines and static-only-routines.
69389         ($(objpfx)getent): Remove rule.
69390         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69391         static-only-routines.
69393 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69395         [BZ #13892]
69396         * math/s_cexp.c: Include <float.h>.
69397         (__cexp): Handle exp result overflowing not necessarily
69398         overflowing both real and imaginary parts of result.
69399         * math/s_cexpf.c: Likewise.
69400         * math/s_cexpl.c: Likewise.
69401         * math/libm-test.inc (cexp_test): Add more tests.
69402         * sysdeps/i386/fpu/libm-test-ulps: Update.
69403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69405 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69407         * include/link.h (ELFW): New macro.
69408         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69409         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69411 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69413         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69414         with uint64_t.
69416 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69418         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69419         declaration.
69420         (struct La_x32_retval): Likewise.
69422 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69424         * sysdeps/x86_64/preconfigure.in: New file.
69425         * sysdeps/x86_64/preconfigure: New generated file.
69427 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69429         [BZ #13824]
69430         * math/e_exp2l.c: Include <float.h>.
69431         (__ieee754_exp2l): Handle overflow and underflow cases
69432         separately.  Only pass fractional part of argument to
69433         __ieee754_expl.
69434         * math/libm-test.inc (exp2_test): Add more tests.
69436         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69437         negating x to take absolute value.
69438         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69439         Likewise.
69440         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69441         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69442         Likewise.
69443         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69444         computing low part if x was negated.
69445         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69447 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69449         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69450         la_x32_gnu_pltexit.
69451         (pltexit): Cast int_retval to ptrdiff_t.
69452         * elf/tst-auditmod3b.c: Likewise.
69453         * elf/tst-auditmod4b.c: Likewise.
69454         * elf/tst-auditmod5b.c: Likewise.
69455         * elf/tst-auditmod6b.c: Likewise.
69456         * elf/tst-auditmod6c.c: Likewise.
69457         * elf/tst-auditmod7b.c: Likewise.
69459         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69460         and x32_gnu_pltexit.
69462         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69463         __ELF_NATIVE_CLASS.
69464         (La_x32_regs): New macro.
69465         (La_x32_retval): Likewise.
69466         (la_x32_gnu_pltenter): New function prototype.
69467         (la_x32_gnu_pltexit): Likewise.
69469 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69471         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69472         exponent.
69474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69476         * configure.in (libc_cv_cc_nofma): Check for option to disable
69477         generation of FMA instructions.
69478         * configure: Regenerate.
69479         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69480         * sysdeps/ieee754/dbl-64/Makefile: New file.
69481         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69482         Remove brandred-fma4.
69483         (CFLAGS-brandred-fma4.c): Remove.
69484         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69485         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69486         define.
69487         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69488         define.
69490 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69492         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69493         LLONG_MAX != LONG_MAX.
69494         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69495         (_fitoa_word): Likewise.
69496         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69497         LLONG_MAX != LONG_MAX.
69498         * stdio-common/_itowa.h: Include <_itoa.h>.
69499         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69500         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69501         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69502         only if not defined.
69503         (_ITOA_WORD_TYPE): Likewise.
69504         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69505         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69507 2012-03-21  David S. Miller  <davem@davemloft.net>
69509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69511 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69513         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69514         of x86_64 when setting libc_cv_slibdir, libdir and
69515         libc_cv_localedir.
69516         * sysdeps/unix/sysv/linux/configure: Regenerated.
69518 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69520         * manual/lang.texi (Old Varargs): Remove section.
69521         (How Variadic): Update menu.
69522         (va_start): Do not mention varargs.h.
69524 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69525             Joseph Myers  <joseph@codesourcery.com>
69527         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69528         link test.
69529         * configure: Regenerated.
69531 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69533         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69534         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69535         conformtest.pl
69537 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69539         * NOTES: Remove.
69540         * Makefile (files-for-dist): Remove NOTES.
69541         (NOTES): Remove rule.
69542         * README: Don't refer to NOTES.
69543         * manual/creature.texi: Don't include macros.texi.
69544         * manual/intro.texi (creature.texi): Remove comment referring to
69545         NOTES.
69547         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69548         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69549         * configure: Regenerated.
69550         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69551         LIBC_TRY_CC_OPTION.
69552         (libc_cv_as_i686): Likewise.
69553         (libc_cv_cc_avx): Likewise.
69554         (libc_cv_cc_sse2avx): Likewise.
69555         (libc_cv_cc_fma4): Likewise.
69556         (libc_cv_cc_novzeroupper): Likewise.
69557         * sysdeps/i386/configure: Regenerated.
69559         [BZ #13883]
69560         * sysdeps/i386/fpu/s_cexp.S: Remove.
69561         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69562         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69563         * math/libm-test.inc (cexp_test): Add more tests.
69564         * sysdeps/i386/fpu/libm-test-ulps: Update.
69565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69567 2012-03-21  Allan McRae  <allan@archlinux.org>
69569         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69571 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69573         [BZ #13871]
69574         * math/w_exp2.c: Do not include <float.h>.
69575         (o_threshold, u_threshold): Remove.
69576         (__exp2): Calculate result before checking finiteness and calling
69577         __kernel_standard.
69578         * math/w_exp2f.c: Likewise.
69579         * math/w_exp2l.c: Likewise.
69580         * math/libm-test.inc (exp2_test): Require overflow exception for
69581         1e6 input.
69583         [BZ #3866]
69584         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69585         range of signed 64-bit integers before using fistpll.  Remove
69586         checks for whether integers fit in mantissa bits.
69587         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69588         the range of signed 32-bit integers before using fistpl.  Remove
69589         checks for whether integers fit in mantissa bits.
69590         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69591         (__ieee754_powl): Test for y outside the range of signed 64-bit
69592         integers before using fistpll.  Reduce 64-bit values to 63-bit
69593         ones as needed.
69594         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69595         divide-by-zero is raised for zero to large negative powers.
69596         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69597         (__ieee754_powl): Test for y outside the range of signed 64-bit
69598         integers before using fistpll.  Reduce 64-bit values to 63-bit
69599         ones as needed.
69600         * math/libm-test.inc (pow_test): Add more tests.
69602 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69604         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69605         <stdio-common/_itoa.h>.
69606         * debug/segfault.c: Likewise.
69607         * elf/dl-cache.c: Likewise.
69608         * elf/dl-minimal.c: Likewise.
69609         * elf/dl-misc.c: Likewise.
69610         * elf/dl-sysdep.c: Likewise.
69611         * elf/dl-version.c: Likewise.
69612         * elf/rtld.c: Likewise.
69613         * hurd/hurdsock.c: Likewise.
69614         * hurd/lookup-retry.c: Likewise.
69615         * malloc/malloc.c: Likewise.
69616         * malloc/mtrace.c: Likewise.
69617         * nscd/nscd_getgr_r.c: Likewise.
69618         * nscd/nscd_getpw_r.c: Likewise.
69619         * nscd/nscd_getserv_r.c: Likewise.
69620         * posix/getopt_init.c: Likewise.
69621         * posix/wordexp.c: Likewise.
69622         * stdio-common/_itoa.c: Likewise.
69623         * stdio-common/printf_fphex.c: Likewise.
69624         * stdio-common/vfprintf.c: Likewise.
69625         * string/_strerror.c: Likewise.
69626         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69627         * sysdeps/i386/i686/hp-timing.h: Likewise.
69628         * sysdeps/mach/_strerror.c: Likewise.
69629         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69630         * sysdeps/mach/hurd/sethostid.c: Likewise.
69631         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69632         * sysdeps/mach/xpg-strerror.c: Likewise.
69633         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69634         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69635         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69636         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69637         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69638         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69639         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69640         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69641         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69642         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69643         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69644         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69645         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69646         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69647         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69648         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69649         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69650         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69651         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69652         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69653         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69655         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69657         * stdio-common/_itoa.h: Moved to ...
69658         * sysdeps/generic/_itoa.h: Here.
69660         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69662         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69663         instead of "_itoa.h" and "_itowa.h".
69664         * stdio-common/vfprintf.: Likewise.
69666 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69668         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69669         <bits/wordsize.h>.
69670         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69671         (__signbit): Likwise.
69672         (llrintf): Likwise.
69673         (llrint): Likwise.
69675 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69677         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69678         __WORDSIZE != 64.
69680 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69682         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69683         OVERFLOW_EXCEPTION_OK.
69684         * math/libm-test.inc ("Philosophy"): Update comment about
69685         exception testing.
69686         (OVERFLOW_EXCEPTION): Define.
69687         (OVERFLOW_EXCEPTION_OK): Likewise.
69688         (INVALID_EXCEPTION_OK): Renumber.
69689         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69690         (IGNORE_ZERO_INF_SIGN): Likewise.
69691         (test_exceptions): Handle FE_OVERFLOW.
69692         (exp10_test): Expect overflow exceptions.
69693         (exp2_test): Likewise.
69694         (expm1_test): Likewise.
69695         (nextafter_test): Likewise.
69696         (pow_test): Likewise.
69697         (scalbn_test): Likewise.
69698         (scalbln_test): Likewise.
69700 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69702         * sysdeps/x86_64/bits/atomic.h
69703         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69704         64bit integer.
69705         (atomic_exchange_acq): Likewise.
69706         (__arch_exchange_and_add_body): Likewise.
69707         (__arch_add_body): Likewise.
69708         (atomic_add_negative): Likewise.
69709         (atomic_add_zero): Likewise.
69711 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69713         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69714         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69716 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69718         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69719         Check __x86_64__ instead of __WORDSIZE.
69721 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69723         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69725 2012-03-19  David S. Miller  <davem@davemloft.net>
69727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69729         * sysdeps/sparc/fpu/fenv_private.h: New file.
69730         * sysdeps/sparc/fpu/math_private.h: Use it.
69731         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69732         Remove.
69733         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69734         (libc_feholdexcept_setroundl): Remove.
69735         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69736         Remove.
69737         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69738         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69740 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69742         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69743         int64_t instead of long int.
69744         (INSERT_WORDS64): Likwise.
69746 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69748         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69749         _Unwind_GetCFA return to _Unwind_Ptr first.
69751 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69753         [BZ #13629]
69754         * math/s_clog.c: Include <float.h>.
69755         (__clog): Scale large or subnormal inputs.
69756         * math/s_clogf.c: Likewise.
69757         * math/s_clogl.c: Likewise.
69758         * math/s_clog10.c: Include <float.h>.
69759         (M_LOG10_2): Define.
69760         (__clog10): Scale large or subnormal inputs.
69761         * math/s_clog10f.c: Likewise.
69762         * math/s_clog10l.c: Likewise.
69763         * math/libm-test.inc (clog_test): Add more tests.
69764         (clog10_test): Likewise.
69765         * sysdeps/i386/fpu/libm-test-ulps: Update.
69766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69768         [BZ #11451]
69769         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69770         x and y.
69771         * math/libm-test.inc (atan2_test): Add another test.
69773         * Makerules (common-objdir-compile): Remove.
69774         * sysdeps/unix/Makefile (config-generated): Do not add
69775         $(unix-generated) to variable.
69776         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69777         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69778         Remove rule.
69779         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69780         Likewise.
69781         [generic bits/local_lim.h] (before-compile): Do not append to
69782         variable.
69783         [generic bits/local_lim.h] (common-generated): Likewise.
69784         [generic sys/param.h] (before-compile): Do not append to variable.
69785         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69786         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69787         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69788         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69789         include.
69790         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69791         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69792         [generic sys/param.h] ($(addprefix
69793         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69794         [generic sys/param.h] (common-generated): Do not append to
69795         variable.
69796         [generic sys/param.h] (sysdep_headers): Likewise.
69797         [generic bits/errno.h] (before-compile): Do not append to
69798         variable.
69799         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69800         rule.
69801         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69802         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69803         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69804         [generic bits/errno.h] (common-generated): Do not append to
69805         variable.
69806         [generic bits/ioctls.h] (before-compile): Do not append to
69807         variable.
69808         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69809         rule.
69810         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69811         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69812         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69813         rule.
69814         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69815         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69816         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69817         [generic bits/ioctls.h] (common-generated): Do not append to
69818         variable.
69819         [generic sys/syscall.h] (syscall.h): Remove variable.
69820         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69821         rule.
69822         [generic sys/syscall.h] (before-compile): Do not append to
69823         variable.
69824         [generic sys/syscall.h] (common-generated): Likewise.
69825         * sysdeps/unix/errnos-tmpl.c: Remove file.
69826         * sysdeps/unix/errnos.awk: Likewise.
69827         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69828         * sysdeps/unix/ioctls.awk: Likewise.
69829         * sysdeps/unix/mk-local_lim.c: Likewise.
69830         * sysdeps/unix/snarf-ioctls: Likewise.
69832 2012-03-19  Richard Henderson  <rth@twiddle.net>
69834         * sysdeps/i386/fpu/fenv_private.h: New file.
69835         * sysdeps/i386/fpu/math_private.h: Use it.
69836         (math_opt_barrier, math_force_eval): Remove.
69837         (libc_feholdexcept_setround_53bit): Remove.
69838         (libc_feupdateenv_53bit): Remove.
69839         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69840         (math_opt_barrier, math_force_eval): Remove.
69841         (libc_feholdexcept): Remove.
69842         (libc_feholdexcept_setround): Remove.
69843         (libc_fetestexcept, libc_fesetenv): Remove.
69844         (libc_feupdateenv_test): Remove.
69845         (libc_feupdateenv, libc_feholdsetround): Remove.
69846         (libc_feresetround): Remove.
69848         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69849         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69851         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69852         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69853         (libc_feupdateenv_testl): New.
69854         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69855         (libc_feupdateenv_testf): New.
69856         (libc_feupdateenv): Use libc_feupdateenv_test.
69857         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69858         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69860         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69861         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69862         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69863         (libc_feresetround_noex): New.
69864         (libc_feresetround_noexf): New.
69865         (libc_feresetround_noexl): New.
69866         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69867         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69868         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69869         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69870         SET_RESTORE_ROUND.
69871         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69872         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69873         (__cos): Likewise.
69874         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69875         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69876         SET_RESTORE_ROUND_NOEX.
69877         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69878         SET_RESTORE_ROUND_NOEXF.
69879         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69880         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69881         (libc_feholdsetroundf): New.
69882         (libc_feresetround, libc_feresetroundf): New.
69884         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69885         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69886         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69888         * sysdeps/generic/math_private.h: Include <fenv.h>.
69889         (default_libc_feholdexcept): New.
69890         (default_libc_feholdexcept_setround): New.
69891         (default_libc_fesetenv, default_libc_feupdateenv): New.
69892         (libc_feholdexcept): Only define if undefined.
69893         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69894         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69895         (libc_feholdexcept_setroundl): Likewise.
69896         (libc_feholdexcept_setround_53bit): Likewise.
69897         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69898         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69899         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69900         (libc_feupdateenv_53bit): Likewise.
69901         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69902         (libc_feholdexcept): Convert from macro to inline function.
69903         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69904         (libc_fesetenv, libc_feupdateenv): Likewise.
69906         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69907         not previously defined.
69908         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69909         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69910         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69911         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69912         * sysdeps/ieee754/flt-32/math_private.h: New file.
69913         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69914         math_private.h below SET_FLOAT_WORD.
69915         (__isnan, __isinf_ns, __finite): Remove.
69916         (__isnanf, __isinf_nsf, __finitef): Remove.
69918 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69922 2012-03-17  David S. Miller  <davem@davemloft.net>
69924         [BZ #6471]
69925         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69926         for 2.16.
69928 2012-03-16  David S. Miller  <davem@davemloft.net>
69930         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69931         warnings.
69933         [BZ #6471]
69934         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69935         properly.
69936         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69937         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69938         sysdep_routines when subdir is sysvipc.
69939         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69940         __getshmlba helper.
69942         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69944 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69946         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69947         [__LP64__].
69949 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69951         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69952         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69953         (__lround): Renamed to ...
69954         (__llround): This.  Replace long int with long long int.
69955         Define lround functions as aliases of llround functions.
69956         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69958 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69960         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69961         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69962         adresses to uintptr_t.  Replace "long int" and "unsigned long
69963         int" with "greg_t" on va_arg.
69965 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69967         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69968         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69970         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69971         Move e_machine check before EI_CLASS check.  Handle x32
69972         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69973         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69974         SKIP_EM_IA_64 and include
69975         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69977         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69978         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69979         (add_system_dir): New macro.
69981         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69982         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69984 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69986         [BZ #2551]
69987         [BZ #2552]
69988         [BZ #2553]
69989         [BZ #2554]
69990         [BZ #2562]
69991         [BZ #2563]
69992         [BZ #2565]
69993         [BZ #2566]
69994         [BZ #2576]
69995         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69996         (y0): Likewise.
69997         * math/w_j0f.c (j0f): Likewise.
69998         (y0f): Likewise.
69999         * math/w_j0l.c (__j0l): Likewise.
70000         (__y0l): Likewise.
70001         * math/w_j1.c (j1): Likewise.
70002         (y1): Likewise.
70003         * math/w_j1f.c (j1f): Likewise.
70004         (y1f): Likewise.
70005         * math/w_j1l.c (__j1l): Likewise.
70006         (__y1l): Likewise.
70007         * math/w_jn.c (jn): Likewise.
70008         (yn): Likewise.
70009         * math/w_jnf.c (jnf): Likewise.
70010         (ynf): Likewise.
70011         * math/w_jnl.c (__jnl): Likewise.
70012         (__ynl): Likewise.
70013         * math/libm-test.inc (j0_test): Add more tests.
70014         (j1_test): Likewise.
70015         (jn_test): Likewise.  Add trailing semicolon to existing test.
70016         (y0_test): Likewise.
70017         (y1_test): Likewise.
70018         * sysdeps/i386/fpu/libm-test-ulps: Update.
70019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70021         [BZ #13851]
70022         [BZ #13854]
70023         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70024         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70025         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70026         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70027         (__tanl): Set errno for infinite argument.
70028         * sysdeps/i386/fpu/mptan.c: Remove.
70029         * sysdeps/i386/fpu/s_tan.S: Likewise.
70030         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70031         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70032         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70033         * math/libm-test.inc (tan_test): Add more tests and enable more
70034         tests for double and long double.
70035         * sysdeps/i386/fpu/libm-test-ulps: Update.
70036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70038 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70040         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70041         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70043 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70045         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70046         * configure.in: Use it for both main tree and add-ons.
70047         * configure: Regenerated.
70049 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70051         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70053 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70055         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70056         in comment.
70058         [BZ #13851]
70059         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70060         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70061         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70062         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70063         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70064         infinite argument.
70065         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70066         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70067         != 0 for prec == 2.
70068         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70069         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70070         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70071         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70072         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70073         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70074         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70075         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70076         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70077         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70078         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70079         * math/libm-test.inc (cos_test): Add more tests and enable more
70080         tests for long double.
70081         (sin_test): Likewise.
70082         (sincos_test): Likewise.
70083         * sysdeps/i386/fpu/libm-test-ulps: Update.
70084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70086 2012-03-16  David S. Miller  <davem@davemloft.net>
70088         * sysdeps/sparc/fpu/math_private.h: New file.
70090 2012-03-15  David S. Miller  <davem@davemloft.net>
70092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70093         file.
70094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70096         file.
70097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70098         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70101         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70102         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70103         sysdep routines.
70104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70106         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70107         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70109         * sysdeps/sparc/sparc-ifunc.h: New file.
70110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70111         sparc-ifunc.h
70112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70114         Likewise.
70115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70116         Likewise.
70117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70121         Likewise.
70122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70127         Likewise.
70128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70129         Likewise.
70130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70134         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70136         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70137         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70138         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70139         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70144         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70145         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70146         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70147         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70148         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70149         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70150         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70151         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70152         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70153         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70155 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70157         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70158         scaling.
70159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70161 2012-03-15  Andreas Jaeger  <aj@suse.de>
70163         [BZ #13852]
70164         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70165         ieee754/flt-32 implementation for sin, cos and sincos.
70166         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70167         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70168         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70169         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70170         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70171         ieee754/flt-32 implementation for tan.
70173         * math/libm-test.inc (cos_test): Enable some large input tests for
70174         float as well
70175         (sin_test): Likewise.
70176         (sincos_test): Likewise.
70177         (tan_test): Add tests for large input.
70179         * sysdeps/i386/fpu/libm-test-ulps: Update.
70181 2012-03-15  Andreas Jaeger  <aj@suse.de>
70183         [BZ #13658]
70184         * math/libm-test.inc (cos_test): Add more test cases.
70185         (sin_test): Likewise.
70186         (sincos_test): Likewise.
70188 2012-03-15  Andreas Jaeger  <aj@suse.de>
70190         [BZ #13837]
70191         * math/libm-test.inc (cos_test): Add a test case for large input
70192         value.
70193         (sin_test): Likewise.
70194         (sincos_test): Likewise.
70196 2012-03-15  Andreas Jaeger  <aj@suse.de>
70197             Joseph Myers  <joseph@codesourcery.com>
70199         [BZ #13658]
70200         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70201         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70202         * sysdeps/i386/fpu/branred.c: Likewise.
70203         * sysdeps/i386/fpu/dosincos.c: Likewise.
70204         * sysdeps/i386/fpu/mpa.c: Likewise.
70205         * sysdeps/i386/fpu/s_cos.S: Likewise.
70206         * sysdeps/i386/fpu/s_sin.S: Likewise.
70207         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70208         * sysdeps/i386/fpu/sincos32.c: Likewise.
70210         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70211         Define.
70212         (libc_feupdateenv_53bit): Define.
70213         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70214         Define.
70215         (libc_feupdateenv_53bit): Define.
70217         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70218         53 bit (without extend i386 double precision).
70220         * math/libm-test.inc (sincos_test): Add tests for large input.
70221         (sin): Likewise.
70222         (cos): Likewise.
70224         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70226 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70230 2012-03-15  David S. Miller  <davem@davemloft.net>
70232         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70233         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70234         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70235         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70240         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70248         file.
70249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70251         file.
70252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70254         file.
70255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70257         file.
70258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70259         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70260         fmin/fmax sysdep routines.
70261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70263 2012-03-14  David S. Miller  <davem@davemloft.net>
70265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70269         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70270         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70271         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70272         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70273         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70274         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70275         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70276         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70277         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70278         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70279         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70280         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70281         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70282         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70283         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70285         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70286         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70287         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70288         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70289         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70290         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70291         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70292         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70293         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70294         routines.
70295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70296         file.
70297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70299         file.
70300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70302         file.
70303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70305         file.
70306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70308         file.
70309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70311         file.
70312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70313         file.
70314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70315         file.
70316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70317         file.
70318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70319         New file.
70320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70321         file.
70322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70323         file.
70324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70326         file.
70327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70329         file.
70330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70332         file.
70333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70335         VIS3 routines.
70337         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70338         New file.
70340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70342         * sysdeps/sparc/configure.in: New file.
70343         * sysdeps/sparc/configure: Generate.
70344         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70345         * configure: Regenerate.
70346         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70347         * config.make.in (have-as-vis3): New.
70348         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70349         available use -Av9d instead of -Av9a.
70350         * sysdeps/sparc/sparc64/Makefile: Likewise.
70351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70353         New file.
70354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70355         file.
70356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70357         New file.
70358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70359         file.
70360         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70361         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70362         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70363         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70364         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70366         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70367         fzeros/fnegs to load 0x80000000 into a float register instead of
70368         using the stack.
70369         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70371 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70373         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70374         bits/syscall.h.
70375         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70376         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70377         ($(inst_includedir)/bits/syscall.h): Remove rule.
70378         ($(objpfx)bits/syscall.d): Include instead of
70379         $(objpfx)syscall-list.d.
70380         (generated): Change syscall-list.h and syscall-list.d to
70381         bits/syscall.h and bits/syscall.d.
70383 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70385         [BZ #13846]
70386         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70388 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70390         [BZ #13841]
70391         * math/s_csqrt.c: Include <float.h>.
70392         (__csqrt): Scale large or subnormal inputs.
70393         * math/s_csqrtf.c: Likewise.
70394         * math/s_csqrtl.c: Likewise.
70395         * math/libm-test.inc (csqrt_test): Add more tests.
70396         * sysdeps/i386/fpu/libm-test-ulps: Update.
70397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70399         [BZ #13840]
70400         * math/libm-test.inc (hypot_test): Add more tests.
70402 2012-03-13  David S. Miller  <davem@davemloft.net>
70404         [BZ #13840]
70405         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70406         double-precision for the calculation instead of scaling.
70408 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70410         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70411         manipulate bits before adding and subtracting TWO52[sx].
70412         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70413         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70414         Likewise.
70415         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70417 2012-03-13  David S. Miller  <davem@davemloft.net>
70419         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70420         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70421         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70422         rtld-global-offsets.h
70423         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70425         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70426         large parameters.
70428         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70430         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70431         'err' in the ifdef scope in which it is actually used.
70433         * nss/nss_db/db-init.c: Include string.h
70435 2012-03-12  David S. Miller  <davem@davemloft.net>
70437         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70438         masking out of the most significant byte of random value used.
70439         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70440         Fix coding style in previous change.
70442         * sysdeps/unix/sysv/linux/kernel-features.h
70443         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70444         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70445         expression.
70446         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70447         later.
70449 2012-03-11  David S. Miller  <davem@davemloft.net>
70451         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70452         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70453         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70454         for 'resultvar' otherwise things get truncated on 64-bit.
70456         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70457         Fix masking out of the most significant byte of random value used.
70459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70461 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70465 2012-03-09  David S. Miller  <davem@davemloft.net>
70467         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70468         variables with appropriate CPP guards.
70469         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70470         from the frame pointer, not the stack pointer.  Correct layout
70471         comments.  Fix test on resulting framesize and the management of
70472         the outregs buffer for pltexit.  Preserve floating point return
70473         values across _dl_call_pltexit call.
70474         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70475         framesize and the management of the outregs buffer for pltexit.
70476         Preserve floating point return values across _dl_call_pltexit
70477         call.
70478         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70479         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70480         (la_sparc64_gnu_pltexit): New functions.
70481         (print_exit): Fix format string for return register value.
70483 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70485         * sunrpc/Makefile (others): Add rpcgen.
70486         ($(objpfx)rpcgen): Remove special build rule and dependency on
70487         libc.
70488         * sunrpc/rpcgen.c: New file.
70490 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70492         [BZ #13673]
70493         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70494         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70495         * sysdeps/i386/crti.S: Likewise.
70496         * sysdeps/i386/crtn.S: Likewise.
70497         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70498         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70499         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70500         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70501         * sysdeps/sh/crti.S: Likewise.
70502         * sysdeps/sh/crtn.S: Likewise.
70503         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70505         [BZ #13673]
70506         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70507         with URL.
70508         * locale/programs/locfile-kw.gperf: Likewise.
70509         * locale/programs/charmap-kw.h: Regenerated.
70510         * locale/programs/locfile-kw.h: Likewise.
70512         [BZ #13673]
70513         * intl/plural.y: Replace FSF snail mail address with URL.
70514         * intl/plural.c: Regenerated.
70516 2012-03-09  Richard Henderson  <rth@twiddle.net>
70518         * include/math_private.h: Remove file.
70519         * math/math_private.h: Move file ...
70520         * sysdeps/generic/math_private.h: ... here.
70522         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70523         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70524         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70526         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70527         and <math_private.h>.
70528         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70529         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70530         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70531         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70532         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70533         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70534         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70535         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70536         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70537         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70538         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70539         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70540         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70541         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70542         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70543         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70544         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70545         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70546         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70547         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70548         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70549         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70550         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70551         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70552         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70553         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70554         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70555         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70556         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70557         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70558         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70559         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70560         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70561         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70562         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70563         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70564         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70565         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70566         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70567         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70568         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70569         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70570         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70571         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70572         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70573         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70574         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70575         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70576         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70577         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70578         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70579         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70580         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70581         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70582         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70583         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70584         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70585         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70586         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70587         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70588         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70589         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70590         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70591         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70592         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70593         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70594         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70595         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70596         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70597         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70598         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70599         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70600         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70601         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70602         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70603         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70604         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70605         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70606         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70607         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70608         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70609         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70610         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70611         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70612         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70613         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70614         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70615         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70616         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70617         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70618         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70619         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70620         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70621         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70622         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70623         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70624         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70625         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70626         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70627         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70628         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70629         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70630         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70631         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70632         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70633         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70634         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70635         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70636         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70637         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70638         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70639         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70640         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70641         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70642         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70643         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70644         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70645         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70646         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70647         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70648         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70649         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70650         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70651         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70652         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70653         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70654         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70655         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70656         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70657         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70658         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70659         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70660         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70661         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70662         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70663         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70664         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70665         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70666         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70667         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70668         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70669         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70670         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70671         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70672         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70673         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70674         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70675         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70676         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70677         * sysdeps/ieee754/k_standard.c: Likewise.
70678         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70679         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70680         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70681         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70682         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70683         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70684         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70685         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70686         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70687         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70688         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70689         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70690         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70691         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70692         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70693         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70694         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70695         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70696         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70697         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70698         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70699         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70700         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70701         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70702         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70703         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70704         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70705         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70706         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70707         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70708         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70709         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70710         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70711         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70712         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70713         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70714         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70715         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70716         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70717         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70718         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70719         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70720         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70721         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70722         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70723         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70724         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70725         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70726         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70727         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70728         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70729         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70730         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70731         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70732         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70733         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70734         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70735         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70736         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70737         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70738         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70739         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70740         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70741         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70742         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70743         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70744         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70745         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70746         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70747         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70748         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70749         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70750         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70751         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70752         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70753         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70754         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70755         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70756         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70757         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70758         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70759         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70760         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70761         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70762         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70763         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70764         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70765         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70766         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70767         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70768         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70769         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70770         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70771         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70772         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70773         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70774         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70775         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70776         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70777         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70778         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70779         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70780         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70781         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70782         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70783         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70784         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70785         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70786         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70787         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70788         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70789         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70790         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70791         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70792         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70793         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70794         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70795         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70796         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70797         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70798         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70799         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70800         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70801         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70802         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70803         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70804         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70805         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70806         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70807         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70808         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70809         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70810         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70811         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70812         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70813         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70814         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70815         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70816         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70817         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70818         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70819         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70820         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70821         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70822         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70823         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70824         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70825         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70826         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70827         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70828         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70829         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70830         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70831         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70832         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70833         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70834         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70835         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70836         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70837         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70838         * sysdeps/ieee754/s_lib_version.c: Likewise.
70839         * sysdeps/ieee754/s_matherr.c: Likewise.
70840         * sysdeps/ieee754/s_signgam.c: Likewise.
70841         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70842         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70843         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70844         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70845         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70846         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70847         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70848         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70849         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70850         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70851         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70852         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70853         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70854         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70855         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70856         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70857         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70858         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70859         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70860         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70861         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70863 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70865         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70866         * sunrpc/rpc_main.c: Likewise.
70867         * sunrpc/rpc_svcout.c: Likewise.
70869 2012-03-09  David S. Miller  <davem@davemloft.net>
70871         * include/math_private.h: New file.
70873 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70875         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70876         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70877         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70878         from <bits/socket_type.h>.
70879         (enum __socket_type): Don't define here.
70880         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70881         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70882         bits/socket_type.h.
70884         [BZ #13566]
70885         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70886         checking __USE_GNU.
70888         * Makerules ($(inst_includedir)/%.h): New rule.
70889         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70890         (install-others): Remove variable setting.
70891         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70893 2012-03-08  Richard Henderson  <rth@twiddle.net>
70895         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70896         from macro to inline function; merge with the
70897         !__LIBC_INTERNAL_MATH_INLINES version.
70898         (__ieee754_sqrtf): Likewise.
70900         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70901         to inline function.
70902         (__rintf, __floor, __floorf): Likewise.
70904         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70905         macro to inline function.
70906         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70908         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70909         not <math/math_private.h>.
70911 2012-03-08  David S. Miller  <davem@davemloft.net>
70913         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70914         copyright year.
70915         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70917 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70919         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70920         normalization.
70921         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70922         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70924 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70926         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70927         be defined individually, they must be defined as a block.  Define
70928         S for printing a string instead of hidint the different by using a
70929         macro for adding the 'l'.
70930         * stdio-common/tst-fphex-wide.c: Adjust.
70932 2012-03-07  Marek Polacek  <polacek@redhat.com>
70934         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70936 2012-03-08  Marek Polacek  <polacek@redhat.com>
70938         [BZ #13806]
70939         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70940         * stdio-common/tst-fphex.c: Define a few macros to make the
70941         test reusable.  Use them.
70942         * stdio-common/tst-fphex-wide.c: New file.
70944 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70946         [BZ #6911]
70947         * manual/macros.texi (gnusystems): New macro.
70948         (nongnusystems): Likewise.
70949         (gnulinuxhurdsystems): Likewise.
70950         (gnuhurdsystems): Likewise..
70951         (gnulinuxsystems): Likewise.
70952         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70953         variants of the GNU system, not "GNU system".
70954         * manual/conf.texi: Likewise.
70955         * manual/errno.texi: Likewise.  Update example of errno macro
70956         expansion.
70957         * manual/filesys.texi: Likewise.
70958         (getumask): Document as specific to GNU/Hurd.
70959         * manual/install.texi: Likewise.  Reword some references to
70960         GNU/Linux.
70961         * manual/intro.texi: Likewise.
70962         * manual/io.texi: Likewise.
70963         (File Name Portability): Detail which constraints are inapplicable
70964         to all GNU systems and which are only inapplicable to GNU/Hurd.
70965         * manual/job.texi: Likewise.
70966         * manual/llio.texi: Likewise.
70967         (O_NOCTTY): Document as present on GNU/Linux.
70968         * manual/maint.texi: Likewise.
70969         * manual/memory.texi: Likewise.
70970         * manual/pattern.texi: Likewise.
70971         * manual/pipe.texi: Likewise.
70972         * manual/process.texi: Likewise.
70973         * manual/resource.texi: Likewise.
70974         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70975         child on GNU/Hurd.
70976         * manual/setjmp.texi: Likewise.
70977         * manual/signal.texi: Likewise.
70978         * manual/startup.texi: Likewise.
70979         * manual/stdio.texi: Likewise.
70980         * manual/terminal.texi: Likewise.
70981         (ONLCR): Document as POSIX.
70982         (OXTABS): Document availability on GNU/Linux as XTABS.
70983         (ONOEOT): Document availability separately from other bits.
70984         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70985         * manual/time.texi: Likewise.
70986         * manual/users.texi: Likewise.
70987         * INSTALL: Regenerated.
70988         * sysdeps/gnu/errlist.c: Regenerated.
70990         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70991         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70992         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70993         puts.
70994         * configure: Regenerated.
70996 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70998         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70999         default includes instead of AC_HEADER_CHECK.
71000         * sysdeps/i386/configure: Regenerated.
71002         [BZ #10716]
71003         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71004         * math/s_cacoshf.c (__cacoshf): Likewise.
71005         * math/s_cacoshl.c (__cacoshl): Likewise.
71006         * math/s_casinh.c (__casinh): Set signs of result from argument.
71007         * math/s_casinhf.c (__casinhf): Likewise.
71008         * math/s_casinhl.c (__casinhl): Likewise.
71009         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71010         (casinh_test): Add more tests.
71011         * sysdeps/i386/fpu/libm-test-ulps: Update.
71012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71014 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71016         * po/zh_TW.po: Update from translation team.
71018         * login/Makefile (distribute): Remove variable.
71019         * catgets/Makefile: Likewise.
71020         * mach/Makefile: Likewise.
71021         * malloc/Makefile: Likewise.
71022         * misc/Makefile: Likewise.
71023         * iconv/Makefile: Likewise.
71024         * nscd/Makefile: Likewise.
71025         * hurd/Makefile: Likewise.
71026         * manual/Makefile: Likewise.
71027         * locale/Makefile: Likewise.
71028         * intl/Makefile: Likewise.
71029         * conform/Makefile: Likewise.
71030         * nss/Makefile: Likewise.
71031         * time/Makefile: Likewise.
71032         * soft-fp/Makefile: Likewise.
71033         * dirent/Makefile: Likewise.
71034         * gmon/Makefile: Likewise.
71035         * po/Makefile: Likewise.
71036         * rt/Makefile: Likewise.
71037         * socket/Makefile: Likewise.
71038         * math/Makefile: Likewise.
71039         * signal/Makefile: Likewise.
71040         * debug/Makefile: Likewise.
71041         * elf/Makefile: Likewise.
71042         * timezone/Makefile: Likewise.
71043         * stdlib/Makefile: Likewise.
71044         * iconvdata/Makefile: Likewise.
71045         * sunrpc/Makefile: Likewise.
71046         * io/Makefile: Likewise.
71047         * argp/Makefile: Likewise.
71048         * inet/Makefile: Likewise.
71049         * hesiod/Makefile: Likewise.
71050         * grp/Makefile: Likewise.
71051         * csu/Makefile: Likewise.
71052         * wctype/Makefile: Likewise.
71053         * crypt/Makefile: Likewise.
71054         * libio/Makefile: Likewise.
71055         * string/Makefile: Likewise.
71056         * nis/Makefile: Likewise.
71057         * resolv/Makefile: Likewise.
71058         * stdio-common/Makefile: Likewise.
71059         * wcsmbs/Makefile: Likewise.
71060         * dlfcn/Makefile: Likewise.
71061         * posix/Makefile: Likewise.
71063         [BZ #6959]
71064         * timezone/Makefile: Don't install timezone files, just the programs
71065         and scripts.
71067 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71069         * nss/databases.def: Add missing gshadow entry.
71071         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71073 2012-03-06  Marek Polacek  <polacek@redhat.com>
71075         [BZ #13726]
71076         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71077         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71078         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71079         * stdio-common/tst-long-dbl-fphex.c: New file.
71081 2012-03-06  David S. Miller  <davem@davemloft.net>
71083         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71084         (set_obp_int): New function.
71085         (get_obp_int): New function.
71086         (__get_clockfreq_via_dev_openprom): Likewise.
71087         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71088         Avoid unused variable warnings on 'val' and use builtin_expect.
71089         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71090         __builtin_expect.
71091         (INLINE_CLONE_SYSCALL): Likewise.
71093 2012-03-05  David S. Miller  <davem@davemloft.net>
71095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71097 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71101         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71102         only for |x| >= 40.
71103         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71105 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71107         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71108         Replace gettimeofday with __vdso_gettimeofday.
71110         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71111         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71112         __vdso_clock_gettime and __vdso_getcpu.
71114         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71115         time with __vdso_time.
71117 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71119         * manual/lang.texi (size_t): Note types to which size_t may be
71120         equivalent with the GNU C Library, but do not describe when
71121         differences between them are significant.
71123 2012-03-05  Andreas Jaeger  <aj@suse.de>
71125         * sysdeps/i386/fpu/libm-test-ulps: Update.
71127 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71129         [BZ #3976]
71130         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71131         (__ieee754_pow): Save and restore rounding mode and use
71132         round-to-nearest for main computations.
71133         * math/libm-test.inc (pow_test_tonearest): New function.
71134         (pow_test_towardzero): Likewise.
71135         (pow_test_downward): Likewise.
71136         (pow_test_upward): Likewise.
71137         (main): Call the new functions.
71138         * sysdeps/i386/fpu/libm-test-ulps: Update.
71139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71141         [BZ #3976]
71142         * math/libm-test.inc (cosh_test_tonearest): New function.
71143         (cosh_test_towardzero): Likewise.
71144         (cosh_test_downward): Likewise.
71145         (cosh_test_upward): Likewise.
71146         (sinh_test_tonearest): Likewise.
71147         (sinh_test_towardzero): Likewise.
71148         (sinh_test_downward): Likewise.
71149         (sinh_test_upward): Likewise.
71150         (main): Call the new functions.
71151         * sysdeps/i386/fpu/libm-test-ulps: Update.
71152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71154 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71156         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71157         default stack guard is set in last bytes.
71158         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71160 2012-03-05  Kees Cook  <keescook@chromium.org>
71162         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71164         [BZ #13656]
71165         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71166         possibly allocate from heap instead of stack.
71167         * stdio-common/bug-vfprintf-nargs.c: New file.
71168         * stdio-common/Makefile (tests): Add nargs overflow test.
71170 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71174 2012-03-03  Marek Polacek  <polacek@redhat.com>
71176         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71177         * math/math_private.h: Likewise.
71178         * stdlib/tst-strtod.c: Likewise.
71179         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71180         * sysdeps/x86_64/bits/atomic.h: Likewise.
71182 2012-03-02  David S. Miller  <davem@davemloft.net>
71184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71188         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71189         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71190         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71191         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71193 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71195         [BZ #13792]
71196         * manual/examples/README: New file, says the example source files
71197         can be used under GPL>=2.
71198         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71199         line containing just "*/".
71200         * manual/examples/add.c: Add copyright header (GPL>=2).
71201         * manual/examples/argp-ex1.c: Likewise.
71202         * manual/examples/argp-ex2.c: Likewise.
71203         * manual/examples/argp-ex3.c: Likewise.
71204         * manual/examples/argp-ex4.c: Likewise.
71205         * manual/examples/atexit.c: Likewise.
71206         * manual/examples/db.c: Likewise.
71207         * manual/examples/dir.c: Likewise.
71208         * manual/examples/dir2.c: Likewise.
71209         * manual/examples/execinfo.c: Likewise.
71210         * manual/examples/filecli.c: Likewise.
71211         * manual/examples/filesrv.c: Likewise.
71212         * manual/examples/fmtmsgexpl.c: Likewise.
71213         * manual/examples/genpass.c: Likewise.
71214         * manual/examples/inetcli.c: Likewise.
71215         * manual/examples/inetsrv.c: Likewise.
71216         * manual/examples/isockad.c: Likewise.
71217         * manual/examples/longopt.c: Likewise.
71218         * manual/examples/memopen.c: Likewise.
71219         * manual/examples/memstrm.c: Likewise.
71220         * manual/examples/mkfsock.c: Likewise.
71221         * manual/examples/mkisock.c: Likewise.
71222         * manual/examples/mygetpass.c: Likewise.
71223         * manual/examples/pipe.c: Likewise.
71224         * manual/examples/popen.c: Likewise.
71225         * manual/examples/rprintf.c: Likewise.
71226         * manual/examples/search.c: Likewise.
71227         * manual/examples/select.c: Likewise.
71228         * manual/examples/setjmp.c: Likewise.
71229         * manual/examples/sigh1.c: Likewise.
71230         * manual/examples/sigusr.c: Likewise.
71231         * manual/examples/stpcpy.c: Likewise.
71232         * manual/examples/strdupa.c: Likewise.
71233         * manual/examples/strftim.c: Likewise.
71234         * manual/examples/strncat.c: Likewise.
71235         * manual/examples/subopt.c: Likewise.
71236         * manual/examples/swapcontext.c: Likewise.
71237         * manual/examples/termios.c: Likewise.
71238         * manual/examples/testopt.c: Likewise.
71239         * manual/examples/testpass.c: Likewise.
71240         * manual/examples/timeval_subtract.c: Likewise.
71242         [BZ #13792]
71243         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71244         function to ...
71245         * manual/timeval_subtract.c.texi: ... here, new file.
71247 2012-03-02  David S. Miller  <davem@davemloft.net>
71249         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71251 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71253         [BZ #3976]
71254         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71255         (__sin): Save and restore rounding mode and use round-to-nearest
71256         for all computations.
71257         (__cos): Save and restore rounding mode and use round-to-nearest
71258         for all computations.
71259         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71260         <fenv.h>.
71261         (tan): Save and restore rounding mode and use round-to-nearest for
71262         all computations.
71263         * math/libm-test.inc (cos_test_tonearest): New function.
71264         (cos_test_towardzero): Likewise.
71265         (cos_test_downward): Likewise.
71266         (cos_test_upward): Likewise.
71267         (sin_test_tonearest): Likewise.
71268         (sin_test_towardzero): Likewise.
71269         (sin_test_downward): Likewise.
71270         (sin_test_upward): Likewise.
71271         (tan_test_tonearest): Likewise.
71272         (tan_test_towardzero): Likewise.
71273         (tan_test_downward): Likewise.
71274         (tan_test_upward): Likewise.
71275         (main): Call the new functions.
71276         * sysdeps/i386/fpu/libm-test-ulps: Update.
71277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71279         [BZ #10135]
71280         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71281         small n, then large n, before computing and testing k+n.
71282         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71283         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71284         Likewise.
71285         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71286         Likewise.
71287         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71288         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71289         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71290         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71291         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71292         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71293         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71294         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71295         * math/libm-test.inc (scalbn_test): Add more tests.
71296         (scalbln_test): Likewise.
71298         * manual/filesys.texi (mode_t): Describe constraints on size and
71299         signedness, not exact equivalence to a particular type.
71300         (ino_t): Likewise.
71301         (ino64_t): Likewise.
71302         (dev_t): Likewise.
71303         (nlink_t): Likewise.
71304         (blkcnt_t): Likewise.
71305         (blkcnt64_t): Likewise.
71306         * manual/llio.texi (off_t): Likewise.
71308         [BZ #3976]
71309         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71310         (__ieee754_exp): Save and restore rounding mode and use
71311         round-to-nearest for all computations.
71312         * math/libm-test.inc (exp_test_tonearest): New function.
71313         (exp_test_towardzero): Likewise.
71314         (exp_test_downward): Likewise.
71315         (exp_test_upward): Likewise.
71316         (main): Call the new functions.
71317         * sysdeps/i386/fpu/libm-test-ulps: Update.
71318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71320 2012-03-01  Chris Demetriou  <cgd@google.com>
71322         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71323         have predictable order.
71325 2012-03-01  David S. Miller  <davem@davemloft.net>
71327         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71329         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71330         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71331         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71332         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71334         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71335         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71336         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71338         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71339         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71340         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71341         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71342         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71346         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71347         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71348         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71350         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71351         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71352         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71353         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71354         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71355         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71356         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71357         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71358         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71359         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71360         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71361         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71362         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71363         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71364         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71365         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71366         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71367         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71368         * sysdeps/sparc/elf/configure: Regenerated.
71370 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71372         * configure.in (AS, LD): Require binutils 2.20 or later.
71373         * configure: Regenerated.
71374         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71375         as required minimum version.
71376         * INSTALL: Regenerated.
71378         [BZ #2541]
71379         [BZ #4108]
71380         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71381         before squaring exponent.
71382         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71383         bottom long double and 27 bits of top long double before squaring
71384         exponent.
71385         * math/libm-test.inc (erfc_test): Add more tests.
71386         * sysdeps/i386/fpu/libm-test-ulps: Update.
71387         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71390 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71392         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71393         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71394         containing bit-fields.
71395         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71396         * soft-fp/single.h (_FP_UNION_S): Likewise.
71397         * soft-fp/double.h (_FP_UNION_D): Likewise.
71399 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71401         [BZ #13786]
71402         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71403         not include ../strcmp.S.
71404         [USE_AS_STRNCASECMP_L]: Likewise.
71405         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71406         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71407         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71408         (__strncasecmp_l_ia32): Define as alias to
71409         __strncasecmp_l_nonascii.
71411         [BZ #5794]
71412         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71413         * sysdeps/i386/fpu/libm-test-ulps: Update.
71414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71416         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71419 2012-02-29  Jeff Law  <law@redhat.com>
71421         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71422         out of bounds read.
71424 2012-02-29  Marek Polacek  <polacek@redhat.com>
71426         [BZ #13706]
71427         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71428         * elf/Makefile: Add rules to run tst-unused-dep.out.
71430 2012-02-28  David S. Miller  <davem@davemloft.net>
71432         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71433         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71434         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71435         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71436         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71437         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71439 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71441         * math/libm-test.inc (llround_test): Move one test from
71442         lround_test.  Use TEST_f_L in moved test.
71443         (lround_test): Move misplaced test to llround_test.  Add testcase
71444         from bug 2561.
71446 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71448         * sysdeps/x86_64/fpu/e_expf.S: New file.
71449         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71451 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71453         [BZ #13637]
71454         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71455         of remain_len that may cause incomplete multi-byte character and
71456         false match.
71457         * posix/bug-regex33.c: New file.
71458         * posix/Makefile (tests): Add bug-regex33.
71460 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71462         * manual/macros.texi: New file.
71463         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71464         * manual/libc.texinfo: Include macros.texi.
71465         * manual/creatute.texi: Likewise.
71466         * manual/install.texi: Likewise.
71467         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71468         @glibcadj{} in references to the GNU C Library.
71469         * manual/charset.texi: Likewise.
71470         * manual/conf.texi: Likewise.
71471         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71472         when not using those macros.
71473         * manual/creature.texi: Likewise.
71474         * manual/crypt.texi: Likewise.
71475         * manual/errno.texi: Likewise.
71476         * manual/filesys.texi: Likewise.
71477         * manual/header.texi: Likewise.
71478         * manual/install.texi: Likewise.
71479         * manual/intro.texi: Likewise.
71480         * manual/io.texi: Likewise.
71481         * manual/job.texi: Likewise.
71482         * manual/lang.texi: Likewise.
71483         * manual/libc.texiinfo: Likewise.
71484         * manual/llio.texi: Likewise.
71485         * manual/locale.texi: Likewise.
71486         * manual/maint.texi: Likewise.
71487         * manual/math.texi: Likewise.
71488         * manual/memory.texi: Likewise.
71489         * manual/message.texi: Likewise.
71490         * manual/nss.texi: Likewise.
71491         * manual/pattern.texi: Likewise.
71492         * manual/process.texi: Likewise.
71493         * manual/resource.texi: Likewise.
71494         * manual/search.texi: Likewise.
71495         * manual/setjmp.texi: Likewise.
71496         * manual/signal.texi: Likewise.
71497         * manual/socket.texi: Likewise.
71498         * manual/startup.texi: Likewise.
71499         * manual/stdio.texi: Likewise.
71500         * manual/string.texi: Likewise.
71501         * manual/sysinfo.texi: Likewise.
71502         * manual/syslog.texi: Likewise.
71503         * manual/terminal.texi: Likewise.
71504         * manual/time.texi: Likewise.
71505         * manual/users.texi: Likewise.
71506         * INSTALL: Regenerated.
71507         * NOTES: Regenerated.
71508         * sysdeps/gnu/errlist.c: Regenerated.
71510 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71512         * include/dirent.h: Include <dirstream.h> before
71513         <dirent/dirent.h>.
71515 2012-02-28  David S. Miller  <davem@davemloft.net>
71517         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71518         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71519         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71520         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71522 2012-02-27  David S. Miller  <davem@davemloft.net>
71524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71526         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71527         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71530         frame pointer instead of stack pointer relative arg slot.
71531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71532         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71533         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71535 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71537         [BZ #3992]
71538         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71540 2012-02-27  David S. Miller  <davem@davemloft.net>
71542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71546         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71547         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71548         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71549         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71551 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71553         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71554         later.  Allow versions 5-9.
71555         * configure: Regenerated.
71556         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71557         required minimum version and 4.6 as recommended version.  Do not
71558         mention bugs in GCC 2.7 and 2.8.
71559         * INSTALL: Regenerated.
71561 2012-02-27  David S. Miller  <davem@davemloft.net>
71563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71567         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71568         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71569         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71570         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71572         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71573         manipulate bits before adding and subtracting TWO112[sx].
71574         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71576 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71578         [BZ #13775]
71579         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71580         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71581         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71582         being in POSIX, because they are in 1003.1-2008.
71584         * rt/tst-aio.c: Include <fcntl.h>.
71585         * rt/tst-aio7.c: Likewise.
71586         * rt/tst-aio64.c: Likewise.
71588         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71590 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71592         * manual/install.texi (--with-headers): Describe headers as
71593         interface headers, not private headers.
71594         (Specific advice for GNU/Linux systems): Describe use of headers
71595         from "make headers_install", not private headers from older
71596         kernels.
71597         * INSTALL: Regenerated.
71598         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71599         Change to 2.6.19.
71600         * sysdeps/unix/sysv/linux/configure: Regenerated.
71602         * manual/llio.texi (fclean): Remove documentation.
71604         * manual/Makefile (libc-texi-generated): New variable.  Include
71605         version.texi.
71606         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71607         $(libc-texi-generated), not duplicated list of files.
71608         (version.texi, stamp-version): New rules.
71609         (realclean): Remove $(libc-texi-generated), not individual files
71610         from that list.  Do not remove dir-add.texinfo.
71611         * manual/libc.texinfo: Comment out uses of edition numbers and
71612         references to printed manual.  Remove last-updated dates.
71613         (EDITION): Comment out.
71614         (ISBN): Likewise.
71615         (VERSION, UPDATED): Remove.
71616         (version.texi): Include.
71618 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71620         * sysdeps/posix/spawni.c: Include <signal.h>.
71621         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71622         * sysdeps/pthread/aio_fsync.c: Likewise.
71624 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71626         * conform/Makefile (tests): Run only when not cross-compiling and
71627         when fast-check is not defined.
71629         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71630         * conform/data/limits.h-data: Fixes for POSIX2008.
71631         * conform/run-conformtest.sh: Run all tests.
71632         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71633         headers.
71634         * include/bits/dlfcn.h: Likewise.
71635         * include/langinfo.h: Likewise.
71636         * include/monetary.h: Likewise.
71637         * include/sys/poll.h: Likewise.
71639         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71640         for __USE_GNU.
71641         * posix/spawn.h: Define __need_sigset_t.
71642         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71643         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71644         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71645         to get sigevent_t only.
71646         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71647         only for __USE_GNU.
71648         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71649         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71650         process_vm_writev only for __USE_GNU.
71651         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71653         * conform/Makefile: For now ignore errors from run-conformtest.
71654         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71655         POSIX to avoid namespace pollution.  Don't prepend headers.
71656         * conform/data/aio.h-data: Fixes for POSIX testing.
71657         * conform/data/fcntl.h-data: Likewise.
71658         * conform/data/glob.h-data: Likewise.
71659         * conform/data/grp.h-data: Likewise.
71660         * conform/data/pthread.h-data: Likewise.
71661         * conform/data/pwd.h-data: Likewise.
71662         * conform/data/signal.h-data: Likewise.
71663         * conform/data/spawn.h-data: Likewise.
71664         * conform/data/stdio.h-data: Likewise.
71665         * conform/data/stdlib.h-data: Likewise.
71666         * conform/data/stropts.h-data: Likewise.
71667         * conform/data/sys/mman.h-data: Likewise.
71668         * conform/data/sys/stat.h-data: Likewise.
71669         * conform/data/sys/types.h-data: Likewise.
71670         * conform/data/sys/wait.h-data: Likewise.
71671         * conform/data/time.h-data: Likewise.
71672         * conform/data/unistd.h-data: Likewise.
71673         * conform/data/utime.h-data: Likewise.
71675         * io/sys/stat.h: fchmod was always in POSIX.
71676         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71677         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71678         * rt/aio.h: Define __need_timespec before including <time.h>.
71679         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71680         struct.  Add forward declaration of pthread_attr_t and use it in
71681         sigevent.
71682         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71683         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71684         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71685         always remove CLK_TCK definition.
71687 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71689         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71691 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71693         * conform/run-conformtest.sh: New file.
71694         * conform/Makefile: Run run-conformtest for tests.
71695         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71696         support.
71698         * conform/data/uchar.h-data: New file.
71699         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71700         * conform/data/arpa/inet.h-data: Likewise.
71701         * conform/data/assert.h-data: Likewise.
71702         * conform/data/complex.h-data: Likewise.
71703         * conform/data/cpio.h-data: Likewise.
71704         * conform/data/ctype.h-data: Likewise.
71705         * conform/data/dirent.h-data: Likewise.
71706         * conform/data/dlfcn.h-data: Likewise.
71707         * conform/data/errno.h-data: Likewise.
71708         * conform/data/fcntl.h-data: Likewise.
71709         * conform/data/float.h-data: Likewise.
71710         * conform/data/fmtmsg.h-data: Likewise.
71711         * conform/data/fnmatch.h-data: Likewise.
71712         * conform/data/ftw.h-data: Likewise.
71713         * conform/data/glob.h-data: Likewise.
71714         * conform/data/grp.h-data: Likewise.
71715         * conform/data/iconv.h-data: Likewise.
71716         * conform/data/inttypes.h-data: Likewise.
71717         * conform/data/langinfo.h-data: Likewise.
71718         * conform/data/libgen.h-data: Likewise.
71719         * conform/data/limits.h-data: Likewise.
71720         * conform/data/locale.h-data: Likewise.
71721         * conform/data/math.h-data: Likewise.
71722         * conform/data/monetary.h-data: Likewise.
71723         * conform/data/mqueue.h-data: Likewise.
71724         * conform/data/ndbm.h-data: Likewise.
71725         * conform/data/net/if.h-data: Likewise.
71726         * conform/data/netdb.h-data: Likewise.
71727         * conform/data/netinet/in.h-data: Likewise.
71728         * conform/data/nl_types.h-data: Likewise.
71729         * conform/data/poll.h-data: Likewise.
71730         * conform/data/pthread.h-data: Likewise.
71731         * conform/data/pwd.h-data: Likewise.
71732         * conform/data/regex.h-data: Likewise.
71733         * conform/data/sched.h-data: Likewise.
71734         * conform/data/search.h-data: Likewise.
71735         * conform/data/semaphore.h-data: Likewise.
71736         * conform/data/setjmp.h-data: Likewise.
71737         * conform/data/signal.h-data: Likewise.
71738         * conform/data/spawn.h-data: Likewise.
71739         * conform/data/stdarg.h-data: Likewise.
71740         * conform/data/stdio.h-data: Likewise.
71741         * conform/data/stdlib.h-data: Likewise.
71742         * conform/data/string.h-data: Likewise.
71743         * conform/data/strings.h-data: Likewise.
71744         * conform/data/stropts.h-data: Likewise.
71745         * conform/data/sys/ipc.h-data: Likewise.
71746         * conform/data/sys/mman.h-data: Likewise.
71747         * conform/data/sys/msg.h-data: Likewise.
71748         * conform/data/sys/resource.h-data: Likewise.
71749         * conform/data/sys/select.h-data: Likewise.
71750         * conform/data/sys/sem.h-data: Likewise.
71751         * conform/data/sys/shm.h-data: Likewise.
71752         * conform/data/sys/socket.h-data: Likewise.
71753         * conform/data/sys/stat.h-data: Likewise.
71754         * conform/data/sys/statvfs.h-data: Likewise.
71755         * conform/data/sys/time.h-data: Likewise.
71756         * conform/data/sys/timeb.h-data: Likewise.
71757         * conform/data/sys/times.h-data: Likewise.
71758         * conform/data/sys/types.h-data: Likewise.
71759         * conform/data/sys/uio.h-data: Likewise.
71760         * conform/data/sys/un.h-data: Likewise.
71761         * conform/data/sys/utsname.h-data: Likewise.
71762         * conform/data/sys/wait.h-data: Likewise.
71763         * conform/data/syslog.h-data: Likewise.
71764         * conform/data/tar.h-data: Likewise.
71765         * conform/data/termios.h-data: Likewise.
71766         * conform/data/utime.h-data: Likewise.
71767         * conform/data/utmpx.h-data: Likewise.
71768         * conform/data/varargs.h-data: Likewise.
71769         * conform/data/wchar.h-data: Likewise.
71770         * conform/data/wctype.h-data: Likewise.
71771         * conform/data/wordexp.h-data: Likewise.
71773         * include/stropts.h: New file.
71774         * include/uchar.h: New file.
71775         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71776         * include/assert.h: Likewise.
71777         * include/ctype.h: Likewise.
71778         * include/dirent.h: Likewise.
71779         * include/dlfcn.h: Likewise.
71780         * include/fcntl.h: Likewise.
71781         * include/fnmatch.h: Likewise.
71782         * include/glob.h: Likewise.
71783         * include/grp.h: Likewise.
71784         * include/libio.h: Likewise.
71785         * include/locale.h: Likewise.
71786         * include/math.h: Likewise.
71787         * include/net/if.h: Likewise.
71788         * include/netdb.h: Likewise.
71789         * include/netinet/in.h: Likewise.
71790         * include/pthread.h: Likewise.
71791         * include/pwd.h: Likewise.
71792         * include/regex.h: Likewise.
71793         * include/sched.h: Likewise.
71794         * include/search.h: Likewise.
71795         * include/setjmp.h: Likewise.
71796         * include/signal.h: Likewise.
71797         * include/stdio.h: Likewise.
71798         * include/stdlib.h: Likewise.
71799         * include/string.h: Likewise.
71800         * include/sys/cdefs.h: Likewise.
71801         * include/sys/mman.h: Likewise.
71802         * include/sys/msg.h: Likewise.
71803         * include/sys/resource.h: Likewise.
71804         * include/sys/select.h: Likewise.
71805         * include/sys/socket.h: Likewise.
71806         * include/sys/stat.h: Likewise.
71807         * include/sys/statvfs.h: Likewise.
71808         * include/sys/time.h: Likewise.
71809         * include/sys/times.h: Likewise.
71810         * include/sys/uio.h: Likewise.
71811         * include/sys/utsname.h: Likewise.
71812         * include/sys/wait.h: Likewise.
71813         * include/termios.h: Likewise.
71814         * include/time.h: Likewise.
71815         * include/ulimit.h: Likewise.
71816         * include/unistd.h: Likewise.
71817         * include/utime.h: Likewise.
71818         * include/wchar.h: Likewise.
71819         * include/wctype.h: Likewise.
71820         * include/wordexp.h: Likewise.
71822         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71824         * time/time.h: TIME_UTC must be a macro.
71825         Make timespec_get available for ISO C11 only as well.
71827 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71829         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71830         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71832 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71834         * configure.in: Use -o not -a in test for unsupported multi-arch.
71836 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71838         * manual/texinfo.tex: Update to version 2012-01-19.16.
71840 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71842         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71844 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71846         [BZ #13738]
71847         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71848         * manual/fdl-1.3.texi: New file.
71849         * manual/fdl-1.1.texi: File removed.
71851         [BZ #13738]
71852         * manual/libc.texinfo (FDL_VERSION): New @set.
71853         Use it for mention of FDL in cover text.
71854         (Documentation License): Use it in @include file name.
71856 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71857             Roland McGrath  <roland@hack.frob.com>
71859         [BZ #5461]
71860         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71861         (not LONG_LONG_MAX and LONG_LONG_MIN.
71862         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71863         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71864         name.
71865         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71867 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71869         [BZ #2547]
71870         [BZ #11365]
71871         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71872         manipulate bits before adding and subtracting TWO23[sx].
71873         * math/libm-test.inc (nearbyint_test): Add more tests.
71875 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71877         [BZ #2548]
71878         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71879         bits before adding and subtracting TWO23[sx].
71880         * math/libm-test.inc (rint_test): Add more tests.
71881         (rint_test_tonearest): Likewise.
71882         (rint_test_towardzero): Likewise.
71883         (rint_test_downward): Likewise.
71884         (rint_test_upward: Likewise.
71886 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71888         [BZ #10110]
71889         * include/stdc-predef.h: New file.  Extracted from features.h.
71890         * include/features.h: Include stdc-predef.h.
71891         * Makefile (headers): Add stdc-predef.h.
71892         * CONFORMANCE (Compiler limitations): Update.
71894 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71896         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71898 2012-02-21  David S. Miller  <davem@davemloft.net>
71900         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71901         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71903 2012-02-20  David S. Miller  <davem@davemloft.net>
71905         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71906         using a normal save/restore sequence, rather than allocating a
71907         dummy stack frame just to store a frame pointer and restore.
71908         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71910 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71912         * manual/install.texi: Fix stray word in line-wrapped comment.
71914 2012-02-20  David S. Miller  <davem@davemloft.net>
71916         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71917         both binutils and gcc support GOTDATA.
71919         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71920         "rd %pc" in the PIC register setup sequences.
71922         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71923         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71924         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71925         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71926         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71927         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71928         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71929         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71930         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71931         (SYSCALL_ERROR_HANDLER): Likewise.
71932         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71933         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71934         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71935         (SYSCALL_ERROR_HANDLER): Likewise.
71937         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71938         (HAVE_GCC_GOTDATA): New.
71939         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71940         relocation support in both binutils and gcc.
71941         * sysdeps/sparc/elf/configure: Regenerate.
71943         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71944         * sysdeps/sparc/sparc32/elf/configure: Delete.
71945         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71946         * sysdeps/sparc/sparc64/elf/configure: Delete.
71947         * sysdeps/sparc/elf/configure.in: New file.
71948         * sysdeps/sparc/elf/configure: Generate.
71950         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71951         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71952         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71953         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71954         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71956 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71958         * manual/install.texi: Do not mention specific glibc version
71959         numbers.
71960         * manual/libc.texinfo (VERSION, UPDATED): Update.
71961         (@copying): Use @copyright{} and range of years.
71963 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71965         [BZ #13695]
71966         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71967         [crti.S not in sysdirs] (generated): Do not append.
71968         [crti.S not in sysdirs] (omit-deps): Likewise.
71969         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71970         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71971         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71972         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71973         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71974         Likewise.
71975         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71976         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71977         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71978         * csu/defs.awk: Remove file.
71979         * sysdeps/generic/initfini.c: Likewise.
71980         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71981         variable.
71982         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71983         Likewise.
71985 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71987         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71988         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71989         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71990         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71991         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71992         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71993         <bits/epoll.h>.
71994         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71995         (__EPOLL_PACKED): Define to empty if not defined by
71996         <bits/epoll.h>.
71997         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71998         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71999         bits/epoll.h.
72001 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72003         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72004         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72005         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72006         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72007         <bits/timerfd.h>.
72008         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72009         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72010         bits/timerfd.h.
72012 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72014         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72015         in C locale.
72016         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72017         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72018         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72021 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72023         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72024         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72026 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72028         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72029         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72030         defined.
72031         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72032         Likewise.
72033         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72034         entry for 2.16.
72036 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72038         * math/w_acos.c: Use non-signaling floating-point comparisons.
72039         * math/w_acosf.c: Likewise.
72040         * math/w_acosh.c: Likewise.
72041         * math/w_acoshf.c: Likewise.
72042         * math/w_acoshl.c: Likewise.
72043         * math/w_acosl.c: Likewise.
72044         * math/w_asin.c: Likewise.
72045         * math/w_asinf.c: Likewise.
72046         * math/w_asinl.c: Likewise.
72047         * math/w_atanh.c: Likewise.
72048         * math/w_atanhf.c: Likewise.
72049         * math/w_atanhl.c: Likewise.
72050         * math/w_exp2.c: Likewise.
72051         * math/w_exp2f.c: Likewise.
72052         * math/w_exp2l.c: Likewise.
72053         * math/w_j0.c: Likewise.
72054         * math/w_j0f.c: Likewise.
72055         * math/w_j0l.c: Likewise.
72056         * math/w_j1.c: Likewise.
72057         * math/w_j1f.c: Likewise.
72058         * math/w_j1l.c: Likewise.
72059         * math/w_jn.c: Likewise.
72060         * math/w_jnf.c: Likewise.
72061         * math/w_log.c: Likewise.
72062         * math/w_log10.c: Likewise.
72063         * math/w_log10f.c: Likewise.
72064         * math/w_log10l.c: Likewise.
72065         * math/w_log2.c: Likewise.
72066         * math/w_log2f.c: Likewise.
72067         * math/w_log2l.c: Likewise.
72068         * math/w_logf.c: Likewise.
72069         * math/w_logl.c: Likewise.
72070         * math/w_sqrt.c: Likewise.
72071         * math/w_sqrtf.c: Likewise.
72072         * math/w_sqrtl.c: Likewise.
72073         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72074         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72075         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72076         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72077         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72079 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72081         [BZ #9739]
72082         * manual/string.texi (strnlen): Use correct parameter name in
72083         equivalent expression.
72085 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72087         [BZ #11174]
72088         * manual/users.texi (seteuid): Consistently use neweuid for
72089         argument name.
72091 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72093         [BZ #13704]
72094         * manual/nss.texi (Services in the NSS configuration): Correct
72095         list of services in example configuration file.
72097 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72099         [BZ #11322]
72100         * manual/arith.texi: Remove statements about negative zero
72101         behaving identically to zero.
72103 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72105         [BZ #5993]
72106         * manual/install.texi: Do not document upgrading from libc5.
72108 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72110         [BZ #4596]
72111         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72113 2012-02-18  David S. Miller  <davem@davemloft.net>
72115         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72116         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72117         %o7 across the call.
72118         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72119         instead.
72120         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72121         SETUP_PIC_REG_LEAF.
72122         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72123         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72124         * sysdeps/sparc/crtn.S: Likewise.
72126 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72128         * aout/Makefile: Remove.
72130 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72132         [BZ #13058]
72133         * manual/examples/argp-ex1.c (main): Format definition in GNU
72134         style.
72135         * manual/examples/argp-ex2.c (main): Likewise.
72136         * manual/examples/argp-ex3.c (main): Likewise.
72137         * manual/examples/argp-ex4.c (main): Likewise.
72138         * manual/examples/longopt.c (main): Use new-style prototype
72139         definition.
72140         * manual/examples/strncat.c (main): Specify return type and use
72141         (void) for arguments.
72142         * manual/examples/subopt.c (main): Use char **argv argument.
72144 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72146         [BZ #5077]
72147         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72148         rounding modes.
72150 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72152         [BZ #6907]
72153         * manual/string.texi (strchr): Change when strchrnul is
72154         recommended.
72156 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72158         [BZ #174]
72159         * manual/locale.texi (setlocale): Document LOCPATH.
72161 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72163         [BZ #10210]
72164         * manual/process.texi (execle): Move @dots{} before last argument.
72166 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72168         [BZ #12047]
72169         * manual/charset.texi (Generic Charset Conversion): Fix typo
72170         (LC_TYPE -> LC_CTYPE).
72172 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72174         [BZ #5805]
72175         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72176         (scalbnf): Likewise.
72177         (scalbnl): Likewise.
72178         (scalbln): Likewise.
72179         (scalblnf): Likewise.
72180         (scalblnl): Likewise.
72181         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72182         (vwarnx): Likewise.
72183         (verr): Likewise.
72184         (verrx): Likewise.
72185         * manual/filesys.texi (telldir): Use braces around return type.
72186         * manual/llio.texi (mmap): Add space after comma.
72187         (mmap64): Likewise.
72188         * manual/math.texi (jn): Use @var{} on parameter names.
72189         (jnf): Likewise.
72190         (jnl): Likewise.
72191         (yn): Likewise.
72192         (ynf): Likewise.
72193         (ynl): Likewise.
72194         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72195         line.
72196         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72197         "...".
72198         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72199         (sched_get_priority_max): Likewise.
72200         * manual/signal.texi (sigvec): Add space after comma.
72201         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72202         names.
72203         (if_indextoname): Likewise.
72204         (if_freenameindex): Likewise.
72205         (sendto): Use ',' instead of '.' in prototype.
72206         * manual/startup.texi (syscall): Use @dots{} instead of literal
72207         "...".
72208         * manual/stdio.texi (__fpending): Separate initial words of
72209         paragraph from @deftypefun line.
72210         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72211         "...".
72212         (vsyslog): Use @var{} on parameter names.
72213         * manual/terminal.texi (stty): Use @var{} on parameter names.
72214         * manual/users.texi (getutmp): Use @var{} on parameter names.
72215         (getutmpx): Likewise.
72217 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72219         [BZ #6884]
72220         * manual/stdio.texi (fopen): Fix typos in description of
72221         ",ccs=STRING".
72223 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72225         [BZ #4026]
72226         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72227         get clock_id definition.
72229 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72231         [BZ #4822]
72232         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72233         (madvise): Cast every argument to void on its own.
72235 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72237         [BZ #9902]
72238         * manual/startup.texi (Exit Status): Fix typo.
72240 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72242         [BZ #10140]
72243         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72244         * manual/examples/argp-ex2.c: Likewise.
72245         * manual/examples/argp-ex3.c: Likewise.
72247 2012-02-16  Richard Henderson  <rth@redhat.com>
72249         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72250         * sysdeps/s390/s390-32/initfini.c: Remove.
72251         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72252         * sysdeps/s390/s390-64/initfini.c: Remove.
72254 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72256         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72257         compiler output for sysdeps/generic/initfini.c.
72258         * sysdeps/sh/elf/initfini.c: Remove file.
72260 2012-02-16  David S. Miller  <davem@davemloft.net>
72262         [BZ #11494]
72263         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72265         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72266         * sysdeps/sparc/crti.S: New file.
72267         * sysdeps/sparc/crtn.S: New file.
72268         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72269         * sysdeps/sparc/sparc64/Makefile: Likewise.
72271 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72273         [BZ #3335]
72274         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72276 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72278         [BZ #4822]
72279         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72281         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72282         (write, read, close): Likewise.
72283         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72285 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72287         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72288         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72289         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72290         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72291         <bits/signalfd.h>.
72292         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72294         bits/signalfd.h.
72296 2012-02-14  Marek Polacek  <polacek@redhat.com>
72298         * sysdeps/x86_64/crti.S: New file.
72299         * sysdeps/x86_64/crtn.S: New file.
72300         * sysdeps/x86_64/elf/initfini.c: Remove file.
72302 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72304         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72305         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72306         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72307         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72308         <bits/inotify.h>.
72309         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72310         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72311         bits/inotify.h.
72313 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72315         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72316         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72317         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72318         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72319         <bits/eventfd.h>.
72320         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72322         bits/eventfd.h.
72324 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72326         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72327         __feraiseexcept instead of feraiseexcept.
72329         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72330         nanosleep invocations.
72331         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72332         strings, and add error checking for a nanosleep invocations.
72334 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72336         Replace FSF snail mail address with URLs, as per GNU coding standards.
72337         Most of the snail mail addresses were wrong anyway, and omitting
72338         them makes the source code easier to maintain.  Almost all of the
72339         changes are to license notices and to locale LC_IDENTIFICATION
72340         addresses, except for this one:
72341         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72342         not its snail mail address.
72344 2012-02-09  Richard Henderson  <rth@twiddle.net>
72346         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72347         of kernel-features.h.
72349         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72351 2012-02-08  Marek Polacek  <polacek@redhat.com>
72353         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72354         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72355         * sysdeps/gnu/_G_config.h: Likewise.
72356         * sysdeps/generic/_G_config.h: Likewise.
72358 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72360         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72361         tests.
72362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72364         * sysdeps/powerpc/powerpc32/crti.S: New file.
72365         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72366         * sysdeps/powerpc/powerpc64/crti.S: New file.
72367         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72369         * Makeconfig (have-initfini): Don't set.
72370         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72371         * configure.in (nopic_initfini): Don't substitute.
72372         * config.h.in (HAVE_INITFINI): Don't #undef.
72373         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72374         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72376 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72378         Support crti.S and crtn.S provided directly by architectures.
72379         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72380         [crti.S in sysdirs] (omit-deps): Likewise.
72381         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72382         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72383         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72384         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72385         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72386         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72387         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72388         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72389         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72390         compiler output for sysdeps/generic/initfini.c.
72391         * sysdeps/i386/elf/Makefile: Remove file.
72392         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72394 2012-02-07  Marek Polacek  <polacek@redhat.com>
72396         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72397         * sysdeps/gnu/_G_config.h: Likewise.
72398         * sysdeps/mach/hurd/_G_config.h: Likewise.
72400 2012-02-07  Marek Polacek  <polacek@redhat.com>
72402         * math/Makefile (tests): Add tst-CMPLX2.
72403         * math/tst-CMPLX2.c: New file.
72405 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72407         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72409         * math/libm-test.inc (jn_test): Add missing L suffix.
72411 2012-02-06  Marek Polacek  <polacek@redhat.com>
72413         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72414         * sysdeps/i386/fpu/e_powf.S: Likewise.
72415         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72416         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72417         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72418         * sysdeps/i386/fpu/e_pow.S: Likewise.
72419         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72420         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72421         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72422         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72423         * sysdeps/i386/fpu/e_log2.S: Likewise.
72424         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72425         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72426         * sysdeps/i386/fpu/e_powl.S: Likewise.
72427         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72428         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72429         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72430         * sysdeps/i386/fpu/e_logl.S: Likewise.
72431         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72432         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72433         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72434         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72435         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72436         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72437         * sysdeps/i386/fpu/e_log.S: Likewise.
72438         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72439         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72440         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72441         * sysdeps/i386/fpu/e_logf.S: Likewise.
72442         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72443         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72444         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72445         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72446         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72447         * sysdeps/i386/fpu/e_log10.S: Likewise.
72448         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72449         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72450         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72451         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72452         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72453         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72454         * sysdeps/i386/asm-syntax.h: Likewise.
72455         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72456         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72457         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72458         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72459         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72460         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72461         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72462         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72463         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72464         * sysdeps/powerpc/sysdep.h: Likewise.
72465         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72466         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72468 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72470         [BZ #411]
72471         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72473 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72475         * sysdeps/i386/sysdep.h: Include <features.h>.
72476         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72477         version.
72479 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72481         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72482         Define.
72483         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72484         LOAD_PIC_REG_STR.
72486 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72488         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72489         (SETUP_PIC_REG): Use GET_PC_THUNK.
72490         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72491         macro.
72493 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72495         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72496         for non-PIC compilation.
72497         (SETUP_PIC_REG): Add .p2align directive.
72498         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72499         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72500         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72501         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72502         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72503         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72504         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72505         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72506         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72507         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72508         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72509         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72510         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72511         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72512         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72513         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72514         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72515         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72516         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72517         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72518         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72519         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72520         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72521         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72522         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72523         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72524         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72525         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72526         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72527         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72528         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72529         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72530         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72531         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72532         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72533         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72534         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72535         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72536         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72537         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72538         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72540 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72542         * math/tst-CMPLX.c: Include <stdio.h>.
72544 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72546         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72547         float.
72548         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72549         * sysdeps/sparc/bits/mathdef.h: Likewise.
72551 2012-01-31  Marek Polacek  <polacek@redhat.com>
72553         * libio/libio.h: Don't define _PARAMS.
72554         * locale/programs/config.h: Don't define PARAMS.
72555         * stdlib/strtol_l.c: Likewise.
72556         (__strtol_l): Remove PARAMS from the prototype.
72558 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72560         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72561         names.  Just use the correct names.  Remove unnecessary wrapper
72562         functions.
72563         * malloc/arena.c: Likewise.
72564         * malloc/hooks.c: Likewise.
72566         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72567         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72568         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72570 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72572         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72573         into tail calls.
72574         (update_get_addr): New function.
72575         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72576         GET_ADDR_MODULE parameter.
72578 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72580         * crypt/cert.c: Remove __STDC__ conditionals.
72581         * crypt/crypt-entry.c: Likewise.
72582         * crypt/crypt_util.c: Likewise.
72583         * libio/filedoalloc.c: Likewise.
72584         * libio/fileops.c: Likewise.
72585         * libio/genops.c: Likewise.
72586         * libio/iofclose.c: Likewise.
72587         * libio/iofdopen.c: Likewise.
72588         * libio/iofopen.c: Likewise.
72589         * libio/iofopen64.c: Likewise.
72590         * libio/iogetdelim.c: Likewise.
72591         * libio/iopopen.c: Likewise.
72592         * libio/obprintf.c: Likewise.
72593         * libio/oldfileops.c: Likewise.
72594         * libio/oldiofclose.c: Likewise.
72595         * libio/oldiofdopen.c: Likewise.
72596         * libio/oldiofopen.c: Likewise.
72597         * libio/oldiopopen.c: Likewise.
72598         * libio/wfiledoalloc.c: Likewise.
72599         * libio/wgenops.c: Likewise.
72600         * locale/programs/xmalloc.c: Likewise.
72601         * misc/syslog.c: Likewise.
72602         * stdio-common/xbug.c: Likewise.
72603         * string/memchr.c: Likewise.
72604         * string/memcmp.c: Likewise.
72605         * string/memrchr.c: Likewise.
72606         * string/rawmemchr.c: Likewise.
72607         * sysdeps/posix/getcwd.c: Likewise.
72608         * time/strftime_l.c: Likewise.
72610 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72612         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72613         * config.make.in (config-cflags-sse2avx): Define.
72614         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72615         Fix typo.
72617 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72619         * scripts/config.guess: Update from upstream config git repository.
72620         * scripts/config.sub: Likewise.
72622 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72624         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72625         (EM_NUM): Update.
72626         (R_TILEPRO_*, R_TILEGX_*): New macros.
72628         * scripts/firstversions.awk: Fix bug in version range handling.
72630         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72632         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72634         * include/sys/epoll.h: New file.
72635         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72636         libc_hidden_def.
72638 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72640         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72641         Avoid unnecessary __WORDSIZE == 64 test.
72642         (fmaxf): Use VEX format if possible.
72643         (fmax): Likewise.
72644         (fminf): Likewise.
72645         (fmin): Likewise.
72647         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72648         * math/math_private.h: Remove libc_fegetround* and
72649         libc_fesetround*.
72650         * sysdeps/i386/configure.in: Check for -msse2avx.
72651         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72652         also if SSE2AVX is defined.
72653         Remove libc_fegetround* and libc_fesetround*.
72654         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72655         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72656         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72657         of HAS_YMM_USABLE.
72658         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72659         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72660         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72661         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72662         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72664         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72666 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72668         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72669         size is not set.
72670         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72672 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72674         [BZ #13618]
72675         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72676         relocation.
72677         * Makeconfig (libm): Define.
72678         * elf/Makefile: Add rules to build and run tst-relsort1.
72679         * elf/tst-relsort1.c: New file.
72680         * elf/tst-relsort1mod1.c: New file.
72681         * elf/tst-relsort1mod2.c: New file.
72683 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72685         * math/s_ldexp.c: Remove __STDC__ conditionals.
72686         * math/s_ldexpf.c: Likewise.
72687         * math/s_ldexpl.c: Likewise.
72688         * math/s_nextafter.c: Likewise.
72689         * math/s_nexttowardf.c: Likewise.
72690         * math/s_significand.c: Likewise.
72691         * math/s_significandf.c: Likewise.
72692         * math/s_significandl.c: Likewise.
72693         * math/w_jnl.c: Likewise.
72694         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72695         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72696         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72697         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72698         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72699         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72700         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72701         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72702         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72703         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72704         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72705         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72706         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72707         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72708         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72709         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72710         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72711         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72712         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72713         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72714         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72715         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72716         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72717         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72718         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72719         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72720         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72721         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72722         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72723         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72724         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72725         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72726         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72727         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72728         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72729         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72730         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72731         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72732         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72733         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72734         * sysdeps/ieee754/k_standard.c: Likewise.
72735         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72736         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72737         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72738         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72739         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72740         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72741         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72742         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72743         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72744         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72745         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72746         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72747         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72748         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72749         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72750         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72751         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72752         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72753         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72754         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72755         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72756         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72757         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72758         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72759         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72760         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72761         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72762         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72763         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72764         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72765         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72766         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72767         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72768         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72769         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72770         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72771         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72772         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72773         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72774         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72775         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72776         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72777         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72778         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72779         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72780         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72781         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72782         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72783         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72784         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72785         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72786         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72787         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72788         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72789         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72790         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72791         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72792         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72793         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72794         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72795         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72796         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72797         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72798         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72799         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72800         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72801         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72802         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72803         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72804         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72805         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72806         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72807         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72808         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72809         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72810         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72811         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72812         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72813         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72814         * sysdeps/ieee754/s_matherr.c: Likewise.
72815         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72816         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72817         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72818         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72820 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72822         * crypt/md5.h: Remove __STDC__ conditionals.
72823         * libio/libioP.h: Likewise.
72824         * locale/programs/config.h: Likewise.
72825         * sysdeps/generic/sysdep.h: Likewise.
72826         * sysdeps/i386/asm-syntax.h: Likewise.
72827         * sysdeps/s390/asm-syntax.h: Likewise.
72828         * sysdeps/unix/sysdep.h: Likewise.
72829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72832 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72834         * libio/libio.h: Remove __STDC__ conditionals.
72835         * malloc/obstack.h: Likewise.
72836         * math/complex.h: Likewise.
72837         * math/math.h: Likewise.
72838         * sysdeps/generic/_G_config.h: Likewise.
72839         * sysdeps/gnu/_G_config.h: Likewise.
72840         * sysdeps/mach/hurd/_G_config.h: Likewise.
72841         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72842         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72843         * sysdeps/sparc/bits/mathdef.h: Likewise.
72845 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72847         [BZ #13583]
72848         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72849         Clean up HAS_* macros.
72850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72851         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72852         possible.
72853         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72854         HAS_AVX.
72855         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72856         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72857         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72858         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72859         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72861 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72863         * elf/tst-unique3.cc (gets): Remove declaration.
72864         * elf/tst-unique3lib.cc (gets): Likewise.
72865         * elf/tst-unique3lib2.cc (gets): Likewise.
72866         * elf/tst-unique4.cc (gets): Likewise.
72868 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72870         * include/stdio.h: Add C++ protection.  Add gets declarations and
72871         definitions.
72872         * debug/tst-chk1.c: Don't declare gets here.
72873         * stdio-common/tst-gets.c: Likewise.
72875 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72877         * posix/glob: Remove directory.
72879 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72881         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72883 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72885         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72886         of the non-standard EPFNOSUPPORT.
72888 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72890         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72891         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72892         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72894 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72896         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72898 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72900         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72901         transient errors.
72902         * nscd/grpcache.c (cache_addgr): Likewise.
72903         * nscd/hstcache.c (cache_addhst): Likewise.
72904         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72905         * nscd/pwdcache.c (cache_addpw): Likewise.
72906         * nscd/servicescache.c (cache_addserv): Likewise.
72908 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72910         * malloc/malloc.c: Various cleanups.
72911         * malloc/hooks.c: Likewise.
72913         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72914         * stdlib/bug-fmtmsg1.c: New file.
72916         * stdlib/fmtmsg.c (init): Add missing unlock.
72917         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72919 2012-01-12  Marek Polacek  <polacek@redhat.com>
72921         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72922         and _GNU_SOURCE.
72924 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72926         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72927         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72928         macro to ensure uniqueness of label name.
72929         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72930         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72932 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72934         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72936         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72937         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72938         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72939         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72941 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72943         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72945         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72946         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72947         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72949         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72951         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72952         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72953         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72954         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72956         * math/bits/math-finite.h: Add ldexp support.
72958 2012-01-10  Marek Polacek  <polacek@redhat.com>
72960         * locale/programs/localedef.h (show_archive_content): Add noreturn
72961         attribute.
72963 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72965         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72967 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72969         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72971         * io/Makefile (headers): Add bits/poll2.h.
72973 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72976         typo #include statement.
72978 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72980         * include/sys/cdefs.h: Define __attribute_alloc_size.
72981         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72982         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72983         * elf/pldd.c: Likewise.
72984         * iconv/iconv_charmap.c: Likewise.
72985         * iconv/iconvconfig.c: Likewise.
72986         * iconv/strtab.c: Likewise.
72987         * locale/programs/locale.c: Likewise.
72988         * locale/programs/localedef.h: Likewise.
72989         * locale/programs/simple-hash.c: Likewise.
72990         * nscd/nscd.h: Likewise.
72991         * nss/makedb.c: Likewise.
72992         * sysdeps/generic/ldconfig.h: Likewise.
72993         * locale/programs/localedef.c: Remove xmalloc prototype.
72994         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72996 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72998         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72999         appropriate.
73001 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73003         * math/Makefile (tests): Add tst-CMPLX.
73004         * math/tst-CMPLX.c: New file.
73006         * math/complex.h (CMPLXL): Fix typo.
73008         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73009         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73010         GLIBC_2.16.
73011         * debug/tst-chk1.c: Add poll and ppoll tests.
73012         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73013         * include/sys/poll.h: Add hidden proto for ppoll.
73014         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73015         * sysdeps/mach/hurd/ppoll.c: Likewise.
73016         * io/ppoll.c: Likewise.
73017         * debug/poll_chk.c: New file.
73018         * debug/ppoll_chk.c: New file.
73019         * include/bits/poll2.h: New file.
73020         * io/bits/poll2.h: New file.
73022         [BZ #1350]
73023         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73025         * configure.in: static is always set to yes.  Remove.
73026         * config.make.in: Don't set build-static.
73027         * Makeconfig: Remove use of build-static.
73028         * dlfcn/Makefile: Likewise.
73029         * elf/Makefile: Likewise.
73030         * math/Makefile: Likewise.
73031         * misc/Makefile: Likewise.
73032         * nptl/Makefile: Likewise.
73033         * sysdeps/mach/hurd/Makefile: Likewise.
73035         * configure.in: PWD_P is not used anymore.
73036         * config.make.in: Remove PWD_P entry.
73038         * configure.in: Remove last remnants of RANLIB.
73039         No need to check for signed size_t anymore.
73040         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73041         and IA-64.
73042         Remove __builtin_expect test because we require at least gcc 3.4.
73043         * aclocal.m4: Likewise.
73045         * wcsmbs/mbrtoc16.c: Implement using towc function.
73046         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73047         * wcsmbs/wcsmbsload.c: Likewise.
73048         * iconv/gconv_simple.c: Likewise.
73049         * iconv/gconv_int.h: Likewise.
73050         * iconv/gconv_builtin.h: Likewise.
73051         * iconv/iconv_prog.c: Remove CHAR16 handling.
73053         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73055         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73057         * configure.in: Remove --with-elf and --enable-bounded options.
73058         Dont set base_machine for ia64.  More non-ELF conditions removed.
73059         Remove testing and setting of leading underscore information.
73060         * config.make.in (build-bounded): Set to no.
73061         * config.h.in: Remove NO_UNDERSCORES entry.
73062         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73063         them.
73064         * csu/start.c: Remove !NO_UNDERSCORE code.
73065         * locale/localeinfo.h: Likewise.
73066         * sysdeps/generic/machine-gmon.h: Likewise.
73067         * sysdeps/generic/sysdep.h: Likewise.
73068         * sysdeps/i386/sysdep.h: Likewise.
73069         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73070         * sysdeps/mach/sysdep.h: Likewise.
73071         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73072         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73073         * sysdeps/sh/sysdep.h: Likewise.
73074         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73075         * sysdeps/unix/i386/sysdep.S: Likewise.
73076         * sysdeps/unix/sparc/start.c: Likewise.
73077         * sysdeps/unix/sparc/sysdep.S: Likewise.
73078         * sysdeps/unix/sparc/sysdep.h: Likewise.
73079         * sysdeps/unix/start.c: Likewise.
73080         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73081         * sysdeps/x86_64/sysdep.h: Likewise.
73083 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73085         [BZ #13553]
73086         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73087         for non-gcc.
73088         * argp/argp-fmtstream.h: Use const instead __const.
73089         * argp/argp.h: Likewise.
73090         * assert/assert.h: Likewise.
73091         * bits/fenv.h: Likewise.
73092         * bits/sched.h: Likewise.
73093         * bits/sigset.h: Likewise.
73094         * bits/sigthread.h: Likewise.
73095         * catgets/nl_types.h: Likewise.
73096         * conform/data/pthread.h-data: Likewise.
73097         * crypt/crypt-private.h: Likewise.
73098         * crypt/crypt.h: Likewise.
73099         * crypt/crypt_util.c: Likewise.
73100         * ctype/ctype.h: Likewise.
73101         * debug/execinfo.h: Likewise.
73102         * debug/mbsnrtowcs_chk.c: Likewise.
73103         * debug/mbsrtowcs_chk.c: Likewise.
73104         * debug/wcsnrtombs_chk.c: Likewise.
73105         * debug/wcsrtombs_chk.c: Likewise.
73106         * debug/wcstombs_chk.c: Likewise.
73107         * dirent/dirent.h: Likewise.
73108         * dlfcn/dlfcn.h: Likewise.
73109         * elf/neededtest4.c: Likewise.
73110         * grp/grp.h: Likewise.
73111         * gshadow/gshadow.h: Likewise.
73112         * iconv/gconv.h: Likewise.
73113         * iconv/gconv_int.h: Likewise.
73114         * iconv/gconv_simple.c: Likewise.
73115         * iconv/iconv.h: Likewise.
73116         * iconv/loop.c: Likewise.
73117         * iconv/skeleton.c: Likewise.
73118         * include/aio.h: Likewise.
73119         * include/aliases.h: Likewise.
73120         * include/argz.h: Likewise.
73121         * include/arpa/inet.h: Likewise.
73122         * include/assert.h: Likewise.
73123         * include/dirent.h: Likewise.
73124         * include/dlfcn.h: Likewise.
73125         * include/execinfo.h: Likewise.
73126         * include/fcntl.h: Likewise.
73127         * include/fenv.h: Likewise.
73128         * include/glob.h: Likewise.
73129         * include/grp.h: Likewise.
73130         * include/libintl.h: Likewise.
73131         * include/mntent.h: Likewise.
73132         * include/netdb.h: Likewise.
73133         * include/pwd.h: Likewise.
73134         * include/rpc/netdb.h: Likewise.
73135         * include/sched.h: Likewise.
73136         * include/search.h: Likewise.
73137         * include/shadow.h: Likewise.
73138         * include/signal.h: Likewise.
73139         * include/stdio.h: Likewise.
73140         * include/stdlib.h: Likewise.
73141         * include/string.h: Likewise.
73142         * include/sys/socket.h: Likewise.
73143         * include/sys/stat.h: Likewise.
73144         * include/sys/statfs.h: Likewise.
73145         * include/sys/statvfs.h: Likewise.
73146         * include/sys/syslog.h: Likewise.
73147         * include/sys/time.h: Likewise.
73148         * include/sys/uio.h: Likewise.
73149         * include/time.h: Likewise.
73150         * include/unistd.h: Likewise.
73151         * include/utmp.h: Likewise.
73152         * include/wchar.h: Likewise.
73153         * include/wctype.h: Likewise.
73154         * inet/aliases.h: Likewise.
73155         * inet/arpa/inet.h: Likewise.
73156         * inet/netinet/ether.h: Likewise.
73157         * inet/netinet/in.h: Likewise.
73158         * intl/libintl.h: Likewise.
73159         * io/bits/fcntl2.h: Likewise.
73160         * io/fcntl.h: Likewise.
73161         * io/ftw.h: Likewise.
73162         * io/sys/poll.h: Likewise.
73163         * io/sys/stat.h: Likewise.
73164         * io/sys/statfs.h: Likewise.
73165         * io/sys/statvfs.h: Likewise.
73166         * io/utime.h: Likewise.
73167         * libio/bits/stdio.h: Likewise.
73168         * libio/bits/stdio2.h: Likewise.
73169         * libio/libio.h: Likewise.
73170         * libio/libioP.h: Likewise.
73171         * libio/stdio.h: Likewise.
73172         * locale/lc-ctype.c: Likewise.
73173         * locale/locale.h: Likewise.
73174         * login/utmp.h: Likewise.
73175         * malloc/arena.c: Likewise.
73176         * malloc/malloc.c: Likewise.
73177         * malloc/malloc.h: Likewise.
73178         * malloc/mcheck.c: Likewise.
73179         * malloc/mtrace.c: Likewise.
73180         * math/bits/mathcalls.h: Likewise.
73181         * math/fenv.h: Likewise.
73182         * math/math_private.h: Likewise.
73183         * misc/bits/error.h: Likewise.
73184         * misc/bits/syslog.h: Likewise.
73185         * misc/err.h: Likewise.
73186         * misc/error.h: Likewise.
73187         * misc/fstab.h: Likewise.
73188         * misc/mntent.h: Likewise.
73189         * misc/regexp.h: Likewise.
73190         * misc/search.h: Likewise.
73191         * misc/sgtty.h: Likewise.
73192         * misc/sys/mman.h: Likewise.
73193         * misc/sys/syslog.h: Likewise.
73194         * misc/sys/uio.h: Likewise.
73195         * misc/sys/xattr.h: Likewise.
73196         * misc/ttyent.h: Likewise.
73197         * nis/rpcsvc/ypclnt.h: Likewise.
73198         * nss/nss.h: Likewise.
73199         * posix/bits/unistd.h: Likewise.
73200         * posix/fnmatch.h: Likewise.
73201         * posix/glob.h: Likewise.
73202         * posix/sched.h: Likewise.
73203         * posix/spawn.h: Likewise.
73204         * posix/sys/wait.h: Likewise.
73205         * posix/unistd.h: Likewise.
73206         * posix/wordexp.h: Likewise.
73207         * pwd/pwd.h: Likewise.
73208         * resolv/netdb.h: Likewise.
73209         * resource/sys/resource.h: Likewise.
73210         * rt/aio.h: Likewise.
73211         * rt/bits/mqueue2.h: Likewise.
73212         * rt/mqueue.h: Likewise.
73213         * shadow/shadow.h: Likewise.
73214         * signal/signal.h: Likewise.
73215         * socket/send.c: Likewise.
73216         * socket/sendto.c: Likewise.
73217         * socket/sys/socket.h: Likewise.
73218         * stdio-common/printf.h: Likewise.
73219         * stdlib/bits/stdlib.h: Likewise.
73220         * stdlib/fmtmsg.h: Likewise.
73221         * stdlib/monetary.h: Likewise.
73222         * stdlib/stdlib.h: Likewise.
73223         * stdlib/ucontext.h: Likewise.
73224         * streams/stropts.h: Likewise.
73225         * string/argz.h: Likewise.
73226         * string/bits/string2.h: Likewise.
73227         * string/string.h: Likewise.
73228         * string/strings.h: Likewise.
73229         * sunrpc/rpc/auth.h: Likewise.
73230         * sunrpc/rpc/auth_des.h: Likewise.
73231         * sunrpc/rpc/clnt.h: Likewise.
73232         * sunrpc/rpc/netdb.h: Likewise.
73233         * sunrpc/rpc/pmap_clnt.h: Likewise.
73234         * sunrpc/rpc/xdr.h: Likewise.
73235         * sysdeps/generic/inttypes.h: Likewise.
73236         * sysdeps/generic/net/if.h: Likewise.
73237         * sysdeps/generic/sys/swap.h: Likewise.
73238         * sysdeps/gnu/net/if.h: Likewise.
73239         * sysdeps/gnu/utmpx.h: Likewise.
73240         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73241         * sysdeps/i386/i486/bits/string.h: Likewise.
73242         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73243         * sysdeps/s390/bits/string.h: Likewise.
73244         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73245         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73246         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73247         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73248         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73249         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73250         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73251         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73252         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73253         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73254         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73255         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73256         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73257         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73258         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73259         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73260         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73261         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73262         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73263         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73264         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73265         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73266         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73267         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73268         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73269         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73270         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73271         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73272         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73273         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73274         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73275         * sysvipc/sys/ipc.h: Likewise.
73276         * sysvipc/sys/msg.h: Likewise.
73277         * sysvipc/sys/sem.h: Likewise.
73278         * sysvipc/sys/shm.h: Likewise.
73279         * termios/termios.h: Likewise.
73280         * time/sys/time.h: Likewise.
73281         * time/time.h: Likewise.
73282         * wcsmbs/bits/wchar2.h: Likewise.
73283         * wcsmbs/uchar.h: Likewise.
73284         * wcsmbs/wchar.h: Likewise.
73285         * wctype/wctype.h: Likewise.
73287         [BZ #13551]
73288         * Makeconfig: Remove all but ELF support including AIX support.
73289         * Makerules: Likewise.
73290         * config.h.in: Likewise.
73291         * config.make.in: Likewise.
73292         * configure: Likewise.
73293         * configure.in: Likewise.
73294         * csu/Makefile: Likewise.
73295         * csu/version.c: Likewise.
73296         * debug/Makefile: Likewise.
73297         * dlfcn/Makefile: Likewise.
73298         * elf/Makefile: Likewise.
73299         * extra-lib.mk: Likewise.
73300         * iconv/Makefile: Likewise.
73301         * include/libc-symbols.h: Likewise.
73302         * include/shlib-compat.h: Likewise.
73303         * resolv/Makefile: Likewise.
73304         * resolv/res_libc.c: Likewise.
73305         * rt/Makefile: Likewise.
73306         * sysdeps/i386/asm-syntax.h: Likewise.
73307         * sysdeps/i386/sysdep.h: Likewise.
73308         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73309         * sysdeps/mach/sysdep.h: Likewise.
73310         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73311         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73312         * sysdeps/s390/asm-syntax.h: Likewise.
73313         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73314         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73315         * sysdeps/sh/sysdep.h: Likewise.
73316         * sysdeps/unix/sparc/sysdep.h: Likewise.
73317         * sysdeps/wordsize-32/divdi3.c: Likewise.
73318         * sysdeps/x86_64/sysdep.h: Likewise.
73320         * argp/Versions: Remove _argp_unlock_xxx.
73322         [BZ #13559]
73323         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73324         * abilist/libBrokenLocale.abilist: Likewise.
73325         * abilist/libanl.abilist: Likewise.
73326         * abilist/libc.abilist: Likewise.
73327         * abilist/libcrypt.abilist: Likewise.
73328         * abilist/libdl.abilist: Likewise.
73329         * abilist/libm.abilist: Likewise.
73330         * abilist/libnsl.abilist: Likewise.
73331         * abilist/libpthread.abilist: Likewise.
73332         * abilist/libresolv.abilist: Likewise.
73333         * abilist/librt.abilist: Likewise.
73334         * abilist/libthread_db.abilist: Likewise.
73335         * abilist/libutil.abilist: Likewise.
73336         * abilist/libnss_db.abilist: New file.
73338         * scripts/abilist.awk: Add support for indirect functions.
73340         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73342         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73344         * shlib-versions: Remove entries for ports architectures.
73346         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73347         files in ports.
73348         * elf/stackguard-macros.h: Remove support for IA-64.
73349         * elf/tst-auditmod1.c: Likewise.
73350         * sysdeps/generic/ldsodefs.h: Likewise.
73352         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73353         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73354         configure files.
73356         [BZ #13552]
73357         * configure.in: Remove --enable-omitfp support.
73358         * FAQ.in: Adjust.
73359         * config.make.in: Likewise.
73360         * Makeconfig: Likewise.
73361         * manual/install.texi: Likewise.
73363         In case anyone cares, the IA-64 architecture could move to ports.
73364         * sysdeps/ia64/*: Removed.
73365         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73366         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73368         [BZ #13555]
73369         * configure.in: Remove entries for unsupported architectures.
73371         [BZ #13533]
73372         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73373         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73374         routines.
73375         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73376         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73377         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73378         fall back to using wcrtomb.
73379         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73380         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73381         renaming.
73382         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73383         * wcsmbs/tst-c16c32-1.c: New file.
73385         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73386         local variable.
73388         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73390         * elf/tst-unique3.cc: Add explicit declaration of gets.
73391         * elf/tst-unique3lib.cc: Likewise.
73392         * elf/tst-unique3lib2.cc: Likewise.
73393         * elf/tst-unique4.cc: Likewise.
73395         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73397 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73399         [BZ #13566]
73400         * assert/assert.h (static_assert): Don't define for C++.
73401         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73402         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73404 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73406         * iconv/loop.c (single loop): Fix assertion in storing of
73407         remaining bytes.
73409         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73411 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73413         * posix/getconf.c: Update copyright year.
73414         * nss/getent.c: Likewise.
73415         * nss/makedb.c: Likewise.
73416         * iconv/iconvconfig.c: Likewise.
73417         * iconv/iconv_prog.c: Likewise.
73418         * elf/ldconfig.c: Likewise.
73419         * elf/pldd.c: Likewise.
73420         * elf/sotruss.ksh: Likewise.
73421         * catgets/gencat.c: Likewise.
73422         * csu/version.c: Likewise.
73423         * elf/ldd.bash.in: Likewise.
73424         * elf/sprof.c (print_version): Likewise.
73425         * locale/programs/locale.c: Likewise.
73426         * locale/programs/localedef.c: Likewise.
73427         * login/programs/pt_chown.c: Likewise.
73428         * nscd/nscd.c (print_version): Likewise.
73429         * debug/xtrace.sh: Likewise.
73430         * malloc/memusage.sh: Likewise.
73431         * malloc/mtrace.pl: Likewise.
73432         * debug/catchsegv.sh: Likewise.
73434 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73436         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73437         pure attribute.
73439 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73441         [BZ #13533]
73442         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73443         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73444         transformations.
73445         * iconv/gconv_int.h: Likewise.
73446         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73447         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73448         from libc for GLIBC_2.16.
73449         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73450         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73451         * wcsmbs/uchar.h: Really define mbstate_t.
73452         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73453         * wcsmbs/c16rtomb.c: New file.
73454         * wcsmbs/mbrtoc16.c: New file.
73455         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73456         for C/POSIX locale.
73457         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73458         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73460         * wcsmbs/wchar.h: Add missing __restrict.
73462 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73464         [BZ #13532]
73465         * time/Makefile (routines): Add timespec_get.
73466         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73467         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73468         timespec for ISO C11.
73469         * time/timespec_get.c: New file.
73470         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73471         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73473         [BZ #13531]
73474         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73475         * stdlib/stdlib.h: Declare aligned_alloc.
73476         * Versions.def: Add GLIBC_2.16 for libc.
73477         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73479         [BZ 13527]
73480         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73481         ISO C11.
73483         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73484         code.
73486         [BZ #13528]
73487         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73489         [BZ #13529]
73490         * assert/assert.h (static_assert): Define.
73492         * version.h: Update for 2.16 development version.
73494         [BZ #13526]
73495         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73496         _ISOC11_SOURCE.
73498         * version.h (RELEASE): Bump for 2.15 release.
73499         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73501         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73502         Patch by Marek Polacek <mpolacek@redhat.com>.
73504         * bits/byteswap.h: Protect long long constants with __extension__.
73505         * sysdeps/i386/bits/byteswap.h: Likewise.
73506         * sysdeps/ia64/bits/byteswap.h: Likewise.
73507         * sysdeps/s390/bits/byteswap.h: Likewise.
73508         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73510 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73512         [BZ #13540]
73513         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73514         destination buffer.
73515         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73517 2011-12-23  Marek Polacek  <polacek@redhat.com>
73519         * elf/dl-addr.c (determine_info): Add inline keyword.
73520         * elf/tst-auditmod4b.c (check_avx): Likewise.
73521         * elf/tst-auditmod6b.c (check_avx): Likewise.
73522         * elf/tst-auditmod6c.c (check_avx): Likewise.
73523         * elf/tst-auditmod7b.c (check_avx): Likewise.
73525 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73527         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73528         !__SSE_MATH__.
73530 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73532         [BZ #13540]
73533         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73534         processing for last bytes.
73536 2011-08-06  Bruno Haible  <bruno@clisp.org>
73538         [BZ #13061]
73539         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73540         U+0385, not to U+1FEE.
73542         [BZ #13062]
73543         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73544         entry for U+00A5 U+0301.
73546 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73548         [BZ #13166]
73549         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73550         buffer for the output is too small.
73552         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73553         optimization.
73555         [BZ #13185]
73556         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73557         SSE flags if possible.
73559 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73561         [BZ #13540]
73562         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73563         processing for last bytes.
73565 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73567         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73568         (syscall-list-default-options, syscall-list-default-condition)
73569         (syscall-list-includes): Define.
73570         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73571         list of ABIs and options and #if conditions for each ABI.  Do not
73572         handle common syscalls between ABIs specially.
73573         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73574         Remove.
73575         (syscall-list-variants, syscall-list-32bit-options)
73576         (syscall-list-32bit-condition, syscall-list-64bit-options)
73577         (syscall-list-64bit-condition): Define.
73578         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73579         (syscall-list-variants, syscall-list-32bit-options)
73580         (syscall-list-32bit-condition, syscall-list-64bit-options)
73581         (syscall-list-64bit-condition): Define.
73582         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73583         Remove.
73584         (syscall-list-variants, syscall-list-32bit-options)
73585         (syscall-list-32bit-condition, syscall-list-64bit-options)
73586         (syscall-list-64bit-condition): Define.
73587         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73588         Remove.
73589         (syscall-list-variants, syscall-list-32bit-options)
73590         (syscall-list-32bit-condition, syscall-list-64bit-options)
73591         (syscall-list-64bit-condition): Define.
73593 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73595         * locale/iso-639.def: Add brx entry.
73597         [BZ #13328]
73598         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73599         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73601         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73602         __feraiseexcept_renamed.
73604 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73606         [BZ #13538]
73607         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73608         EPOLLET with unsigned values.
73609         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73610         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73612         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73613         to large cancellation.
73614         * math/s_cacoshf.c: Likewise.
73615         * math/s_cacoshl.c: Likewise.
73617 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73619         [BZ #13305]
73620         [BZ #12786]
73621         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73622         * math/s_cacoshf.c: Likewise.
73623         * math/s_cacoshl.c: Likewise.
73625 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73627         [BZ #13439]
73628         * iconv/gconv.h: Define __GCONV_SWAP.
73629         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73630         * iconvdata/utf-16.c: Likewise.
73631         * iconvdata/utf-32.c: Likewise.
73633 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73635         [BZ #13524]
73636         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73637         numerator after shifting it by one limb.
73639 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73641         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73642         under [__USE_EXTERN_INLINES].
73644 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73646         [BZ #13446]
73647         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73649 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73651         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73652         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73653         optimized code.
73654         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73655         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73656         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73657         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73658         for strncasecmp/strncasecmp_l compilation.
73659         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73660         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73662 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73664         [BZ #13484]
73665         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73666         of __asm__.
73668 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73670         [BZ #13506]
73671         * time/tzfile.c (__tzfile_read): Check values from file header.
73673 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73675         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73676         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73677         * powerpc/powerpc32/dl-start.S: Likewise.
73678         * powerpc/powerpc32/elf/start.S: Likewise.
73679         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73680         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73681         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73682         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73683         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73684         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73685         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73686         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73687         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73688         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73689         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73690         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73691         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73692         * powerpc/powerpc32/memset.S: Likewise.
73693         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73694         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73695         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73696         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73697         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73698         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73699         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73700         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73701         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73702         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73703         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73704         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73705         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73707 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73709         * math/libm-test.inc: Added more nearbyint tests.
73710         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73711         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73712         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73713         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73715 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73717         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73718         FD_CLOEXEC.
73720 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73722         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73723         Add wcscpy-ssse3 wcscpy-c.
73724         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73725         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73726         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73727         * sysdeps/x86_64/wcschr.S: New file.
73728         * sysdeps/x86_64/wcsrchr.S: New file.
73729         * string/test-strcmp.c: Remove checking of wcscmp function for
73730         wrong alignments.
73731         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73732         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73733         wcsrchr-sse2 wcsrchr-c.
73734         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73735         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73736         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73737         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73738         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73739         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73740         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73741         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73742         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73743         * wcsmbc/wcschr.c (WCSCHR): New macro.
73745 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73747         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73748         * wcsmbs/test-wcsrchr.c: New file.
73749         * string/test-strrchr.c: Add wcsrchr support.
73750         (WIDE): New macro.
73751         * wcsmbs/test-wcscpy.c: New file.
73752         * string/test-strcpy.c: Add wcscpy support.
73753         (WIDE): New macro.
73755 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73757         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73758         the inner loop.
73760 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73762         [BZ #13472]
73763         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73765 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73767         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73768         Minor optimizations.
73770         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73771         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73772         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73774 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73776         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73777         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73778         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73779         for gcc to avoid warnings.
73780         * inet/Makefile (tests): Add tst-checks.
73781         * inet/tst-checks.c: New file.
73783         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73784         warning.
73786         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73787         __wmemcmp_sse2.
73789         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73790         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73792         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73794 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73796         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73797         problem.
73799         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73801 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73803         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73804         conditional on GCC version.
73805         (__arch_compare_and_exchange_val_8_acq)
73806         (__arch_compare_and_exchange_val_16_acq)
73807         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73808         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73809         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73811 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73813         * sysdeps/sh/backtrace.c: New file.
73815 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73817         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73818         parenthesis.
73820 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73822         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73823         falling back to utime.
73825 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73827         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73828         expectations for float.
73830 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73832         * locale/weight.h (findidx): Add parameter len.
73833         * locale/weightwc.h (findidx): Likewise.
73834         * posix/fnmatch_loop.c (FCT): Adjust caller.
73835         * posix/regcomp.c (build_equiv_class): Likewise.
73836         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73837         * posix/regexec.c (check_node_accept_bytes): Likewise.
73838         * string/strcoll_l.c (STRCOLL): Likewise.
73839         * string/strxfrm_l.c (STRXFRM): Likewise.
73841 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73843         * Makefile.in: Remove CVSOPT handling.
73844         * configure.in: Remove use of AC_REVISION.
73845         * iconvdata/Makefile (distribute): No need to filter out CVS.
73846         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73847         handling.
73849 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73851         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73852         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73853         [USE_AS_STRNCASECMP_L]: Likewise.
73854         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73855         NO_TLS_DIRECT_SEG_REFS.
73856         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73857         Fix argument offsets for non-PIC.
73858         [USE_AS_STRNCASECMP_L]: Likewise.
73859         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73860         NO_TLS_DIRECT_SEG_REFS.
73862 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73864         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73865         O_CLOEXEC.
73866         * locale/loadlocale.c (_nl_load_locale): Likewise.
73868 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73870         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73871         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73872         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73873         (SYSCALL_GETTIME): Set errno on error.
73875         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73876         count references to noai6ai_cached.
73878 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73880         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73882         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73883         FD_CLOEXEC for /proc/self/maps.
73885         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73886         FD_CLOEXEC for /proc/meminfo.
73888         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73889         gai.conf.
73891         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73892         FD_CLOEXEC for given file.
73894         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73896         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73897         FD_CLOEXEC for /etc/hosts.
73898         (_gethtent): Likewise.
73900         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73902         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73903         cancellation and set FD_CLOEXEC for /etc/netgroup.
73905         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73906         reading /etc/publickey.
73908         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73909         allow cancellation when reading /etc/group.
73911         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73912         cancellation.
73913         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73915         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73916         when using data file.
73918         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73920         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73921         (write_nis_obj): Use "c" and "e" in fopen.
73923         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73925         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73927         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73929         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73931         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73932         locale.alias.
73934         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73936         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73938         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73940         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73941         file parsing and set FD_CLOEXEC.
73943 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73945         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73947 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73949         * malloc/arena.c (arena_get2): Don't call reused_arena when
73950         _int_new_arena failed.
73952 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73954         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73955         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73956         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73957         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73958         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73959         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73960         to compile strcasecmp and strncasecmp.
73961         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73962         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73964         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73966 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73968         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73969         locale-defines.sym to gen-as-const-headers.
73970         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73971         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73972         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73973         to compile strcasecmp and strncasecmp.
73974         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73975         strcasecmp_l and strncasecmp_l.
73976         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73977         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73978         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73979         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73980         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73981         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73982         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73983         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73984         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73985         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73986         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73988 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73990         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73991         result of SYSDEP_GETTIME_CPU to retval.
73992         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73993         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73995         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73996         variable.
73998         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73999         mantissa words.
74000         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74002         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74003         from unused variable.
74005         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74006         DWARF definitions.
74007         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74008         for assembling.
74010         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74011         over namespaces.
74013         * sunrpc/rpc_prot.c (rejected): Fix case value.
74015         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74016         unsigned long long int to avoid warnings in shift.
74018         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74019         of use of trans.
74020         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74021         variable tmp.
74023         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74024         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74025         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74027         * nis/nis_table.c (nis_list): Use variable of correct type for
74028         result of __follow_path call.
74030 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74032         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74033         of math functions ceil, trunc, floor, round, and sqrt, when
74034         avaliable on the platform.
74035         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74036         name clash.
74037         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74038         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74039         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74041 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74043         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74044         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74046 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74048         * include/unistd.h: Fix __readlink return type.
74049         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74051 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74053         * stdlib/ucontext.h: Undo last change for makecontext.
74055 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74057         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74059         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74060         * setjmp/setjmp.h: Mark functions as non-leaf.
74061         * setjmp/bits/setjmp2.h: Likewise.
74062         * stdlib/ucontext.h: Likewise.
74064 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74066         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74067         (reused_arena): Don't check arena limit.
74068         (arena_get2): Atomically check arena limit.
74070 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74072         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74073         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74075         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74076         instructions.
74078 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74080         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74081         handler when locking.
74083         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74084         Fix size of allocated buffer.
74086 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74088         [BZ #10103]
74089         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74090         declarations for long double functions.
74091         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74093         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74095 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74097         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74098         installed.
74100         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74101         is disabled.
74103 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74105         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74107 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74109         * include/alloca.h (stackinfo_alloca_round): Define.
74110         (extend_alloca): Use it.
74111         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74112         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74113         here.
74115         * scripts/check-local-headers.sh: Ignore libaudit.h.
74117         * nscd/Makefile (extra-objs): Make recursively expanded.
74119 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74121         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74122         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74124         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74125         * posix/tst-rfc3484-2.c: Likewise.
74126         * posix/tst-rfc3484-3.c: Likewise.
74128         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74129         process_vm_writev.
74130         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74131         process_vm_writev.
74132         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74133         process_vm_writev from libc using GLIBC_2.15 version.
74135         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74137 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74139         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74140         stack usage.
74142 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74144         [BZ #13367]
74145         * nss/getent.c (initgroups_keys): Show error message in case no group
74146         names are given.
74148         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74149         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74150         __bump_nl_timestamp.
74151         * nscd/connections (nscd_init): When host database is served open
74152         netlink socket and request notification about configuration changes.
74153         (main_loop_poll): Track netlink file descriptor and bump timestamp
74154         in case data becomes available.
74155         (main_loop_epoll): Likewise.
74156         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74157         (database_pers_head): Add extra_data fileds.
74158         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74159         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74160         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74161         Adjust caller.
74162         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74163         in6ai data, call __free_in6ai.
74164         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74165         Add -DHAVE_NETLINK.
74166         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74167         interface information.  Reuse previous data if netlink timestamp
74168         is not changed.
74169         (__bump_nl_timestamp): New function.
74170         (__free_in6ai): New function.
74172 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74174         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74175         close_not_cancel_no_status here.
74176         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74178 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74180         [BZ #13276]
74181         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74182         return value.
74184         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74185         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74186         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74188 2011-07-03  Andreas Jaeger  <aj@suse.de>
74190         [BZ #10709]
74191         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74192         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74193         * math/libm-test.inc (sin_test): Add test case.
74195 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74197         [BZ #13337]
74198         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74199         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74201         * elf/chroot_canon.c (chroot_canon): Cleanups.
74203         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74205         [BZ #13335]
74206         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74207         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74209         * string/test-strchr.c: Make usable for strchrnul testing.
74210         * string/test-strchrnul.c: New file.
74211         * string/Makefile (strop-tests): Add strchrnul.
74213         * po/it.po: Update from translation team.
74214         * po/es.po: Likewise.
74216 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74218         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74219         the three constants needed as parameters.  Drop the others.
74220         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74221         __m128i_strloadu_tolower.
74222         Create and initialize variable zero and use it in all the places
74223         where _mm_setzero_si128 was used.
74225         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74226         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74227         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74228         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74229         anymore.
74230         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74231         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74232         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74233         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74234         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74235         __mpranred, __mptan.
74236         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74237         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74238         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74239         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74240         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74241         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74242         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74243         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74244         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74246 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74248         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74249         redefine if SHARED.
74250         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74252         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74253         wide char related routines to wcsmbs subdir.
74255 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74257         [BZ #13344]
74258         * misc/sys/cdefs.h (__THROWNL): Define.
74259         * posix/unistd.h: Use __THREADNL instead of __THREAD
74260         for memory synchronization functions.
74262 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74264         [BZ #13349]
74265         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74266         doesn't exist.
74267         * manual/stdio.texi (Obstack Streams): Node removed.
74269 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74271         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74272         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74273         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74275         * math/math_private.h (math_force_eval): Allow non-addressable
74276         arguments.
74277         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74279 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74281         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74282         file is not needed.
74284         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74285         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74286         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74287         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74288         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74289         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74290         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74291         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74292         Add AVX variants.
74293         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74294         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74295         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74296         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74297         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74298         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74299         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74300         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74301         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74302         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74303         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74304         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74305         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74306         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74307         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74308         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74309         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74310         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74311         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74313         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74314         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74316         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74317         place.  Use VEX encoding when compiling for AVX.
74319 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74321         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74322         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74324         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74326 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74328         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74329         useless if() expression.
74330         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74331         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74332         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74333         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74334         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74335         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74336         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74337         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74338         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74339         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74340         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74341         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74342         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74343         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74344         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74345         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74346         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74347         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74348         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74350         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74352 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74354         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74355         condition.
74356         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74358 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74360         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74361         .text section.  Avoid duplicate constants.
74362         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74363         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74364         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74365         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74366         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74367         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74368         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74369         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74370         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74371         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74372         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74373         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74374         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74375         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74376         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74377         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74378         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74379         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74380         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74381         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74382         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74383         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74384         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74385         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74386         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74387         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74388         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74389         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74390         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74391         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74392         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74393         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74394         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74395         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74396         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74397         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74398         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74399         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74400         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74401         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74402         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74403         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74404         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74405         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74406         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74408 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74410         * sysdeps/x86_64/dla.h: Move to ...
74411         * sysdeps/x86_64/fpu/dla.h: ...here.
74412         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74413         situations.  Use __builtin_fma only for gcc 4.6 and up.
74415         * config.make.in: Add have-mfma4 entry.
74416         * configure.in: Substitute libc_cv_cc_fma4.
74417         * math/Makefile (dbl-only-routines): Add sincostab.
74418         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74419         Use __sincostab not sincos.
74420         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74421         name is a macro.
74422         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74423         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74424         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74425         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74426         using __copysign.
74427         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74428         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74429         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74430         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74431         and __inv.
74432         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74433         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74434         __copysign.
74435         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74436         define aliases when function name is a macro.
74437         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74438         sysdeps/ieee754/dbl-64/sincos.tbl.
74439         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74440         fma4-enabled routines.
74441         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74442         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74443         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74444         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74445         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74446         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74447         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74448         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74449         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74450         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74451         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74452         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74453         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74454         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74455         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74456         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74457         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74458         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74459         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74460         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74461         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74462         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74463         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74464         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74465         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74466         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74467         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74468         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74469         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74470         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74472         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74473         rename.
74474         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74475         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74476         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74477         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74478         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74479         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74480         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74481         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74483 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74485         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74487 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74489         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74491         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74492         prediction.
74493         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74495         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74496         Remove unused variable magic_bits.
74497         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74499         * string/strnlen.c: Define and use STRNLEN macro.
74500         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74501         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74502         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74503         * wcsmbs/wcslen.c: Define and use WCSLEN.
74504         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74505         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74506         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74507         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74508         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74509         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74510         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74512 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74515         strnlen-sse2-no-bsf.
74516         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74517         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74518         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74519         Add strnlen support.
74520         (USE_AS_STRNLEN): New macro.
74521         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74522         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74523         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74524         * sysdeps/x86_64/wcslen.S: New file.
74526 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74528         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74529         XMM-moves are used for copying on small sizes.
74531 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74533         * wcsmbs/Makefile (strop-tests): Add wcschr.
74534         * wcsmbs/test-wcschr.c: New file.
74535         * string/test-strchr.c: Update.
74536         Add wcschr support.
74537         (WIDE): New macro.
74539 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74541         * wcsmbs/Makefile (strop-tests): Add wcslen.
74542         * wcsmbs/test-wcslen.c: New file.
74543         * string/test-strlen.c: Update.
74544         Add wcslen support.
74545         (WIDE): New macro.
74547 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74549         * po/it.po: Update from translation team.
74551 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74553         * sysdeps/x86_64/wcscmp.S: Update.
74554         Fix wrong comparison semantics.
74555         wcscmp shall use signed comparison not unsigned.
74556         Don't use substraction to avoid overflow bug.
74557         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74558         * wcsmbc/wcscmp.c: Likewise.
74559         * string/test-strcmp.c: Likewise.
74560         Add new tests to check cases with negative values.
74562 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74564         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74565         * sysdeps/x86_64/dla.h: ...here.  New file.
74566         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
74572         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74573         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74574         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74576 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74578         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74579         __ynl_finite aliases.
74581 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74585         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74586         define DLA_FMA.
74587         [DLA_FMA] (EMULV): Use DLA_FMA.
74588         [DLA_FMA] (MUL12): Use EMULV.
74589         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74590         that are not needed.
74591         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74592         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74593         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74594         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74595         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74596         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74597         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74599 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74601         * math/s_nan.c: Undef __nan.
74602         * math/s_nanf.c: Undef __nanf.
74603         * math/s_nanl.c: Undef __nanl.
74604         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74605         "math_private.h".
74607 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74609         * math/s_catan.c: Add branch predictions.
74610         * math/s_catanf.c: Likewise.
74611         * math/s_catanh.c: Likewise.
74612         * math/s_catanhf.c: Likewise.
74613         * math/s_catanhl.c: Likewise.
74614         * math/s_catanl.c: Likewise.
74615         * math/s_cexp.c: Likewise.
74616         * math/s_cexpf.c: Likewise.
74617         * math/s_cexpl.c: Likewise.
74618         * math/s_clog.c: Likewise.
74619         * math/s_clog10.c: Likewise.
74620         * math/s_clog10f.c: Likewise.
74621         * math/s_clog10l.c: Likewise.
74622         * math/s_clogf.c: Likewise.
74623         * math/s_clogl.c: Likewise.
74624         * math/s_csqrt.c: Likewise.
74625         * math/s_csqrtf.c: Likewise.
74626         * math/s_csqrtl.c: Likewise.
74627         * math/s_ctanf.c: Likewise.
74628         * math/s_ctanh.c: Likewise.
74629         * math/s_ctanhf.c: Likewise.
74630         * math/s_ctanhl.c: Likewise.
74631         * math/s_ctanl.c: Likewise.
74633         * math/math_private.h: Define __nan, __nanf, __nanl.
74634         * math/s_cacosh.c: Include <math_private.h>.
74635         * math/s_cacoshl.c: Likewise.
74636         * math/s_casinh.c: Likewise.
74637         * math/s_casinhf.c: Likewise.
74638         * math/s_casinhl.c: Likewise.
74639         * math/s_ccos.c: Rely entire on ccosh.
74640         * math/s_ccosf.c: Rely entire on ccoshf.
74641         * math/s_ccosl.c: Rely entirely on ccoshl.
74642         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74643         Remove tests for FE_INVALID.
74644         * math/s_ccoshf.c: Likewise.
74645         * math/s_ccoshl.c: Likewise.
74646         * math/s_csin.c: Likewise.
74647         * math/s_csinf.c: Likewise.
74648         * math/s_csinh.c Likewise.
74649         * math/s_csinhf.c: Likewise.
74650         * math/s_csinhl.c: Likewise.
74651         * math/s_csinl.c: Likewise.
74652         * math/s_ctan.c: Likewise.
74653         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74654         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74655         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74657 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74659         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74660         compilation problems.
74662         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74663         __builtin_expect.
74665 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74667         * sysdeps/i386/configure.in: Test for -mfma4 option.
74668         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74669         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74670         COMMON_CPUID_INDEX_80000001.
74671         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74672         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74673         use it if FMA3 is not supported.
74674         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74676         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74677         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74679 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74681         [BZ #12892]
74682         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74683         it would create a cycle with a link time dependency.
74685 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74687         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74688         instruction.
74689         * string/Makefile (strop-tests): Add rawmemchr.
74690         * string/test-rawmemchr.c: New file.
74692         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74693         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74694         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74695         when compiling str{,n}casecmp and when AVX is available.  Hook up
74696         new optimized code in initializers.
74698 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74700         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74701         __feraiseexcept instead of feraiseexcept.
74703 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74705         * math/math_private.h: Define defaults for libc_fetestexcept and
74706         libc_feupdateenv.
74707         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74708         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74709         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74710         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74711         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74712         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74713         libc_fetestexcept and libc_feupdateenv.
74715         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74716         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74717         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74718         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74719         libc_feholdexcept_setround.
74721         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74722         Add s_nearbyint-c and s_nearbyintf-c.
74723         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74724         nearbyintf inlines.
74725         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74726         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74727         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74728         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74730         * math/math_private.h: Define defaults for libc_fegetround,
74731         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74732         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74733         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74734         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74735         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74736         standard functions.
74737         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74738         Remove comments and hacks for old compiler versions.
74739         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74740         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74741         libc_feholdexceptl.
74743 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74745         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74746         (__feraiseexcept_renamed): Add __NTH.
74747         (feraiseexcept): Add __NTH.  Rename local variables to fix
74748         namespace violations.
74750 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74752         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74754         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74756         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74757         recently added interfaces.
74758         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74760         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74761         about macro parameter expansion.
74763         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74764         __NO_MATH_INLINES is defined.  Cleanups.
74766         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74767         and __floorf is target has SSE4.1.
74768         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74769         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74770         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74771         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74773         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74774         name.
74775         (floorf): Likewise.
74777         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74779 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74781         * misc/sys/cdefs.h: Fix last change.
74783         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74784         database lookup.
74786 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74788         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74790         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74791         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74792         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74793         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74794         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74795         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74796         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74797         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74798         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74799         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74800         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74801         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74802         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74803         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74804         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74805         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74806         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74807         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74808         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74809         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74810         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74811         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74813         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74814         ceil, ceilf, floor, floorf.
74816         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74817         Perform IRELATIVE relocations last.
74819         * elf/do-rel.h: Add another parameter nrelative, replacing the
74820         local variable with the same name.  Change name of the function
74821         to end in Rel or Rela (uppercase).
74822         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74823         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74824         elf_dynamic_do_##reloc function.
74826 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74828         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74829         is sufficient, at least on modern CPUs.
74831         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74833         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74834         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74836         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74837         __expl_finite.
74838         * math/bits/math-finite.h: Add entries for exp.
74839         * math/e_expl.c: Add __*_finite alias.
74840         * sysdeps/i386/fpu/e_exp.S: Likewise.
74841         * sysdeps/i386/fpu/e_expf.S: Likewise.
74842         * sysdeps/i386/fpu/e_expl.c: Likewise.
74843         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74844         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74845         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74846         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74847         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74848         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74849         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74851         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74852         is sufficient, at least on modern CPUs.
74854         * ctype/ctype-info.c (__ctype_init): Define.
74855         * include/ctype.h (__ctype_init): Declare.
74856         (__ctype_b_loc): The variable is always initialized.
74857         (__ctype_toupper_loc): Likewise.
74858         (__ctype_tolower_loc): Likewise.
74859         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74860         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74862 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74864         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74866         * configure.in: Also look in $cxxmachine/include for C++ system
74867         headers.
74869 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74871         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74872         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74873         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74874         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74875         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74876         (USE_AS_WMEMCMP): New macro.
74877         Fixing indents.
74878         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74879         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74880         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74881         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74882         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74883         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74884         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74885         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74886         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74887         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74888         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74889         (USE_AS_WMEMCMP): New macro.
74890         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74891         * sysdeps/string/test-memcmp.c: Update.
74892         Fix simple_wmemcmp.
74893         Add new tests.
74894         * wcsmbs/wmemcmp.c: Update.
74895         (WMEMCMP): New macro.
74896         Fix overflow bug.
74898 2011-10-12  Andreas Jaeger  <aj@suse.de>
74900         [BZ #13268]
74901         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74903 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74905         * libio/iofwide.c (do_length): Avoid warning.
74907         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74909 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74911         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74913         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74914         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74915         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74916         * sysdeps/i386/i686/fpu/e_log.S: New file.
74917         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74918         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74920         * ctype/ctype.h: Add support for inlined isXXX functions when
74921         compiling C++ code.
74923 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74925         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74927         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74929 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74931         [BZ #13291]
74932         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74934 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74936         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74937         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74938         feraiseexcept.
74940         * sysdeps/x86_64/memrchr.S: Check for zero size.
74942         * string/stratcliff.c: Add memrchr tests.
74944 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74946         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74947         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74948         rawmemchr-sse2 rawmemchr-sse2-bsf.
74949         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74950         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74951         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74952         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74953         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74954         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74955         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74956         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74957         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74958         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74959         * string/memrchr.c (MEMRCHR): New macro.
74961 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74963         Add integration with gcc's -ffinite-math-only and optimize wrapper
74964         functions in libm.
74965         * Versions.def: Define GLIBC_2.15 version for libm.
74966         * math/Makefile (headers): Add bits/math-finite.h.
74967         * math/bits/math-finite.h: New file.
74968         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74969         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74970         * math/e_acoshl.c: Add __*_finite alias.
74971         * math/e_acosl.c: Likewise.
74972         * math/e_asinl.c: Likewise.
74973         * math/e_atan2l.c: Likewise.
74974         * math/e_atanhl.c: Likewise.
74975         * math/e_coshl.c: Likewise.
74976         * math/e_exp10.c: Likewise.
74977         * math/e_exp10f.c: Likewise.
74978         * math/e_exp10l.c: Likewise.
74979         * math/e_exp2l.c: Likewise.
74980         * math/e_fmodl.c: Likewise.
74981         * math/e_gammal_r.c: Likewise.
74982         * math/e_hypotl.c: Likewise.
74983         * math/e_j0l.c: Likewise.
74984         * math/e_j1l.c: Likewise.
74985         * math/e_jnl.c: Likewise.
74986         * math/e_lgammal_r.c: Likewise.
74987         * math/e_log10l.c: Likewise.
74988         * math/e_log2l.c: Likewise.
74989         * math/e_logl.c: Likewise.
74990         * math/e_powl.c: Likewise.
74991         * math/e_sinhl.c: Likewise.
74992         * math/e_sqrtl.c: Likewise.
74993         * math/e_scalb.c: Completely rewritten and optimized.
74994         * math/e_scalbf.c: Likewise.
74995         * math/e_scalbl.c: Likewise.
74996         * math/w_acos.c: Likewise.
74997         * math/w_acosf.c: Likewise.
74998         * math/w_acosl.c: Likewise.
74999         * math/w_acosh.c: Likewise.
75000         * math/w_acoshf.c: Likewise.
75001         * math/w_acoshl.c: Likewise.
75002         * math/w_asin.c: Likewise.
75003         * math/w_asinf.c: Likewise.
75004         * math/w_asinl.c: Likewise.
75005         * math/w_atan2.c: Likewise.
75006         * math/w_atan2f.c: Likewise.
75007         * math/w_atan2l.c: Likewise.
75008         * math/w_atanh.c: Likewise.
75009         * math/w_atanhf.c: Likewise.
75010         * math/w_atanhl.c: Likewise.
75011         * math/w_exp10.c: Likewise.
75012         * math/w_exp10f.c: Likewise.
75013         * math/w_exp10l.c: Likewise.
75014         * math/w_fmod.c: Likewise.
75015         * math/w_fmodf.c: Likewise.
75016         * math/w_fmodl.c: Likewise.
75017         * math/w_j0.c: Likewise.
75018         * math/w_j0f.c: Likewise.
75019         * math/w_j0l.c: Likewise.
75020         * math/w_j1.c: Likewise.
75021         * math/w_j1f.c: Likewise.
75022         * math/w_j1l.c: Likewise.
75023         * math/w_jn.c: Likewise.
75024         * math/w_jnf.c: Likewise.
75025         * math/w_log.c: Likewise.
75026         * math/w_logf.c: Likewise.
75027         * math/w_logl.c: Likewise.
75028         * math/w_log10.c: Likewise.
75029         * math/w_log10f.c: Likewise.
75030         * math/w_log10l.c: Likewise.
75031         * math/w_log2.c: Likewise.
75032         * math/w_log2f.c: Likewise.
75033         * math/w_log2l.c: Likewise.
75034         * math/w_pow.c: Likewise.
75035         * math/w_powf.c: Likewise.
75036         * math/w_powl.c: Likewise.
75037         * math/w_remainder.c: Likewise.
75038         * math/w_remainderf.c: Likewise.
75039         * math/w_remainderl.c: Likewise.
75040         * math/w_scalb.c: Likewise.
75041         * math/w_scalbf.c: Likewise.
75042         * math/w_scalbl.c: Likewise.
75043         * math/w_sqrt.c: Likewise.
75044         * math/w_sqrtf.c: Likewise.
75045         * math/w_sqrtl.c: Likewise.
75046         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75047         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75048         used.
75049         * math/math_private.h: Declare __kernel_standard_f.
75050         * math/w_cosh.c: Remove cruft and optimize a bit.
75051         * math/w_coshf.c: Likewise.
75052         * math/w_coshl.c: Likewise.
75053         * math/w_exp2.c: Likewise.
75054         * math/w_exp2f.c: Likewise.
75055         * math/w_exp2l.c: Likewise.
75056         * math/w_hypot.c: Likewise.
75057         * math/w_hypotf.c: Likewise.
75058         * math/w_hypotl.c: Likewise.
75059         * math/w_lgamma.c: Likewise.
75060         * math/w_lgamma_r.c: Likewise.
75061         * math/w_lgammaf.c: Likewise.
75062         * math/w_lgammaf_r.c: Likewise.
75063         * math/w_lgammal.c: Likewise.
75064         * math/w_lgammal_r.c: Likewise.
75065         * math/w_sinh.c: Likewise.
75066         * math/w_sinhf.c: Likewise.
75067         * math/w_sinhl.c: Likewise.
75068         * math/w_tgamma.c: Likewise.
75069         * math/w_tgammaf.c: Likewise.
75070         * math/w_tgammal.c: Likewise.
75071         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75072         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75073         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75074         Minor optimizations.  Pretty printing.  Remove cruft.
75075         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75076         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75077         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75078         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75079         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75080         * sysdeps/i386/fpu/e_asin.S: Likewise.
75081         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75082         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75083         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75084         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75085         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75086         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75087         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75088         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75089         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75090         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75091         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75092         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75093         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75094         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75095         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75096         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75097         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75098         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75099         * sysdeps/i386/fpu/e_log.S: Likewise.
75100         * sysdeps/i386/fpu/e_log10.S: Likewise.
75101         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75102         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75103         * sysdeps/i386/fpu/e_log2.S: Likewise.
75104         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75105         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75106         * sysdeps/i386/fpu/e_logf.S: Likewise.
75107         * sysdeps/i386/fpu/e_logl.S: Likewise.
75108         * sysdeps/i386/fpu/e_pow.S: Likewise.
75109         * sysdeps/i386/fpu/e_powf.S: Likewise.
75110         * sysdeps/i386/fpu/e_powl.S: Likewise.
75111         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75112         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75113         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75114         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75115         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75116         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75117         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75118         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75119         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75120         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75121         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75122         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75123         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75124         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75125         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75126         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75127         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75128         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75129         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75130         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75131         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75132         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75133         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75134         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75135         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75136         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75137         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75138         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75139         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75140         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75141         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75142         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75143         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75144         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75145         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75146         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75147         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75148         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75149         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75150         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75151         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75152         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75153         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75154         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75155         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75156         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75157         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75158         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75159         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75160         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75161         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75162         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75163         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75164         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75165         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75166         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75167         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75168         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75169         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75170         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75171         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75172         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75173         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75174         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75175         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75176         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75177         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75178         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75179         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75180         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75181         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75182         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75183         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75184         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75185         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75186         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75187         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75188         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75189         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75190         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75191         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75192         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75193         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75194         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75195         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75196         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75197         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75198         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75199         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75200         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75201         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75202         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75203         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75204         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75205         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75206         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75207         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75208         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75209         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75210         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75211         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75212         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75213         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75214         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75215         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75216         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75217         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75218         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75219         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75220         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75221         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75222         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75223         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75224         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75225         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75226         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75227         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75228         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75229         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75230         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75231         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75232         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75233         (__isnanf): Likewise.
75234         (__isinf_ns): Likewise.
75235         (__isinf_nsf): Likewise.
75236         (__finite): Likewise.
75237         (__finitef): Likewise.
75238         (__ieee754_sqrt): Define as macro.
75239         (__ieee754_sqrtf): Define as macro.
75240         (__ieee754_sqrtl): Define as macro.
75241         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75242         inlined copy.
75243         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75244         __FINITE_MATH_ONLY__ consistent.
75245         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75247 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75249         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75250         of rawmemchr.
75252         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75254 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75256         * po/ja.po: Update from translation team.
75258 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75260         * locale/programs/locarchive.c (prepare_address_space): New function.
75261         (create_archive, enlarge_archive, open_archive): Use it.
75263         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75264         inside [SHARED], where it is used.
75266         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75268         * nss/getent.c (netgroup_keys): Remove unused variable.
75269         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75271 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75273         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75274         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75275         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75276         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75277         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75278         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75279         * math/Makefile (libm-calls): Add s_isinf_ns.
75280         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75281         * math/multc3.c: Likewise.
75282         * math/s_casin.c: Likewise.
75283         * math/s_casinf.c: Likewise.
75284         * math/s_casinl.c: Likewise.
75285         * math/s_ccos.c: Likewise.
75286         * math/s_ccosf.c: Likewise.
75287         * math/s_ccosl.c: Likewise.
75288         * math/s_ctan.c: Likewise.
75289         * math/s_ctanf.c: Likewise.
75290         * math/s_ctanh.c: Likewise.
75291         * math/s_ctanhf.c: Likewise.
75292         * math/s_ctanhl.c: Likewise.
75293         * math/s_ctanl.c: Likewise.
75294         * math/w_fmod.c: Likewise.
75295         * math/w_fmodf.c: Likewise.
75296         * math/w_fmodl.c: Likewise.
75297         * math/w_remainder.c: Likewise.
75298         * math/w_remainderf.c: Likewise.
75299         * math/w_remainderl.c: Likewise.
75300         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75301         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75302         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75303         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75304         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75305         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75306         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75307         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75309         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75310         of the number.
75311         * stdio-common/printf_fphex.c: Likewise.
75312         * stdio-common/printf_size.c: Likewise.
75314         * math/e_exp10.c: Include math_private.h using <...> not "...".
75315         * math/e_exp10f.c: Likewise.
75316         * math/e_exp10l.c: Likewise.
75317         * math/e_exp2l.c: Likewise.
75318         * math/e_j0l.c: Likewise.
75319         * math/e_j1l.c: Likewise.
75320         * math/e_jnl.c: Likewise.
75321         * math/e_lgammal_r.c: Likewise.
75322         * math/e_rem_pio2l.c: Likewise.
75323         * math/e_scalb.c: Likewise.
75324         * math/e_scalbf.c: Likewise.
75325         * math/e_scalbl.c: Likewise.
75326         * math/k_cosl.c: Likewise.
75327         * math/k_sinl.c: Likewise.
75328         * math/k_tanl.c: Likewise.
75329         * math/s_cacoshf.c: Likewise.
75330         * math/s_catan.c: Likewise.
75331         * math/s_catanf.c: Likewise.
75332         * math/s_catanh.c: Likewise.
75333         * math/s_catanhf.c: Likewise.
75334         * math/s_catanhl.c: Likewise.
75335         * math/s_catanl.c: Likewise.
75336         * math/s_ccosh.c: Likewise.
75337         * math/s_ccoshf.c: Likewise.
75338         * math/s_ccoshl.c: Likewise.
75339         * math/s_cexp.c: Likewise.
75340         * math/s_cexpf.c: Likewise.
75341         * math/s_cexpl.c: Likewise.
75342         * math/s_clog.c: Likewise.
75343         * math/s_clog10.c: Likewise.
75344         * math/s_clog10f.c: Likewise.
75345         * math/s_clog10l.c: Likewise.
75346         * math/s_clogf.c: Likewise.
75347         * math/s_clogl.c: Likewise.
75348         * math/s_csin.c: Likewise.
75349         * math/s_csinf.c: Likewise.
75350         * math/s_csinh.c: Likewise.
75351         * math/s_csinhf.c: Likewise.
75352         * math/s_csinhl.c: Likewise.
75353         * math/s_csinl.c: Likewise.
75354         * math/s_csqrt.c: Likewise.
75355         * math/s_csqrtf.c: Likewise.
75356         * math/s_csqrtl.c: Likewise.
75357         * math/s_ctan.c: Likewise.
75358         * math/s_ctanf.c: Likewise.
75359         * math/s_ctanh.c: Likewise.
75360         * math/s_ctanhf.c: Likewise.
75361         * math/s_ctanhl.c: Likewise.
75362         * math/s_ctanl.c: Likewise.
75363         * math/s_ldexp.c: Likewise.
75364         * math/s_ldexpf.c: Likewise.
75365         * math/s_ldexpl.c: Likewise.
75366         * math/s_significand.c: Likewise.
75367         * math/s_significandf.c: Likewise.
75368         * math/s_significandl.c: Likewise.
75369         * math/w_acos.c: Likewise.
75370         * math/w_acosf.c: Likewise.
75371         * math/w_acosh.c: Likewise.
75372         * math/w_acoshf.c: Likewise.
75373         * math/w_acoshl.c: Likewise.
75374         * math/w_acosl.c: Likewise.
75375         * math/w_asin.c: Likewise.
75376         * math/w_asinf.c: Likewise.
75377         * math/w_asinl.c: Likewise.
75378         * math/w_atan2.c: Likewise.
75379         * math/w_atan2f.c: Likewise.
75380         * math/w_atan2l.c: Likewise.
75381         * math/w_atanh.c: Likewise.
75382         * math/w_atanhf.c: Likewise.
75383         * math/w_atanhl.c: Likewise.
75384         * math/w_cosh.c: Likewise.
75385         * math/w_coshf.c: Likewise.
75386         * math/w_coshl.c: Likewise.
75387         * math/w_dremf.c: Likewise.
75388         * math/w_exp10.c: Likewise.
75389         * math/w_exp10f.c: Likewise.
75390         * math/w_exp10l.c: Likewise.
75391         * math/w_exp2.c: Likewise.
75392         * math/w_exp2f.c: Likewise.
75393         * math/w_fmod.c: Likewise.
75394         * math/w_fmodf.c: Likewise.
75395         * math/w_fmodl.c: Likewise.
75396         * math/w_hypot.c: Likewise.
75397         * math/w_hypotf.c: Likewise.
75398         * math/w_hypotl.c: Likewise.
75399         * math/w_j0.c: Likewise.
75400         * math/w_j0f.c: Likewise.
75401         * math/w_j0l.c: Likewise.
75402         * math/w_j1.c: Likewise.
75403         * math/w_j1f.c: Likewise.
75404         * math/w_j1l.c: Likewise.
75405         * math/w_jn.c: Likewise.
75406         * math/w_jnf.c: Likewise.
75407         * math/w_jnl.c: Likewise.
75408         * math/w_lgamma.c: Likewise.
75409         * math/w_lgamma_r.c: Likewise.
75410         * math/w_lgammaf.c: Likewise.
75411         * math/w_lgammaf_r.c: Likewise.
75412         * math/w_lgammal.c: Likewise.
75413         * math/w_lgammal_r.c: Likewise.
75414         * math/w_log.c: Likewise.
75415         * math/w_log10.c: Likewise.
75416         * math/w_log10f.c: Likewise.
75417         * math/w_log10l.c: Likewise.
75418         * math/w_log2.c: Likewise.
75419         * math/w_log2f.c: Likewise.
75420         * math/w_log2l.c: Likewise.
75421         * math/w_logf.c: Likewise.
75422         * math/w_logl.c: Likewise.
75423         * math/w_pow.c: Likewise.
75424         * math/w_powf.c: Likewise.
75425         * math/w_powl.c: Likewise.
75426         * math/w_remainder.c: Likewise.
75427         * math/w_remainderf.c: Likewise.
75428         * math/w_remainderl.c: Likewise.
75429         * math/w_scalb.c: Likewise.
75430         * math/w_scalbf.c: Likewise.
75431         * math/w_scalbl.c: Likewise.
75432         * math/w_sinh.c: Likewise.
75433         * math/w_sinhf.c: Likewise.
75434         * math/w_sinhl.c: Likewise.
75435         * math/w_sqrt.c: Likewise.
75436         * math/w_sqrtf.c: Likewise.
75437         * math/w_sqrtl.c: Likewise.
75438         * math/w_tgamma.c: Likewise.
75439         * math/w_tgammaf.c: Likewise.
75440         * math/w_tgammal.c: Likewise.
75442         * po/ja.po: Update from translation team.
75444 2011-09-29  Andreas Jaeger  <aj@suse.de>
75446         [BZ #13179]
75447         * sunrpc/netname.c (netname2host): Fix logic.
75449         [BZ #6779]
75450         [BZ #6783]
75451         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75452         correctly.
75453         * math/w_remainder.c (__remainder): Likewise.
75454         * math/w_remainderf.c (__remainderf): Likewise.
75455         * math/libm-test.inc (remainder_test): Add test cases.
75457 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75459         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75460         sdiv_qrnnd.
75462 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75464         * string/test-memcmp.c: Avoid unncessary #defines.
75465         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75467 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75469         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75470         Use new sse2 version for core i3 - i7 as it's faster
75471         than sse42 version.
75472         (bit_Prefer_PMINUB_for_stringop): New.
75473         * sysdeps/x86_64/rawmemchr.S: Update.
75474         Replace with faster SSE2 version.
75475         * sysdeps/x86_64/memrchr.S: New file.
75476         * sysdeps/x86_64/memchr.S: Update.
75477         Replace with faster SSE2 version.
75479 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75481         * elf/dl-load.c (lose): Add cast to avoid warning.
75483 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75485         * po/ca.po: Update from translation team.
75487         * inet/getnetgrent_r.c: Hook up nscd.
75488         * nscd/Makefile (routines): Add nscd_netgroup.
75489         (nscd-modules): Add netgroupcache.
75490         (CFLAGS-netgroupcache.c): Define.
75491         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75492         (cache_search): Add const to second parameter.
75493         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75494         INNETGR.
75495         (dbs): Add netgrdb entry.
75496         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75497         (verify_persistent_db): Handle netgrdb.
75498         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75499         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75500         GETFDNETGR.
75501         (netgroup_response_header): Define.
75502         (innetgroup_response_header): Define.
75503         (datahead): Add netgroup_response_header and innetgroup_response_header
75504         elements.
75505         * nscd/nscd.conf: Add entries for netgroup cache.
75506         * nscd/nscd.h (dbtype): Add netgrdb.
75507         (_PATH_NSCD_NETGROUP_DB): Define.
75508         (netgroup_iov_disabled): Declare.
75509         (xmalloc, xcalloc, xrealloc): Move declarations here.
75510         (cache_search): Adjust prototype.
75511         Add netgroup-related prototypes.
75512         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75513         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75514         (__nscd_innetgr): Declare.
75515         * nscd/selinux.c (perms): Use access_vector_t as element type and
75516         add netgroup-related initializers.
75517         * nscd/netgroupcache.c: New file.
75518         * nscd/nscd_netgroup.c: New file.
75519         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75520         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75521         For four parameters use innetgr.
75522         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75523         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75524         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75525         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75527         * nscd/connections.c (register_traced_file): Don't register file
75528         for disabled databases.
75530 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75532         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75534         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75535         from tree and freeing node.
75537 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75539         * nss/nsswitch.c (__nss_database_lookup): Handle
75540         nss_parse_service_list out of memory case.
75542 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75544         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75545         out of memory case.
75547 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75549         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75550         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75551         pass it down.
75552         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75553         elf_machine_rela, elf_machine_lazy_rel.
75554         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75555         (ELF_DYNAMIC_DO_REL): Likewise.
75556         (ELF_DYNAMIC_DO_RELA): Likewise.
75557         (ELF_DYNAMIC_RELOCATE): Likewise.
75558         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75559         to ELF_DYNAMIC_DO_REL.
75560         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75561         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75562         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75563         elf_machine_rela.
75564         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75565         skip_ifunc, don't call ifunc function if non-zero.
75566         (elf_machine_rela): Likewise.
75567         (elf_machine_lazy_rel): Likewise.
75568         (elf_machine_lazy_rela): Likewise.
75569         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75570         (elf_machine_lazy_rel): Likewise.
75571         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75572         Likewise.
75573         (elf_machine_lazy_rel): Likewise.
75574         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75575         Likewise.
75576         (elf_machine_lazy_rel): Likewise.
75577         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75578         (elf_machine_lazy_rel): Likewise.
75579         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75580         (elf_machine_lazy_rel): Likewise.
75581         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75582         (elf_machine_lazy_rel): Likewise.
75583         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75584         (elf_machine_lazy_rel): Likewise.
75585         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75586         (elf_machine_lazy_rel): Likewise.
75587         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75588         (elf_machine_lazy_rel): Likewise.
75590 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75592         * nss/nss_files/files-init.c (_nss_files_init): Use static
75593         initialization for all the *_traced_file variables.
75595 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75597         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75599 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75601         [BZ #13226]
75602         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75604 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75606         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75607         Reread the line before reparsing it.
75609 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75611         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75613 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75614             Maxim Kuvyrkov  <maxim@codesourcery.com>
75615             Joseph Myers  <joseph@codesourcery.com>
75617         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75618         if needed for __stack_chk_guard.
75620 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75622         * sysdeps/posix/spawni.c (script_execute): Always define it.
75623         It will be optimized away if unused.
75624         (maybe_script_execute): New function.
75625         (__spawni): Call it.
75627         * Makerules: Don't include tls.make.
75628         (config-tls): Always set to thread.
75629         * tls.make.c: File removed.
75631 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75633         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75634         * config.make.in (CPPFLAGS-config): New substituted variable.
75636 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75638         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75640         [BZ #13192]
75641         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75642         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75644 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75646         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75647         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75648         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75649         (CALL_FAIL): Likewise.
75650         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75651         (CALL_FAIL): Macro removed.
75652         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75654 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75656         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75657         for __FINITE_MATH_ONLY__ == 1.
75659 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75661         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75662         __ieee754_sqrt instead of sqrt.
75663         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75664         __ieee754_sqrtf instead of sqrtf.
75665         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75666         __floorf instead of floorf.
75667         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75668         __floorf, __truncf instead of floorf, truncf.
75670 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75672         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75674         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75675         __extern_always_inline.
75676         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75677         32-bit.
75679 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75681         * elf/rtld.c (dl_main): Also relocate in dependency order when
75682         doing symbol dependency testing.
75684 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75686         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75687         Always define `refsym'.
75689 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75691         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75692         (__FD_ELT): Renamed from __FDELT.
75693         * misc/bits/select2.h (__FD_ELT): Likewise.
75694         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75695         __FD_MASK instead of __FDELT, __FDMASK.
75696         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75697         Likewise.
75698         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75699         Likewise.
75701         * elf/Makefile (gen-ldd): Fix pattern.
75703         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75704         (init_tls): Likewise.
75706 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75708         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75710 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75712         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75713         `struct cmsghdr *' instead of `void *'.
75714         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75715         Likewise.
75717 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75719         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75720         if non-absolute.
75721         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75722         ldd_rewrite_script.
75724 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75726         * configure.in: Remove --with-tls option.
75727         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75728         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75729         out in case it is missing.
75730         * sysdeps/ia64/elf/configure.in: Likewise.
75731         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75732         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75733         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75734         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75735         * sysdeps/sh/elf/configure.in: Likewise.
75736         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75737         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75738         * sysdeps/x86_64/elf/configure.in: Likewise.
75739         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75740         * sysdeps/mach/hurd/tls.h: Likewise.
75742         [BZ #13067]
75743         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75745         [BZ #13090]
75746         * configure.in: Fix use of AC_INIT.
75748         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75750 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75752         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75753         __set_errno.
75754         * malloc/hooks.c: Likewise.
75756         [BZ #11929]
75757         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75758         variables statically.
75759         (narenas): Initialize.
75760         (list_lock): Initialize.
75761         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75762         initializtion of main_arena and list_lock.  Small cleanups.
75763         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75764         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75765         Add initializers to main_arena and mp_.
75766         (malloc_state): Remove pagesize member.  Change all users to use
75767         GLRO(dl_pagesize).
75769         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75770         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75771         is always initialized.
75773         * malloc/malloc.c: Removed unused configurations and dead code.
75774         * malloc/arena.c: Likewise.
75775         * malloc/hooks.c: Likewise.
75776         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75778         * include/tls.h: Removed.  USE___THREAD must always be defined.
75779         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75780         * elf/dl-libc.c: Likewise.
75781         * elf/dl-tsd.c: Likewise.
75782         * include/errno.h: Likewise.
75783         * include/netdb.h: Likewise.
75784         * include/resolv.h: Likewise.
75785         * inet/herrno-loc.c: Likewise.
75786         * inet/herrno.c: Likewise.
75787         * malloc/arena.c: Likewise.
75788         * malloc/hooks.c: Likewise.
75789         * malloc/malloc.c: Likewise.
75790         * resolv/res-state.c: Likewise.
75791         * resolv/res_libc.c: Likewise.
75792         * sysdeps/i386/dl-machine.h: Likewise.
75793         * sysdeps/ia64/dl-machine.h: Likewise.
75794         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75795         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75796         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75797         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75798         * sysdeps/sh/dl-machine.h: Likewise.
75799         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75800         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75801         * sysdeps/unix/i386/sysdep.S: Likewise.
75802         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75803         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75804         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75805         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75806         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75807         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75808         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75809         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75810         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75811         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75812         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75813         * sysdeps/x86_64/dl-machine.h: Likewise.
75814         * tls.make.c: Likewise.
75816         * configure.in: Remove --with-__thread option.  Make tests for
75817         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75818         tls_model attribute fail if no support is available.  Remove
75819         USE_IN_LIBIO.
75820         * Makeconfig: Adjust for dropped configure option.  All features are
75821         now mandatory.
75822         * Makerules: Likewise.
75823         * Versions.def: Likewise.
75824         * argp/argp-fmtstream.c: Likewise.
75825         * argp/argp-fmtstream.h: Likewise.
75826         * argp/argp-help.c: Likewise.
75827         * assert/assert.c: Likewise.
75828         * config.h.in: Likewise.
75829         * config.make.in: Likewise.
75830         * configure: Likewise.
75831         * configure.in: Likewise.
75832         * csu/Versions: Likewise.
75833         * csu/init.c: Likewise.
75834         * elf/tst-audit2.c: Likewise.
75835         * elf/tst-tls10.c: Likewise.
75836         * elf/tst-tls10.h: Likewise.
75837         * elf/tst-tls11.c: Likewise.
75838         * elf/tst-tls12.c: Likewise.
75839         * elf/tst-tls14.c: Likewise.
75840         * elf/tst-tlsmod11.c: Likewise.
75841         * elf/tst-tlsmod12.c: Likewise.
75842         * elf/tst-tlsmod13.c: Likewise.
75843         * elf/tst-tlsmod13a.c: Likewise.
75844         * elf/tst-tlsmod14a.c: Likewise.
75845         * elf/tst-tlsmod15b.c: Likewise.
75846         * elf/tst-tlsmod16a.c: Likewise.
75847         * elf/tst-tlsmod16b.c: Likewise.
75848         * elf/tst-tlsmod7.c: Likewise.
75849         * elf/tst-tlsmod8.c: Likewise.
75850         * elf/tst-tlsmod9.c: Likewise.
75851         * gmon/gmon.c: Likewise.
75852         * grp/fgetgrent_r.c: Likewise.
75853         * grp/putgrent.c: Likewise.
75854         * hurd/fopenport.c: Likewise.
75855         * include/libc-symbols.h: Likewise.
75856         * include/tls.h: Likewise.
75857         * intl/gettextP.h: Likewise.
75858         * intl/loadinfo.h: Likewise.
75859         * locale/global-locale.c: Likewise.
75860         * locale/localeinfo.h: Likewise.
75861         * mach/devstream.c: Likewise.
75862         * malloc/arena.c: Likewise.
75863         * malloc/set-freeres.c: Likewise.
75864         * misc/err.c: Likewise.
75865         * misc/getttyent.c: Likewise.
75866         * misc/mntent_r.c: Likewise.
75867         * posix/getopt.c: Likewise.
75868         * posix/wordexp.c: Likewise.
75869         * pwd/fgetpwent_r.c: Likewise.
75870         * resolv/Versions: Likewise.
75871         * resolv/res_hconf.c: Likewise.
75872         * shadow/fgetspent_r.c: Likewise.
75873         * shadow/putspent.c: Likewise.
75874         * stdio-common/printf_fphex.c: Likewise.
75875         * stdio-common/tmpfile.c: Likewise.
75876         * stdlib/abort.c: Likewise.
75877         * stdlib/fmtmsg.c: Likewise.
75878         * sunrpc/auth_unix.c: Likewise.
75879         * sunrpc/clnt_perr.c: Likewise.
75880         * sunrpc/clnt_tcp.c: Likewise.
75881         * sunrpc/clnt_udp.c: Likewise.
75882         * sunrpc/clnt_unix.c: Likewise.
75883         * sunrpc/openchild.c: Likewise.
75884         * sunrpc/svc_simple.c: Likewise.
75885         * sunrpc/svc_tcp.c: Likewise.
75886         * sunrpc/svc_udp.c: Likewise.
75887         * sunrpc/svc_unix.c: Likewise.
75888         * sunrpc/xdr.c: Likewise.
75889         * sunrpc/xdr_array.c: Likewise.
75890         * sunrpc/xdr_rec.c: Likewise.
75891         * sunrpc/xdr_ref.c: Likewise.
75892         * sunrpc/xdr_stdio.c: Likewise.
75894 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75896         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75898 2011-07-03  Andreas Jaeger  <aj@suse.de>
75900         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75901         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75902         regenerate with gen-libm-tests.pl.
75904 2010-05-12  Petr Baudis  <pasky@suse.cz>
75906         [BZ #11589]
75907         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75908         around j0() zero points by switching to j1().
75909         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75910         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75911         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75912         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75914 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75916         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75917         instead of 0.
75918         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75919         instead of 0.
75920         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75921         Patch in part by Pavel Roskin <proski@gnu.org>.
75923         [BZ #13138]
75924         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75925         realloc.
75926         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75927         Free memory block if necessary.
75929         [BZ #12847]
75930         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75931         be NULL.  Don't lock in this case.
75933 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75935         * elf/elf.h (ELFOSABI_GNU): New macro.
75936         (ELFOSABI_LINUX): Define to that.
75938 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75940         * string/strncat.c (strncat): Undef the symbol in case it has been
75941         defined in bits/string.h.
75943 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75945         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75947         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75948         link map.
75950 2011-08-17  Andreas Jaeger  <aj@suse.de>
75952         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75954 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75955             Ian Lance Taylor  <iant@google.com>
75957         * math/libm-test.inc (lround_test): New testcase.
75958         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75960 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75962         * Makefile: Remove support for automatic cvs check-ins.
75963         * Makerules: Likewise.
75964         * config.make.in: Likewise.
75965         * configure.in: Likewise.
75966         * intl/Makefile: Likewise.
75967         * locale/Makefile: Likewise.
75968         * po/Makefile: Likewise.
75969         * posix/Makefile: Likewise.
75970         * sysdeps/gnu/Makefile: Likewise.
75971         * sysdeps/mach/hurd/Makefile: Likewise.
75972         * sysdeps/sparc/sparc32/Makefile: Likewise.
75974         [BZ #13118]
75975         * posix/Makefile (bug-regex32-ENV): Define.
75976         Patch by John Stanley <jpsinthemix@verizon.net>.
75978         * misc/Makefile (headers): Add bits/select2.h.
75979         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75980         * misc/bits/select2.h: New file.
75981         * include/bits/select2.h: New file.
75982         * debug/Makefile (routines): Add fdelt_chk.
75983         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75984         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75985         FD_ISSET.
75986         * debug/fdelt_chk.c: New file.
75988         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75989         * wcsmbs/test-wmemcmp.c: Likewise.
75990         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75991         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75993 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75995         * string/Makefile (strop-tests): Add memcmp.
75996         * string/test-wmemcmp.c: New file.
75997         * string/test-memcmp.c: Add wmemcmp support.
75999 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76001         [BZ #13153]
76002         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76003         2011-07-19 change.
76005         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76006         garbage value in a __mach_port_mod_refs call in the cases of the
76007         task-self and thread-self ports.
76009 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76011         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76013 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76015         * elf/dl-load.c (lose): Check for non-null L.
76017 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76019         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76021         * elf/dl-libc.c (dlerror_run): Pass back error code from
76022         dl_catch_error.
76024         [BZ #13123]
76025         * elf/dl-load.c (lose): Free l_origin if it is valid.
76027         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76028         names.
76029         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76030         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76031         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76032         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76033         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76034         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76036 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76038         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76039         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76040         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76041         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76042         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76043         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76044         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76045         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76046         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76047         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76049 2011-08-15  Alan Modra  <amodra@gmail.com>
76051         [BZ #13092]
76052         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76053         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76054         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76055         ppc_mcount to static-only-routines.
76056         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76057         __mcount_internal.
76058         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76059         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76061 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76063         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76064         for finite and infinity parameters.
76066 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76068         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76069         and add nop instructions for throughput optimization.
76070         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76072 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76074         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76075         aligned copy for power7 with vector-scalar instructions.
76076         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76078 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76080         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76081         AVX check.
76083 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76085         [BZ #13144]
76086         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76087         last change.
76089 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76091         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76092         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76093         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76094         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76095         clock_gettime.
76097 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76099         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76100         Forgot to demangle the pointer.
76102         * sysdeps/i386/sysdep.h: Define atom_text_section.
76103         * sysdeps/x86_64/sysdep.h: Likewise.
76104         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76105         section with atom_text_section.
76106         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76107         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76108         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76109         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76110         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76112         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76113         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76114         already be defined.  Change to take two parameters and don't assign
76115         result to variable.  Adjust all users.
76116         Define INTERNAL_GETTIME if not already defined.
76117         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76118         call.
76119         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76120         HAVE_CLOCK_GETTIME_VSYSCALL.
76121         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76123         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76124         gettimeofday vsyscall, just use time.
76126 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76128         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76129         <errno.h>.
76131 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76133         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76134         syscall on x86-64.
76135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76136         syscall.
76137         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76138         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76139         syscall if possible.
76141 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76143         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76144         e_ident.  Don't pass to find_mapsXX.
76145         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76147 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76150         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76151         * sysdeps/x86_64/multiarch/strchr.S: Update.
76152         Check bit_slow_BSF bit.
76153         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76154         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76155         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76157 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76159         [BZ #13134]
76160         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76161         before glibc 2.15.
76162         (tryshell): Define.
76163         (__spawni): Change last parameter to be flag.  Test
76164         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76165         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76166         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76167         * posix/spawni.c: Likewise.
76168         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76169         * posix/spawnp.c: Likewise.  Change normal version to use
76170         SPAWN_XFLAGS_USE_PATH.
76171         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76172         SPAWN_XFLAGS_TRY_SHELL.
76174         [BZ #13150]
76175         * posix/glob.h: Remove gcc 1.x support.
76177         [BZ #13068]
76178         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76180 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76182         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76183         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76184         strrchr-sse2-bsf
76185         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76186         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76187         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76188         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76189         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76190         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76192 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76194         * sysdeps/x86_64/wcscmp.S: New file.
76196         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76197         wcscmp-c wcscmp-sse2
76198         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76199         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76200         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76201         * wcsmbs/wcscmp.c: Allow renaming.
76203 2011-09-05  David S. Miller  <davem@davemloft.net>
76205         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76206         stack slot, rather than the struct return pointer slot.
76207         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76208         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76210         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76212 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76214         * po/ja.po: Update from translation team.
76216         [BZ #13144]
76217         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76218         kernel in 64-bit binaries.
76220 2011-09-01  David S. Miller  <davem@davemloft.net>
76222         * elf/elf.h (HWCAP_SPARC_*): Move to..
76223         * sysdeps/sparc/sysdep.h: this new file and add new values.
76224         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76225         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76226         _DL_HWCAP_COUNT to 24.
76227         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76228         entries.
76229         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76230         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76231         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76232         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76233         instead of magic constants.
76234         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76236 2011-08-31  David S. Miller  <davem@davemloft.net>
76238         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76239         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76240         Reimplement to do errno handling inline.
76241         (SYSCALL_ERROR_HANDLER): New macro.
76242         (__SYSCALL_STRING): Do not do errno handling in asm.
76243         (__CLONE_SYSCALL_STRING): Delete.
76244         (__INTERNAL_SYSCALL_STRING): Delete.
76245         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76246         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76247         (PSEUDO): Reimplement to do errno handling inline.
76248         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76249         (SYSCALL_ERROR_HANDLER): New macro.
76250         (__SYSCALL_STRING): Do not do errno handling in asm.
76251         (__CLONE_SYSCALL_STRING): Delete.
76252         (__INTERNAL_SYSCALL_STRING): Delete.
76253         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76254         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76255         i386.
76256         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76257         (inline_syscall*): Add 'err' argument.
76258         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76259         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76260         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76261         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76263         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76264         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76266 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76268         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76270 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76272         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76273         directive.
76275 2011-08-24  David S. Miller  <davem@davemloft.net>
76277         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76279 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76281         * elf/Makefile: Add rules to build and run unload8 test.
76282         * elf/unload8.c: New file.
76283         * elf/unload8mod1.c: New file.
76284         * elf/unload8mod1x.c: New file.
76285         * elf/unload8mod2.c: New file.
76286         * elf/unload8mod3.c: New file.
76288         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76289         it wasn't used.
76291 2011-08-23  David S. Miller  <davem@davemloft.net>
76293         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76294         subtract stack bias.
76295         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76296         %sp not %fp in calculations.
76297         (_JMPBUF_UNWINDS_ADJ): Likewise.
76299         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76300         (aio_suspend): Call it to force an exception region around the
76301         AIO_MISC_WAIT() invocation.
76303 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76305         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76306         backslash.
76308 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76310         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76311         protection macro.
76312         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76313         and <dl-machine.h>.
76314         (Elf64_FuncDesc): Remove.
76316 2011-08-22  David S. Miller  <davem@davemloft.net>
76318         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76319         sigaltstack check, add missing cfi directives.
76320         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76321         missing cfi directives, and sigaltstack handling.
76323 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76325         [BZ #11724]
76326         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76327         object is seen twice.
76328         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76330         * elf/Makefile (distribute): Add tst-initorder2.c.
76331         (tests): Add tst-initorder2.
76332         (modules-names): Add tst-initorder2a tst-initorder2b
76333         tst-initorder2c tst-initorder2d.  Add rules to build them.
76334         ($(objpfx)tst-initorder2.out): New rule.
76335         * elf/tst-initorder2.c: New file.
76336         * elf/tst-initorder2.exp: New file.
76338 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76340         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76342         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76343         dependencies back to end of function.
76345         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76346         $(elfobjdir)/ld.so.
76348 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76350         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76351         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76352         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76353         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76354         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76355         of __vdso_gettimeofday.
76356         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76357         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76358         attribute_hidden.
76359         (_libc_vdso_platform_setup): Remove initialization of
76360         __vdso_gettimeofday and __vdso_time.
76362 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76364         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76365         and fgetc_unlocked.
76366         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76367         getc_unlocked.
76369         * elf/dl-open.c (add_to_global): Report additions to the global scope
76370         for LD_DEBUG=scopes.
76371         (dl_open_worker): Also print scope of newly loaded dependencies.
76372         (_dl_show_scope): Indicate if there is no scope.
76374         [BZ #13114]
76375         * stdio-common/Makefile (tests): Add bug24.
76376         * stdio-common/bug24.c: New file.
76378 2011-08-19  Andreas Jaeger  <aj@suse.de>
76380         [BZ #13114]
76381         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76382         non-existant file when using close-on-exec mode.
76384 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76386         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76387         the very first instruction.
76389         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76390         the CFI state in the end.
76391         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76392         inclusion of dl-trampoline.h.
76393         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76395 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76397         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76398         expectations for long double.
76400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76401         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76403 2011-08-14  David S. Miller  <davem@davemloft.net>
76405         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76406         artificual limit depends upon the system page size.
76408 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76410         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76411         * resolv/Makefile: Define CFLAGS-libresolv.
76413 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76415         * nss/makedb.c (compute_tables): Make variables used in nested
76416         function static.
76418 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76420         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76421         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76422         if buffer was too small.
76424         * elf/pldd.c (main): Attach to all threads in the process.
76425         Rewrite /proc handling to use *at functions.
76427 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76429         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76430         specifies first scope to show.
76431         (dl_open_worker): Update callers.  Move printing scope of new
76432         object to before the relocation.
76433         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76434         * sysdeps/generic/ldsodefs.h: Update declaration.
76436         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76437         string for the scope number.
76439 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76441         * nscd/servicescache.c (cache_addserv): Make sure written is always
76442         initialized.
76444 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76446         * sysdeps/i386/i486/bits/atomic.h
76447         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76448         statement expression, so as to suppress "set but not used" warning.
76449         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76451         * string/strncat.c (STRNCAT): Use prototype definition.
76453         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76454         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76455         -Iprograms here.
76456         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76457         (localedef-modules): Add localedef.
76458         (locale-modules): Add locale.
76460         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76461         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76462         to avoid a warning.
76464 2011-08-14  David S. Miller  <davem@davemloft.net>
76466         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76467         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76469 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76471         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76472         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76473         * elf/rtld.c (dl_main): Set l_name of vDSO.
76474         Call _dl_show_scope when DL_DEBUG_SCOPES.
76475         (process_dl_debug): Recognize scopes flag and also set it for all.
76476         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76477         Declare _dl_show_scope.
76479         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76480         (do_dlopen): Pass caller_dlopen to dl_open.
76481         (__libc_dlopen_mode): Initialize caller_dlopen.
76483         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76484         of libc.  Make tolower call locale-independent.  Optimize a bit by
76485         using isdigit instead of isalnum.
76486         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76488 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76490         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76491         was a dependency or dynamically loaded.
76493 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76495         * intl/l10nflist.c: Allow architecture-specific pop function.
76496         * sysdeps/x86_64/l10nflist.c: New file.
76498         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76499         classification.
76501 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76503         * include/dirent.h: Add libc_hidden_proto for scandirat and
76504         scandirat64.  Don't declare __scandirat64.
76505         * dirent/scandirat.c: Add libc_hidden_def.
76506         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76507         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76509 2011-08-10  David S. Miller  <davem@davemloft.net>
76511         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76512         enum.
76513         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76514         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76515         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76517 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76519         * Versions.def [libc]: Add GLIBC_2.15.
76520         * dirent/Makefile (routines): Add scandirat and scandirat64.
76521         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76522         GLIBC_2.15.
76523         * dirent/dirent.h: Declare scandirat and scandirat64.
76524         * dirent/scandirat.c: New file.
76525         * dirent/scandirat64.c: New file.
76526         * sysdeps/wordsize-64/scandirat.c: New file.
76527         * sysdeps/wordsize-64/scandirat64.c: New file.
76528         * dirent/opendir.c: Define opendirat.
76529         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76530         using scandirat.
76531         * dirent/scandir64.c: Adjust for scandir.c change.
76532         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76533         __scandirat64, and __scandir_cancel_handler.
76534         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76535         additional parameter and use openat instead of open (outside of ld.so).
76536         Add new __opendir as wrapper around __opendirat.
76537         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76538         here without requiring old scandirat implementation.
76540 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76542         * dirent/scandir.c (cancel_handler): Renamed to
76543         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76544         defined.  Adjust users.
76545         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76546         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76548 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76550         * string/test-string.h (IMPL): Use __STRING to expand name and then
76551         stringify it.
76553         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76554         of cleanups.
76556 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76558         * string/Makefile: Update.
76559         (strop-tests): Append strncat.
76560         * string/test-wcscmp.c: New file.
76561         New comprehensive test for wcscmp.
76562         * string/test-strcmp.c: Update.
76563         (WIDE): New define.
76565 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76567         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76568         line.
76570 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76572         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76573         encoding to ACE if AI_IDN.
76575 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76577         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76578         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76580 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76582         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76583         Fix overflow bug in strncat.
76584         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76586         * string/test-strncat.c: Update.
76587         Add new tests for checking overflow bugs.
76589 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76591         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76592         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76593         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76594         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76595         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76596         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76597         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76598         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76599         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76601         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76602         (USE_AS_STRCAT): Define.
76603         Add strcat and strncat support.
76604         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76606 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76608         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76609         __n bigger than INT_MAX+1.
76610         (__strncmp_g): Likewise.
76612 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76614         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76615         * libio/stido.h: Likewise.
76617         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76618         (AF_NFC): Define.
76619         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76620         (AF_NFC): Define.
76622         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76623         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76624         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76625         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76626         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76628         [BZ #13021]
76629         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76630         installed.
76632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76633         typo.
76634         (_dl_x86_64_save_sse): Likewise.
76636 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76638         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76639         OSXSAVE.
76640         (_dl_x86_64_save_sse): Likewise.
76642         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76644         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76646 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76648         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76649         change.
76650         (_dl_x86_64_save_sse): Use correct AVX check.
76652 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76654         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76655         bug in strncpy/strncat.
76656         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76658 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76660         * string/tester.c (test_strcat): Add tests for different alignments
76661         of source and destination.
76662         (test_strncat): Likewise.
76664 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76666         [BZ #12852]
76667         * posix/glob.c (glob): Check passed in values before using them in
76668         expressions to avoid some overflows.
76669         (glob_in_dir): Likewise.
76671         [BZ #13007]
76672         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76673         check for AVX enablement so that we don't crash with old kernels and
76674         new hardware.
76675         * elf/tst-audit4.c: Add same checks here.
76676         * elf/tst-audit6.c: Likewise.
76678         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76680 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76682         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76684 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76686         * po/cs.po: Update from translation team.
76687         * po/bg.po: Likewise.
76689 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76691         * misc/sys/cdefs.h: Add support for const attribute.
76692         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76693         to gnu_dev_{major,minor,makedev} functions.
76695 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76697         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76699 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76701         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76702         strlen results.
76704 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76706         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76707         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76708         register in order to avoid conflicts with the soft frame pointer
76709         being held in r11 when necessary.
76710         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76711         (INTERNAL_VSYSCALL_NCS): Likewise.
76713 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76715         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76716         * elf/dl-fini.c (_dl_fini): Adjust caller.
76717         * elf/dl-close.c (_dl_close_worker): Likewise.
76718         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76720 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76722         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76723         "aux_cache->nlibs < 0".
76725         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76726         in the reload-count case.
76728 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76731         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76732         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76733         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76734         * sysdeps/x86_64/multiarch/strcat.S: New file.
76735         * sysdeps/x86_64/multiarch/strncat.S: New file.
76736         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76737         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76738         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76739         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76740         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76741         (USE_AS_STRCAT): Define.
76742         Add strcat and strncat support.
76743         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76744         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76745         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76746         * string/strncat.c: Update.
76747         (USE_AS_STRNCAT): Define.
76748         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76749         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76750         and i7.
76751         * sysdeps/x86_64/multiarch/init-arch.h
76752         (bit_Prefer_PMINUB_for_stringop): New.
76753         (index_Prefer_PMINUB_for_stringop): Likewise.
76754         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76755         bit_Prefer_PMINUB_for_stringop.
76757 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76759         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76760         buffer64.
76761         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76762         of casting of buffer.
76763         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76764         buffer32 and buffer64.
76765         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76766         writes instead of casting of buffer.
76767         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76768         buffer32.
76769         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76770         casting of buffer.
76772 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76774         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76776 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76778         * nscd/nscd.c (termination_handler): Don't do anything for a database
76779         if it has not yet been initialized.
76781 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76783         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76785 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76787         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76789 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76791         * po/nl.po: Update from translation team.
76792         * po/sv.po: Likewise.
76794 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76796         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76797         now disallowed by GCC.
76799         * configure.in (use-default-link): Default to yes if a test -shared
76800         link meets our qualifications.
76801         * configure: Regenerated.
76803         * config.make.in (output-format): New variable.
76804         * configure.in: Check for ld --print-output-format support.
76805         * configure: Regenerated.
76806         * Makerules ($(common-objpfx)format.lds)
76807         [$(output-format) != unknown]: Just use $(output-format),
76808         instead of the linker-script munging.
76810 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76812         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76813         of $(common-objpfx)shlib.lds.
76814         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76816         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76817         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76819         * configure.in (-z relro check): Adjust test code to add a large
76820         writable data section after it.
76821         * configure: Regenerated.
76823 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76825         * configure.in (-z relro check): Fix test code to make the variable
76826         truly const.
76827         * configure: Regenerated.
76829 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76831         * nscd/nscd.h (struct traced_file): Define.
76832         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76833         elements.  Add traced_files.
76834         (inotify_fd): Declare.
76835         (register_traced_file): Declare.
76836         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76837         (inotify_fd): Export.
76838         (resolv_conf_descr): Remove.
76839         (nscd_init): Move inotify descriptor creation to main.
76840         Don't register files for notification here.
76841         (register_traced_file): New function.
76842         (invalidate_cache): Don't use reset_res to determine whether to call
76843         res_init, go through the list of registered files.
76844         (main_loop_poll): The inotify descriptors are now stored in the
76845         structures for the traced files.
76846         (main_loop_epoll): Likewise.
76847         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76848         to __nss_disable_nscd.
76849         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76850         for a database anymore.  Check the records for all the registered
76851         files instead.
76852         * nss/Makefile (libnss_files-routines): Add files-init.
76853         (libnss_db-routines): Add db-init.
76854         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76855         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76856         * nss/nss_db/db-init.c: New file.
76857         * nss/nss_files/files-init.c: New file.
76858         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76859         __nss_lookup_function.
76860         (__nss_lookup_function): Call nss_load_library.
76861         (nss_load_all_libraries): New function.
76862         (__nss_disable_nscd): Take parameter with callback function for files
76863         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76864         used for the cached services.
76865         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76866         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76867         options for features to all the files in nscd.
76869         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76871 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76873         * csu/elf-init.c (__libc_csu_init): Comment typo.
76875 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76877         * po/pl.po: Update from translation team.
76878         * po/ja.po: Likewise.
76879         * po/ru.po: Likewise.
76880         * po/ko.po: Likewise.
76881         * po/fr.po: Likewise.
76883 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76885         * configure.in (.ctors/.dtors header and trailer check):
76886         Use an empirical test on a built program.
76887         * configure: Regenerated.
76889         * configure.in (-z relro check): Use an empirical test on a built DSO.
76890         Detect, but do not require, on ia64.
76891         * configure: Regenerated.
76893         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76894         Update tests that use readelf to use $READELF instead.
76895         * configure: Regenerated.
76897 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76899         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76900         if the result is not used.
76902 2011-07-05  Andreas Jaeger  <aj@suse.de>
76904         [BZ#9696]
76905         * stdlib/tst-strtod.c: Add testcase.
76907 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76909         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76910         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76911         The latter has a higher limit.  Take additional parameter to pass to
76912         the new function.
76913         (__pathconf): Pass file to __statfs_link_max.
76914         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76915         __statfs_link_max.
76916         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76917         __statfs_link_max.
76919         [BZ #12868]
76920         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76921         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76922         Handle Lustre.
76923         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76924         (__statfs_filesize_max): Likewise.
76925         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76927 2011-07-05  Andreas Jaeger  <aj@suse.de>
76929         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76931 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76933         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76934         `status' variable.
76935         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76936         Likewise.
76938 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76940         * Makefile (strop-tests): Add strncat.
76941         * string/test-strncat.c: New file.
76943 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76945         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76947 2011-06-21  Andreas Jaeger  <aj@suse.de>
76949         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76950         Copy rule from iconvdata/Makefile.
76952 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76954         [BZ #12922]
76955         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76956         but no long options are defined, just return 'W'.
76958 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76960         [BZ #9696]
76961         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76963 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76965         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76966         netgroups to read.
76967         (innetgr): Likewise.
76969 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76971         * config.make.in (install_root): Default to $(DESTDIR).
76973 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76975         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76977 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76979         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76981         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76982         containing directory rather than embedding absolute directory names.
76984         * scripts/check-local-headers.sh: Rewritten using awk.
76985         Match by word, not by line.  Print error messages for matches.
76986         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76988         * Makerules [shlib-lds-flags empty]:
76989         ($(common-objpfx)libc_pic.opts): New target.
76990         ($(common-objpfx)libc_pic.os.clean): New target.
76991         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76993         * config.make.in (OBJCOPY): New variable.
76994         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76995         * configure: Regenerated.
76997         * config.make.in (use-default-link): New variable.
76998         * configure.in (use_default_link): Grok --with-default-link to set it.
76999         * configure: Regenerated.
77000         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77001         (shlib-lds, shlib-lds-flags): Define to empty.
77003         * Makerules (shlib-lds): New variable.
77004         (shlib-lds-flags): New variable.
77005         (build-shlib, build-moduile, build-module-asneeded): Use it.
77006         ($(common-objpfx)libc.so): Use $(shlib-lds).
77007         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77008         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77010         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77011         DT_FLAGS/DT_FLAGS_1 with zero flags.
77013         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77014         linker script munging.
77016 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77018         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77019         as 128-bit value.
77020         * crypt/sha512.c (sha512_process_block): Perform total addition using
77021         128-bit if possible.
77022         (__sha512_finish_ctx): Likewise.
77023         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77024         as 64-bit value.
77025         * crypt/sha256.c (SWAP64): Define.
77026         (sha256_process_block): Perform total addition using 64-bit if
77027         possible.
77028         (__sha256_finish_ctx): Likewise.
77030 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77032         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77033         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77034         * nscd/hstcache.c (cache_addhst): Likewise.
77035         * nscd/grpcache.c (cache_addgr): Likewise.
77036         * nscd/aicache.c (addhstaiX): Likewise.
77037         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77039 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77041         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77042         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77043         * nscd/hstcache.c (cache_addhst): Likewise.
77044         * nscd/grpcache.c (cache_addgr): Likewise.
77045         * nscd/aicache.c (addhstaiX): Likewise.
77047 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77049         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77050         domain only when needed.
77052 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77055         is always restored.
77057 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77059         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77060         are re-adding the entry.
77061         * nscd/servicescache.c (cache_addserv): Likewise.
77063 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77065         * sysdeps/generic/dl-irel.h: fix protection against multiple
77066         inclusions.
77067         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77069 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77071         [BZ #12935]
77072         * malloc/memusage.sh: Fix quoting in message.
77073         * debug/xtrace.sh: Likewise.
77075         * configure.in: Remove support for --experimental-malloc option, make
77076         it the default.
77077         * config.make.in: Likewise.
77078         * malloc/Makefile: Likewise.
77080 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77082         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77083         two-byte characters.
77085 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77087         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77088         AC_CACHE_CHECK invocation.
77089         * configure: Regenerated.
77091         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77093 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77095         [BZ #12350]
77096         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77097         bit from old_res_options.
77099         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77101         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77102         value type for setfct.
77104 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77106         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77107         __gettimeofday instead of gettimeofday.
77109 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77111         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77113 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77115         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77117         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77118         info.
77120 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77123         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77124         strcpy-sse2-unaligned strncpy-sse2-unaligned
77125         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77126         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77127         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77128         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77129         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77130         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77131         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77132         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77133         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77134         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77135         (STRCPY): Support SSE2 and SSSE3 versions.
77137 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77139         [BZ #12874]
77140         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77141         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77142         kernels which artificially limit size of requests.
77144 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77146         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77147         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77148         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77149         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77150         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77151         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77152         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77153         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77154         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77155         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77156         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77157         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77158         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77159         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77160         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77162         Enable unaligned load optimization for Intel Core i3, i5 and i7
77163         processors.
77164         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77165         Define.
77166         (index_Fast_Unaligned_Load): Define.
77167         (HAS_FAST_UNALIGNED_LOAD): Define.
77169 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77171         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77173 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77175         [BZ #12907]
77176         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77177         until it is clear that the information is realy needed.
77178         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77180 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77182         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77184 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77186         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77187         /sys/devices/system/cpu/online if it is usable.
77189         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77190         reading the information from the /proc filesystem to once a second.
77192 2011-06-21  Andreas Jaeger  <aj@suse.de>
77194         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77195         NULL after inclusion of kernel headers.
77197 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77199         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77200         calls to internal_setent.
77202         [BZ #12885]
77203         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77204         addresses using gethostbyname4_r ignore IPv4 addresses.
77206         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77207         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77209         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77211 2011-06-20  David S. Miller  <davem@davemloft.net>
77213         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77214         inclusions.
77215         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77217         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77218         (elf_irel): Use it.
77219         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77220         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77221         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77222         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77223         * sysdeps/x86_64/dl-irel.h: Likewise.
77225         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77226         * elf/dl-sym.c: Likewise.
77228 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77230         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77231         need to dereference resplen2.
77233 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77235         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77237 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77239         * Makeconfig: Define vardbdir and inst_vardbdir.
77240         * nss/Makefile: Add rules to install db-Makefile.
77242         * nss/nss_db/db-XXX.c: Cleanup.
77244         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77245         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77246         GLIBC_PRIVATE.
77247         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77248         * nss/makedb.c: Implement -g option to specify that value strings
77249         are generated and should not be added to table iterated over for
77250         get*ent calls.
77251         * nss/nss_db/db-initgroups.c: New file.
77253         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77254         interface.
77256         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77257         (internal_getgrouplist): Adjust to name change.
77258         Update use_initgroups_entry if this is not the first call.
77259         * nss/databases.def: Add initgroups entry.
77261         * nss/makedb.c (compute_tables): Check result of multiple hash table
77262         sizes to minimize maximum chain length.
77264 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77266         * Versions.def: Add entry for libnss_db.
77267         * shlib-versions: Likewise.
77268         * nss/Makefile: Add rules to build libnss_db.
77269         * nss/Versions: Add libnss_db information.  Organize libnss_files
77270         entries better.
77271         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77272         makedb progra.  Some minor improvements to generate smaller files.
77273         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77274         here from...
77275         * nss/makedb.c: ...here.
77276         Improve database format to be smaller and require less memory at
77277         runtime.
77278         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77279         db anymore.
77280         * nss/nss_db/db-netgrp.c: Likewise.
77281         * nss/nss_db/db-open.c: Likewise.
77282         * nss/nss_files/flies-XXX.x: Adjust comments.
77283         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77284         * nss/nss_files/files-grp.c: Likewise.
77285         * nss/nss_files/files-hosts.c: Likewise.
77286         * nss/nss_files/files-network.c: Likewise.
77287         * nss/nss_files/files-proto.c: Likewise.
77288         * nss/nss_files/files-pwd.c: Likewise.
77289         * nss/nss_files/files-rpc.c: Likewise.
77290         * nss/nss_files/files-service.c: Likewise.
77291         * nss/nss_files/files-sgrp.c: Likewise.
77292         * nss/nss_files/files-spwd.c: Likewise.
77293         * nss/nss_db/db-alias.c: Removed.
77294         * nss/nss_db/dummy-db.h: Removed.
77296 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77298         * nss/makedb.c: Rewritten to not use database library.
77299         * nss/Makefile: Update to build new makedb program.
77301 2011-06-14  Andreas Jaeger  <aj@suse.de>
77303         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77304         memset declaration.
77306 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77308         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77309         tmpbuf.
77311 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77313         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77314         * elf/Makefile ($(objpfx)ld.so): Likewise.
77316         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77317         Don't list ld.so twice in dependencies.
77319         * posix/bug-regex31.c: Include <stdlib.h>.
77321         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77323         * nis/nss_compat/compat-spwd.c
77324         (getspent_next_nss_netgr): Remove unused variable.
77325         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77327         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77328         nonmembers" output to use the right array.
77330         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77332         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77334         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77335         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77336         * catgets/gencat.c (read_input_file): Likewise.
77337         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77339         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77340         variable definition inside #if's controlling its use.
77342         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77344         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77346         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77348         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77349         unreachable code.
77351         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77353         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77354         * configure: Regenerated.
77356         * Makerules: Revert last change.
77357         * elf/Makefile: Likewise.
77359 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77361         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77362         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77363         (reloc-link): Likewise.
77365 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77367         * elf/Makefile: Add rules to build pldd.
77368         * elf/pldd.c: New file.
77369         * elf/pldd-xx.c: New file.
77371 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77373         * version.h: Update for 2.15 development version.
77375 2011-06-07  David S. Miller  <davem@davemloft.net>
77377         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77378         ifuncs.
77379         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77380         elf_machine_lazy_rel): Likewise.
77381         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77382         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77383         elf_machine_lazy_rel): Likewise.
77384         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77385         dl_hwcap via passed in argument.
77386         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77387         Likewise.
77389 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77391         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77393 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77395         [BZ #12849]
77396         * manual/fdl-1.1.texi: New file, verbatim from:
77397         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77398         * manual/lgpl-2.1.texi: New file, verbatim from:
77399         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77400         * manual/Makefile (licenses): New variable, list those new file names.
77401         (texis): Use it.
77402         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77404         * manual/fdl.texi: File removed.
77405         * manual/lesser.texi: File removed.
77406         * manual/libc.texinfo (Copying, Documentation License):
77407         Use new @include file names, put @appendix directive before @include.
77409 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77411         [BZ #12841]
77412         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77413         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77414         (mq_open): Add __NTH.
77416 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77419         Assume Intel Core i3/i5/i7 processor if AVX is available.
77421 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77423         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77424         typo.
77426 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77428         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77429         memory.  Use alloca_account.  Fix memory leak when retrying.
77431 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77433         * version.h (RELEASE): Bump for 2.14 release.
77434         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77436         * config.make.in (RANLIB): Remove entry.
77438 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77440         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77441         (libc.pot): Work around missing support for .ksh extension in xgettext.
77443         [BZ #12684]
77444         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77445         if both request failed.
77446         (send_dg): In case of server errors clear resplen or *resplen2.
77448         [BZ #12454]
77449         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77450         when there are multiple maps.
77451         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77452         (_dl_fini): Remove test here.
77454         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77456 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77458         [BZ #12350]
77459         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77460         bit from old_res_options.
77461         (gaih_inet): Likewise.
77463         [BZ #11099]
77464         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77465         as signed.
77467         * resolv/res_init.c (res_setoptions): Make the code more compact.
77469         [BZ #11558]
77470         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77471         set RES_USEVC.
77473         [BZ #11634]
77474         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77476         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77478         [BZ #11781]
77479         * malloc/malloc.h: Declare malloc hook variables as volatile.
77481         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77482         in last patch.
77484         [BZ #11799]
77485         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77486         raise in the comment.
77487         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77488         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77489         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77491 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77493         [BZ #12811]
77494         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77495         grow the buffers more if it already has to be sufficient.
77496         (build_wcs_upper_buffer): Likewise.
77497         * posix/regexec.c (check_matching): Likewise.
77498         (clean_state_log_if_needed): Likewise.
77499         (extend_buffers): Don't enlarge buffers beyond size of the input
77500         buffer.
77501         Patches mostly by Emil Wojak <emil@wojak.eu>.
77502         * posix/bug-regex32.c: New file.
77503         * posix/Makefile (tests): Add bug-regex32.
77505         * locale/findlocale.c (_nl_find_locale): Return right away if
77506         _nl_explode_name failed.
77507         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77509         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77511         * debug/xtrace.sh: Unify messages.
77512         * malloc/memusage.sh: Likewise.
77514         [BZ #12813]
77515         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77516         time symbol from vDSO.  Substitute with vsyscall if not available.
77517         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77518         __vdso_time.
77520         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77521         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77522         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77523         Add sendmmsg and internal_sendmmsg.
77524         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77525         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77526         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77528         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77529         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77530         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77532 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77534         [BZ #12813]
77535         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77536         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77537         available.
77538         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77539         __vdso_getcpu.
77541         [BZ #12814]
77542         * iconvdata/Makefile (tests): Add bug-iconv9.
77543         * iconvdata/bug-iconv9.c: New file.
77545 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77547         [BZ #12814]
77548         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77550 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77552         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77553         (struct user_regs_struct): Change intcs field back to cs.
77555 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77557         * po/ja.po: Update from translation team.
77559 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77561         [BZ #12795]
77562         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77563         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77565 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77567         * stdlib/longlong.h: Update from GCC.
77569 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77571         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77572         parameter name.
77573         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77574         Add parameter name.
77575         (__sysconf): Pass it down.
77577 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77579         [BZ #12671]
77580         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77581         some situations.
77582         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77583         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77584         add in in __libc_use_alloca calls.  Adjust callers.
77585         (glob): Use malloc in some situations.
77587         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77588         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77589         pltexit.
77591 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77593         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77594         and CLOCK_BOOTTIME_ALARM.
77596         [BZ #12782]
77597         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77598         is returned.
77600         * string/_strerror.c (__strerror_r): Print negative errors as signed
77601         numbers.
77603         [BZ #12777]
77604         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77605         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77606         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77608         * configure.in: Fix typo in redirection and correct removal of test
77609         files in two cases.
77611         [BZ #12788]
77612         * locale/setlocale.c (new_composite_name): Fix test to check for
77613         identical name of all categories.
77615         [BZ #12792]
77616         * libio/filedoalloc.c (local_isatty): New function.
77617         (_IO_file_doallocate): Use local_isatty.
77618         * stdio-common/perror.c (perror): In case a new stream is used
77619         forward the stream error.
77620         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77621         error flag.
77623 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77625         [BZ #11884]
77626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77627         alloca.
77628         * include/alloca.h (extend_alloca_account): Define.
77630         [BZ #11857]
77631         * posix/regex.h: Fix comments with documentation of user-accessible
77632         fields after compilation and describe correct free'ing of pattern
77633         after re_compile_pattern.
77634         Patch by Reuben Thomas <rrt@sc3d.org>.
77636 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77638         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77639         and -mno-altivec to prevent the compiler from using Altivec and/or
77640         VSX instructions when the corresponding registers are not available.
77642 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77644         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77646 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77648         * libio/freopen.c (freopen): Use __dup2, not dup2.
77649         * libio/freopen64.c (freopen64): Likewise.
77651 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77653         [BZ #12775]
77654         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77655         * math/Makefile (tests): Add test-powl.
77656         (CFLAGS-test-powl.c): Define.
77657         * math/test-powl.c: New file.
77659 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77661         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77663 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77665         [BZ #11837]
77666         * iconvdata/gb18030.c: Update to GB18020-2005.
77668 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77670         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77671         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77672         Patch by Aharon Robbins <arnold@skeeve.com>.
77674         [BZ #11892]
77675         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77676         on the stack.
77678         [BZ #11895]
77679         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77680         through underflows.
77682         [BZ #12766]
77683         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77684         point to strings before performing equality test for error_one_per_line
77685         mode.
77687         [BZ #11697]
77688         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77690         [BZ #11820]
77691         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77692         (struct user_fpregs_struct): Avoid __uint*_t types.
77694         [BZ #6420]
77695         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77696         symbol info.  Use it instead of calling _dl_addr locally.
77697         (lock_and_info): New function.
77698         (tr_freehook): Call lock_and_info and pass symbol info as additional
77699         parameter to tr_where.
77700         (tr_mallochook): Likewise.
77701         (tr_reallochook): Likewise.
77702         (tr_memalignhook): Likewise.
77704         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77705         used and couldn't be at all thread-safe.
77707 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77709         * libio/freopen.c (freopen): Don't close old file descriptor
77710         before the new one is opened.  Instead dup the new file descriptor
77711         to the old one after the new stream is created.
77712         * libio/freopen64.c (freopen64): Likewise.
77713         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77714         * libio/fileops.c (_IO_new_file_close_it): Handle new
77715         _IO_FLAGS2_NOCLOSE flag.
77716         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77717         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77718         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77719         _IO_FLAGS2_NOCLOSE flag.
77720         * include/unistd.h: Add hidden_proto for dup3.
77721         Define __have_dup3.
77722         * io/dup3.c: Define hidden symbol.
77723         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77725         [BZ #7101]
77726         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77727         when an incomplete long option is used.
77728         * posix/tst-getopt_long1.c: New file.
77729         * posix/Makefile (tests): Add tst-getopt_long1.
77731         [BZ #10138]
77732         * scripts/config.guess: Update from autoconf-2.68.
77733         * scripts/config.sub: Likewise.
77735         [BZ #10157]
77736         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77737         tests into ...
77738         (has_cpuclock): ...this.  New function.
77739         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77740         macro here based on has_cpuclock code.
77742         [BZ #10149]
77743         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77744         First byte (not low byte) is now always NUL.
77745         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77747         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77748         Use non-cancelable interfaces.
77750         [BZ #9809]
77751         * locale/iso-639.def: Add entry for Sorani.
77753         [BZ #11901]
77754         * include/stdlib.h: Move include protection to the right place.
77755         Define abort_msg_s.  Declare __abort_msg with it.
77756         * stdlib/abort.c (__abort_msg): Adjust type.
77757         * assert/assert.c (__assert_fail_base): New function.  Majority
77758         of code from __assert_fail.  Allocate memory for __abort_msg with
77759         mmap.
77760         (__assert_fail): Now call __assert_fail_base.
77761         * assert/assert-perr.c: Remove bulk of implementation.  Use
77762         __assert_fail_base.
77763         * include/assert.hL Declare __assert_fail_base.
77764         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77765         mmap.
77766         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77768 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77770         [BZ #11952]
77771         [BZ #12453]
77772         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77773         until all modules are registered in the DTV.
77774         * elf/Makefile: Add rules to build and run tst-tls19.
77775         * elf/tst-tls19.c: New file.
77776         * elf/tst-tls19mod1.c: New file.
77777         * elf/tst-tls19mod2.c: New file.
77778         * elf/tst-tls19mod3.c: New file.
77779         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77781         [BZ #12083]
77782         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77783         correctly.
77785         [BZ #12601]
77786         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77787         two-byte sequence errors.
77788         * iconvdata/Makefile (tests): Add bug-iconv8.
77789         * iconvdata/bug-iconv8.c: New file.
77791         [BZ #12626]
77792         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77793         buf2 definition.
77795         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77797         [BZ #12432]
77798         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77799         (dummy_getcfa): New function.
77800         (init): Get _Unwind_GetCFA address, use dummy if not found.
77801         (backtrace_helper): In recursion check, also check whether CFA changes.
77802         (__backtrace): Completely initialize arg.
77804         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77805         storing incomplete byte sequence in state object.  Avoid testing for
77806         guaranteed too small input if we know there is enough data available.
77808 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77810         * Makeconfig (+link-pie): Indent.
77811         * Rules (binaries-pie): Define if $(have-fpie) and
77812         $(build-shared).
77813         (binaries-shared): Also filter out $(binaries-pie).
77814         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77815         * nscd/Makefile (others-pie): Add nscd.
77816         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77817         ($(objpfx)nscd): Remove command override.
77818         * login/Makefile (others-pie): Add pt_chown.
77819         ($(objpfx)pt_chown): Remove command override.
77820         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77821         remove command overrides.
77823 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77825         * libio/tst_putwc.c: Fix error messages.
77827         [BZ #12724]
77828         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77829         currently writing and seek to current position when not.
77830         * libio/Makefile (tests): Add bug-fclose1.
77831         * libio/bug-fclose1.c: New file.
77833 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77835         [BZ #12511]
77836         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77837         don't set DF_1_NODELETE here.
77838         (do_lookup_x): When entering new entry test for copy relocation
77839         and if necessary set DF_1_NODELETE flag.
77840         * elf/tst-unique4.cc: New file.
77841         * elf/tst-unique4.h: New file.
77842         * elf/tst-unique4lib.cc: New file.
77843         * elf/Makefile: Add rules to build and run tst-unique4.
77844         Patch by Piotr Bury <pbury@goahead.com>.
77846 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77848         [BZ #12052]
77849         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77851         [BZ #12625]
77852         * misc/mntent_r.c (addmntent): Flush the stream after the output
77854         [BZ #12393]
77855         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77856         (is_trusted_path_normalize): Skip initial colon.  Append slash
77857         to empty buffer.  Duplicate is_trusted_path code but allow
77858         constructed patch to be prefix.
77859         (is_dst): Allow $ORIGIN followed by /.
77860         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77861         Correct testing of result of is_trusted_path_normalize
77862         (decompose_rpath): Fix warning.
77864 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77866         [BZ #11257]
77867         * grp/initgroups.c (internal_getgrouplist): When we found the service
77868         list through the initgroups entry in nsswitch.conf do not always
77869         continue on a successful lookup.  Don't always use the
77870         __nss_group_database value if it is set.
77871         * nss/nsswitch.conf (initgroups): Change action for successful db
77872         lookup to continue for compatibility.
77874 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77876         [BZ #11532]
77877         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77878         and CP774 modules.
77879         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77880         and CP774 modules.
77881         * iconvdata/tst-tables.sh: Likewise.
77882         * iconvdata/cp770.c: New file.
77883         * iconvdata/cp771.c: New file.
77884         * iconvdata/cp772.c: New file.
77885         * iconvdata/cp773.c: New file.
77886         * iconvdata/cp774.c: New file.
77887         * iconvdata/testdata/CP770: New file.
77888         * iconvdata/testdata/CP770..UTF8: New file.
77889         * iconvdata/testdata/CP771: New file.
77890         * iconvdata/testdata/CP771..UTF8: New file.
77891         * iconvdata/testdata/CP772: New file.
77892         * iconvdata/testdata/CP772..UTF8: New file.
77893         * iconvdata/testdata/CP773: New file.
77894         * iconvdata/testdata/CP773..UTF8: New file.
77895         * iconvdata/testdata/CP774: New file.
77896         * iconvdata/testdata/CP774..UTF8: New file.
77898         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77899         END CHARMAP line.
77900         * iconvdata/gen-8bit-gap.sh: Likewise.
77901         * iconvdata/gen-8bit.sh: Likewise.
77903         * locale/iso-639.def: Add ary entry.
77905         [BZ #11258]
77906         * locale/C-translit.h.in: Add U20A1 transliteration.
77908         [BZ #12178]
77909         * locale/iso-639.def: Add wae entry.
77910         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77912         [BZ #12545]
77913         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77914         for n.
77916         [BZ #12711]
77917         * locale/C-translit.h.in: Add entry for U20B9.
77918         Patch by pravin.d.s@gmail.com.
77920 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77922         [BZ #12713]
77923         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77924         ENAMETOOLONG use generic getcwd.
77925         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77926         in rtld.  Use *stat64.
77927         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77928         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77929         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77930         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77931         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77932         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77933         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77934         __fstatat64 macros.
77935         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77936         * dirent/rewinddir.c: Add libc_hidden_def.
77937         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77938         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77940         * include/dirent.h (__alloc_dir): Add flags parameter.
77941         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77942         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77943         __alloc_dir.
77944         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77945         from fdopendir if O_CLOEXEC is already set.
77947 2011-03-15  Alan Modra  <amodra@gmail.com>
77949         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77950         l_tls_firstbyte_offset non-zero.  Save padding offset in
77951         l_tls_firstbyte_offset for later use.
77952         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77953         freeing static tls block.
77955 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77957         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77958         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77959         being defined by the kernel headers.
77961 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77963         [BZ #12734]
77964         * resolv/resolv.h: Define RES_NOTLDQUERY.
77965         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77966         no-tld-query and set RES_NOTLDQUERY.
77967         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77968         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77969         modern BIND to search name as TLD unless forbidden.
77971 2011-05-07  Petr Baudis  <pasky@suse.cz>
77972             Ulrich Drepper  <drepper@gmail.com>
77974         [BZ #12393]
77975         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77976         (is_trusted_path): ...to here.
77977         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77978         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77979         using is_trusted_path_normalize() in setuid scripts.
77981 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77983         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77984         __BEGIN/__END_DECLS.
77986 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77988         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77989         NSS_STATUS_NOTFOUND if no record was found.
77991 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77993         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77994         (headers-not-in-tirpc): Remove rpc/netdb.h
77995         * resolv/netdb.h: Revert last change.
77997 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77999         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78000         circular dependency between libgcc.a and libc.a.
78002 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78004         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78005         * nis/Makefile: Don't install rpcsvc/*.
78006         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78007         instead of <rpc/types.h>.
78008         (MAXHOSTNAMELEN): Define.
78010 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78012         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78014 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78016         [BZ #12714]
78017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78018         gethostbyname4_r when IPv6 results are possible.
78020 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78022         [BZ #12723]
78023         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78024         _PC_PIPE_BUF handling.
78026 2011-04-30  Bruno Haible  <bruno@clisp.org>
78028         [BZ #12717]
78029         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78030         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78031         to 'int'.
78032         * inet/getnameinfo.c (getnameinfo): Likewise.
78034 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78036         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78037         to groups setting in database lookup.
78038         * nss/nsswitch.conf: Add initgroups entry.
78040 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78042         [BZ #12685]
78043         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78044         mode string.
78045         Patch by Eric Blake <eblake@redhat.com>.
78047 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78049         * sunrpc/Makefile (need-export-routines): Add svc_run.
78050         (routines): Remove svc_run.
78051         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78052         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78053         * sunrpc/svc_run.c (svc_run): Likewise.
78054         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78056 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78058         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78059         problem in reallocation in last patch.
78061 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78063         * sunrpc/Makefile: Move inclusion of Rules.
78065 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78067         * nss/nss_files/files-initgroups.c: New file.
78068         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78069         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78070         _nss_files_initgroups_dyn.
78072 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78074         * elf/elf.h (R_ARM_IRELATIVE): Define.
78076 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78078         * po/ru.po: Update from translation team.
78080 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78082         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78083         dependencies.
78085 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78087         [BZ #12653]
78088         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78089         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78090         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78091         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78092         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78094 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78096         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78097         differing bytes.
78098         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78099         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78100         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78102 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78104         [BZ #12420]
78105         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78106         storing it.
78107         * stdlib/bug-getcontext.c: New file.
78108         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78110 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78112         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78113         instructions into .machine "z9-109".
78114         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78115         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78117 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78119         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78120         between environment variables and auxiliary vector.
78122 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78124         * Makefile: Add rules to build linkobj/libc.so.
78125         * include/libc-symbols.h: Define libc_hidden_nolink.
78126         * include/rpc/auth.h: Mark functions which are to be hidden.
78127         * include/rpc/auth_des.h: Likewise.
78128         * include/rpc/auth_unix.h: Likewise.
78129         * include/rpc/clnt.h: Likewise.
78130         * include/rpc/des_crypt.h: Likewise.
78131         * include/rpc/key_prot.h: Likewise.
78132         * include/rpc/pmap_clnt.h: Likewise.
78133         * include/rpc/pmap_prot.h: Likewise.
78134         * include/rpc/pmap_rmt.h: Likewise.
78135         * include/rpc/rpc_msg.h: Likewise.
78136         * include/rpc/svc.h: Likewise.
78137         * include/rpc/svc_auth.h: Likewise.
78138         * include/rpc/xdr.h: Likewise.
78139         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78140         * nss/Makefile: Likewise.
78141         * sunrpc/Makefile: Don't install headers.  Build library with normal
78142         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78143         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78144         for the compat linking library.  Remove use of INTDEF/INTUSE.
78145         * sunrpc/auth_none.c: Likewise.
78146         * sunrpc/auth_unix.c: Likewise.
78147         * sunrpc/authdes_prot.c: Likewise.
78148         * sunrpc/authuxprot.c: Likewise.
78149         * sunrpc/clnt_gen.c: Likewise.
78150         * sunrpc/clnt_perr.c: Likewise.
78151         * sunrpc/clnt_raw.c: Likewise.
78152         * sunrpc/clnt_simp.c: Likewise.
78153         * sunrpc/clnt_tcp.c: Likewise.
78154         * sunrpc/clnt_udp.c: Likewise.
78155         * sunrpc/clnt_unix.c: Likewise.
78156         * sunrpc/des_crypt.c: Likewise.
78157         * sunrpc/des_soft.c: Likewise.
78158         * sunrpc/get_myaddr.c: Likewise.
78159         * sunrpc/key_call.c: Likewise.
78160         * sunrpc/key_prot.c: Likewise.
78161         * sunrpc/netname.c: Likewise.
78162         * sunrpc/pm_getmaps.c: Likewise.
78163         * sunrpc/pm_getport.c: Likewise.
78164         * sunrpc/pmap_clnt.c: Likewise.
78165         * sunrpc/pmap_prot.c: Likewise.
78166         * sunrpc/pmap_prot2.c: Likewise.
78167         * sunrpc/pmap_rmt.c: Likewise.
78168         * sunrpc/publickey.c: Likewise.
78169         * sunrpc/rpc_cmsg.c: Likewise.
78170         * sunrpc/rpc_common.c: Likewise.
78171         * sunrpc/rpc_dtable.c: Likewise.
78172         * sunrpc/rpc_prot.c: Likewise.
78173         * sunrpc/rpc_thread.c: Likewise.
78174         * sunrpc/rtime.c: Likewise.
78175         * sunrpc/svc.c: Likewise.
78176         * sunrpc/svc_auth.c: Likewise.
78177         * sunrpc/svc_authux.c: Likewise.
78178         * sunrpc/svc_raw.c: Likewise.
78179         * sunrpc/svc_run.c: Likewise.
78180         * sunrpc/svc_simple.c: Likewise.
78181         * sunrpc/svc_tcp.c: Likewise.
78182         * sunrpc/svc_udp.c: Likewise.
78183         * sunrpc/svc_unix.c: Likewise.
78184         * sunrpc/svcauth_des.c: Likewise.
78185         * sunrpc/xcrypt.c: Likewise.
78186         * sunrpc/xdr.c: Likewise.
78187         * sunrpc/xdr_array.c: Likewise.
78188         * sunrpc/xdr_float.c: Likewise.
78189         * sunrpc/xdr_intXX_t.c: Likewise.
78190         * sunrpc/xdr_mem.c: Likewise.
78191         * sunrpc/xdr_rec.c: Likewise.
78192         * sunrpc/xdr_ref.c: Likewise.
78193         * sunrpc/xdr_sizeof.c: Likewise.
78194         * sunrpc/xdr_stdio.c: Likewise.
78196 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78198         [BZ #12650]
78199         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78200         * sysdeps/ia64/dl-tls.h: Likewise.
78201         * sysdeps/powerpc/dl-tls.h: Likewise.
78202         * sysdeps/s390/dl-tls.h: Likewise.
78203         * sysdeps/sh/dl-tls.h: Likewise.
78204         * sysdeps/sparc/dl-tls.h: Likewise.
78205         * sysdeps/x86_64/dl-tls.h: Likewise.
78206         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78208 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78210         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78211         rpath element also skip the following colon.
78212         (expand_dynamic_string_token): Add is_path parameter and pass
78213         down to DL_DST_REQUIRED and _dl_dst_substitute.
78214         (decompose_rpath): Call expand_dynamic_string_token with
78215         non-zero is_path.  Ignore empty rpaths.
78216         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78217         with zero is_path.
78219 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78222         Make cancelable.
78224 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78226         [BZ #12655]
78227         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78228         Patch by Filipe David Manana <fdmanana@apache.org>.
78230 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78232         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78233         Maintain aligned stack.
78234         (CHECK_RSP): Remove unused macro.
78236 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78238         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78239         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78241 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78243         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78245         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78247 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78249         [BZ #12518]
78250         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78251         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78252         * sysdeps/x86_64/memmove.c: New file.
78253         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78254         (memcpy): Renamed to ...
78255         (__new_memcpy): This.
78256         (memcpy): Provide GLIBC_2_14 memcpy.
78257         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78258         (memcpy): Provide GLIBC_2_2_5 memcpy.
78260 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78262         [BZ #12631]
78263         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78265 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78267         * misc/syncfs.c: New file.
78268         * misc/Makefile (routines): Add syncfs.
78269         * posix/unistd.h: Declare syncfs.
78270         * sysdeps/unix/syscalls.list: Add syncfs.
78272 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78274         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78275         open_by_handle_at.
78276         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78277         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78278         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78279         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78280         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78281         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78282         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78284 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78286         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78287         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78288         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78289         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78290         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78291         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78292         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78294         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78295         sync_file_range.c with -fexceptions.
78296         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78297         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78298         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78299         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78300         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78301         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78302         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78303         sync_file_range as cancellation point
78304         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78305         now a wrapper around __call_sync_file_range with cancellation handling.
78306         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78307         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78308         function name to __call_sync_file_range.
78309         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78310         Add call_sync_file_range.
78312 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78315         bits/timex.h.
78317 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78319         * iconv/iconv.h: Fix typo in comment.
78320         * io/fcntl.h: Likewise.
78321         * libio/stdio.h: Likewise.
78322         * posix/spawn.h: Likewise.
78323         * posix/unistd.h: Likewise.
78324         * stdlib/stdlib.h: Likewise.
78325         * time/time.h: Likewise.
78326         * wcsmbs/wchar.h: Likewise.
78328         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78329         open_by_handle): Add.
78330         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78331         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78332         Augment a few comments.
78333         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78334         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78335         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78336         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78337         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78338         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78339         open_by_handle.
78341         * io/fcntl.h (AT_EMPTY_PATH): Define.
78343 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78345         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78346         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78347         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78348         to...
78349         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78350         * Versions.def: Add GLIBC_2.14.
78351         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78352         Export.
78354 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78356         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78357         round counter.
78358         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78360 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78362         [BZ #12597]
78363         * string/test-strncmp.c (do_page_test): New function.
78364         (check2): Likewise.
78365         (test_main): Call check2.
78366         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78368 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78370         [BZ #12587]
78371         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78372         Handle cache information in CPU leaf 4.
78373         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78375 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78377         [BZ #12583]
78378         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78379         character representation.
78380         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78382 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78384         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78385         END(__isnan) to END(__isnanf) to match function entry point/label
78386         EALIGN(__isnanf,...).
78388 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78390         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78392 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78394         [BZ #12510]
78395         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78396         copy from the symbol referenced in the relocation to initialize the
78397         used variable.
78398         Patch by Piotr Bury <pbury@goahead.com>.
78399         * elf/Makefile: Add rules to build and tst-unique3.
78400         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78401         * elf/tst-unique3.cc: New file.
78402         * elf/tst-unique3.h: New file.
78403         * elf/tst-unique3lib.cc: New file.
78404         * elf/tst-unique3lib2.cc: New file.
78406         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78408 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78410         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78411         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78412         to _start.
78414 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78416         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78417         to-be-loaded object along a path to loader is ld.so.
78419 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78420             Ulrich Drepper  <drepper@gmail.com>
78422         * sysdeps/x86_64/memset.S: After aligning destination, code
78423         branches to different locations depending on the value of
78424         misalignment, when multiarch is enabled. Fix this.
78426 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78428         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78429         Set _x86_64_preferred_memory_instruction for AMD processsors.
78430         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78431         Set bit_Prefer_SSE_for_memop for AMD processors.
78433 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78435         * libio/fmemopen.c (fmemopen): Optimize a bit.
78437 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78439         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78441 2011-03-03  Roland McGrath  <roland@redhat.com>
78443         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78445 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78447         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78448         __bzero_ultra1 instead of __memset_ultra1.
78450 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78451             Ulrich Drepper  <drepper@gmail.com>
78453         [BZ #12509]
78454         * include/link.h (struct link_map): Add l_orig_initfini.
78455         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78456         returning unsuccessfully.
78457         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78458         close of a file loaded at startup, restore the original l_initfini
78459         list.
78460         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78461         list, store the pointer.
78462         * elf/Makefile ($(objpfx)noload-mem): New rule.
78463         (noload-ENV): Define.
78464         (tests): Add $(objpfx)noload-mem.
78465         * elf/noload.c: Include <memcheck.h>.
78466         (main): Call mtrace.  Close all opened handles.
78468 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78470         [BZ #12454]
78471         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78472         dependencies are missing.
78474 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78476         Fix __if_freereq crash: Unlike the generic version which uses free,
78477         Hurd needs munmap.
78478         * sysdeps/mach/hurd/ifreq.h: New file.
78480 2011-01-27  Petr Baudis  <pasky@suse.cz>
78481             Ulrich Drepper  <drepper@gmail.com>
78483         [BZ 12445]#
78484         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78485         to extend_alloca().
78486         * stdio-common/bug23.c: New file.
78487         * stdio-common/Makefile (tests): Add bug23.
78489 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78490             Ulrich Drepper  <drepper@gmail.com>
78492         [BZ #12489]
78493         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78494         before performing relro protection.  At old place add assertion
78495         to make sure nothing changed.
78497 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78498             Glauber de Oliveira Costa  <glommer@gmail.com>
78500         * elf/elf.h: Add new ARM TLS relocs.
78502 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78505         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78506         cast from r3.
78507         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78508         'tests' variable.
78509         * sysdeps/wordsize-64/tst-writev.c: New file.
78511 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78513         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78514         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78515         insns in _dl_start to prevent a TOC reference before relocs are
78516         resolved.
78518 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78520         [BZ #12469]
78521         * Makeconfig: Remove RANLIB definition.
78522         * Makerules: Don't use RANLIB.
78523         * aclocal.m4: Remove ranlib test.
78524         * configure.in: No need to check for ranlib.
78525         * elf/rtld-Rules: Don't use RANLIB.
78527 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78529         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78530         protection macro.
78531         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78532         inclusion protection macro.
78534         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78535         SIGRTMIN and SIGRTMAX and print information in that case only when
78536         SIGRTMIN is defined.
78538 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78540         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78541         arginfo fn returning -1.
78543         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78544         and thousands string is zero terminated.
78546 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78548         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78549         sysdeps/unix/sysv/linux/bits/socket.h.
78551 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78553         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78554         (__CPU_COUNT): Remove old macros.
78555         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78556         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78557         (__CPU_ALLOC, __CPU_FREE): Add macros.
78558         (__sched_cpualloc, __sched_cpufree): Add declarations.
78560 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78562         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78563         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78564         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78565         (readdhstai): Return value of addhstaiX call.
78566         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78567         (addgrbyX): Return value returned by cache_addgr.
78568         (readdgrbyname): Return value returned by addgrbyX.
78569         (readdgrbygid): Likewise.
78570         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78571         (addpwbyX): Return value returned by cache_addpw.
78572         (readdpwbyname): Return value returned by addhstbyX.
78573         (readdpwbyuid): Likewise.
78574         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78575         (addservbyX): Return value returned by cache_addserv.
78576         (readdservbyname): Return value returned by addservbyX:
78577         (readdservbyport): Likewise.
78578         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78579         (addhstbyX): Return value returned by cache_addhst.
78580         (readdhstbyname): Return value returned by addhstbyX.
78581         (readdhstbyaddr): Likewise.
78582         (readdhstbynamev6): Likewise.
78583         (readdhstbyaddrv6): Likewise.
78584         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78585         (readdinitgroups): Return value returned by addinitgroupsX.
78586         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78587         (prune_cache): Keep track of timeout value of re-added entries.
78588         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78589         * nscd/nscd.h: Adjust prototypes of readd* functions.
78591 2011-02-04  Roland McGrath  <roland@redhat.com>
78593         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78594         (nis_stats): Likewise.
78595         * nis/nis_modify.c (nis_modify): Likewise.
78596         * nis/nis_remove.c (nis_remove): Likewise.
78597         * nis/nis_add.c (nis_add): Likewise.
78599         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78601         * posix/fnmatch_loop.c: Add some consts.
78603         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78605 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78607         [BZ #12460]
78608         * config.make.in (config-cflags-novzeroupper): Define.
78609         * configure.in: Substitute libc_cv_cc_novzeroupper.
78610         * elf/Makefile (AVX-CFLAGS): Define.
78611         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78612         (CFLAGS-tst-auditmod4a.c): Likewise.
78613         (CFLAGS-tst-auditmod4b.c): Likewise.
78614         (CFLAGS-tst-auditmod6b.c): Likewise.
78615         (CFLAGS-tst-auditmod6c.c): Likewise.
78616         (CFLAGS-tst-auditmod7b.c): Likewise.
78617         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78619 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78621         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78622         function to the callback.
78623         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78625 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78627         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78628         of errno.
78630 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78632         [BZ #11724]
78633         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78634         of constructors.
78635         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78636         of destructors.
78637         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78639         [BZ #11724]
78640         * elf/Makefile: Add rules to build and run new test.
78641         * elf/tst-initorder.c: New file.
78642         * elf/tst-initorder.exp: New file.
78643         * elf/tst-initordera1.c: New file.
78644         * elf/tst-initordera2.c: New file.
78645         * elf/tst-initordera3.c: New file.
78646         * elf/tst-initordera4.c: New file.
78647         * elf/tst-initorderb1.c: New file.
78648         * elf/tst-initorderb2.c: New file.
78649         * elf/tst-order-a1.c: New file.
78650         * elf/tst-order-a2.c: New file.
78651         * elf/tst-order-a3.c: New file.
78652         * elf/tst-order-a4.c: New file.
78653         * elf/tst-order-b1.c: New file.
78654         * elf/tst-order-b2.c: New file.
78655         * elf/tst-order-main.c: New file.
78656         New test case by George Gensure <werkt0@gmail.com>.
78658 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78661         decoding ACE if AI_CANONIDN.
78663 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78665         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78667 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78669         * version.h (RELEASE): Bump for 2.13 release.
78670         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78672         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78674         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78675         MADV_NOHUGEPAGE.
78676         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78677         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78678         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78679         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78680         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78681         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78683         * posix/getconf.c: Update copyright year.
78684         * catgets/gencat.c: Likewise.
78685         * csu/version.c: Likewise.
78686         * debug/catchsegv.sh: Likewise.
78687         * debug/xtrace.sh: Likewise.
78688         * elf/ldconfig.c: Likewise.
78689         * elf/ldd.bash.in: Likewise.
78690         * elf/sprof.c (print_version): Likewise.
78691         * iconv/iconv_prog.c: Likewise.
78692         * iconv/iconvconfig.c: Likewise.
78693         * locale/programs/locale.c: Likewise.
78694         * locale/programs/localedef.c: Likewise.
78695         * malloc/memusage.sh: Likewise.
78696         * malloc/mtrace.pl: Likewise.
78697         * nscd/nscd.c (print_version): Likewise.
78698         * nss/getent.c: Likewise.
78700         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78701         PF_CAIF, and PF_ALG.
78702         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78704 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78706         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78707         (modules-names): Use them.
78708         (ifunc-test-modules, ifunc-pie-tests): Define.
78709         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78710         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78711         (test-extras): Likewise.
78712         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78713         $(compile-command.c).
78714         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78715         (all-built-dso): Define.
78716         (check-textrel.out, check-execstack.out): Depend on it.
78718         * configure.in: Don't override --enable-multi-arch.
78720 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78722         [BZ #6812]
78723         * nscd/hstcache.c (tryagain): Define.
78724         (cache_addhst): Return tryagain not notfound for temporary errors.
78725         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78726         failed.
78728 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78730         [BZ #10563]
78731         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78732         to make the syscall.
78733         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78735         [BZ #12378]
78736         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78737         and fall back to matching as normal character if the string ends before
78738         the matching ']' is found.  This is what POSIX requires.
78739         * posix/testfnm.c: Adjust test result.
78740         * posix/globtest.sh: Adjust test result.  Add new test.
78741         * posix/tst-fnmatch.input: Likewise.
78742         * posix/tst-fnmatch2.c: Add new test.
78744 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78746         * elf/Makefile (check-execstack): Revert last change.  Depend on
78747         check-execstack.h.
78748         (check-execstack.h): New target.
78749         (generated): Add check-execstack.h.
78750         * elf/check-execstack.c: Include "check-execstack.h".
78751         (main): Revert last change.
78752         (handle_file): Return zero if GNU_STACK is absent and
78753         DEFAULT_STACK_PERMS doesn't include PF_X.
78755 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78757         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78758         in child fails because the descriptor is already closed.
78759         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78760         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78761         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78763         [BZ #12397]
78764         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78765         syscall.
78767         [BZ #10484]
78768         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78769         temporary buffer used to handle multi lookups locally.
78770         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78772 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78774         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78775         loader is ld.so.
78777 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78779         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78780         alignment for SSE2.
78782 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78784         [BZ #12394]
78785         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78786         characters.  When rounding increased number of integer digits recompute
78787         number of groups.
78788         * stdio-common/tst-grouping.c: New file.
78789         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78791 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78793         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78794         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78796         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78797         void.
78798         * bits/select.h: Likewise.
78800 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78802         * po/ja.po: Update from translation team.
78804 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78806         [BZ #11155]
78807         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78808         implementation just like for lxstat, fxstatat, et al.
78810 2010-12-27  Jim Meyering  <meyering@redhat.com>
78812         [BZ #12348]
78813         * posix/regexec.c (build_trtable): Return failure indication upon
78814         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78816 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78818         [BZ #12201]
78819         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78820         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78821         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78822         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78824         [BZ #12207]
78825         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78827         [BZ #12204]
78828         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78829         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78831 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78833         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78834         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78835         script has SORT_BY_INIT_PRIORITY.
78836         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78837         NO_CTORS_DTORS_SECTIONS is defined.
78838         * elf/soinit.c: Likewise.
78839         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78840         NO_CTORS_DTORS_SECTIONS is defined.
78841         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78842         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78843         * sysdeps/sh/init-first.c: Likewise.
78844         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78846 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78848         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78849         always use the slow path.
78851 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78853         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78854         similar rule which adds the sysdep directories to the header search in
78855         order to pick up the correct platform stackinfo.h.
78856         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78857         perform test if it is, otherwise return successfully without testing.
78858         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78859         DEFAULT_STACK_PERMS define in stackinfo.h.
78860         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78861         defined in stackinfo.h.
78862         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78863         DEFAULT_STACK_PERMS defined in stackinfo.h.
78864         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78865         * sysdeps/ia64/stackinfo.h: Likewise.
78866         * sysdeps/s390/stackinfo.h: Likewise.
78867         * sysdeps/sh/stackinfo.h: Likewise.
78868         * sysdeps/sparc/stackinfo.h: Likewise.
78869         * sysdeps/x86_64/stackinfo.h: Likewise.
78870         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78871         PF_X for powerpc64.  Retain PF_X for powerpc32.
78873 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78875         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78876         accurately.
78877         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78878         GETDENTS_64BIT_ALIGNED.
78880 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78882         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78884 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78886         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78887         _GNU_SOURCE.
78889         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78890         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78891         Remove __restrict.
78892         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78893         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78895 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78897         [BZ #11655]
78898         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78899         are initialized.
78901 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78903         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78905 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78907         * po/it.po: Update from translation team.
78909 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78911         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78912         unused codes.
78914 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78916         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78918 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78920         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78921         specially.
78922         (gaih_getanswer_slice): Likewise.
78924 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78926         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78928 2010-05-31  Petr Baudis  <pasky@suse.cz>
78930         [BZ #11149]
78931         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78932         silently even in the chroot mode.
78934 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78936         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78937         last patch a bit.  Pretty printing
78939 2010-05-31  Petr Baudis <pasky@suse.cz>
78941         [BZ #10085]
78942         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78943         initialization of skip_initgroups_dyn.
78945 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78947         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78948         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78950 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78952         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78954 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78956         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78957         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78958         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78959         ($(objpfx)tst-fnmatch-mem): New rule.
78960         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78961         * posix/tst-fnmatch.c (main): Call mtrace.
78963 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78965         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78966         Support Intel processor model 6 and model 0x2c.
78968 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78970         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78971           signed comparison.
78973 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78975         [BZ #12205]
78976         * string/test-strncasecmp.c (check_result): New function.
78977         (do_one_test): Use it.
78978         (check1): New function.
78979         (test_main): Use it.
78980         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78981         Support strcasecmp and strncasecmp.
78983 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78985         [BZ #12194]
78986         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78987         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78989 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78991         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78992         IFUNC support.
78993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78994         memset-x86-64.
78995         * sysdeps/x86_64/multiarch/bzero.S: New file.
78996         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78997         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78998         * sysdeps/x86_64/multiarch/memset.S: New file.
78999         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79000         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79001         Set bit_Prefer_SSE_for_memop for Intel processors.
79002         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79003         Define.
79004         (index_Prefer_SSE_for_memop): Define.
79005         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79007 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79009         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79010         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79012 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79014         [BZ #12191]
79015         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79016         (__x86_64_raw_data_cache_size_half): Likewise.
79017         (__x86_64_raw_shared_cache_size): Likewise.
79018         (__x86_64_raw_shared_cache_size_half): Likewise.
79020         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79021         (__x86_64_raw_data_cache_size_half): Likewise.
79022         (__x86_64_raw_shared_cache_size): Likewise.
79023         (__x86_64_raw_shared_cache_size_half): Likewise.
79024         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79025         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79026         and __x86_64_raw_shared_cache_size_half.  Round
79027         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79028         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79029         to multiple of 256 bytes.
79031 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79033         [BZ #12167]
79034         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79035         of inacessible symlinks.  Verify result of symlink before returning it.
79036         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79037         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79039 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79041         * math/math.h (isinf): Fix typo in comment.
79043 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79045         * po/da.po: Update from translation team.
79047 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79049         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79050         is added to the list.
79052 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79053             Ulrich Drepper  <drepper@gmail.com>
79055         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79056         the global list here.  Move code to...
79057         (_dl_add_to_namespace_list): ...here.  New function.
79058         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79059         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79060         * elf/dl-load.c (lose): Don't remove the element from the list.
79061         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79062         (_dl_map_object): Likewise.
79064 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79066         [BZ #12159]
79067         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79068         into all bytes of SSE register.
79069         Patch by Richard Li <richardpku@gmail.com>.
79071 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79073         [BZ #12140]
79074         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79075         perturbing.
79077 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79079         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79080         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79081         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79082         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79084         submachine.
79085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79087 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79089         * include/dlfcn.h (__RTLD_SECURE): Define.
79090         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79091         mode & __RTLD_SECURE instead.
79092         (open_path): Rename preloaded parameter to secure.
79093         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79094         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79095         * elf/dl-deps.c (openaux): Likewise.
79096         * elf/rtld.c (struct map_args): Remove is_preloaded.
79097         (map_doit): Don't use it.
79098         (dl_main): Likewise.
79099         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79100         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79102 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79104         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79105         (sysd-rules-targets): Remove duplicates.
79106         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79107         rtld-%.$o dependency.
79109 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79111         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79112         _dl_map_object do it.
79114 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79116         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79117         fast fma builtins, define the macros in the C99 standard.
79118         (FP_FAST_FMAF): Likewise.
79119         (FP_FAST_FMAL): Likewise.
79120         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79122         * bits/mathdef.h: Update copyright year.
79123         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79125 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79127         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79128         builtins, define the macros in the C99 standard.
79129         (FP_FAST_FMAF): Likewise.
79130         (FP_FAST_FMAL): Likewise.
79131         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79132         multiply/add.
79133         (FP_FAST_FMAF): Likewise.
79135 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79137         [BZ #3268]
79138         * math/libm-test.inc (fma_test): Some new testcases.
79139         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79140         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79141         y and infinite z.  Do multiplication by C already in long double.
79142         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79144         y and infinite z.  Do bitwise or of inexact bit into u.d.
79145         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79146         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79147         * sysdeps/i386/fpu/s_fma.S: Removed.
79148         * sysdeps/i386/fpu/s_fmal.S: Removed.
79150 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79152         [BZ #3268]
79153         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79154         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79155         computation is not scheduled after fetestexcept.  Fix value
79156         of minimum denormal long double.
79158 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79160         [BZ #3268]
79161         * math/libm-test.inc (fma_test): Add some more tests.
79162         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79163         correctly.
79165 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79167         * scripts/data/localplt-s390-linux-gnu.data: New file.
79168         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79170 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79172         [BZ #3268]
79173         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79174         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79175         instead of dbl-64.
79176         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79177         inlines.
79178         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79179         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79180         if one of x and y is very large and the other is subnormal.
79181         * sysdeps/s390/fpu/s_fmaf.c: New file.
79182         * sysdeps/s390/fpu/s_fma.c: New file.
79183         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79184         * sysdeps/powerpc/fpu/s_fma.S: New file.
79185         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79186         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79187         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79189 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79191         [BZ #3268]
79192         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79193         fma tests.
79194         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79195         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79196         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79197         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79198         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79199         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79200         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79202 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79204         [BZ #12078]
79205         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79206         * posix/bug-regex31.input: Add test case.
79208 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79210         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79211         * posix/bug-regex31.input: New file.
79213         [BZ #12078]
79214         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79215         (parse_sub_exp): Fix last change, use postorder.
79217         * posix/bug-regex31.c: New file.
79218         * posix/Makefile: Add rules to build and run bug-regex31.
79220         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79222         [BZ #12078]
79223         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79225         [BZ #12108]
79226         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79227         to have entries in sys_siglist.
79229         [BZ #12093]
79230         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79231         be NULL.
79233 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79235         [BZ #3268]
79236         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79237         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79238         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79239         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79240         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79241         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79242         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79243         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79244         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79245         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79246         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79247         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79248         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79249         * math/ftestexcept.c (fetestexcept): Likewise.
79250         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79251         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79252         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79253         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79254         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79255         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79256         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79258 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79260         [BZ #12107]
79261         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79262         newline.
79264 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79266         * string/bug-strstr1.c: New file.
79267         * string/Makefile: Add rules to build and run bug-strstr1.
79269 2010-10-05  Eric Blake  <eblake@redhat.com>
79271         [BZ #12092]
79272         * string/str-two-way.h (two_way_long_needle): Always clear memory
79273         when skipping input due to the shift table.
79275 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79277         [BZ #12005]
79278         * malloc/mcheck.c: Handle large requests.
79280         [BZ #12077]
79281         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79282         for strncmp and strncasecmp.
79283         * string/stratcliff.c: Add tests for strcmp and strncmp.
79284         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79286 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79288         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79289         __set_fpscr.
79291 2010-09-30  Andreas Jaeger  <aj@suse.de>
79293         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79294         (CGROUP_SUPER_MAGIC): Define.
79295         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79296         Handle btrfs and cgroup file systems.
79297         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79298         Likewise.
79300 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79302         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79303         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79305 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79307         [BZ #12067]
79308         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79309         trying to locate the ELF header.
79311 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79313         [BZ #11611]
79314         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79315         Mask out sign-bit copies when constructing f_fsid.
79317 2010-09-24  Petr Baudis <pasky@suse.cz>
79319         * debug/stack_chk_fail_local.c: Add missing licence exception.
79320         * debug/warning-nop.c: Likewise.
79322 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79324         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79325         implementing getdents64 using getdents syscall, set d_type if
79326         __ASSUME_GETDENTS32_D_TYPE.
79328 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79330         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79331         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79333 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79335         [BZ #12037]
79336         * posix/unistd.h: Undo change of feature selection for ftruncate from
79337         2010-01-11.
79339 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79341         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79342         detection.
79344 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79346         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79347         fanotify_mark.
79348         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79350 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79352         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79353         variables after CHECK_SP call.
79354         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79356 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79357             Ulrich Drepper  <drepper@redhat.com>
79359         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79360         re-relocationg ld.so.
79361         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79362         _dl_init_paths call.
79363         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79364         here anymore.
79366 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79368         * resolv/res_init.c (__res_vinit): Count the default server we added.
79370 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79371             Ulrich Drepper  <drepper@redhat.com>
79373         [BZ #11968]
79374         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79375         (____longjmp_chk): Use %ebx for saving value across system call.
79376         Add unwind info.
79378 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79380         * manual/Makefile: Don't mix pattern rules with normal rules.
79382 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79384         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79385         operation.
79386         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79387         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79388         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79389         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79390         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79391         Likewise.
79393 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79395         [BZ #11979]
79396         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79397         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79399 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79401         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79402         * sysdeps/x86_64/addmul_1.S: Likewise.
79403         * sysdeps/x86_64/lshift.S: Likewise.
79404         * sysdeps/x86_64/mul_1.S: Likewise.
79405         * sysdeps/x86_64/rshift.S: Likewise.
79406         * sysdeps/x86_64/sub_n.S: Likewise.
79407         * sysdeps/x86_64/submul_1.S: Likewise.
79409 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79411         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79412         Define __sched_param instead of SCHED_* and sched_param when
79413         <bits/sched.h> is included with __need_schedparam defined.
79414         * bits/sched.h [__need_schedparam]
79415         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79416         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79417         (__defined_schedparam): Define to 1.
79418         (__sched_param): New structure, identical to sched_param.
79419         (__need_schedparam): Undefine.
79421 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79423         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79424         (epoll_create1): Declare.
79426         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79428 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79430         [BZ #7066]
79431         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79432         shifting retval into place.
79434 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79436         * nis/rpcsvc/nis.h: Update copyright notice.
79437         * nis/rpcsvc/nis.x: Likewise.
79438         * nis/rpcsvc/nis_callback.h: Likewise.
79439         * nis/rpcsvc/nis_callback.x: Likewise.
79440         * nis/rpcsvc/nis_object.x: Likewise.
79441         * nis/rpcsvc/nis_tags.h: Likewise.
79442         * nis/rpcsvc/yp.h: Likewise.
79443         * nis/rpcsvc/yp.x: Likewise.
79444         * nis/rpcsvc/ypupd.h: Likewise.
79445         * nis/yp_xdr.c: Likewise.
79446         * nis/ypupdate_xdr.c: Likewise.
79448         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79449         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79450         (pmap_getport): Use __libc_rpc_getport.
79451         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79452         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79453         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79455 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79458         fanotify_mark.
79460 2010-08-27  Roland McGrath  <roland@redhat.com>
79462         * sysdeps/i386/i686/multiarch/Makefile
79463         (CFLAGS-varshift.c): New variable.
79465 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79467         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79468         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79470         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79472         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79474 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79476         * sysdeps/x86_64/strlen.S: Unroll the loop.
79477         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79478         strlen-sse2 strlen-sse2-bsf.
79479         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79480         __strlen_no_bsf if bit_Slow_BSF is set.
79481         (__strlen_sse42): Removed.
79482         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79483         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79485 2010-08-25  Roland McGrath  <roland@redhat.com>
79487         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79488         * sysdeps/x86_64/multiarch/varshift.c: New file.
79489         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79490         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79491         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79492         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79494 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79496         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79497         strlen-sse2 strlen-sse2-bsf.
79498         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79499         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79500         (__strlen_sse2): Removed.
79501         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79502         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79504         bit_Slow_BSF for Atom.
79505         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79506         (index_Slow_BSF): Define.
79507         (HAS_SLOW_BSF): Define.
79509 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79511         [BZ #10851]
79512         * resolv/res_init.c (__res_vinit): When no server address at all
79513         is given default to loopback.
79515 2010-08-24  Roland McGrath  <roland@redhat.com>
79517         * configure.in: Remove config-name.h generation.
79518         * configure: Regenerated.
79519         * config-name.in: File removed.
79520         * scripts/config-uname.sh: New file.
79521         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79522         ($(objdir)config-name.h): New target.
79524         * sunrpc/rpc_parse.h: Avoid nested comment.
79526 2010-08-24  Richard Henderson  <rth@redhat.com>
79527             Ulrich Drepper  <drepper@redhat.com>
79528             H.J. Lu  <hongjiu.lu@intel.com>
79530         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79532         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79533         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79534         _mm_alignr_epi8 with _mm_loadu_si128.
79535         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79536         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79537         (__m128i_shift_right): Removed.
79538         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79539         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79540         * sysdeps/x86_64/multiarch/varshift.h: New file.
79541         * sysdeps/x86_64/multiarch/varshift.S: New file.
79543 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79545         * configure.in: Move assembler checks to before sysdep dir checking.
79547 2010-08-20  Petr Baudis  <pasky@suse.cz>
79549         * LICENSES: Sync the sunrpc license.
79551 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79553         * sunrpc/auth_des.c: Update copyright notice once again.
79554         * sunrpc/auth_none.c: Likewise.
79555         * sunrpc/auth_unix.c: Likewise.
79556         * sunrpc/authdes_prot.c: Likewise.
79557         * sunrpc/authuxprot.c: Likewise.
79558         * sunrpc/bindrsvprt.c: Likewise.
79559         * sunrpc/clnt_gen.c: Likewise.
79560         * sunrpc/clnt_perr.c: Likewise.
79561         * sunrpc/clnt_raw.c: Likewise.
79562         * sunrpc/clnt_simp.c: Likewise.
79563         * sunrpc/clnt_tcp.c: Likewise.
79564         * sunrpc/clnt_udp.c: Likewise.
79565         * sunrpc/clnt_unix.c: Likewise.
79566         * sunrpc/des_crypt.c: Likewise.
79567         * sunrpc/des_soft.c: Likewise.
79568         * sunrpc/get_myaddr.c: Likewise.
79569         * sunrpc/getrpcport.c: Likewise.
79570         * sunrpc/key_call.c: Likewise.
79571         * sunrpc/key_prot.c: Likewise.
79572         * sunrpc/openchild.c: Likewise.
79573         * sunrpc/pm_getmaps.c: Likewise.
79574         * sunrpc/pm_getport.c: Likewise.
79575         * sunrpc/pmap_clnt.c: Likewise.
79576         * sunrpc/pmap_prot.c: Likewise.
79577         * sunrpc/pmap_prot2.c: Likewise.
79578         * sunrpc/pmap_rmt.c: Likewise.
79579         * sunrpc/rpc/auth.h: Likewise.
79580         * sunrpc/rpc/auth_unix.h: Likewise.
79581         * sunrpc/rpc/clnt.h: Likewise.
79582         * sunrpc/rpc/des_crypt.h: Likewise.
79583         * sunrpc/rpc/key_prot.h: Likewise.
79584         * sunrpc/rpc/netdb.h: Likewise.
79585         * sunrpc/rpc/pmap_clnt.h: Likewise.
79586         * sunrpc/rpc/pmap_prot.h: Likewise.
79587         * sunrpc/rpc/pmap_rmt.h: Likewise.
79588         * sunrpc/rpc/rpc.h: Likewise.
79589         * sunrpc/rpc/rpc_des.h: Likewise.
79590         * sunrpc/rpc/rpc_msg.h: Likewise.
79591         * sunrpc/rpc/svc.h: Likewise.
79592         * sunrpc/rpc/svc_auth.h: Likewise.
79593         * sunrpc/rpc/types.h: Likewise.
79594         * sunrpc/rpc/xdr.h: Likewise.
79595         * sunrpc/rpc_clntout.c: Likewise.
79596         * sunrpc/rpc_cmsg.c: Likewise.
79597         * sunrpc/rpc_common.c: Likewise.
79598         * sunrpc/rpc_cout.c: Likewise.
79599         * sunrpc/rpc_dtable.c: Likewise.
79600         * sunrpc/rpc_hout.c: Likewise.
79601         * sunrpc/rpc_main.c: Likewise.
79602         * sunrpc/rpc_parse.c: Likewise.
79603         * sunrpc/rpc_parse.h: Likewise.
79604         * sunrpc/rpc_prot.c: Likewise.
79605         * sunrpc/rpc_sample.c: Likewise.
79606         * sunrpc/rpc_scan.c: Likewise.
79607         * sunrpc/rpc_scan.h: Likewise.
79608         * sunrpc/rpc_svcout.c: Likewise.
79609         * sunrpc/rpc_tblout.c: Likewise.
79610         * sunrpc/rpc_util.c: Likewise.
79611         * sunrpc/rpc_util.h: Likewise.
79612         * sunrpc/rpcinfo.c: Likewise.
79613         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79614         * sunrpc/rpcsvc/key_prot.x: Likewise.
79615         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79616         * sunrpc/rpcsvc/mount.x: Likewise.
79617         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79618         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79619         * sunrpc/rpcsvc/rex.x: Likewise.
79620         * sunrpc/rpcsvc/rstat.x: Likewise.
79621         * sunrpc/rpcsvc/rusers.x: Likewise.
79622         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79623         * sunrpc/rpcsvc/spray.x: Likewise.
79624         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79625         * sunrpc/rtime.c: Likewise.
79626         * sunrpc/svc.c: Likewise.
79627         * sunrpc/svc_auth.c: Likewise.
79628         * sunrpc/svc_authux.c: Likewise.
79629         * sunrpc/svc_raw.c: Likewise.
79630         * sunrpc/svc_run.c: Likewise.
79631         * sunrpc/svc_simple.c: Likewise.
79632         * sunrpc/svc_tcp.c: Likewise.
79633         * sunrpc/svc_udp.c: Likewise.
79634         * sunrpc/svc_unix.c: Likewise.
79635         * sunrpc/svcauth_des.c: Likewise.
79636         * sunrpc/xcrypt.c: Likewise.
79637         * sunrpc/xdr.c: Likewise.
79638         * sunrpc/xdr_array.c: Likewise.
79639         * sunrpc/xdr_float.c: Likewise.
79640         * sunrpc/xdr_mem.c: Likewise.
79641         * sunrpc/xdr_rec.c: Likewise.
79642         * sunrpc/xdr_ref.c: Likewise.
79643         * sunrpc/xdr_sizeof.c: Likewise.
79644         * sunrpc/xdr_stdio.c: Likewise.
79646         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79647         handling.
79649 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79651         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79653 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79655         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79656         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79657         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79658         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79659         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79660         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79661         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79662         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79663         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79664         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79665         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79666         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79667         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79668         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79670 2010-07-26  Anton Blanchard  <anton@samba.org>
79672         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79673         * malloc/arena.c (heap_trim): Likewise.
79675 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79677         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79678         here.  Not...
79679         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79680         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79682 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79684         * sysdeps/i386/elf/Makefile: New file.
79686 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79688         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79689         from fanotify_init.
79690         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79691         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79693 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79695         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79696         of strncasecmp_l.
79697         * sysdeps/multiarch/strcmp.S: Likewise.
79699 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79701         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79702         strncase_l-nonascii.
79703         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79704         Add strncase_l-ssse3.
79705         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79706         * sysdeps/x86_64/strcmp.S: Likewise.
79707         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79708         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79709         * sysdeps/x86_64/strncase.S: New file.
79710         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79711         * sysdeps/x86_64/strncase_l.S: New file.
79712         * string/Makefile (strop-tests): Add strncasecmp.
79713         * string/test-strncasecmp.c: New file.
79715         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79716         warning.
79718         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79719         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79721 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79723         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79725 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79727         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79728         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79729         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79731 2010-05-01  Alan Modra  <amodra@gmail.com>
79733         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79734         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79735         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79736         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79737         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79738         tidying.  Don't tail-call __sigjmp_save for static lib.
79739         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79740         save location.
79741         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79742         (CALL_MCOUNT): Add eh info, and nop after bl.
79743         (TAIL_CALL_SYSCALL_ERROR): New macro.
79744         (PSEUDO_RET): Use it.
79745         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79746         Correct save location of integer regs and cr.
79747         (_dl_profile_resolve): Correct cr save location.  Delete nops
79748         after bl when SHARED.  Reduce cfi size a little by better
79749         placement of cfi directives.
79750         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79751         make a stack frame.  Instead use parm save area as a temp.
79752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79753         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79755         Don't make a stack frame for parent, use parm save area.
79756         Increase child stack frame to 112 bytes.  Don't save unused reg,
79757         and adjust reg usage.  Set up cfi on error recovery and
79758         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79760         (__makecontext): Add dummy nop after jump to exit.
79761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79762         Use correct parm save area and cr save, reduce stack frame.
79763         Correct cfi for possible PSEUDO_RET frame setup.
79764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79765         Branch to local label emitted by PSEUDO_RET rather than
79766         __syscall_error.
79768 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79770         [BZ #11904]
79771         * locale/programs/locale.c (print_assignment): New function.
79772         (show_locale_vars): Use it.
79774 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79776         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79777         field.
79778         (struct statfs64): Likewise.
79779         (_STATFS_F_FLAGS): Define.
79780         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79781         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79782         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79783         (ST_VALID): Define locally.
79784         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79785         __statvfs_getflags, use the provided value.
79786         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79787         __ASSUME_STATFS_F_FLAGS.
79789         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79791         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79792         Add sys/fanotify.h.
79793         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79794         fanotify_mask for GLIBC_2.13.
79795         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79796         fanotify_init and fanotify_mark.
79797         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79798         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79800         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79801         Add prlimit.
79802         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79803         prlimit64 for GLIBC_2.13.
79804         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79805         prlimit64.
79806         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79807         syscall.
79808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79809         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79810         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79811         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79812         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79813         add prlimit alias.
79814         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79816         [BZ #11903]
79817         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79818         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79820         * nss/Makefile: Add rules to build and run tst-nss-test1.
79821         * shlib-versions: Add entry for libnss_test1.
79822         * nss/nss_test1.c: New file.
79823         * nss/tst-nss-test1.c: New file.
79825         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79826         (__nss_configure_lookup): Set appropriate entry in
79827         __nss_configure_lookup to true.
79828         * nss/nsswitch.h: Define enum with indeces of databases in
79829         databases and __nss_database_custom arrays.  Declare
79830         __nss_database_custom.
79831         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79832         to avoid using nscd when custom rules are installed.
79833         * nss/getXXbyYY_r.c: Likewise.
79834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79836         * nss/nss_files/files-parse.c: Whitespace fixes.
79838 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79840         [BZ #11883]
79841         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79842         * posix/fnmatch_loop.c: Likewise.
79844 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79846         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79847         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79848         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79849         * Versions.def [GLIBC_2.13]: Add.
79851 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79853         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79854         Also fail if tpwd after pwuid call is NULL.
79856 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79858         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79859         when converting to ms.
79861 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79863         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79864         EOPNOTSUPP errors with ENOTTY.
79865         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79866         EOPNOTSUPP errors with ENOTTY.
79868 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79870         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79871         Add strcasecmp_l-ssse3.
79872         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79873         strcasecmp.
79874         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79875         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79876         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79878 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79880         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79882         * string/Makefile (strop-tests): Add strcasecmp.
79883         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79884         strcasecmp_l-nonascii.
79885         (gen-as-const-headers): Add locale-defines.sym.
79886         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79887         * sysdeps/x86_64/strcasecmp.S: New file.
79888         * sysdeps/x86_64/strcasecmp_l.S: New file.
79889         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79890         * sysdeps/x86_64/locale-defines.sym: New file.
79891         * string/test-strcasecmp.c: New file.
79893         * string/test-strcasestr.c: Test both ends of the range of characters.
79894         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79896 2010-07-29  Roland McGrath  <roland@redhat.com>
79898         [BZ #11856]
79899         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79901 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79903         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79904         for ld.so.
79906 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79908         * manual/memory.texi (Malloc Tunable Parameters): Document
79909         M_PERTURB.
79911 2010-07-26  Roland McGrath  <roland@redhat.com>
79913         [BZ #11840]
79914         * configure.in (-fgnu89-inline check): Set and substitute
79915         gnu89_inline, not libc_cv_gnu89_inline.
79916         * configure: Regenerated.
79917         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79919 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79921         * string/test-strnlen.c: New file.
79922         * string/Makefile (strop-tests): Add strnlen.
79923         * string/tester.c (test_strnlen): Add a few more test cases.
79924         * string/tst-strlen.c: Better error reporting.
79926         * sysdeps/x86_64/strnlen.S: New file.
79928 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79930         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79931         lower-latency instructions.
79933 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79935         * string/test-strcasestr.c: New file.
79936         * string/test-strstr.c: New file.
79937         * string/Makefile (strop-tests): Add strstr and strcasestr.
79938         * string/str-two-way.h: Don't undefine MAX.
79939         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79941 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79943         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79944         strcasestr-nonascii.
79945         (CFLAGS-strcasestr-nonascii.c): Define.
79946         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79947         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79948         Remove unused attribute.
79950 2010-07-20  Roland McGrath  <roland@redhat.com>
79952         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79953         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79954         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79955         like LD_HWCAP_MASK can disable hwcaps.
79957 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79959         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79961 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79963         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79964         call in strcasestr.
79965         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79966         __strcasestr_sse42_nonascii.
79967         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79968         strcasestr-nonascii.c.
79969         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79971 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79973         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79974         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79975         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79976         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79978 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79980         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79981         fcntl.
79983 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79985         [BZ #11577]
79986         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79987         dl_signal_cerror.
79989 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79991         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79992         _PC_PIPE_BUF using F_GETPIPE_SZ.
79994 2010-07-05  Roland McGrath  <roland@redhat.com>
79996         * manual/arith.texi (Rounding Functions): Fix rint description
79997         implicit in round description.
79999 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80001         * elf/Makefile: Fix linking for a few tests to make recent linker
80002         happy.
80004 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80006         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80007         $(common-objpfx)libc_nonshared.a.
80009 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80011         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80012         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80013         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80014         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80015         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80016         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80017         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80018         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80033         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80034         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80035         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80036         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80037         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80038         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80039         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80040         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80041         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80042         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80043         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80044         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80060 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80062         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80063         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80064         * string/memmove.c (memmove): Renamed to ...
80065         (MEMMOVE): ...this.  Default to memmove.
80066         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80067         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80068         (END_CHK): Define.
80069         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80070         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80071         mempcpy-ssse3-back memmove-ssse3-back.
80072         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80073         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80074         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80075         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80076         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80077         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80078         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80079         * sysdeps/x86_64/multiarch/memmove.c: New file.
80080         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80081         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80082         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80083         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80084         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80085         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80086         Define.
80087         (index_Fast_Copy_Backward): Define.
80088         (HAS_ARCH_FEATURE): Define.
80089         (HAS_FAST_REP_STRING): Define.
80090         (HAS_FAST_COPY_BACKWARD): Define.
80092 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80094         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80095         Restore proper fallback handling.
80097 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80099         [BZ #11701]
80100         * posix/group_member.c (__group_member): Correct checking loop.
80102         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80103         OOM in getpwuid_r correctly.  Return error number when the caller
80104         should return, otherwise -1.
80105         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80106         call returning > 0 value.
80107         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80109 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80111         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80112         libc_nonshared.a from targets in modules-names.
80114 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80116         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80117         requires it.
80119 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80121         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80122         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80123         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80124         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80126 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80128         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80130 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80132         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80133         and F_GETPIPE_SZ.
80134         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80135         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80136         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80137         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80138         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80139         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80141 2010-06-14  Roland McGrath  <roland@redhat.com>
80143         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80145 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80147         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80148         __REDIRECT followed by __THROW.
80149         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80150         * posix/getopt.h (getopt): Likewise.
80152 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80154         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80155         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80156         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80157         in AT_FLAGS.
80158         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80159         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80161 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80163         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80165 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80167         [BZ #11640]
80168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80169         Properly check family and model.
80171 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80173         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80175 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80177         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80179 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80181         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80182         symbol reference.
80184 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80186         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80187         symbol reference.
80189 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80191         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80192         and internal_recvmmsg.
80193         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80194         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80195         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80196         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80198         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80199         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80200         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80202 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80204         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80206 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80208         POWER7 optimizations.
80209         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80210         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80212 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80214         * version.h: Update for 2.13 development version.
80216 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80218         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80219         exceptions.  Return 0.
80221 2010-05-07  Roland McGrath  <roland@redhat.com>
80223         * elf/ldconfig.c (main): Add a const.
80225 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80227         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80228         (args_options): Add no-idn option.
80229         (ahosts_keys_int): Add idn_flags to ai_flags.
80230         (parse_option): Handle 'i' option to clear idn_flags.
80232         * malloc/malloc.c (_int_free): Possible race in the most recently
80233         added check.  Only act on the data if no current modification
80234         happened.
80236 See ChangeLog.17 for earlier changes.