powerpc: Installed-header hygiene
[glibc.git] / ChangeLog
blob9ea007a669635a52ed076a71f1aabadf335270ab
1 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
4         inline by __inline__.
5         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
6         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
7         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
8         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
9         sigset_t from signal.h.
10         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
11         which is already required.
13 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
15         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
19         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
20         (struct tcp_repair_window): New type.
22 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24         * libio/tst-memstream3.c: Include string.h.
26 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28         [BZ #18241]
29         [BZ #20181]
30         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
31         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
32         write position is at the end the buffer.
33         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
34         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
35         (_IO_str_seekoff): Set correct offset from negative displacement and
36         set EINVAL for invalid ones.
37         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
38         buffer length.
39         (_IO_wstr_switch_to_get_mode): New function.
40         (_IO_wstr_seekoff): Set correct offset from negative displacement and
41         set EINVAL for invalid ones.
42         * libio/tst-memstream3.c: New file.
43         * libio/tst-wmemstream3.c: Likewise.
44         * manual/examples/memstrm.c: Remove warning when priting size_t.
46 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
48         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
49         macro to use __builtin_fma.
50         * sysdeps/x86_64/fpu/dla.h: Remove file.
52         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
53         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
54         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
56 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
58         [BZ #20292]
59         * elf/Makefile (routines): Add dl-addr-obj.
60         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
61         tst-_dl_addr_inside_object.
62         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
63         [ifeq (yesyes,$(have-fpie)$(build-shared))]
64         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
65         [ifeq (yesyes,$(have-fpie)$(build-shared))]
66         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
67         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
68         * elf/dl-open.c: Likewise.
69         * elf/dl-addr-obj.c: New file.
70         * elf/tst-_dl_addr_inside_object.c: New file.
72 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
74         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
75         <bits/iscanonical.h>.
76         * bits/iscanonical.h: New file.
77         * math/s_iscanonicall.c: Likewise.
78         * math/Versions (__iscanonicall): New libm symbol at version
79         GLIBC_2.25.
80         * math/libm-test.inc (iscanonical_test_data): New array.
81         (iscanonical_test): New function.
82         (main): Call iscanonical_test.
83         * math/Makefile (headers): Add bits/iscanonical.h.
84         (type-ldouble-routines): Add s_iscanonicall.
85         * manual/arith.texi (Floating Point Classes): Document
86         iscanonical.
87         * manual/libm-err-tab.pl: Update comment on interfaces without
88         ulps tabulated.
89         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
90         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
91         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
92         Likewise.
93         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
94         test-iscanonical-ldbl-128ibm.
95         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
96         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
97         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
98         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
99         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
100         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
101         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
103         Likewise.
104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
105         Likewise.
106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
107         Likewise.
108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
109         Likewise.
110         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
111         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
113 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
115         * string/bits/string3.h: Remove C++ style comments.
117 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
119         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
120         instead of ternary condition.
121         (do_sincos_2): Likewise.
122         (__sin): Likewise.
123         (__cos): Likewise.
124         (slow): Likewise.
125         (sloww): Likewise.
126         (sloww1): Likewise.
127         (bsloww): Likewise.
128         (bsloww1): Likewise.
130         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
131         instead of ternary condition.
132         (do_sin_slow): Likewise.
133         (do_sincos_1): Likewise.
134         (do_sincos_2): Likewise.
135         (__cos): Likewise.
136         (sloww): Likewise.
137         (sloww1): Likewise.
138         (sloww2): Likewise.
139         (bsloww): Likewise.
140         (bsloww1): Likewise.
141         (bsloww2): Likewise.
143         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
144         check from here...
145         (slow2): ... and here...
146         (__sin): ... to here.
148 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
150         * math/math.h
151         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
152         Cast argument to its own type.
153         * math/test-iszero-excess-precision.c: New file.
154         * math/Makefile (tests): Add test-iszero-excess-precision.
155         (CFLAGS-test-iszero-excess-precision.c): New variable.
157 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
159         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
160         field, add err field.
161         (__spawni_child): Report error through err member instead of pipe.
162         (__spawnix): Likewise.
164 2016-09-28  Zack Weinberg  <zackw@panix.com>
166         * scripts/check-installed-headers.sh: Generalize treatment of
167         sys/elf.h to all target architectures.
169         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
170         deleted typedef ucontext_t.
172 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
174         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
175         (__INTERNAL_SYSCALL1): Likewise.
176         (__INTERNAL_SYSCALL2): Likewise.
177         (__INTERNAL_SYSCALL3): Likewise.
178         (__INTERNAL_SYSCALL4): Likewise.
179         (__INTERNAL_SYSCALL5): Likewise.
180         (__INTERNAL_SYSCALL6): Likewise.
181         (__INTERNAL_SYSCALL7): Likewise.
182         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
183         (__INTERNAL_SYSCALL_NARGS): Likewise.
184         (__INTERNAL_SYSCALL_DISP): Likewise.
185         (INTERNAL_SYSCALL_CALL): Likewise.
186         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
187         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
188         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
189         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
190         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
191         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
192         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
193         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
194         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
195         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
196         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
197         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
198         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
200 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
202         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
203         macro.
204         * math/libm-test.inc (iszero_test_data): New array.
205         (iszero_test): New function.
206         (main): Call iszero_test.
207         * manual/arith.texi (Floating Point Classes): Document iszero.
208         * manual/libm-err-tab.pl: Update comment on interfaces without
209         ulps tabulated.
211 2016-09-23  Zack Weinberg  <zackw@panix.com>
213         * scripts/check-installed-headers.sh: New script.
214         * Rules: In each directory that defines header files to be installed,
215         run check-installed-headers.sh on them as a special test.
216         * Makefile: Likewise for the headers installed at top level.
218         * include/aliases.h, include/alloca.h, include/argz.h
219         * include/arpa/nameser.h, include/arpa/nameser_compat.h
220         * include/elf.h, include/envz.h, include/err.h
221         * include/execinfo.h, include/fpu_control.h, include/getopt.h
222         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
223         * include/link.h, include/malloc.h, include/mcheck.h
224         * include/mntent.h, include/netinet/ether.h
225         * include/nss.h, include/obstack.h, include/printf.h
226         * include/pty.h, include/resolv.h, include/rpc/auth.h
227         * include/rpc/auth_des.h, include/rpc/auth_unix.h
228         * include/rpc/clnt.h, include/rpc/des_crypt.h
229         * include/rpc/key_prot.h, include/rpc/netdb.h
230         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
231         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
232         * include/rpc/rpc_msg.h, include/rpc/svc.h
233         * include/rpc/svc_auth.h, include/rpc/xdr.h
234         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
235         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
236         * include/rpcsvc/ypupd.h, include/shadow.h
237         * include/stdio_ext.h, include/sys/epoll.h
238         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
239         * include/sys/prctl.h, include/sys/profil.h
240         * include/sys/statfs.h, include/sys/sysctl.h
241         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
242         * sysdeps/arm/nacl/include/bits/setjmp.h
243         * sysdeps/mips/include/sys/asm.h
244         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
245         * sysdeps/unix/sysv/linux/include/sys/timex.h
246         * sysdeps/x86/fpu/include/bits/fenv.h:
247         Add #ifndef _ISOMAC guard around internal declarations.
248         Add multiple-inclusion guard if not already present.
250 2016-09-23  Zack Weinberg  <zackw@panix.com>
252         * sysdeps/generic/sys/ucontext.h
253         * sysdeps/arm/sys/ucontext.h
254         * sysdeps/i386/sys/ucontext.h
255         * sysdeps/m68k/sys/ucontext.h
256         * sysdeps/mips/sys/ucontext.h
257         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
258         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
259         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
260         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
261         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
262         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
263         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
264         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
265         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
266         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
267         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
268         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
269         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
270         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
271         Include both bits/sigcontext.h and bits/sigstack.h.
272         Fix grammar error in comment, if present.
274         * bits/sigstack.h
275         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
276         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
277         * sysdeps/unix/sysv/linux/bits/sigstack.h
278         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
279         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
280         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
281         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
282         * bits/sigcontext.h
283         * sysdeps/mach/hurd/i386/bits/sigcontext.h
284         * sysdeps/unix/sysv/linux/bits/sigcontext.h
285         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
286         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
287         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
288         as well as signal.h, if this was not already allowed.  Request
289         definition of size_t if necessary.  Minimize semantically-null
290         differences across files.
292 2016-09-23  Zack Weinberg  <zackw@panix.com>
294         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
295         Remove all logic conditional on __need macros.  Move all the
296         conditionally defined types to their own headers...
297         * time/bits/types/clock_t.h: Define clock_t here.
298         * time/bits/types/clockid_t.h: Define clockid_t here.
299         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
300         * time/bits/types/struct_timespec.h: Define struct timespec here.
301         * time/bits/types/struct_timeval.h: Define struct timeval here.
302         * time/bits/types/struct_tm.h: Define struct tm here.
303         * time/bits/types/time_t.h: Define time_t here.
304         * time/bits/types/timer_t.h: Define timer_t here.
305         * time/Makefile: Install the new headers.
307         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
308         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
309         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
310         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
311         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
312         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
313         * sysdeps/unix/sysv/linux/bits/resource.h
314         * sysdeps/unix/sysv/linux/bits/timex.h
315         * sysdeps/unix/sysv/linux/mips/bits/resource.h
316         * sysdeps/unix/sysv/linux/net/ppp_defs.h
317         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
318         * sysdeps/unix/sysv/linux/sys/acct.h
319         * sysdeps/unix/sysv/linux/sys/timerfd.h
320         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
321         * time/sys/time.h, time/sys/timeb.h
322         Use the new bits/types headers.
324         * include/time.h: Remove __need logic.
325         * include/bits/time.h
326         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
327         * include/bits/types/time_t.h, include/bits/types/timer_t.h
328         * include/bits/types/struct_itimerspec.h
329         * include/bits/types/struct_timespec.h
330         * include/bits/types/struct_timeval.h
331         * include/bits/types/struct_tm.h:
332         New wrapper headers.
334 2016-09-23  Zack Weinberg  <zackw@panix.com>
336         * sysdeps/mach/hurd/net/if_ppp.h
337         * sysdeps/unix/sysv/linux/net/if_ppp.h:
338         Only define struct ifpppstatsreq and struct ifpppcstatsreq
339         if __USE_MISC is defined, to ensure struct ifreq is declared.
341         * inet/netinet/ether.h: Condition all function prototypes
342         on __USE_MISC, to ensure struct ether_addr is declared.
344         * socket/bits/types/struct_osockaddr.h: New header.
345         * include/bits/types/struct_osockaddr.h: New wrapper.
346         * socket/Makefile: Install the new header.
347         * socket/sys/socket.h, inet/protocols/talkd.h:
348         Refer to bits/types/struct_osockaddr.h for the definition of
349         struct osockaddr.
351 2016-09-23  Zack Weinberg  <zackw@panix.com>
353         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
354         * inet/protocols/routed.h, inet/protocols/talkd.h
355         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
356         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
357         * sysdeps/generic/netinet/if_ether.h
358         * sysdeps/generic/netinet/in_systm.h
359         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
360         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
361         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
362         * sysdeps/mach/hurd/net/if_arp.h
363         * sysdeps/mach/hurd/net/if_ppp.h
364         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
365         * sysdeps/unix/sysv/linux/bits/in.h
366         * sysdeps/unix/sysv/linux/net/ethernet.h
367         * sysdeps/unix/sysv/linux/net/if_arp.h
368         * sysdeps/unix/sysv/linux/net/if_ppp.h
369         * sysdeps/unix/sysv/linux/net/if_shaper.h
370         * sysdeps/unix/sysv/linux/net/route.h
371         * sysdeps/unix/sysv/linux/netinet/if_ether.h
372         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
373         * sysdeps/unix/sysv/linux/netinet/if_tr.h
374         * sysdeps/unix/sysv/linux/netipx/ipx.h
375         * sysdeps/unix/sysv/linux/sys/acct.h
376         * include/arpa/nameser.h, include/resolv.h:
377         Change all uses of u_char to unsigned char,
378         u_short and ushort to unsigned short, u_int and uint to unsigned int,
379         u_long and ulong to unsigned long, u_int8_t to uint8_t,
380         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
381         and u_int64_t and u_quad_t to uint64_t.
383         * mach/sys/reboot.h: Remove two casts of integer literals
384         to the types they already have.
386         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
387         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
388         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
389         from referring to 'unsigned char' to 'uint8_t' for consistency with
390         the macro definition below.
392         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
393         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
394         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
395         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
396         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
397         * sysdeps/unix/sysv/linux/sys/acct.h
398         * include/arpa/nameser.h, include/resolv.h:
399         Fix indentation disrupted by mechanical edits.
401         * inet/protocols/talkd.h, resolv/arpa/nameser.h
402         * sysdeps/generic/netinet/in_systm.h
403         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
404         * sysdeps/gnu/netinet/udp.h
405         * sysdeps/unix/sysv/linux/net/ethernet.h
406         * sysdeps/unix/sysv/linux/net/if_arp.h
407         * sysdeps/unix/sysv/linux/net/if_ppp.h
408         * sysdeps/unix/sysv/linux/net/if_shaper.h
409         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
410         * sysdeps/unix/sysv/linux/netinet/if_tr.h
411         * sysdeps/unix/sysv/linux/netipx/ipx.h
412         * sysdeps/unix/sysv/linux/sys/acct.h
413         Include stdint.h for uintNN_t definitions.
414         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
416 2016-09-23  Zack Weinberg  <zackw@panix.com>
418         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
419         * sysdeps/unix/sysv/linux/netrose/rose.h:
420         Include sys/socket.h and netax25/ax25.h.
422         * inet/netinet/icmp6.h, inet/netinet/ip6.h
423         * resolv/arpa/nameser_compat.h:
424         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
426         * sysdeps/unix/sysv/linux/sys/quota.h:
427         Use __caddr_t instead of caddr_t.
428         * sysdeps/unix/sysv/linux/sys/timerfd.h:
429         Use __clockid_t instead of clockid_t.
431         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
433         * argp/argp.h: Check whether _LIBC is defined before expanding it.
434         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
435         expanding it.
437         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
438         Define __glibc_c99_flexarr_available to 1 when the compiler
439         supports C99-compatible flexible array members, 0 otherwise.
440         * sysdeps/unix/sysv/linux/bits/socket.h
441         * sysdeps/mach/hurd/bits/socket.h
442         * bits/socket.h: Use __glibc_c99_flexarr_available in
443         definitions of struct cmsghdr and CMSG_DATA.
445 2016-09-23  Florian Weimer  <fweimer@redhat.com>
447         * manual/nss.texi (NSS Modules Interface): Adjust function return
448         type to enum nss_status.  Document errnop argument.  Clarify
449         h_errnop semantics.  Fix cross-reference formatting.
450         (NSS Module Function Internals): Mention that *errnop needs to be
451         set on failure, but not to zero.
453 2016-09-23  Florian Weimer  <fweimer@redhat.com>
455         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
456         (get_random_name): New functions.
457         (check_wrapper_flags_mode): Use linkat to give the new file a name
458         determined by get_random_name.
459         (do_test): Add calls to test open64 and openat64.
461 2016-09-23  Florian Weimer  <fweimer@redhat.com>
463         * test-skeleton.c: Remove #include <stdarg.h>.
465 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
467         [BZ #19826]
468         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
469         initialization of static TLS entries.
470         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
471         * nptl/allocatestack.c (init_one_static_tls): Likewise.
473 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
475         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
476         _hurd_malloc_fork_prepare.
477         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
478         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
479         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
480         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
481         (_hurd_fork_child_hook): Drop malloc_fork_child.
482         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
483         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
484         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
485         after locking locks (notably hurd_dtable_lock). Call
486         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
487         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
488         __malloc_fork_unlock_child.
489         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
491 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
493         * soft-fp/extendhftf2.c: New.
494         * soft-fp/fixhfti.c: Likewise.
495         * soft-fp/fixunshfti.c: Likewise.
496         * soft-fp/floattihf.c: Likewise.
497         * soft-fp/floatuntihf.c: Likewise.
498         * soft-fp/half.h: Likewise.
499         * soft-fp/trunctfhf2.c: Likewise.
501 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
503         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
504         macro.
505         * math/libm-test.inc (issubnormal_test_data): New array.
506         (issubnormal_test): New function.
507         * manual/arith.texi (Floating Point Classes): Document
508         issubnormal.
509         * manual/libm-err-tab.pl: Update comment on interfaces without
510         ulps tabulated.
512         * sysdeps/generic/stdint.h: Define
513         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
514         <bits/libc-header-start.h> instead of including <features.h>.
515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
517         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
520         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
521         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
523         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
527         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
529         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
530         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
531         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
532         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
533         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
534         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
535         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
536         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
537         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
538         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
539         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
540         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
541         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
542         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
543         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
544         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
545         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
546         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
547         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
548         * manual/arith.texi (Integers): Document these macros for types
549         specified by width properties.
550         * manual/lang.texi (Width of Type): Document these macros for
551         other standard typedefs.
552         * stdlib/tst-width-stdint.c: New file.
553         * stdlib/Makefile (tests): Add tst-width-stdint.
555 2016-09-21  Florian Weimer  <fweimer@redhat.com>
557         [BZ #20016]
558         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
559         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
560         Move ...
561         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
562         ... here, as compatibility symbols in a new file.
563         * resolv/Makefile (libresolv-routines): Add compat-hooks.
564         * resolv/res_init.c (__res_vinit): Adjust member names.
565         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
566         * resolv/resolv.h (res_sendhookact, res_send_qhook)
567         (res_send_rhook): Remove.
568         (struct __res_state): Rename qhook, rhook members.
570 2016-09-21  Florian Weimer  <fweimer@redhat.com>
572         malloc: Use __libc_lock wrappers.
573         * malloc/arena.c (list_lock, free_list_lock): Define using
574         __libc_lock_define_initialized.
575         (arena_lock): Adjust formatting.
576         * malloc/malloc.c (struct malloc_state): Define mutex using
577         __libc_lock_define.
578         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
579         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
580         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
581         (mutex_unlock, mutex_trylock): Remove.
582         (__pthread_initialize): Remove unused macro.
583         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
584         (mutex_unlock, mutex_trylock): Remove.
586 2016-09-21  Florian Weimer  <fweimer@redhat.com>
588         [BZ #20592]
589         Remove RR type classification macros.
590         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
591         (ns_t_udp_p, ns_t_xfr_p): Remove.
593 2016-09-21  Florian Weimer  <fweimer@redhat.com>
595         Remove misleading version information.
596         * resolv/arpa/nameser.h (__NAMESER): Remove.
597         * resolv/arpa/nameser_compat.h (__BIND): Remove.
599 2016-09-21  Florian Weimer  <fweimer@redhat.com>
601         Remove the always-defined BIND_4_COMPAT macro.
602         * resolv/arpa/nameser.h: Unconditionally include
603         <arpa/nameser_compat.h>.
604         (BIND_4_COMPAT): Remove.
605         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
607 2016-09-21  Florian Weimer  <fweimer@redhat.com>
609         [BZ #20591]
610         Remove obsolete DNSSEC support.
611         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
612         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
613         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
614         (ns_verify_tcp, ns_verify_tcp_init): Remove.
615         (ns_cert_types): Add comment.
616         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
617         separately.
618         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
619         (dst_s_dns_key_id): Remove.
620         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
621         variables.
623 2016-09-21  Florian Weimer  <fweimer@redhat.com>
625         [BZ #20524]
626         * manual/string.texi (String/Array Comparison): Clarify the
627         strverscmp behavior.
629 2016-09-21  Florian Weimer  <fweimer@redhat.com>
631         * test-skeleton.c (xasprintf): Add function.
632         * io/tst-open-tmpfile.c: New test.
633         * io/Makefile (tests): Add it.
635 2016-09-21  Florian Weimer  <fweimer@redhat.com>
637         Avoid running $(CXX) during build to obtain header file paths.
638         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
639         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
640         * Makerules (cstdlib, cmath): Remove variables.  Use
641         $(c++-cstdlib-header), $(c++-cmath-header) instead.
642         * configure: Regenerate.
644 2016-09-21  Florian Weimer  <fweimer@redhat.com>
646         * Makeconfig (all-object-suffixes): Include .op only if
647         $(build-profile).
649 2016-09-21  Florian Weimer  <fweimer@redhat.com>
651         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
652         conditionals.  Do not define PATH_MAX.
654 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
656         * posix/Makefile (tests): Add tst-spawn3.
657         * posix/tst-spawn3.c: New file.
658         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
659         if it is already opened for open action.
661         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
662         all signals when executing the clone vfork child.
663         (SIGALL_SET): Remove macro.
665         * nptl/Makefile (tests): Add tst-exec5.
666         * nptl/tst-exec5.c: New file.
667         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
668         asynchronous cancellation.
670 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
672         * hurd/exc2signal.c: #include <hurd/signal.h>
673         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
674         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
675         accordingly.
676         * mach/mach_error.c (mach_error): Fix old-style function definition.
677         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
679 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
681         * math/Makefile (libm-calls): Remove s_nanF.
682         (gen-libm-calls): Add s_nanF.
684         * math/s_nan.c: Refactor into ...
685         * math/s_nan_template.c: New file.
687         * math/s_nanf.c: Removed.
688         * math/s_nanl.c: Removed.
689         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
690         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
692         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
693         (LDOUBLE_nanl_libm_version): New macro.
695         * sysdeps/generic/math-type-macros-double.h:
696         (M_STRTO_NAN): New macro.
697         * sysdeps/generic/math-type-macros-float.h: Likewise.
698         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
700         * sysdeps/generic/math-type-macros.h: Document
701         M_STRTO_NAN.
703 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
705         * math/s_nanf.c: Remove __nanf undef.
706         * math/s_nan.c: Remove __nan undef.
707         * math/s_nanl.c: Remove __nanl undef.
709         * sysdeps/generic/math_private.h (__nan): Remove macro
710         override.
711         (__nanf): Likewise.
712         (__nanl): Likewise.
714 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
716         * math/Makefile (gen-all-calls): New variable.
717         (generated): Replace gen-libm-calls with gen-all-calls.
718         (gen-libm-templates.stmp): Likewise.  Also, ensure
719         the output directory exists or is created and add
720         dependency on the Makefile.
721         (calls): Move s_ldexpF into gen-calls.
722         (gen-calls): New variable.
724         * math/s_ldexpf.c: Removed.
725         * math/s_ldexpl.c: Removed.
726         * math/s_ldexp.c: Refactored into ...
727         * math/s_ldexp_template.c: New file.
729         * sysdeps/generic/math-type-macros-double.h: Remove
730         redundant fall-through definition of declare_mgen_alias.
731         (declare_mgen_alias_2): New macro.
733         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
734         New macro for function aliased to two exported symbols.
736         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
737         new template file.
738         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
740 2016-09-20  Florian Weimer  <fweimer@redhat.com>
742         * Makeconfig (all-object-suffixes): Remove .og.
743         * Makerules (elide-routines.og): Remove.
744         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
745         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
746         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
748 2016-09-20  Florian Weimer  <fweimer@redhat.com>
750         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
751         .os objects.
753 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
755         [BZ #20615]
756         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
757         fpu directory by non-fpu.
758         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
759         on non-fpu directory from a fpu directory.
761 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
763         * include/limits.h: Define
764         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
765         <bits/libc-header-start.h> instead of including <features.h>.
766         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
767         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
768         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
769         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
770         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
771         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
772         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
773         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
774         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
775         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
776         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
777         * manual/lang.texi (Width of Type): Document these macros.
778         * stdlib/tst-width.c: New file.
779         * stdlib/Makefile (tests): Add tst-width.
781 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
783         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
784         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
786 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
788         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
789         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
790         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
792 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
794         [BZ #18243]
795         * rt/Makefile (test): Add tst-shm-cancel.
796         * rt/tst-shm-cancel.c: New file.
797         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
799         [BZ #18243]
800         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
801         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
802         definition.
803         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
804         uncontended case.
805         * nptl/sem_wait.c (__new_sem_wait): Likewise.
806         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
807         (tf): Fix check for uncontended case.
808         (do_test): Likewise.
809         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
810         (tf): Fix check for uncontended case.
811         (do_test): Likewise.
812         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
813         (tf): Fix check for uncontended case.
814         (do_test): Likewise.
815         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
816         (tf): Fix check for uncontended case.
817         (do_test): Likewise.
819         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
820         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
822         [BZ #15765]
823         * nptl/Makefile (tests): Add tst-sem16.
824         * nptl/tst-sem16.c: New file.
825         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
827         * nptl/sem_open.c (sem_open): Init pad value to 0.
828         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
829         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
831 2016-09-15  Florian Weimer  <fweimer@redhat.com>
833         [BZ #20611]
834         * inet/Makefile (routines): Add inet6_scopeid_pton.
835         (tests): Add tst-inet6_scopeid_pton.
836         * inet/inet6_scopeid_pton.c: New file.
837         * inet/net-internal.h: Likewise.
838         * inet/tst-inet6_scopeid_pton.c: New test.
839         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
840         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
843 2016-09-14  Florian Weimer  <fweimer@redhat.com>
845         Remove support for compiling wrappers with PTW.
846         * sysdeps/nptl/Makeconfig: Drop ptw- support.
847         * nptl/Makefile (pthread-compat-wrappers): Define.
848         (libpthread-routines): Use pthread-compat-wrappers.
849         * sysdeps/unix/sysv/linux/alpha/Makefile
850         (libpthread-routines, libpthread-shared-only-routines): Remove
851         ptw- prefix.
852         * sysdeps/s390/nptl/Makefile
853         (libpthread-routines, libpthread-shared-only-routines): Likewise.
854         * sysdeps/ia64/nptl/Makefile
855         (libpthread-routines, libpthread-shared-only-routines): Likewise.
856         * sysdeps/nacl/Makefile (libpthread-routines): Use
857         pthread-compat-wrappers to filter the routines list instead of the
858         ptw- prefix.
860 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
862         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
863         with L() and remove explicit suffix, convert real literals
864         which can be equivalentally substituted with integers, and
865         transform -L(x) to L(-x).
867         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
868         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
869         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
870         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
871         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
872         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
873         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
874         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
875         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
876         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
877         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
878         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
879         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
880         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
881         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
882         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
883         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
884         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
885         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
886         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
887         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
888         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
889         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
890         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
891         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
892         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
893         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
894         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
895         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
896         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
897         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
898         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
899         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
900         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
901         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
902         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
903         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
904         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
905         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
906         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
907         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
908         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
909         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
910         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
911         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
912         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
913         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
914         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
915         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
916         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
918 2016-09-13  Florian Weimer  <fweimer@redhat.com>
920         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
922 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
924         * malloc/Makefile (tests): Remove individual static test names
925         and just add all of tests-static.
927         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
929 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
931         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
932         file.
934         * sysdeps/sparc/fpu/fegetmode.c: New file.
935         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
937         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
938         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
940         * sysdeps/s390/fpu/fegetmode.c: New file.
941         * sysdeps/s390/fpu/fesetmode.c: Likewise.
943         * sysdeps/powerpc/fpu/fegetmode.c: New file.
944         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
945         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
946         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
947         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
948         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
950         * sysdeps/mips/fpu/fegetmode.c: New file.
951         * sysdeps/mips/fpu/fesetmode.c: Likewise.
953         * sysdeps/m68k/fpu/fegetmode.c: New file.
954         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
956         * sysdeps/ia64/fpu/fegetmode.c: New file.
957         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
959         * sysdeps/hppa/fpu/fegetmode.c: New file.
960         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
962         * sysdeps/arm/fegetmode.c: New file.
963         * sysdeps/arm/fesetmode.c: Likewise.
965         * sysdeps/alpha/fpu/fegetmode.c: New file.
966         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
968         * sysdeps/aarch64/fpu/fegetmode.c: New file.
969         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
971         * math/fegetmode.c: New file.
972         * math/fesetmode.c: Likewise.
973         * sysdeps/i386/fpu/fegetmode.c: Likewise.
974         * sysdeps/i386/fpu/fesetmode.c: Likewise.
975         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
976         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
977         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
979         declaration.
980         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
981         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
982         typedef.
983         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
984         * sysdeps/aarch64/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/alpha/fpu/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/arm/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 macro.
993         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
994         (femode_t): New typedef.
995         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
996         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
997         (femode_t): New typedef.
998         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
999         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1000         (femode_t): New typedef.
1001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1002         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1003         (femode_t): New typedef.
1004         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1005         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1006         (femode_t): New typedef.
1007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1008         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1009         (femode_t): New typedef.
1010         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1011         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1012         (femode_t): New typedef.
1013         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1014         declaration.
1015         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1016         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1017         (femode_t): New typedef.
1018         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1019         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1020         (femode_t): New typedef.
1021         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1022         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1023         (femode_t): New typedef.
1024         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1025         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1026         (femode_t): New typedef.
1027         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1028         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1029         (femode_t): New typedef.
1030         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1031         * manual/arith.texi (FE_DFL_MODE): Document macro.
1032         (fegetmode): Document function.
1033         (fesetmode): Likewise.
1034         * math/Versions (fegetmode): New libm symbol at version
1035         GLIBC_2.25.
1036         (fesetmode): Likewise.
1037         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1038         (tests): Add test-femode and test-femode-traps.
1039         * math/test-femode-traps.c: New file.
1040         * math/test-femode.c: Likewise.
1041         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1042         alias for __fe_dfl_env.
1043         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1044         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1045         (__fe_dfl_mode): Likewise.
1046         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1047         version GLIBC_2.25.
1048         * sysdeps/nacl/libm.abilist: Update.
1049         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1050         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1051         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1052         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1053         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1054         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1055         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1056         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1057         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1058         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1059         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1060         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1062         Likewise.
1063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1064         Likewise.
1065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1066         Likewise.
1067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1068         Likewise.
1069         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1070         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1071         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1072         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1073         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1075         Likewise.
1076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1077         Likewise.
1078         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1079         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1080         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1082 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1084         [BZ #20495]
1085         [BZ #20508]
1086         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1087         processors, set Use_dl_runtime_resolve_slow and set
1088         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1089         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1090         New.
1091         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1092         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1093         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1094         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1095         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1096         if Use_dl_runtime_resolve_opt is set.  Use
1097         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1098         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1099         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1100         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1101         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1102         New.
1103         (_dl_runtime_resolve_opt): Likewise.
1104         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1105         defined.
1107 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1109         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1110         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1112 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1114         Convert malloc to __libc_lock.  Automated part, using this Perl
1115         s/// command:
1116           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1117             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1118         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1119         conversion.
1121 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1123         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1124         (linknamespace-symlists-tests): Likewise.
1125         (linknamespace-header-tests): Likewise.
1127 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1129         [BZ #19810]
1130         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1131         * elf/tst-noload.c: New test case.
1132         * elf/Makefile (tests): Add tst-noload.
1134 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1136         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1138         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1139         not any more.
1141         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1143 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1145         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1146         (do_cos_slow): Likewise.
1147         (do_sin): Likewise.
1148         (do_sin_slow): Likewise.
1149         (slow): Likewise.
1150         (slow1): Likewise.
1151         (slow2): Likewise.
1152         (sloww): Likewise.
1153         (sloww1): Likewise.
1154         (sloww2): Likewise.
1155         (bsloww): Likewise.
1156         (bsloww1): Likewise.
1157         (bsloww2): Likewise.
1158         (cslow2): Likewise.
1160         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1162         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1163         arguments.  Consolidate input partitioning from callers here.
1164         (do_cos_slow): Likewise.
1165         (do_sin): Likewise.
1166         (do_sin_slow): Likewise.
1167         (do_sincos_1): Remove the no longer necessary input partitioning.
1168         (do_sincos_2): Likewise.
1169         (__sin): Likewise.
1170         (__cos): Likewise.
1171         (slow1): Likewise.
1172         (slow2): Likewise.
1173         (sloww1): Likewise.
1174         (sloww2): Likewise.
1175         (bsloww1): Likewise.
1176         (bsloww2): Likewise.
1177         (cslow2): Likewise.
1179 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1181         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1182         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1183         outside of allocated array.
1185 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1187         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1188         instead of MB_CUR_MAX to avoid variable-length array.
1190 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1192         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1193         (type-double-routines): Add k_rem_pio2.
1194         (type-float-routines): Add k_rem_pio2f.
1196         * sysdeps/generic/math_private.h:
1197         (__kernel_rem_pio2l): Removed.
1199         * math/k_rem_pio2l.c: Removed.
1200         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1201         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1202         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1203         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1205 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1207         * math/Makefile (gen-libm-calls): Add s_fmin
1208         (libm-calls): Remove above.
1210         * math/s_fmin.c: Refactor into ...
1211         * math/s_fmin_template.c: New file.
1213         * math/s_fminf.c: Removed.
1214         * math/s_fminl.c: Removed.
1215         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1216         (LDOUBLE_fmin_libm_version): New macro.
1218         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1219         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1221 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1223         * math/Makefile: (gen-libm-calls): Add s_fmax.
1224         (libm-calls): Remove above.
1226         * math/s_fmax.c: Refactor into ...
1227         * math/s_fmax_template.c: New file.
1228         * math/s_fmaxf.c: Removed.
1229         * math/s_fmaxl.c: Removed.
1231         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1232         (LDOUBLE_fmaxl_libm_version): New macro.
1234         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1235         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1237         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1238         s_fmin.c to pick the aarch64 version of the file.
1239         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1240         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1242 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1244         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1245         (libm-calls): Remove above.
1247         * math/s_nextdown.c: Refactor into ...
1248         * math/s_nextdown_template.c: New file.
1249         * math/s_nextdownf.c: Removed.
1250         * math/s_nextdownl.c: Removed.
1252         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1254 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1256         * math/Makefile (gen-libm-calls): Add s_fdim.
1257         (libm-calls): Move to above.
1259         * math/s_fdim.c: Renamed and refactored into to ...
1260         * math/s_fdim_template.c: New file.
1261         * math/s_fdiml.c: Removed.
1262         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1263         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1265         * sysdeps/generic/math-type-macros-double.h:
1266         (declare_mgen_alias): Don't declare if already declared.
1267         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1268         Likewise.
1270         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1271         (declare_mgen_alias): Don't declare if already declared.
1272         (M_LIBM_NEED_COMPAT): Likewise.
1273         (declare_mgen_libm_compat): Likewise.
1274         (LDOUBLE_fdiml_libm_version): New macro.
1276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1277         Include math/s_fdim.c now that ldbl-opt version is not needed.
1278         (declare_mgen_alias): New macro to disable aliasing.
1280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1281         (declare_mgen_alias): Likewise.
1282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1283         (declare_mgen_alias): Likewise.
1284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1285         (declare_mgen_alias): Likewise.
1286         (M_LIBM_NEED_COMPAT): Likewise.
1288 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1290         [BZ #20525]
1291         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1292         Include <linux/quota.h>.
1293         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1294         and btodb.
1295         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1296         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1297         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1298         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1299         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1300         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1301         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1302         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1303         types.
1304         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1305         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1307 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1309         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1310         (gammal_positive): Fix spacing.
1311         (__ieee754_gammal_r): Likewise.
1313 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1315         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1316         (_Float128): Define as long double, always.
1317         (L): Apply long double type suffix, always.
1319         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1320         _Float128, excepting comments.
1322         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1323         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1324         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1325         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1326         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1327         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1328         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1329         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1330         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1331         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1332         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1333         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1334         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1335         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1336         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1337         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1338         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1339         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1340         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1341         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1342         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1343         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1344         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1345         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1346         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1347         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1348         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1349         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1350         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1351         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1352         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1353         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1354         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1355         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1356         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1357         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1358         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1359         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1360         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1361         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1362         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1363         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1364         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1365         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1366         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1367         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1368         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1369         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1370         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1371         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1372         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1373         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1374         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1375         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1376         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1377         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1378         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1379         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1380         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1381         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1382         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1383         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1384         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1385         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1386         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1387         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1388         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1389         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1391         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1392         _Float128, and include math_private.h.
1393         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1395         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1396         long double semantics.
1397         (_Float128): Likewise.
1398         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1399         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1400         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1401         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1403 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1405         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1406         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1407         * sysdeps/s390/configure: Regenerated.
1408         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1409         instruction for raising over-/underflow if z196 zarch is supported
1410         by default.
1411         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1413 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1415         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1416         it point to a dumb buffer for RPC to fill it.
1418 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1420         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1421         instead of if/else.
1422         (do_sin_slow): Likewise.
1423         (do_sincos_1): Use fabs instead of if/else.
1424         (do_sincos_2): Likewise.
1425         (__sin): Likewise.
1426         (__cos): Likewise.
1427         (slow2): Likewise.
1428         (sloww): Likewise.
1429         (sloww1): Likewise.  Drop argument M.
1430         (sloww2): Use fabs instead of if/else.
1431         (bsloww): Likewise.
1432         (bsloww1): Likewise.
1433         (bsloww2): Likewise.
1435         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1436         fall through comment.
1437         (do_sincos_1): Likewise.
1439         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1440         Consolidate switch cases 0 and 2.
1442 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1444         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1445         (libm-calls): Remove the above.
1447         * math/s_cexp_template.c: Update using type-generic macros.
1448         * math/s_clog10_template.c: Likewise.
1449         * math/s_cpow_template.c: Likewise.
1450         * math/s_clog_template.c: Likewise.
1451         * math/s_cproj_template.c: Likewise.
1452         * math/s_csqrt_template.c: Likewise.
1454         * math/s_cexp.c: Removed.
1455         * math/s_cexpf.c: Removed.
1456         * math/s_cexpl.c: Removed.
1457         * math/s_clog10.c: Removed.
1458         * math/s_clog10f.c: Removed.
1459         * math/s_clog10l.c: Removed.
1460         * math/s_cpow.c: Removed.
1461         * math/s_cpowf.c: Removed.
1462         * math/s_cpowl.c: Removed.
1463         * math/s_clog.c: Removed.
1464         * math/s_clogf.c: Removed.
1465         * math/s_clogl.c: Removed.
1466         * math/s_cproj.c: Removed.
1467         * math/s_cprojf.c: Removed.
1468         * math/s_cprojl.c: Removed.
1469         * math/s_csqrt.c: Removed.
1470         * math/s_csqrtf.c: Removed.
1471         * math/s_csqrtl.c: Removed.
1473         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1474         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1475         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1476         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1477         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1478         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1480         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1481         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1482         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1483         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1484         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1485         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1486         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1487         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1488         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1489         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1490         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1492         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1493         version.
1495         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1496         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1497         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1498         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1500 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1502         * s_cexp_template.c: Copy of s_cexp.c.
1503         * s_clog_template.c: Copy of s_clog.c.
1504         * s_clog10_template.c: Copy of s_clog10.c.
1505         * s_cpow_template.c: Copy of s_cpow.c.
1506         * s_cproj_template.c: Copy of s_cproj.c.
1507         * s_csqrt_template.c: Copy of s_csqrt.c.
1509 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1511         [BZ #20517]
1512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1513         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1514         exported.
1516 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1518         * math/fetestexceptflag.c: New file.
1519         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1520         Stefan Liebler.
1521         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1522         (fetestexceptflag): New function declaration.
1523         * manual/arith.texi (fetestexceptflag): Document function.
1524         * math/Versions (fetestexceptflag): New libm symbol at version
1525         GLIBC_2.25.
1526         * math/Makefile (libm-support): Add fetestexceptflag.
1527         (tests): Add test-fetestexceptflag.
1528         * math/test-fetestexceptflag.c: New file.
1529         * sysdeps/nacl/libm.abilist: Update.
1530         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1531         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1532         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1533         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1534         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1535         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1536         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1537         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1538         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1539         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1540         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1541         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1543         Likewise.
1544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1545         Likewise.
1546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1547         Likewise.
1548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1549         Likewise.
1550         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1551         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1552         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1553         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1554         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1556         Likewise.
1557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1558         Likewise.
1559         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1560         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1561         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1563 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1565         [BZ #20432]
1566         Avoid strong references to malloc-internal symbols when linking
1567         statically, to support statically interposed mallocs.
1568         * include/libc-symbols.h (call_function_static_weak): New macro.
1569         * malloc/Makefile (tests): Add tst-interpose-nothread,
1570         tst-interpose-thread, tst-interpose-static-nothread,
1571         tst-interpose-static-thread.
1572         (tests-static): Add tst-interpose-static-nothread,
1573         tst-interpose-static-thread.
1574         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1575         tst-interpose-aux-thread.o.
1576         (test-extras): Add tst-interpose-aux-nothread,
1577         tst-interpose-aux-thread.
1578         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1579         tst-interpose-aux-nothread.o.
1580         (tst-interpose-thread, tst-interpose-static-thread): Link with
1581         tst-interpose-aux-thread.o and libthread.
1582         * malloc/tst-interpose-aux-nothread.c: New file.
1583         * malloc/tst-interpose-aux-thread.c: Likewise.
1584         * malloc/tst-interpose-aux.c: Likewise.
1585         * malloc/tst-interpose-aux.h: Likewise.
1586         * malloc/tst-interpose-nothread.c: Likewise.
1587         * malloc/tst-interpose-skeleton.c: Likewise.
1588         * malloc/tst-interpose-static-nothread.c: Likewise.
1589         * malloc/tst-interpose-static-thread.c: Likewise.
1590         * malloc/tst-interpose-thread.c: Likewise.
1591         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1592         * sysdeps/mach/hurd/fork.c (__fork): Only call
1593         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1594         __malloc_fork_unlock_child if defined.
1595         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1597 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1599         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1600         timespec C99 designated initialization.
1602 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1604         [BZ #19946]
1605         Avoid expected SIGALRM signals.
1606         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1607         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1608         (xpthread_create, xpthread_detach, xpthread_join)
1609         (delayed_exit_thread, delayed_exit): New functions.
1610         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1611         (tf): Use xpthread_cond_wait.
1612         (do_test): Likewise.  Replace alarm with delayed_exit.
1613         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1614         (do_test): Call delayed_exit.  Report failure.
1615         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1616         (do_test): Call delayed_exit.
1617         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1618         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1619         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1620         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1621         error.
1622         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1623         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1624         error.
1625         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1626         (do_test): Call delayed_exit.
1627         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1628         (do_test): Call delayed_exit.
1629         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1630         (do_test): Call delayed_exit instead of alarm.  Use
1631         xpthread_mutex_lock.
1632         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1633         (do_test): Call delayed_exit instead of alarm.  Use
1634         xpthread_mutex_lock.
1635         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1636         (do_test): Call delayed_exit instead of alarm.
1637         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1638         (do_test): Call delayed_exit instead of alarm.  Use
1639         xpthread_spin_lock.
1640         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1641         (do_test): Call delayed_exit instead of alarm.  Use
1642         xpthread_join.
1644 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1646         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1647         adjust CFA when allocating register save area on re-aligned
1648         stack.
1650 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1652         * string/tst-cmp.c: New test.
1653         * string/Makefile (tests): Add it.
1655 2016-08-25  Mark Wielaard  <mark@klomp.org>
1657         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1658         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1659         (check_tree_recurse): Use newly defined accessors.
1660         (check_tree): Likewise.
1661         (maybe_split_for_insert): Likewise.
1662         (__tfind): Likewise.
1663         (__tdelete): Likewise.
1664         (trecurse): Likewise.
1665         (tdestroy_recurse): Likewise.
1666         (__tsearch): Likewise. And add asserts for malloc alignment.
1667         (__twalk): Cast root to node in case CHECK_TREE is defined.
1669 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1671         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1673 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1675         * math/Makefile (libm-gen-calls): Add
1676         catan, catanh, ctan, ctanh.
1677         (libm-calls): Remove the above.
1679         * math/s_catan_template.c: Update using type-generic macros.
1680         * math/s_catanh_template.c: Likewise.
1681         * math/s_ctan_template.c: Likewise.
1682         * math/s_ctanh_template.c: Likewise.
1684         * math/s_catanf.c: Removed.
1685         * math/s_catan.c: Removed.
1686         * math/s_catanl.c: Removed.
1687         * math/s_catanhf.c: Removed.
1688         * math/s_catanh.c: Removed.
1689         * math/s_catanhl.c: Removed.
1690         * math/s_ctanf.c: Removed.
1691         * math/s_ctan.c: Removed.
1692         * math/s_ctanl.c: Removed.
1693         * math/s_ctanhf.c: Removed.
1694         * math/s_ctanh.c: Removed.
1695         * math/s_ctanhl.c: Removed.
1697         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1698         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1699         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1700         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1701         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1702         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1704         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1705         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1706         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1707         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1709 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1711         * s_catan_template.c: Copy of s_catan.c.
1712         * s_catanh_template.c: Copy of s_catanh.c.
1713         * s_ctan_template.c: Copy of s_ctan.c.
1714         * s_ctanh_template.c: Copy of s_ctanh.c.
1716 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1718         * math/Makefile (gen-libm-calls): Move
1719         casin, casinh, csin, csinh here.
1720         (libm-calls): Remove the above.
1722         * math/s_casin_template.c: Update using type-generic macros.
1723         * math/s_casinh_template.c: Likewise.
1724         * math/s_csin_template.c: Likewise.
1725         * math/s_csinh_template.c: Likewise.
1726         * math/k_casinh_template.c: Likewise.
1728         * math/s_casinf.c: Removed.
1729         * math/s_casin.c: Removed.
1730         * math/s_casinl.c: Removed.
1731         * math/s_casinh.c: Removed.
1732         * math/s_casinhf.c: Removed.
1733         * math/s_casinhl.c: Removed.
1734         * math/s_csin.c: Removed.
1735         * math/s_csinf.c: Removed.
1736         * math/s_csinl.c: Removed.
1737         * math/s_csinh.c: Removed.
1738         * math/s_csinhf.c: Removed.
1739         * math/s_csinhl.c: Removed.
1740         * math/k_casinh.c: Removed.
1741         * math/k_casinhf.c: Removed.
1742         * math/k_casinhl.c: Removed.
1744         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1745         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1746         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1747         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1749         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1750         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1751         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1752         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1753         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1754         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1755         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1756         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1758         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1759         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1760         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1761         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1763         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1764         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1765         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1766         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1768 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1770         * s_casin_template.c: Copy of s_casin.c.
1771         * s_casinh_template.c: Copy of s_casinh.c.
1772         * s_csin_template.c: Copy of s_csin.c.
1773         * s_csinh_template.c: Copy of s_csinh.c.
1774         * k_casinh_template.c: Copy of k_casinh.c.
1776 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1778         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1780 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1782         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1783         (mul_split) Remove, rename as mul_splitl, remove
1784         redundant float.h include, and include via mul_splitl.h
1786         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1787         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1788         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1789         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1790         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1792         * math/mul_splitl.h: New file.
1794         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1795         Move into mul_split.h, and remove redundant float.h include.
1797         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1798         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1799         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1800         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1802         * math/mul_split.h: New file.
1804 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1806         * math/Makefile (libm-gen-calls): Move
1807         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1808         (libm-calls): Remove above.
1810         * math/s_cacos_template.c: Update using type-generic macros.
1811         * math/s_cacosh_template.c: Likewise.
1812         * math/s_ccos_template.c: Likewise.
1813         * math/s_ccosh_template.c: Likwise.
1815         * math/s_cacosf.c: Removed.
1816         * math/s_cacos.c: Removed.
1817         * math/s_cacosl.c: Removed.
1818         * math/s_cacoshf.c: Removed.
1819         * math/s_cacosh.c: Removed.
1820         * math/s_cacoshl.c: Removed.
1821         * math/s_ccosf.c: Removed.
1822         * math/s_ccos.c: Removed.
1823         * math/s_ccosl.c: Removed.
1824         * math/s_ccoshf.c: Removed.
1825         * math/s_ccosh.c: Removed.
1826         * math/s_ccoshl.c: Removed.
1828         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1829         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1830         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1831         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1832         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1833         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1835         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1836         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1837         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1838         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1840         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1841         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1842         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1843         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1845 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1847         * s_cacos_template.c: Copy of s_cacos.c.
1848         * s_cacosh_template.c: Copy of s_cacosh.c.
1849         * s_ccos_template.c: Copy of s_ccos.c.
1850         * s_ccosh_template.c: Copy of s_ccosh.c.
1852 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1854         * stdlib/tst-strtod-round-skeleton.c:
1855         Refactored from tst-strtod-round.c.
1857         (L_): New macro to apply literal modifier.
1858         (FNPFX): New macro to select str or wcs prefix.
1859         (CHAR): New macro to choose wchar_t or char.
1860         (STRM): New macro to choose printf for tested character type.
1862         (STRTO): New macro to choose appropriate string -> real function.
1863         (FNPFXS): Stringitized version of FNPFX.
1864         (STR): Support for above macro.
1865         (STRX): Likewise.
1867         (TEST): Update with above macros.
1868         (test): Likewise.
1869         (GEN_ONE_TEST): Likewise.
1870         (test_in_one_mode): Likewise.
1872         * stdlib/tst-strtod-round.c: New file.
1873         * wcsmbs/tst-wcstod-round.c: New file.
1875         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1876         (tst-wcstod-round): Add libm depencency for fesetround.
1878 2016-08-19  Zack Weinberg  <zackw@panix.com>
1880         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1882 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1884         [BZ #20477]
1885         * resolv/res_hconf.c (do_init): Use atomic access.
1886         * resolv/res_hconf.h: Add comments.
1887         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1888         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1891 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1893         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1894         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1895         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1896         Likewise.
1898 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1900         [BZ #16907]
1901         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1902         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1903         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1904         (__attribute__): Remove definition.
1906 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1908         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1909         Remove unused sqrtl declaration.
1911 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1913         * math/Makefile: (gen-libm-templates.stmp): New rule.
1914         (libm-calls): Move carg conj cimag and cabs into ...
1915         (gen-libm-calls): New variable.
1916         (generated): Inform Make objects from gen-libm-calls
1917         may be generated.
1919         * sysdeps/generic/math-type-macros.h: New file.
1920         * sysdeps/generic/math-type-macros-float.h: Likewise.
1921         * sysdeps/generic/math-type-macros-double.h: Likewise.
1922         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1923         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1924         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1926         * math/cabs.c: Refactor into
1927         * math/cabs_template.c: new file.
1928         * math/cabsf.c: Removed.
1929         * math/cabsl.c: Removed.
1930         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1931         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1933         * math/carg.c: Refactor into
1934         * math/carg_template.c: new file.
1935         * math/cargf.c: Removed.
1936         * math/cargl.c: Removed.
1937         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1938         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1940         * math/conj.c: Refactor into
1941         * math/conj_template.c: new file.
1942         * math/conjf.c: Removed.
1943         * math/conjl.c: Removed.
1944         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1945         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1947         * math/cimag.c: Refactor into
1948         * math/cimag_template.c: new file.
1949         * math/cimagf.c: Removed.
1950         * math/cimagl.c: Removed.
1951         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1952         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1954         * math/cimag.c: Refactor into
1955         * math/cimag_template.c: new file.
1956         * math/cimagf.c: Removed.
1957         * math/cimagl.c: Removed.
1958         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1959         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1961 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1963         Reduce time to expected nptl/tst-once5 failure.
1964         * nptl/tst-once5.cc (TIMEOUT): Define.
1966 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1968         [BZ #20452]
1969         Avoid additional copies of objects in libc.a in static libraries.
1970         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1971         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1972         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1973         rt-sysdep.
1974         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1975         Add nptl-sysdep.
1976         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1977         Add ptw-sysdep.
1978         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1979         rt-sysdep.
1980         * sysdeps/unix/sysv/linux/alpha/Makefile
1981         (libpthread-shared-only-routines): Add ptw-sysdep,
1982         ptw-sigprocmask, ptw-rt_sigaction.
1983         * sysdeps/unix/sysv/linux/ia64/Makefile
1984         (librt-shared-only-routines): Add rt-sysdep.
1985         * sysdeps/unix/sysv/linux/i386/Makefile
1986         (libpthread-shared-only-routines): Add libc-do-syscall.
1987         * sysdeps/unix/sysv/linux/microblaze/Makefile
1988         (libpthread-shared-only-routines): Add sysdep.
1989         * sysdeps/unix/sysv/linux/powerpc/Makefile
1990         (librt-shared-only-routines): Add rt-sysdep.
1991         (libpthread-shared-only-routines): Add sysdep.
1992         * sysdeps/unix/sysv/linux/s390/Makefile
1993         (librt-shared-only-routines): Add rt-sysdep.
1994         * sysdeps/unix/sysv/linux/sparc/Makefile
1995         (librt-shared-only-routines): Add rt-sysdep.
1996         (libpthread-shared-only-routines): Add sysdep.
1997         * sysdeps/unix/sysv/linux/tile/Makefile
1998         (libpthread-shared-only-routines): Likewise.
2000 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2002         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2003         Mask implicit bit out of unpacked value.
2004         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2005         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2006         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2008         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2010         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2012         * sysdeps/s390/fpu/fesetexcept.c: New file.
2014         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2015         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2016         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2018         * sysdeps/mips/fpu/fesetexcept.c: New file.
2020         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2022         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2024         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2026         * sysdeps/arm/fesetexcept.c: New file.
2028         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2030         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2032         * math/fesetexcept.c: New file.
2033         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2034         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2035         * math/fenv.h: Define
2036         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2037         <bits/libc-header-start.h> instead of including <features.h>.
2038         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2039         declaration.
2040         * manual/arith.texi (fesetexcept): Document function.
2041         * math/Versions (fesetexcept): New libm symbol at version
2042         GLIBC_2.25.
2043         * math/Makefile (libm-support): Add fesetexcept.
2044         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2045         * math/test-fesetexcept.c: New file.
2046         * math/test-fesetexcept-traps.c: Likewise.
2047         * sysdeps/nacl/libm.abilist: Update.
2048         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2049         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2050         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2051         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2052         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2053         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2054         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2055         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2056         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2057         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2058         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2059         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2061         Likewise.
2062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2063         Likewise.
2064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2065         Likewise.
2066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2067         Likewise.
2068         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2069         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2070         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2071         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2072         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2074         Likewise.
2075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2076         Likewise.
2077         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2078         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2079         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2081 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2083         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2084         New.
2085         (do_test): Apply default_stack_size_in_mb if not set.
2086         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2088 2016-08-15  Andreas Schwab  <schwab@suse.de>
2090         [BZ #20435]
2091         CVE-2016-6323
2092         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2093         as .cantunwind.
2095 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2097         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2098         comment from fraiseexcpt.c.
2100         * math/test-fexcept.c (feraiseexcept_exact): New function.
2101         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2102         (test_except): Likewise.
2104 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2106         [BZ #20455]
2107         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2108         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2109         to be restored.
2111         * math/test-fexcept-traps.c: New file.
2112         * math/test-fexcept.c: Likewise.
2113         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2114         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2115         macro.
2116         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2117         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2119 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2121         * include/atomic.h (atomic_fetch_and_relaxed,
2122         atomic_fetch_and_release, atomic_fetch_or_release,
2123         atomic_fetch_xor_release): New.
2125 2016-08-06  Christian Seiler  <christian@iwakd.de>
2127         [BZ #20444]
2128         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2129         MACH_PORT_NULL.
2131 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2133         * math/s_fdim.c: Avoid alias renamed.
2134         * math/s_fdimf.c: Likewise.
2135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2136         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2137         Add s_fdimf-vis3, s_fdim-vis3.
2138         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2139         (CFLAGS-s_fdim-vis3.c): Likewise.
2140         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2141         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2143 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2146         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2147         Remove s_fdimf-vis3, s_fdim-vis3.
2148         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2149         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2156         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2157         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2159 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2161         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2162         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2163         -Wa,-Av9a -mvis.
2165 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2167         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2168         LIT() to individual constants in simple expressions
2169         after splitting on spaces.
2170         (_apply_lit): Rename replaced version, and use it to
2171         apply to what appears to be a token.
2173         * math/libm-test.inc: Fix many, many issues with
2174         spacing.
2176 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2178         * math/math.h: Move comment about <bits/mathdef.h> definitions
2179         above inclusion of <bits/mathdef.h>.  Do not mention
2180         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2182 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2184         * include/atomic.h (atomic_exchange_relaxed): New.
2186 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2188         * math/e_scalb.c: Do not include <fenv.h>.
2189         (invalid_fn): Do calculation resulting in NaN instead of raising
2190         FE_INVALID and returning a NaN explicitly.
2191         * math/e_scalbf.c: Do not include <fenv.h>.
2192         (invalid_fn): Do calculation resulting in NaN instead of raising
2193         FE_INVALID and returning a NaN explicitly.
2194         * math/e_scalbl.c: Do not include <fenv.h>.
2195         (invalid_fn): Do calculation resulting in NaN instead of raising
2196         FE_INVALID and returning a NaN explicitly.
2198 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2200         * po/de.po: Updated from Translation Project.
2201         * po/fi.po: Likewise.
2202         * po/sv.po: Likewise.
2204 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2206         [BZ #20452]
2207         Use sysdep.o from libc.a in static libraries.
2208         * sysdeps/unix/sysv/linux/i386/Makefile
2209         (libpthread-shared-only-routines): Add sysdep.
2210         (librt-shared-only-routines): Likewise.
2212 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2214         * math/tgmath.h (nextdown): Define if
2215         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2216         (nextup): Likewise.
2218         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2219         macro.
2220         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2221         Document.
2222         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2223         Document macro.
2224         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2225         (exp10f): Likewise.
2226         (exp10l): Likewise.
2227         * math/bits/mathcalls.h (exp10): Declare if
2228         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2230         * manual/arith.texi (nextup): Fix typo in last change.
2232 2016-08-03  Zack Weinberg  <zackw@panix.com>
2234         [BZ #19239]
2235         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2236         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2237         define major, minor, and makedev to issue deprecation warnings on use.
2238         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2239         previously-activated deprecation warnings for these macros and prevent
2240         subsequent inclusions of this header from having any effect.
2241         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2242         including <sys/sysmacros.h>, and undefine it again afterward.
2244 2016-08-03  Zack Weinberg  <zackw@panix.com>
2246         * sysdeps/generic/sys/sysmacros.h: Delete file.
2247         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2248         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2249         * bits/sysmacros.h: ... here; this encoding is now the generic
2250         encoding.  Now defines only the following macros:
2251         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2252         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2253         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2255         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2256         bits/sysmacros.h and the above new macros to generate the
2257         public implementations of major, minor, and makedev.
2258         * misc/tst-makedev.c: New test.
2259         * include/sys/sysmacros.h: New wrapper.
2261         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2262         (routines): Add makedev.
2263         (tests): Add tst-makedev.
2264         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2265         gnu_dev_makedev.
2266         * posix/Makefile (headers): Remove sys/sysmacros.h.
2267         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2269         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2270         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2271         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2272         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2273         * sysdeps/unix/sysv/linux/arm/libc.abilist
2274         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2275         * sysdeps/unix/sysv/linux/i386/libc.abilist
2276         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2277         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2278         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2279         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2280         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2281         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2282         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2283         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2284         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2289         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2290         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2291         * sysdeps/unix/sysv/linux/sh/libc.abilist
2292         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2293         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2296         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2297         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2298         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2299         Add GLIBC_2.25.
2301         * include/features.h (__glibc_clang_prereq): New macro.
2302         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2303         (__attribute_deprecated_msg__): New macros.
2305 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2307         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2308         macro.
2309         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2310         * manual/arith.texi (issignaling): Document as ISO from TS
2311         18661-1:2014.
2312         (nextup): Likewise.
2313         (nextupf): Likewise.
2314         (nextupl): Likewise.
2315         (nextdown): Likewise.
2316         (nextdownf): Likewise.
2317         (nextdownl): Likewise.
2318         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2319         macro.
2320         * math/math.h: Define
2321         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2322         <bits/libc-header-start.h> instead of including <features.h>.
2323         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2324         [__USE_GNU].
2325         * math/bits/mathcalls.h (nextdown): Declare if
2326         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2327         (nextup): Likewise.
2328         (__issignaling): Likewise.
2330 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2332         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2333         check, and remove __glibc_likely hint
2334         from FP_INFINITE check.
2335         * s_csinhf.c (__csinhf): Likewise.
2337         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2338         hint from FP_INFINITE check.
2339         * s_csinhl.c (__csinhl): Likewise.
2341 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2343         * math/Makefile (libm-calls): Insert F placeholder into
2344         object names.  Move w_lgamma_compat* routines into
2345         (libm-compat-calls): New variable.
2346         (libm-compat-calls-ldouble-yes): New variable.
2347         (calls): Insert F placeholder.
2348         (generated): Redefine using new type-foreach macro call.
2349         (routines): Likewise.
2351         (types): New variable to hold a list of symbolic names
2352         for each type supported by the target machine.
2353         (libm-routines): Redefine using new types variable.
2354         (type-foreach): macro to replace fooF with the
2355         appropriately suffixed foo for each types.
2357         (type-ldouble-suffix): New variable.
2358         (type-ldouble-routines): Likewise.
2359         (type-ldouble-yes): Likewise.
2360         (type-double-suffix): Likewise.
2361         (type-double-routines): Likewise.
2362         (type-float-suffix): Likewise.
2363         (type-float-routines): Likewise.
2365         (dbl-only-routines): Remove.
2366         (long-c-yes): Likewise.
2367         (long-m-routines): Likewise.
2368         (long-m-support): Likewise.
2369         (long-m-yes): Likewise.
2370         (test-longdouble-yes): Likewise.
2372         (test-float.o): Simplify by increasing the scope of the
2373         recipe which adds libm-test.stmp to the vector types.
2374         (test-ifloat.o): Likewise.
2375         (test-float-finite.o): Likewise.
2376         (test-double.o): Likewise
2377         (test-idouble.o): Likewise.
2378         (test-double-finite.o): Likewise.
2379         (test-ldouble.o): Likewise
2380         (test-ildoubl.o): Likewise.
2381         (test-ldouble-finite.o): Likewise.
2383         (libm-tests): Redefine type tests using foreach and the
2384         list of types in types.
2386         (CPPFLAGS-test-ildoubl.c): Rename to
2387         (CPPFLAGS-test-ildouble.c): New variable
2389         * math/test-ildoubl.c: Rename to
2390         * math/test-ildouble.c: New file.
2392 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2394         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2395         Use fabsl instead of fabs.
2396         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2397         Likewise.
2398         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2399         Add long double suffix to constant to ensure proper
2400         promotion to long double.
2402 2016-08-03  Tom Tromey  <tom@tromey.com>
2404         [BZ #20311]
2405         * nptl_db/Makefile (headers): Add proc_service.h.
2406         * nptl_db/proc_service.h: Add include guard.  Use
2407         __BEGIN/__END_DECLS.
2408         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2409         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2410         arguments.
2413 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2415         [BZ #17730]
2416         Avoid using memalign for TCB allocations.
2417         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2418         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2419         Avoid alignment gap in the TLS_DTV_AT_TP case.
2420         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2421         determine the pointer to free.
2422         * nptl/tst-tls3-malloc.c: New test.
2423         * nptl/Makefile (tests): Add it.
2424         (tst-tls3-malloc): Link with libdl, libpthread.
2425         (LDFLAGS-tst-tls3-malloc): Set.
2426         (tst-tls3-malloc.out): Depend on DSO used in test.
2428 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2430         [BZ #17730]
2431         Avoid using memalign for TLS allocations.
2432         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2433         is_static member with to_free member.
2434         (union dtv): Use struct dtv_pointer.
2435         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2436         dtv_pointer instead of is_static.
2437         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2438         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2439         instead of val.
2440         (allocate_dtv_entry): New function.
2441         (allocate_and_init): Return struct dtv_pointer.  Call
2442         allocate_dtv_entry instead of __libc_memalign.
2443         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2444         instead of val.
2445         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2446         instead of is_static.  Adjust call to allocate_and_init.
2447         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2448         struct dtv_pointer instead of val.
2450 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2452         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2453         (MALLOC_ALIGN_MASK): Move ...
2454         * malloc/malloc-internal.h: ... to here.
2455         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2457 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2459         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2460         (UDP_ENCAP_GTP1U): Likewise.
2462         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2463         (PF_MAX): Update value.
2464         (AF_QIPCRTR): New macro.
2466 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2468         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2469         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2470         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2471         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2472         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2473         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2474         s_truncf-vis3, s_trunc-vis3.
2475         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2476         (CFLAGS-s_ceil-vis3.c): Likewise.
2477         (CFLAGS-s_floorf-vis3.c): Likewise.
2478         (CFLAGS-s_floor-vis3.c): Likewise.
2479         (CFLAGS-s_truncf-vis3.c): Likewise.
2480         (CFLAGS-s_trunc-vis3.c): Likewise.
2481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2485         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2486         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2489         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2490         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2491         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2492         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2494 2016-08-02  David S. Miller  <davem@davemloft.net>
2496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2497         (__nearbyint_vis3): Don't check for sNaN before float register is
2498         loaded with the incoming argument.
2499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2500         (__nearbyintf_vis3): Likewise.
2501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2502         Likewise.
2503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2504         Likewise.
2506         * string/test-strncmp.c (do_test_limit): Make sure the test data
2507         stream is aligned as required for the type "CHAR".
2508         (do_test): Likewise.
2510 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2512         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2513         by beq instructions jumping to the end of the function.
2514         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2515         clobber list. Use "i" constraint instead of "X".
2516         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2517         of "X".
2519 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2521         * bits/libc-header-start.h: New file.
2522         * Makefile (headers): Add bits/libc-header-start.h.
2523         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2524         (__GLIBC_USE): New macro.
2525         * libio/stdio.h: Define
2526         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2527         <bits/libc-header-start.h> instead of including <features.h>.
2528         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2529         (open_memstream): Likewise.
2530         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2531         (__asprintf): Likewise.
2532         (asprintf): Likewise.
2533         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2534         (getdelim): Likewise.
2535         (getline): Likewise.
2536         * string/string.h: Define
2537         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2538         <bits/libc-header-start.h> instead of including <features.h>.
2539         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2540         (strndup): Likewise.
2541         * wcsmbs/wchar.h: Define
2542         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2543         <bits/libc-header-start.h> instead of including <features.h>.
2544         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2545         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2547 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2549         Support linking against compatibility symbols, for use in tests.
2550         * include/libc-symbols.h (symbol_version_reference): New macro.
2551         (symbol_version): Use it.
2552         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2553         (compat_symbol): Use compat_symbol_reference.
2554         (compat_symbol_1, compat_symbol_2): Remove.
2555         (compat_symbol_reference, compat_symbol_reference_1)
2556         (compat_symbol_reference_2): New macro.  Use
2557         symbol_version_reference.
2559 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2561         [BZ #19469]
2562         * malloc/Makefile (CPPFLAGS): Compile tests with
2563         -DTEST_NO_MALLOPT.
2564         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2566 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2568         [BZ #20033]
2569         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2570         finite version.
2571         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2572         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2573         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2574         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2575         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2576         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2577         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2578         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2579         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2580         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2581         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2582         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2583         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2584         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2585         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2586         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2587         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2588         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2589         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2590         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2591         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2592         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2593         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2594         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2595         in zero power.
2597 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2599         [BZ #20370]
2600         * malloc/arena.c (get_free_list): Update comment.  Assert that
2601         arenas on the free list have no attached threads.
2602         (remove_from_free_list): New function.
2603         (reused_arena): Call it.
2605 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2607         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2608         when it is a NaN.
2609         [_IEEE_FP_INEXACT] Remove.
2610         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2611         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2612         when it is a NaN.
2613         [_IEEE_FP_INEXACT] Remove.
2614         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2615         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2616         when it is a NaN.
2617         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2618         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2619         when its absolute value is greater than 0x1.0p52.
2620         [_IEEE_FP_INEXACT] Remove.
2621         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2622         when its absolute value is greater than 0x1.0p23.
2623         [_IEEE_FP_INEXACT] Remove.
2625 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2627         * version.h (RELEASE): Set to "development"
2628         (VERSION): Set to 2.24.90.
2629         * NEWS: Add 2.25 section.
2631         * version.h (RELEASE): Set to "stable"
2632         (VERSION): Set to 2.24.
2633         * include/features.h (__GLIBC_MINOR__): Set to 24.
2635         * NEWS: Add 2.24 fixed bugs.
2636         * po/libc.pot: Regenerate.
2638 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2641         [$(subdir) = math] (libm-sysdep_routines): Remove.
2642         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2643         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2644         s_truncf-vis3, s_trunc-vis3.
2645         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2647         file.
2648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2669         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2670         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2671         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2672         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2673         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2674         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2675         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2676         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2677         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2678         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2679         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2680         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2681         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2682         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2683         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2684         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2685         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2686         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2687         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2688         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2689         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2690         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2692 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2694         [BZ #20384]
2695         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2696         test-double-libmvec-sincos-avx-main.o,
2697         test-double-libmvec-sincos-avx2-main.o,
2698         test-double-libmvec-sincos-main.o,
2699         test-float-libmvec-sincosf-avx-main.o,
2700         test-float-libmvec-sincosf-avx2-main.o and
2701         test-float-libmvec-sincosf-main.o.
2702         test-float-libmvec-sincosf-avx512-main.o.
2703         ($(objpfx)test-double-libmvec-sincos): Also link with
2704         $(objpfx)test-double-libmvec-sincos-main.o.
2705         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2706         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2707         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2708         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2709         ($(objpfx)test-float-libmvec-sincosf): Also link with
2710         $(objpfx)test-float-libmvec-sincosf-main.o.
2711         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2712         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2713         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2714         test-double-libmvec-sincos-avx512-main.o and
2715         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2716         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2717         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2718         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2719         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2720         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2721         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2722         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2723         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2724         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2725         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2726         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2727         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2728         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2729         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2730         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2731         -DREQUIRE_AVX2.
2732         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2733         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2734         -DREQUIRE_AVX512F.
2735         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2736         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2737         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2738         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2739         file.
2740         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2741         Likewise.
2742         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2743         Likewise.
2744         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2745         Likewise.
2746         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2747         Likewise.
2748         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2749         Likewise.
2750         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2751         Likewise.
2752         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2753         Likewise.
2755 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2757         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2759 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2761         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2762         and typo in a comment about AT_HWCAP entry.
2764 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2766         * sysdeps/aarch64/libm-test-ulps: Updated.
2768 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2770         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2771         of r13 as it is not restored in mvcle case.
2773 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2775         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2776         Rename "ret" to "__ret".
2777         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2778         inline_syscall5, inline_syscall6): Likewise.
2780 2016-07-19   Will Newton  <will.newton@gmail.com>
2782         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2783         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2784         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2785         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2786         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2788 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2790         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2791         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2792         -mfpmath=387 with $(rtld-CFLAGS).
2793         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2794         $(rtld-CFLAGS).
2796 2016-07-18   Ross Burton  <ross.burton@intel.com>
2797              Khem Raj  <raj.khem@gmail.com>
2799         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2800         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2801         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2802         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2803         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2804         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2805         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2806         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2807         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2808         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2809         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2810         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2811         R_METAG_TLS_DTPOFF): New.
2813 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2814             Matt Clay  <mclay@lycos.com>
2816         [BZ #20357]
2817         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2818         to call __mpsin/__mpcos and to negate values.
2819         * math/auto-libm-test-in: Add test.
2820         * math/auto-libm-test-out: Regenerate.
2822 2016-07-18  Zack Weinberg  <zackw@panix.com>
2824         * grp/Makefile: Don't install the internal header grp-merge.h.
2826 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2828         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2830 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2832         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2834 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2836         [BZ #15368]
2837         * sysdeps/unix/sysv/linux/nptl-signals.h
2838         (__nptl_clear_internal_signals): New function.
2839         (__libc_signal_block_all): Likewise.
2840         (__libc_signal_block_app): Likewise.
2841         (__libc_signal_restore_set): Likewise.
2842         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2843         implementation.
2844         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2845         the cached pid/tid value in pthread structure.
2847 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2849         [BZ #20347]
2850         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2852 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2854         [BZ #20348]
2855         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2856         preadv64, pwrite64 and pwritev64.
2858 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2860         [BZ #20350]
2861         * posix/tst-preadwrite.c: Renamed to ...
2862         * posix/tst-preadwrite-common.c: This.
2863         (PREAD): Removed.
2864         (PWRITE): Likewise.
2865         (STRINGIFY): Likewise.
2866         (STRINGIFY2): Likewise.
2867         (do_prepare): Make it static and remove function arguments.
2868         (do_test): Likewise.
2869         (PREPARE): Updated.
2870         (TEST_FUNCTION): New.
2871         (name): Make it static.
2872         (fd): Likewise.
2873         (do_prepare): Use create_temp_file.
2874         (do_test): Renamed to ...
2875         (do_test_with_offset): This.  Make it static and accept offset.
2876         Properly check return value of PWRITE and PREAD.  Return bytes
2877         read.  Don't close fd nor unlink name.
2878         * posix/tst-preadwrite.c: Rewrite.
2879         * posix/tst-preadwrite64.c: Likewise.
2881 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2883         [BZ #20309]
2884         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2885         -mtls-dialect=gnu2 works.
2886         * configure: Regenerated.
2887         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2888         (tests): Add tst-gnu2-tls1.
2889         (modules-names): Add tst-gnu2-tls1mod.
2890         ($(objpfx)tst-gnu2-tls1): New.
2891         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2892         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2893         * elf/tst-gnu2-tls1.c: New file.
2894         * elf/tst-gnu2-tls1mod.c: Likewise.
2895         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2896         bytes for push in the PLT entry to align the stack.
2898 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2900         [BZ #20349]
2901         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2903 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2905         [BZ #18707]
2906         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2907         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2909 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2911         * sysdeps/unix/sysv/linux/sysdep.h
2912         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2913         guards.
2914         * misc/tst-preadvwritev-common.c: New file.
2915         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2916         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2917         a check for files larger than 2GB.
2919         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2920         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2921         * sysdeps/unix/sysv/linux/pread.c
2922         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2923         __OFF_T_MATCHES_OFF64_T.
2924         * sysdeps/unix/sysv/linux/pread64.c
2925         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2926         * sysdeps/unix/sysv/linux/preadv.c
2927         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2928         * sysdeps/unix/sysv/linux/preadv64.c
2929         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2930         * sysdeps/unix/sysv/linux/pwrite.c
2931         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2932         * sysdeps/unix/sysv/linux/pwrite64.c
2933         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2934         * sysdeps/unix/sysv/linux/pwritev.c
2935         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2936         * sysdeps/unix/sysv/linux/pwritev64.c
2937         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2939 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2941         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2942         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2944 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2946         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2948 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2950         [BZ #20240]
2951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2952         (CFLAGS-s_modf-ppc32.c): New variable.
2953         (CFLAGS-s_modff-ppc32.c): Likewise.
2954         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2955         (CFLAGS-s_modf-ppc64.c): Likewise.
2956         (CFLAGS-s_modff-ppc64.c): Likewise.
2958 2016-07-07  Andreas Schwab  <schwab@suse.de>
2960         [BZ #20263]
2961         * nptl/tst-robust10.c: New test.
2962         * nptl/Makefile (tests): Add tst-robust10.
2964 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2966         [BZ #20263]
2967         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2969 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2971         * sysdeps/s390/linkmap.h (struct link_map_machine):
2972         Remove member gotplt and add member jmprel.
2973         * sysdeps/s390/s390-32/dl-machine.h
2974         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2975         instead of gotplt with &got[3].
2976         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2977         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2979 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2981         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2983 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2985         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2986         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2987         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2988         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2989         * libio/vtables.c (_IO_vtable_check)
2990         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2991         * libio/libioP.h (IO_set_accept_foreign_vtables)
2992         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2994 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2996         [BZ #20314]
2997         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2998         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2999         $(common-objpfx)cmath.
3000         ($(common-objpfx)cstdlib): New target.
3001         ($(common-objpfx)cmath): Likewise.
3003 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3005         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3007 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3009         [BZ #20327]
3010         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3011         are not part of the string.
3013 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3015         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3016         * nptl/tst-cancel4-common.h (fifoname): New variable.
3017         (fifofd): Likewise.
3018         (cl_fifo): New function.
3019         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3020         SIGINT.
3021         (tf_open): Add early cancel test.
3023 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3025         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3027 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3029         * sysdeps/generic/ldsodefs.h
3030         (dl_symbol_visibility_binds_local_p): New inline function.
3031         * elf/dl-addr.c (determine_info): Treat hidden and internal
3032         symbols as local.
3033         * elf/dl-lookup.c (do_lookup_x): Likewise.
3034         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3036 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3038         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3039         invalid exception for a sNaN input.
3040         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3041         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3042         (__nearbyint_vis3): Likewise
3043         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3044         (__nearbyintf_vis3): Likewise
3045         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3046         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3047         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3048         Likewise.
3049         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3050         Likewise.
3052 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3054         [BZ #20139]
3055         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3056         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3057         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3058         2.24 or above.
3059         (HAVE_AVX512_ASM_SUPPORT): Removed.
3060         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3061         * sysdeps/x86_64/configure: Regenerated.
3062         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3063         check unconditional.
3064         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3065         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3066         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3067         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3068         Likewise.
3069         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3070         Likewise.
3071         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3072         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3073         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3074         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3075         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3076         Likewise.
3077         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3078         Likewise.
3079         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3080         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3081         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3082         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3083         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3084         Likewise.
3085         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3086         Likewise.
3087         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3088         Likewise.
3089         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3090         Likewise.
3091         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3092         Likewise.
3093         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3094         Likewise.
3095         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3096         Likewise.
3097         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3098         Likewise.
3099         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3100         Likewise.
3101         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3102         Likewise.
3103         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3104         Likewise.
3106 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3108         [BZ #20024]
3109         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3110         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3111         of this implementation of vector function.
3112         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3113         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3114         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3115         Likewise.
3116         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3117         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3118         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3119         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3120         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3121         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3122         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3123         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3124         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3125         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3126         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3127         for testing vector sincos with fixed ABI.
3128         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3129         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3130         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3131         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3132         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3133         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3134         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3135         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3136         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3137         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3138         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3139         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3140         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3141         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3142         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3143         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3145 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3147         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3149 2016-06-30  Anton Blanchard  <anton@samba.org>
3151         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3152         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3153         s_sinf-ppc64.
3154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3157         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3159 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3163         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3164         e_expf-ppc64.
3165         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3166         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3167         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3168         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3170 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3172         [BZ #20277]
3173         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3174         when SHARED is defined.
3176 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3178         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3179         (index_arch_Prefer_ERMS): Likewise.
3180         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3181         __memcpy_erms for Prefer_ERMS.
3182         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3183         (__memmove_erms): Enabled for libc.a.
3184         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3185         __memmove_erms or Prefer_ERMS.
3186         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3187         __mempcpy_erms for Prefer_ERMS.
3188         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3189         __memset_erms for Prefer_ERMS.
3191 2016-06-30  Andreas Schwab  <schwab@suse.de>
3193         [BZ #20262]
3194         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3195         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3196         of memory.
3198 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3200         [BZ #18645]
3201         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3202         (test-extras): Add tst-cleanupx4aux.
3203         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3204         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3205         tst-cleanupx4aux.o.
3206         * nptl/tst-cleanupx4aux.c: New file.
3208 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3210         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3212 2016-06-29  Andreas Schwab  <schwab@suse.de>
3214         [BZ #20260]
3215         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3216         address before the beginning of the string as an integer to avoid
3217         array-bounds warning.
3219 2016-06-28  Richard Henderson  <rth@redhat.com>
3221         * elf/elf.h (EM_BPF): New.
3222         (EM_NUM): Update.
3223         (R_BPF_NONE, R_BPF_MAP_FD): New.
3225         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3226         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3227         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3228         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3229         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3230         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3231         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3232         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3233         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3234         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3235         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3236         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3237         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3238         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3239         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3240         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3241         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3242         (EM_NUM): Update.
3244 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3246         [BZ #18960]
3247         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3248         Set _nl_current_LC_CATEGORY_used to two instead of one.
3250 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3252         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3253         (do_test): ... this.
3254         (TEST_FUNCTION): New macro.
3255          Include test-skeleton.c.
3256         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3257         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3259 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3261         [BZ #15479]
3262         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3263         floating-point environment rather than just control word.
3264         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3265         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3266         floating-point environment, with "invalid" exceptions merged in,
3267         rather than just control word.
3268         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3269         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3270         "inexact" exceptions.
3272         [BZ #15479]
3273         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3274         floating-point environment rather than just control word.
3275         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3276         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3277         floating-point environment, with "invalid" exceptions merged in,
3278         rather than just control word.
3279         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3280         * math/libm-test.inc (floor_test_data): Do not allow spurious
3281         "inexact" exceptions.
3283         [BZ #15479]
3284         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3285         floating-point environment rather than just control word.
3286         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3287         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3288         floating-point environment, with "invalid" exceptions merged in,
3289         rather than just control word.
3290         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3291         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3292         "inexact" exceptions.
3294 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3296         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3297         __libc_vfork.
3298         (__vfork) [IS_IN (libc)]: Remove alias.
3299         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3300         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3301         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3303 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3305         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3306         of atomic_compare_and_exchange_bool_rel.
3307         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3308         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3309         catomic_compare_and_exchange_bool_rel): Remove.
3310         * sysdeps/aarch64/atomic-machine.h
3311         (atomic_compare_and_exchange_bool_rel): Likewise.
3312         * sysdeps/alpha/atomic-machine.h
3313         (atomic_compare_and_exchange_bool_rel): Likewise.
3314         * sysdeps/arm/atomic-machine.h
3315         (atomic_compare_and_exchange_bool_rel): Likewise.
3316         * sysdeps/mips/atomic-machine.h
3317         (atomic_compare_and_exchange_bool_rel): Likewise.
3318         * sysdeps/microblaze/atomic-machine.h
3319         ( __arch_compare_and_exchange_bool_8_rel,
3320         __arch_compare_and_exchange_bool_16_rel): Likewise.
3321         * sysdeps/powerpc/atomic-machine.h
3322         ( __arch_compare_and_exchange_bool_8_rel,
3323         __arch_compare_and_exchange_bool_16_rel): Likewise.
3324         * sysdeps/powerpc/powerpc32/atomic-machine.h
3325         ( __arch_compare_and_exchange_bool_32_rel,
3326         __arch_compare_and_exchange_bool_64_rel): Likewise.
3327         * sysdeps/powerpc/powerpc64/atomic-machine.h
3328         ( __arch_compare_and_exchange_bool_32_rel,
3329         __arch_compare_and_exchange_bool_64_rel): Likewise.
3330         * sysdeps/tile/atomic-machine.h
3331         (atomic_compare_and_exchange_bool_rel): Likewise.
3333 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3335         [BZ #20296]
3336         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3337         when either argument is a NaN.
3338         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3339         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3341         * math/libm-test.inc (snan_value_ld): New macro.
3342         (isgreater_test_data): Add sNaN tests.
3343         (isgreaterequal_test_data): Likewise.
3344         (isless_test_data): Likewise.
3345         (islessequal_test_data): Likewise.
3346         (islessgreater_test_data): Likewise.
3347         (isunordered_test_data): Likewise.
3348         (nextafter_test_data): Likewise.
3349         (nexttoward_test_data): Likewise.
3350         (remainder_test_data): Likewise.
3351         (remquo_test_data): Likewise.
3352         (significand_test_data): Likewise.
3353         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3355 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3357         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3358         environment macros are defined.
3359         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3361 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3363         [BZ #20191]
3364         Implement vtable verification in libio.
3365         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3366         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3367         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3368         _IO_new_file_init_internal instead of _IO_file_init.
3369         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3370         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3371         * libio/Makefile (routines): Add vtables.
3372         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3373         (_IO_init): Remove, not for internal use.
3374         (_IO_init_internal): Declare, internal replacement for _IO_init.
3375         (_IO_file_init): Remove, not for internal use.
3376         (_IO_new_file_init): Remove, not for internal use.
3377         (_IO_new_file_init_internal): Declare, internal replacement for
3378         _IO_new_file_init.
3379         (_IO_old_file_init): Remove, not for internal use.
3380         (_IO_old_file_init_internal): Declare, internal replacement for
3381         _IO_old_file_init.
3382         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3383         internal use.
3384         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3385         Declare.
3386         (libio_vtable): New macro.
3387         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3388         functions.
3389         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3390         _IO_new_file_init.
3391         (_IO_new_file_init): New externally visible wrapper which disables
3392         vtable verification.
3393         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3394         Define as vtables.
3395         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3396         (_IO_init): New externally visible wrapper which disables
3397         vtable verification.
3398         * libio/iofdopen.c (_IO_new_fdopen): Call
3399         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3400         comment.
3401         * libio/iofopen.c (__fopen_internal): Call
3402         _IO_new_file_init_internal instead of _IO_file_init.
3403         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3404         Define as vtables.
3405         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3406         _IO_new_file_init_internal instead of _IO_file_init.
3407         * libio/iopopen.c (_IO_new_popen): Likewise.
3408         (_IO_proc_jumps): Define as vtable.
3409         * libio/iovdprintf.c (_IO_vdprintf): Call
3410         _IO_new_file_init_internal instead of _IO_file_init.
3411         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3412         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3413         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3414         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3415         _IO_old_file_init.
3416         (_IO_old_file_init): New externally visible wrapper which disables
3417         vtable verification.
3418         (_IO_old_file_jumps): Define as vtable.
3419         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3420         _IO_old_file_init_internal instead of _IO_old_file_init.
3421         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3422         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3423         (_IO_old_proc_jumps): Define as vtable.
3424         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3425         Define as vtables.
3426         * libio/vtables.c: New file.
3427         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3428         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3429         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3430         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3431         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3432         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3433         instead of _IO_init.
3435 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3437         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3439 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3441         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3442         potentially unused.
3444 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3446         * test-skeleton.c (write_message): New function.
3447         * malloc/tst-mallocfork2.c (write_message): Remove.
3448         * debug/tst-longjmp_chk2.c (write_indented): New function.
3449         (write_message): Remove.
3450         (stackoverflow_handler): Call write_indented.
3452 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3454         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3455         "inexact" exceptions after fnstenv.
3456         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3457         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3458         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3460 2015-06-22  Zack Weinberg  <zackw@panix.com>
3462         * sysdeps/generic/bits/hwcap.h: Moved to ...
3463         * bits/hwcap.h: Here.
3465 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3467         * sysdeps/aarch64/memcpy.S (memcpy):
3468         Further tuning for performance.
3470 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3472         [BZ #20284]
3473         * malloc/arena.c (reused_arena): Do not return NULL if we start
3474         out with a non-corrupted arena.
3476 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3478         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3479         * misc/tst-preadvwritev.c: New file.
3480         * misc/tst-preadvwritev64.c: Likewise.
3481         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3482         usage.
3483         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3484         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3485         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3486         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3488 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3490         [BZ #19654]
3491         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3492         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3493         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3494         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3495         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3496         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3497         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3498         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3499         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3500         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3501         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3502         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3503         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3504         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3505         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3506         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3507         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3508         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3509         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3510         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3511         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3512         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3513         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3514         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3515         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3516         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3518 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3520         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3521         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3523 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3525         * sysdeps/aarch64/memcpy.S (memcpy):
3526         Rewrite of optimized memcpy and memmove.
3527         * sysdeps/aarch64/memmove.S (memmove): Remove
3528         memmove code (merged into memcpy.S).
3530 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3532         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3533         * sysdeps/generic/dl-dtv.h: New file.
3534         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3535         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3536         (dtv_t): Remove.
3537         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3538         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3539         (dtv_t): Remove.
3540         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3541         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3542         (dtv_t): Remove.
3543         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3544         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3545         (dtv_t): Remove.
3546         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3547         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3548         (dtv_t): Remove.
3549         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3550         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3551         (dtv_t): Remove.
3552         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3553         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3554         (dtv_t): Remove.
3555         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3556         (dtv_t): Remove.
3557         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3558         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3559         (dtv_t): Remove.
3560         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3561         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3562         (dtv_t): Remove.
3563         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3564         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3565         (dtv_t): Remove.
3566         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3567         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3568         (dtv_t): Remove.
3569         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3570         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3571         (dtv_t): Remove.
3572         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3573         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3574         (dtv_t): Remove.
3575         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3576         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3577         (dtv_t): Remove.
3578         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3579         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3580         (dtv_t): Remove.
3582 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3584         Revert symbol poisoning of  __malloc_initialize_hook.
3585         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3586         poisoning.
3587         * malloc/Makefile: Remove un-poisoning.
3588         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3589         instead of old__malloc_initialize_hook.
3590         * malloc/malloc-hooks.h: Likewise.
3591         * malloc/malloc.c: Likewise.
3592         * malloc/mcheck-init.c: Likewise.
3594 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3596         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3598 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3600         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3601         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3602         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3603         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3605 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3607         * NEWS: Mention addition of nextup and nextdown.
3608         * manual/arith.texi: Document nextup and nextdown.
3609         * manual/libm-err-tab.pl: Add nextup and nextdown.
3610         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3611         * math/Versions (libm): Add GLIBC_2.24.
3612         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3613         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3614         Add new test.
3615         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3616         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3617         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3618         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3619         (nextup_test_data): Likewise.
3620         (nextdown_test_data): Likewise.
3621         * math/s_nextdown.c: New file.
3622         * math/s_nextdownf.c: Likewise.
3623         * math/s_nextdownl.c: Likewise.
3624         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3625         F(nextup): New function.
3626         F(nextdown): Likewise.
3627         * math/tgmath.h: Add nextup and nextdown.
3628         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3629         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3630         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3631         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3632         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3633         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3634         Add nextup and nextdown.
3635         (CFLAGS-nldbl-nextup.c): New variable.
3636         (CFLAGS-nldbl-nextdown.c): Likewise.
3637         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3638         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3639         * sysdeps/nacl/libm.abilist: Update.
3640         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3641         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3642         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3643         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3644         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3645         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3646         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3647         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3648         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3649         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3650         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3651         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3654         Likewise.
3655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3657         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3658         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3659         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3660         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3661         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3664         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3665         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3666         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3667         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3669 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3671         * manual/pattern.texi: Fix typos & grammar errors.
3673 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3675         * manual/search.texi: Fix typos & grammar errors.
3677 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3679         * manual/message.texi: Fix typos & grammar errors.
3681 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3683         * manual/contrib.texi: Fix spelling typos.
3684         * manual/crypt.texi: Likewise.
3685         * manual/filesys.texi: Likewise.
3686         * manual/locale.texi: Likewise.
3687         * manual/message.texi: Likewise.
3688         * manual/nss.texi: Likewise.
3689         * manual/string.texi: Likewise.
3691 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3693         * manual/locale.texi: Fix typos & grammar errors.
3695 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3697         * manual/charset.texi: Fix typos & grammar errors.
3699 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3701         * manual/string.texi: Fix typos.
3703 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3705         * manual/ctype.texi: Fix typos.
3707 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3709         * manual/memory.texi: Fix various typos & grammar errors.
3711 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3713         [BZ #20255]
3714         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3715         * math/libm-test.inc (fdim_test_data): Add another test.
3717         [BZ #6796]
3718         [BZ #20255]
3719         [BZ #20256]
3720         * math/s_fdim.c: Include <math_private.h>.
3721         (__fdim): Use math_narrow_eval on result.
3722         * math/s_fdimf.c: Include <math_private.h>.
3723         (__fdimf): Use math_narrow_eval on result.
3724         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3725         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3726         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3727         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3728         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3729         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3730         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3731         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3732         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3733         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3734         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3735         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3736         overflow.  Add sNaN tests.
3738         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3739         fpclassify.
3740         * math/s_fdimf.c (__fdimf): Likewise.
3741         * math/s_fdiml.c (__fdiml): Likewise.
3743 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3745         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3746         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3748         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3749         ifunc'ed strcasecmp/strncasecmp.
3750         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3751         [EALIGN]: Removed.
3752         [END]: Likewise.
3753         [__strcasecmp]: Define instead of the above to control symbol name.
3754         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3755         for __strcasecmp_power8.
3756         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3757         for __strncasecmp_power8.
3758         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3759         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3760         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3761         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3762         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3763         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3765 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3767         [BZ #20252]
3768         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3769         arguments when second argument is a NaN.
3770         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3771         qNaN tests.
3773         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3774         (conj_test_data): Likewise.
3775         (copysign_test_data): Likewise.
3776         (creal_test_data): Likewise.
3777         (fma_test_data): Likewise.
3778         (fmod_test_data): Likewise.
3780         [BZ #20250]
3781         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3782         itself.
3783         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3784         zero input to itself.
3785         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3786         Likewise.
3787         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3788         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3789         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3790         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3791         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3793 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3795         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3796         * nptl/tst-cancel4-common.c: New file.
3797         * nptl/tst-cancel4-common.h: Likewise.
3798         * nptl/tst-cancel4.c: Move common definitions to
3799         tst-cancel4-common.{c,h} file.
3800         * nptl/tst-cancel4_1.c: New test.
3801         * nptl/tst-cancel4_2.c: New test.
3803 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3805         [BZ #20248]
3806         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3807         (write_message): New function.
3808         (stackoverflow_handler): Call it instead of printf, to avoid
3809         excessive stack usage by printf.
3810         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3812 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3814         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3815         (prio_inherit_missing): Remove define.
3816         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3817         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3818         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3819         Likewise.
3820         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3821         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3822         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3823         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3824         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3825         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3827 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3829         [BZ #19670]
3830         [BZ #19672]
3832         * io/test-lfs.c (do_prepare): Use xmalloc.
3833         * io/tst-fcntl.c (do_prepare): Likewise.
3834         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3835         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3836         * login/tst-utmp.c (do_prepare): Likewise.
3837         * posix/tst-exec.c (do_prepare): Likewise.
3838         * posix/tst-pathconf.c (prepare): Likewise.
3839         * posix/tst-spawn.c (do_prepare): Likewise.
3840         * posix/tst-truncate.c (do_prepare): Likewise.
3841         * rt/tst-aio.c (do_prepare): Likewise.
3842         * rt/tst-aio64.c (do_prepare): Likewise.
3844 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3846         [BZ #20237]
3847         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3848         (get*ent): Set entidx to NULL during initialization.  If entidx is
3849         NULL, start iteration from the beginning.
3851 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3853         * malloc/malloc.c (musable): Return correct size for dumped fake
3854         mmapped chunk.
3856 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3858         [BZ #20222]
3859         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3860         (_IO_cookie_write): Likewise.
3861         (_IO_cookie_seek): Likewise.
3862         (_IO_cookie_close): Likewise.
3863         (_IO_old_cookie_seek): Likewise.
3864         (set_callbacks): New function.
3865         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3867 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3869         * locale/programs/localedef.c (oldstyle_tables): Remove.
3870         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3872 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3874         [BZ #20240]
3875         * math/Makefile (CFLAGS-s_modf.c): New variable.
3876         (CFLAGS-s_modff.c): Likewise.
3877         (CFLAGS-s_modfl.c): Likewise.
3878         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3880 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3882         [BZ #20215]
3883         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3884         [!__GNUC_PREREQ (3,2)]: Likewise.
3886 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3888         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3889         (msghdr.msg_controllen): Likewise.
3890         (cmsghdr.cmsg_len): Likewise.
3891         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3892         ptw-oldsendmsg.
3893         (CFLAGS-oldrecvmsg.c): Remove rule.
3894         (CFLAGS-oldsendmsg.c): Likewise.
3895         (CFLAGS-recvmsg.c): Add rule.
3896         (CFLAGS-sendmsg.c): Likewise.
3897         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3898         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3899         (CFLAGS-recvmsg.c): Remove rule.
3900         (CFLAGS-sendmsg.c): Likewise.
3901         (CFLAGS-oldrecvmsg.c): Likewise.
3902         (CFLAGS-oldsendmsg.c): Likewise.
3903         (CFLAGS-recvmmsg.c): Likewise.
3904         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3905         to kernel defined interfaces.
3906         (msghdr.msg_controllen): Likewise.
3907         (cmsghdr.cmsg_len): Likewise.
3908         (msghdr.__glibc_reserved1): Remove member.
3909         (msghdr.__glibc_reserved2): Likewise.
3910         (cmsghdr.__glibc_reserved1): Likewise.
3911         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3912         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3913         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3914         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3915         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3916         version.
3917         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3918         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3919         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3920         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3921         Remove recvmsg and sendmsg.
3922         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3923         Likewise.
3924         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3925         Likewise.
3926         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3927         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3928         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3929         Likewise.
3930         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3931         Likewise.
3932         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3933         [libc] (GLIBC_2.24): Likewise.
3934         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3935         Likewise.
3936         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3937         Likewise.
3938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3939         [libc] (GLIBC_2.24): Likewise.
3940         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3941         Likewise.
3942         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3943         Likewise.
3944         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3945         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3946         Likewise.
3947         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3948         Likewise.
3949         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3950         Likewise.
3951         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3952         Likewise.
3953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3954         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3955         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3956         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3957         version for {recv,send,recm,sendm}msg.
3958         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3959         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3960         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3961         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3962         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3963         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3964         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3965         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3966         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3967         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3968         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3969         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3971         Likewise.
3972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3973         Likewise.
3974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3976         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3977         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3978         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3979         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3980         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3981         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3984         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3985         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3986         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3988 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3990         [BZ #19564]
3991         Remove __malloc_initialize_hook from the API.
3992         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3993         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3994         #pragma GCC poison.
3995         * malloc/malloc-hooks.h: New file.
3996         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3997         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3998         (old__malloc_initialize_hook): Rename from
3999         __malloc_initialize_hook to evade poisoning.  Turn into compat
4000         symbol.
4001         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4002         __malloc_initialize_hook.
4003         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4004         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4005         * manual/memory.texi (Hooks for Malloc): Remove
4006         __malloc_initialize_hook.  Adjust hook example.
4008 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4010         [BZ #20235]
4011         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4012         itself.
4013         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4014         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4016         [BZ #20234]
4017         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4018         infinity or NaN input to itself.
4020         [BZ #20233]
4021         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4022         to itself.
4024         [BZ #20232]
4025         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4026         itself.
4028 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4030         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4031         __libc_start_main via GOT.
4033 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4035         * sysdeps/x86_64/memcopy.h: New file.
4036         * sysdeps/x86_64/wordcopy.c: Likewise.
4038 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4040         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4041         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4042         <cstdlib>.
4043         (optimization_barrier): New.
4044         (do_test): Use it.  Call quick_exit in the global namespace.
4045         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4046         instead of <cstdlib>, <thread>.
4047         (optimization_barrier): New.
4048         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4049         Call quick_exit in the global namespace.
4050         (do_test): Call optimization_barrier.  Use pthread_create,
4051         pthread_join instead of std::thread.
4053 2016-06-09  Andreas Schwab  <schwab@suse.de>
4055         [BZ #19755]
4056         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4057         new entries in auto-propagate mode.
4058         * nscd/grpcache.c (cache_addgr): Likewise.
4060 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4062         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4063         New functions.
4064         (add_temp_file): Use them.
4066 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4068         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4070 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4072         [BZ #20229]
4073         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4074         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4075         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4077         [BZ #20228]
4078         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4079         itself.
4080         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4081         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4083         [BZ #20227]
4084         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4085         itself.
4086         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4087         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4088         * math/libm-test.inc (log_test_data): Add sNaN tests.
4090         [BZ #20226]
4091         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4092         itself.
4093         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4094         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4095         (exp10_test_data): Likewise.
4096         (expm1_test_data): Likewise.
4098         [BZ #20225]
4099         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4100         itself.
4101         * math/s_ldexpf.c (__ldexpf): Likewise.
4102         * math/s_ldexpl.c (__ldexpl): Likewise.
4103         * math/w_scalbln.c (__w_scalbln): Likewise.
4104         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4105         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4106         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4107         (scalbln_test_data): Likewise.
4109         [BZ #20224]
4110         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4111         argument to itself.
4112         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4114 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4116         [BZ #19776]
4117         * sysdeps/x86_64/memcpy.S: Make it dummy.
4118         * sysdeps/x86_64/mempcpy.S: Likewise.
4119         * sysdeps/x86_64/memmove.S: New file.
4120         * sysdeps/x86_64/memmove_chk.S: Likewise.
4121         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4122         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4123         * sysdeps/x86_64/memmove.c: Removed.
4124         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4125         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4126         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4127         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4128         Likewise.
4129         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4130         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4131         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4132         memcpy-sse2-unaligned, memmove-avx-unaligned,
4133         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4134         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4135         (__libc_ifunc_impl_list): Replace
4136         __memmove_chk_avx512_unaligned_2 with
4137         __memmove_chk_avx512_unaligned.  Remove
4138         __memmove_chk_avx_unaligned_2.  Replace
4139         __memmove_chk_sse2_unaligned_2 with
4140         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4141         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4142         with __memmove_avx512_unaligned.  Replace
4143         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4144         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4145         with __memcpy_chk_avx512_unaligned.  Remove
4146         __memcpy_chk_avx_unaligned_2.  Replace
4147         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4148         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4149         Replace __memcpy_avx512_unaligned_2 with
4150         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4151         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4152         with __mempcpy_chk_avx512_unaligned.  Remove
4153         __mempcpy_chk_avx_unaligned_2.  Replace
4154         __mempcpy_chk_sse2_unaligned_2 with
4155         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4156         Replace __mempcpy_avx512_unaligned_2 with
4157         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4158         Replace __mempcpy_sse2_unaligned_2 with
4159         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4160         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4161         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4162         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4163         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4164         (ENTRY): Removed.
4165         (END): Likewise.
4166         (ENTRY_CHK): Likewise.
4167         (libc_hidden_builtin_def): Likewise.
4168         Don't include ../memcpy.S.
4169         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4170         __memcpy_chk_avx512_unaligned_erms and
4171         __memcpy_chk_avx512_unaligned.  Use
4172         __memcpy_chk_avx_unaligned_erms and
4173         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4174         Default to __memcpy_chk_sse2_unaligned.
4175         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4176         Change function suffix from unaligned_2 to unaligned.
4177         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4178         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4179         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4180         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4181         (ENTRY): Removed.
4182         (END): Likewise.
4183         (ENTRY_CHK): Likewise.
4184         (libc_hidden_builtin_def): Likewise.
4185         Don't include ../mempcpy.S.
4186         (mempcpy): New.  Add a weak alias.
4187         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4188         __mempcpy_chk_avx512_unaligned_erms and
4189         __mempcpy_chk_avx512_unaligned.  Use
4190         __mempcpy_chk_avx_unaligned_erms and
4191         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4192         Default to __mempcpy_chk_sse2_unaligned.
4194 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4196         [BZ #19881]
4197         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4198         into ...
4199         * sysdeps/x86_64/memset.S: This.
4200         (__bzero): Removed.
4201         (__memset_tail): Likewise.
4202         (__memset_chk): Likewise.
4203         (memset): Likewise.
4204         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4205         defined.
4206         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4207         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4208         (__memset_zero_constant_len_parameter): Check SHARED instead of
4209         PIC.
4210         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4211         memset-avx2 and memset-sse2-unaligned-erms.
4212         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4213         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4214         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4215         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4216         (__bzero): Enabled.
4217         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4218         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4219         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4220         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4221         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4222         (memset): Removed.
4223         (__memset_chk): Likewise.
4224         (MEMSET_SYMBOL): New.
4225         (libc_hidden_builtin_def): Replace __memset_sse2 with
4226         __memset_sse2_unaligned.
4227         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4228         __memset_chk_sse2 and __memset_chk_avx2 with
4229         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4230         Use __memset_chk_sse2_unaligned_erms or
4231         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4232         __memset_chk_avx512_unaligned_erms and
4233         __memset_chk_avx512_unaligned.
4235 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4237         * math/gen-auto-libm-test.c (fp_format_desc): remove
4238         suffix member.
4239         (output_generic_value): Remove usage of suffix member,
4240         and the resulting unuse of the fp_format argument.
4241         (output_for_one_input_case): Remove unused fp_format
4242         parameter.
4244         * math/auto-libm-test-out: Regenerate.
4246         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4247         usage with TEST_COND_ibm128.
4248         (TEST_COND_flt_32): Remove.
4249         (TEST_COND_dbl_64): Remove.
4250         (TEST_COND_ldbl_96_intel): Remove.
4251         (TEST_COND_ldbl_96_m68k): Remove.
4252         (TEST_COND_ldbl_128): Remove.
4254 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4256         * auto-libm-test-in:
4257         Replace flt-32 usage with binary32.
4258         Replace dbl-64 usage with binary64.
4259         Replace ldbl-intel-96 usage with intel96.
4260         Replace ldbl-m68k-96 usage with m68k96.
4261         Replace ldbl-128ibm usage with ibm128.
4262         Replace ldbl-128 usage with binary128.
4264         * auto-libm-test-out: Regenerate.
4266 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4268         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4269         (parse_ulps): Dynamically generate type name matching
4270         string from all_floats.
4271         (get_ulps): Generate the ulps as an array instead.
4272         (output_ulps): Dynamically compose the type based
4273         on the number of supported formats, and print
4274         the indices as type specific helper macros.
4276         * math/libm-test.inc: Remove comment about CHOOSE.
4277         (ulp_data): Generate the type in libm-test-ulps.h.
4278         (ULP_IDX): New macro.
4279         (find_ulps): Update usage of max_ulp.
4281         * math/test-double-vlen2.h (CHOOSE): Remove.
4282         * math/test-double-vlen4.h (CHOOSE): Likewise.
4283         * math/test-double-vlen8.h (CHOOSE): Likewise.
4284         * math/test-float.c (CHOOSE): Likewise.
4285         * math/test-float-finite.c (CHOOSE): Likewise.
4286         * math/test-double.c (CHOOSE): Likewise.
4287         * math/test-double-finite.c (CHOOSE): Likewise.
4288         * math/test-idouble.c (CHOOSE): Likewise.
4289         * math/test-ifloat.c (CHOOSE): Likewise.
4290         * math/test-ildoubl.c (CHOOSE): Likewise.
4291         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4292         * math/test-ldouble.c (CHOOSE): Likewise.
4294         * math/test-float.h (TEST_FLOAT): Remove.
4295         * math/test-double.h (TEST_DOUBLE): Likewise.
4296         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4298 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4300         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4301         (parse_args): Strip C suffix from floating point literals
4302         typed with 'f' and wrap them with LIT().
4304         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4305         (test_ff_f_data_nexttoward): Rename to
4306         (test_fj_f_data): New struct.
4307         (nexttoward_test_data): Relabel tests as
4308         TEST_fj_f instead of TEST_ff_f.
4310 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4312         Emacs bug 23726.
4313         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4314         (__libc_realloc): Correct size computation for dumped fake mmapped
4315         chunks.
4317 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4319         [BZ #20219]
4320         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4321         to itself.
4322         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4324         [BZ #20218]
4325         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4326         to itself.
4327         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4329 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4331         [BZ #20195]
4332         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4333         check to ...
4334         (init_cpu_features): Here.
4336 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4338         [BZ #20214]
4339         * sysdeps/unix/sysv/linux/bits/in.h
4340         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4341          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4342         Define to 1.
4343         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4344          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4345         Define to 0.
4346         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4347         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4349 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4351         [BZ #20198]
4352         * stdlib/Makefile (tests): Add tst-quick_exit, and
4353         tst-thread-quick_exit.
4354         [ifeq ($(have-cxx-thread_local),yes)]
4355         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4356         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4357         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4358         (LDLIBS-tst-thread-quick_exit): Likewise.
4359         [ifneq ($(have-cxx-thread_local),yes)]
4360         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4361         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4362         If run_dtors is true call __call_tls_dtors.
4363         (exit): Call __run_exit_handlers with run_dtors set to true.
4364         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4365         definition.
4366         * stdlib/quick_exit.c (quick_exit): Remove function.
4367         (__new_quick_exit): New function.
4368         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4369         function.
4370         * stdlib/tst-quick_exit.cc: New file.
4371         * stdlib/tst-thread-quick_exit.cc: New file.
4372         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4373         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4374         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4375         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4376         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4377         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4378         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4379         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4380         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4381         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4382         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4383         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4384         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4385         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4386         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4387         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4392         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4393         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4394         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4395         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4396         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4399         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4400         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4401         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4403 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4405         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4406         a typo in comments.
4408 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4410         [BZ #20213]
4411         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4412         argument to itself.
4413         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4415 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4417         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4418         required flags.
4419         (CFLAGS-pwritev64.c): Likewise.
4420         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4421         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4422         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4423         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4424         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4425         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4426         syscall from auto-generation.
4427         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4428         [WORDSIZE == 64] (pwritev64): Remove macro.
4429         [!PWRITEV] (PWRITEV): Likewise.
4430         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4431         [!PWRITEV] (PWRITE): Likewise.
4432         [!PWRITEV] (OFF_T): Likewise.
4433         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4434         (LO_HI_LONG): Remove macro.
4435         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4436         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4437         (PWRITEV): Remove macro.
4438         (PWRITEV_REPLACEMENTE): Likewise.
4439         (PWRITE): Likewise.
4440         (OFF_T): Likewise.
4441         (pwritev64): New function.
4442         * nptl/tst-cancel4.c (tf_writev): Add test.
4444         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4445         required flags.
4446         (CFLAGS-preadv64.c): Likewise.
4447         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4448         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4449         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4450         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4451         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4452         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4453         syscall from auto-generation.
4454         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4455         [WORDSIZE == 64] (preadv64): Remove macro.
4456         [!PREADV] (PREADV): Likewise.
4457         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4458         [!PREADV] (PREAD): Likewise.
4459         [!PREADV] (OFF_T): Likewise.
4460         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4461         (LO_HI_LONG): Remove macro.
4462         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4463         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4464         (PREADV): Remove macro.
4465         (PREADV_REPLACEMENTE): Likewise.
4466         (PREAD): Likewise.
4467         (OFF_T): Likewise.
4468         (preadv64): New function.
4469         * nptl/tst-cancel4.c (tf_preadv): Add test.
4471 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4473         [BZ #20212]
4474         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4475         argument to itself.
4476         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4478 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4480         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4481         New symbol defined as libc_hidden_def.
4482         (strcasestr): Became a weak alias to __strcasestr.
4483         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4484         according to multi-arch support.  Move __stpncpy hidden
4485         definition from here to...
4486         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4487         symbol stpncpy.
4488         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4489         libc_hidden_builtin_def.
4490         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4491         memset symbol to use when multi-arch support is available.
4493 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4495         * dlfcn/tst-rec-dlopen.c: Include string.h.
4497 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4499         * manual/install.texi: Remove mention of --without-tls
4500         * INSTALL: Regenerate.
4502 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4504         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4505         Remove.
4506         (call_function, interposed_malloc_called): New variables.
4507         (malloc): New function.
4508         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4509         and clear call_function as needed.
4511 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4513         * include/wchar.h (__wmemset): Use __typeof.
4515 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4517         * include/wchar.h (__wmemset): Declare function without typeof.
4519 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4521         [BZ #20205]
4522         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4523         exponent when incrementing negative subnormal with low mantissa
4524         word zero.
4525         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4526         Add another test.
4528 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4530         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4531         __wmemset instead of wmemset.
4533 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4535         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4536         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4537         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4538         __USE_KERNEL_IPV6_DEFS to 0.
4539         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4540         Update comment.
4542 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4544         [BZ #19861]
4545         Do not use IFUNC resolver with potentially unrelocated symbol.
4546         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4547         (DEFINE_FORK): Remove macro and inline definition.
4548         (fork_alias): Renamed from fork_ifunc.
4549         (__fork_alias): Renamed from __fork_ifunc.
4551 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4553         [BZ 19653]
4554         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4555         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4557 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4559         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4560         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4561         i386-linux-gnu).
4562         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4563         Set to no.
4564         * sysdeps/mach/hurd/configure: Refresh.
4566 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4568         [BZ #20178]
4569         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4570         on failure instead of exit.
4572 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4574         [BZ #3629]
4575         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4576         of POSIX.1-2008.
4578 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4580         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4581           Use PLT entry for calling _hurd_self_sigstate.
4583 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4585         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4586         available logical processors with SMT level type sharing L2
4587         cache for Intel processors.
4589 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4591         [BZ #20160]
4592         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4593         argument to itself before returning the result.
4594         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4595         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4596         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4597         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4598         Likewise.
4599         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4600         Likewise.
4601         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4602         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4603         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4604         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4605         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4606         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4608         [BZ #20160]
4609         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4610         argument to itself before returning the result.
4611         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4612         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4613         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4614         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4615         Likewise.
4616         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4617         Likewise.
4618         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4619         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4620         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4621         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4622         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4623         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4625 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4627         * libm-test.inc: Replace usage of M_El with
4628         (lit_e): New macro.
4630 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4632         * libm-test.inc: Replace usage of M_PI_4l with
4633         (lit_pi_4_d): New macro.
4635 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4637         * libm-test.inc: Replace usage of M_PIl with
4638         (lit_pi): New macro.
4640 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4642         * libm-test.inc: Replace usage of M_PI2l with
4643         (lit_pi_2_d): New macro.
4645         * math/test-double.h (LITM): New macro.
4646         * math/test-float.h (LITM): Likewise.
4647         * math/test-ldouble.h (LITM): Likewise.
4649 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4651         * libm-test.inc (M_PI_34l): Rename to
4652         (lit_pi_3_m_4_d): New Macro.
4653         (M_PI_34_LOG10El): Rename to
4654         (lit_pi_3_m_4_ln10_m_d): New Macro.
4655         (M_PI2_LOG10El): Rename to
4656         (lit_pi_2_ln10_m_d):  New Macro.
4657         (M_PI4_LOG10El): Rename to
4658         (lit_pi_4_ln10_m_d):  New Macro.
4659         (M_PI_LOG10El): Rename to
4660         (lit_pi_ln10_d):  New Macro.
4662 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4664         [BZ #20157]
4665         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4666         determine whether to negate low half if [_ARCH_PPCGR], and integer
4667         comparison otherwise.
4668         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4669         determine whether to negate low half.
4671         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4672         (NO_TEST_INLINE_DOUBLE): Likewise.
4673         (TEST_COND_x86_64): Likewise.
4674         (TEST_COND_x86): Likewise.
4675         (M_PI_6l): Likewise.
4677 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4679         * math/libm-test.inc:
4680         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4681         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4682         (TEST_LDOUBLE): Update usage to evaluate as true if
4683         the guarded tests match the property being tested.
4684         (LDBL_MAX_EXP): Change to MAX_EXP.
4685         (LDBL_MIN_EXP): Change to MIN_EXP.
4686         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4687         nexttoward tests.
4689 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4691         * math/libm-test.inc:
4692         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4693         (TYPE_MIN): Likewise.
4694         (TYPE_TRUE_MIN): Likewise.
4695         (TYPE_MAX): Likewise.
4696         (MIN_EXP): Likewise.
4697         (MAX_EXP): Likewise.
4698         (MANT_DIG): Likewise.
4700         (FSTR_MAX): New macro.
4701         (__CONCATX): Likewise.
4702         (QTYPE_STR): Likewise.
4703         (TEST_COND_binary32): Likewise.
4704         (TEST_COND_binary64): Likewise.
4705         (TEST_COND_binary128): Likewise.
4706         (TEST_COND_ibm128): Likewise.
4707         (TEST_COND_intel96): Likewise.
4708         (TEST_COND_m68k96): Likewise.
4710         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4711         (TEST_COND_dbl_64): Likewise.
4712         (TEST_COND_ldbl_96_intel): Likewise.
4713         (TEST_COND_ldbl_96_m68k): Likewise.
4714         (TEST_COND_ldbl_128): Likewise.
4715         (TEST_COND_ldbl_128ibm): Likewise.
4717         (plus_zero): Redefine using LIT macro.
4718         (minus_zero): Likewise.
4719         (plus_infty): Redefine as (INF).
4720         (minux_infty): Redefine as (-INF).
4721         (max_value): Redefine as TYPE_MAX.
4722         (min_value): Redefine as TYPE_MIN.
4723         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4725         (print_float): Refactor to use snprintf to convert FLOAT values
4726         to string. This brings it closer to dropin replacement of strtof
4727         for the TS 18661 defined types.
4728         (update_stats): Likewise.
4729         (print_complex_function_ulps): Likewise.
4730         (print_max_error): Likewise.
4731         (print_complex_max_error): Likewise.
4732         (check_float_internal): Likewise.
4734         * math/test-float.h (PREFIX): New macro.
4735         (LIT): Likewise.
4736         (TYPE_STR): Likewise.
4737         (FTOSTR): Likewise.
4739         * math/test-double.h (PREFIX): New macro.
4740         (LIT): Likewise.
4741         (TYPE_STR): Likewise.
4742         (FTOSTR): Likewise.
4744         * math/test-ldouble.h (PREFIX): New macro.
4745         (LIT): Likewise.
4746         (TYPE_STR): Likewise.
4747         (FTOSTR): Likewise.
4749 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4751         [BZ #20156]
4752         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4753         to itself when zero or not finite.
4754         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4755         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4756         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4757         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4759 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4761         [BZ #20153]
4762         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4763         x * x + x for infinities and NaNs.
4765         [BZ #20151]
4766         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4767         argument to itself before returning result.
4768         (__ieee754_y0l): Likewise.
4769         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4770         (__ieee754_y1l).
4772         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4773         (atan_test_data): Likewise.
4774         (ceil_test_data): Likewise.
4775         (cos_test_data): Likewise.
4776         (cosh_test_data): Likewise.
4777         (erf_test_data): Likewise.
4778         (exp2_test_data): Likewise.
4779         (fabs_test_data): Likewise.
4780         (floor_test_data): Likewise.
4781         (ilogb_test_data): Likewise.
4782         (j0_test_data): Likewise.
4783         (j1_test_data): Likewise.
4784         (jn_test_data): Likewise.
4785         (lgamma_test_data): Likewise.
4786         (lrint_test_data): Likewise.
4787         (llrint_test_data): Likewise.
4788         (logb_test_data): Likewise.
4789         (lround_test_data): Likewise.
4790         (llround_test_data): Likewise.
4791         (nearbyint_test_data): Likewise.
4792         (rint_test_data): Likewise.
4793         (round_test_data): Likewise.
4794         (sin_test_data): Likewise.
4795         (sincos_test_data): Likewise.
4796         (sinh_test_data): Likewise.
4797         (sqrt_test_data): Likewise.
4798         (tan_test_data): Likewise.
4799         (tanh_test_data): Likewise.
4800         (tgamma_test_data): Likewise.
4801         (trunc_test_data): Likewise.
4802         (y0_test_data): Likewise.
4803         (y1_test_data): Likewise.
4804         (yn_test_data): Likewise.
4806         * math/libm-test.inc: Update comment about NaN testing.
4807         (TEST_SNAN): New macro.
4808         (snan_value): Likewise.
4809         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4810         (fpclassify_test_data): Add sNaN tests.
4811         (isfinite_test_data): Likewise.
4812         (isinf_test_data): Likewise.
4813         (isnan_test_data): Likewise.
4814         (isnormal_test_data): Likewise.
4815         (issignaling_test_data): Likewise.
4816         (signbit_test_data): Likewise.
4817         * math/gen-libm-test.pl (%beautify): Add snan_value.
4818         (show_exceptions): Add argument $test_snan.
4819         (parse_args): Handle snan_value as non-finite.  Update call to
4820         show_exceptions.
4821         * math/Makefile (libm-test-no-inline-cflags): Add
4822         -fsignaling-nans.
4824 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4826         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4827         (CFLAGS-oldsendmsg.c): Add rule.
4828         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4829         Correct recvmsg symbol name.
4830         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4831         Likewise.
4833 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4835         * sysdeps/unix/sysv/linux/Makefile
4836         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4837         oldsendmmsg.
4838         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4839         sendmmsg.
4840         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4841         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4842         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4843         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4845         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4846         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4848         Likewise.
4849         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4850         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4851         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4852         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4853         iovlen and controllen fields to adjust to POSIX specification.
4854         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4856         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4857         and change to correct expected type.
4858         (msghdr.msg_controllen): Likewise.
4859         (cmsghdr.cmsg_len): Likewise.
4860         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4861         expected POSIX assumption about the size.
4862         (msghdr.msg_controllen): Likewise.
4863         (msghdr.__glibc_reserved1): Likewise.
4864         (msghdr.__glibc_reserved2): Likewise.
4865         (cmsghdr.cmsg_len): Likewise.
4866         (cmsghdr.__glibc_reserved1): Likewise.
4867         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4868         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4869         (CFLAGS-sendmsg.c): Remove rule.
4870         (CFLAGS-recvmsg.c): Likewise.
4871         (CFLAGS-oldsendmsg.c): Add rule.
4872         (CFLAGS-oldrecvmsg.c): Likewise.
4873         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4874         recvmsg and sendmsg.
4875         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4876         Likewise.
4877         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4878         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4879         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4880         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4881         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4882         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4883         Likewise.
4884         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4885         Likewise.
4886         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4887         Likewise.
4888         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4889         Likewise.
4890         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4891         Likewise.
4892         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4893         Likewise.
4894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4895         (GLIBC_2.24): Likewise.
4896         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4897         Likewise.
4898         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4899         Likewise.
4900         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4901         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4902         Likewise.
4903         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4904         Likewise.
4905         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4906         Likewise.
4907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4908         (GLIBC_2.24): Likewise.
4909         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4910         Likewise.
4911         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4912         Likewise.
4913         * sysdeps/unix/sysv/linux/Makefile
4914         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4915         (CFLAGS-sendmsg.c): Add rule.
4916         (CFLAGS-recvmsg.c): Likewise.
4917         (CFLAGS-oldsendmsg.c): Likewise.
4918         (CFLAGS-oldrecvmsg.c): Likewise.
4919         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4920         initialization.
4921         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4922         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4923         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4924         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4925         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4926         iovlen and controllen fields to adjust to POSIX specification.
4927         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4928         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4929         added recvmsg and sendmsg.
4930         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4931         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4932         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4933         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4934         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4935         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4936         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4937         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4938         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4939         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4940         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4941         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4943         Likewise.
4944         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4946         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4947         Likewise.
4948         Likewise.
4949         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4950         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4951         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4952         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4953         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4954         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4956         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4958         Likewise.
4959         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4960         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4962         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4963         from auto-generation.
4964         (sendmsg): Likewise.
4965         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4966         (sendmsg): Likewise.
4967         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4968         (sendmsg): Likewise.
4969         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4970         (sendmsg): Likewise.
4971         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4972         (sendmsg): Likewise.
4973         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4974         (sendmsg): Likewise.
4975         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4976         Likewise.
4977         (sendmsg): Likewise.
4978         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4979         (sendmsg): Likewise.
4980         * sysdeps/unix/sysv/linux/i386/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/kernel-features.h
4990         (__ASSUME_SENDMSG_SYSCALL): Define.
4991         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4992         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4993         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4994         Remove.
4995         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4996         Likewise.
4997         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4998         Undefine.
4999         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5000         Likewise.
5001         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5002         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5003         Remove.
5004         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5005         Likewise.
5006         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5007         Undefine.
5008         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5009         Likewise.
5010         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5011         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5012         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5013         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5014         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5015         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5016         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5017         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5018         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5020 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5022         * stdlib/gen-tst-strtod-round.c: Add backslash to
5023         compile command in comment.
5024         (printfp): Remove the literal suffix, and define an infinite
5025         value as INF to avoid expansion clash with INFINITY.
5026         (round_str): Remove the literal suffix.
5027         (round_for_all): Likewise, remove the now duplicate ldbl-64
5028         entry, and remove some magic constants.
5030         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5031         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5032         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5033         (_CONCAT): New macro.
5034         (CONCAT): Likewise.
5035         (CHOOSE_ld): Likewise.
5036         (CHOOSE_f): Likewise.
5037         (CHOOSE_d): Likewise.
5038         (FTYPE_MEMBER): Likewise.
5039         (BOOL_MEMBER): Likewise.
5040         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5041         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5042         (_XNTRY): Likewise.
5043         (XNTRY): Likewise.
5044         (_ENTRY): Likewise.
5045         (ENTRY): Likewise.
5046         (test_exactness): Generate members via macro.
5047         (test_results): Likewise.
5048         (test): Update members.
5049         (TEST): Redefine using new macros.
5050         (INF): New macro.
5051         (fetestmodes): New structure.
5052         (do_test): Refactor to be type generic.
5053         (test_in_one_mode): Refactor duplicate code into
5054         (GEN_ONE_TEST): New macro.
5056         * stdlib/tst-strtod-round-data.h: Regenerate.
5058         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5059         Extend to pass additional arbitrary parameters to
5060         generators.
5062 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5064         [BZ #15479]
5065         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5066         floating-point state after first floating-point operation on
5067         input.  Restore full floating-point state instead of just rounding
5068         mode.
5069         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5070         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5071         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5072         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5073         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5075         [BZ #15479]
5076         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5077         floating-point state after first floating-point operation on
5078         input.  Restore full floating-point state instead of just rounding
5079         mode.
5080         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5081         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5082         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5083         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5084         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5086 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5088         [BZ #19727]
5089         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5090         valid high surrogate.
5091         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5092         of an utf16 surrogate.
5093         * iconv/gconv_simple.c (BODY): Likewise.
5094         * iconvdata/bug-iconv12.c: New file.
5095         * iconvdata/Makefile (tests): Add bug-iconv12.
5097 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5099         [BZ #19726]
5100         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5101         outptrp in case of an illegal input.
5102         * iconv/tst-iconv6.c: New file.
5103         * iconv/Makefile (tests): Add tst-iconv6.
5105 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5107         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5108         an error in case of a value in range of an utf16 low surrogate.
5110 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5112         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5113         an error in case of a value in range of an utf16 low surrogate.
5115 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5117         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5118         Move to ...
5119         * sysdeps/s390/Makefile: ... here.
5120         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5121         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5122         (BRANCH_ON_COUNT): New define.
5123         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5124         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5125         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5126         run on s390-32, too.
5127         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5128         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5129         run on s390-32, too.
5130         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5131         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5132         run on s390-32, too.
5134 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5136         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5137         etf3eh or new vector loop-variant.
5139 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5141         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5142         etf3eh or new vector loop-variant.
5144 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5146         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5147         or new vector loop-variant.
5149 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5151         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5152         Rename to TR_LOOP and usage of tr instead of troo instruction.
5154 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5156         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5157         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5159 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5161         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5162         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5163         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5164         New override define.
5165         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5167 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5169         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5170         * sysdeps/s390/configure.ac: Add test for S390 vector register
5171         support in gcc.
5172         * sysdeps/s390/configure: Regenerated.
5174 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5176         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5177         Install file from $(objpfx)gconv-modules.
5178         ($(objpfx)gconv-modules): Concatenate architecture specific file
5179         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5180         * sysdeps/s390/gconv-modules: New file.
5181         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5182         Deleted.
5183         ($(objpfx)gconv-modules-s390): Deleted.
5184         (sysdeps-gconv-modules): New variable.
5186 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5188         [BZ #15479]
5189         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5190         of immediate operand to rounding instruction.
5191         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5192         Likewise.
5193         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5194         Likewise.
5195         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5196         Likewise.
5198 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5200         * math/libm-test.inc (MIN_EXP): Directly define as
5201         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5203 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5205         * math/libm-test.inc (MANT_DIG): Directly define as
5206         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5208 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5210         * stdlib/gen-tst-strtod-round.c (main):
5211           Change usage to more closely match the generated
5212           output.  Add usage and compilation instructions.
5213           (string_to_fp): Add and use FILE* parameter as
5214           output target.
5215           (print_fp): Likewise.
5216           (round_str): Likewise.
5217           (round_for_all): Likewise.
5218         * stdlib/tst-strtod-round.c (tests): Move into
5219         * stdlib/tst-strtod-round-data.h: New file.
5221 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5223         [BZ #15479]
5224         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5225         (__round): Do not force "inexact" exception.
5226         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5227         variable.
5228         (__round): Do not force "inexact" exception.
5229         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5230         (__roundf): Do not force "inexact" exception.
5231         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5232         (__roundl): Do not force "inexact" exception.
5233         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5234         (__roundl): Do not force "inexact" exception.
5235         * math/libm-test.inc (round_test_data): Do not allow spurious
5236         "inexact" exceptions.
5238         [BZ #15479]
5239         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5240         exception in comment.
5241         (huge): Remove variable.
5242         (__floor): Do not force "inexact" exception.
5243         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5244         "inexact" exception in comment.
5245         (huge): Remove variable.
5246         (__floor): Do not force "inexact" exception.
5247         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5248         exception in comment.
5249         (huge): Remove variable.
5250         (__floorf): Do not force "inexact" exception.
5251         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5252         exception in comment.
5253         (huge): Remove variable.
5254         (__floorl): Do not force "inexact" exception.
5256         [BZ #15479]
5257         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5258         exception in comment.
5259         (huge): Remove variable.
5260         (__ceil): Do not force "inexact" exception.
5261         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5262         "inexact" exception in comment.
5263         (huge): Remove variable.
5264         (__ceil): Do not force "inexact" exception.
5265         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5266         (__ceilf): Do not force "inexact" exception.
5267         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5268         exception in comment.
5269         (huge): Remove variable.
5270         (__ceill): Do not force "inexact" exception.
5272 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5274         * config.h.in (BIND_NOW): New.
5275         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5276         * configure: Regenerated.
5277         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5278         indirect branch via the GOT slot.
5280 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5282         [BZ #19765]
5283         * sysdeps/s390/mempcpy.S: New File.
5284         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5285         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5286         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5287         Add mempcpy variants.
5288         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5289         (memcpy): Adjust to be usable from mempcpy entry point.
5290         (__memcpy_mvcle): Likewise.
5291         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5292         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5293         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5294         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5295         (__memcpy_z10): Likewise.
5296         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5298 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5300         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5301         Remove __GI_ symbol.
5302         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5303         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5304         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5305         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5306         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5307         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5309 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5311         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5312         Use cghi instead of chi to compare 64bit value.
5314 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5316         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5317         Jump to 1MB check before executing mvc-loop.
5319 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5321         [BZ #6527]
5322         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5323         unconditionally.
5324         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5326 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5328         * stdlib/tst-strtod6.c (do_test): Use new type generic
5329         invocation of the test function.
5330         (test): Refactor into ...
5331         (TEST_STRTOD): New macro base function.
5333 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5335         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5336         (TEST_STRTOD): New macro.
5337         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5339 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5341         * stdlib/tst-strtod6.c (do_test): Use new type generic
5342         invocation of the test function.
5343         (test): Refactor into ...
5344         (TEST_STRTOD): New macro base function.
5346 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5348         CVE-2016-4429
5349         [BZ #20112]
5350         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5351         payload.
5353 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5355         [BZ #20111]
5356         * bits/sockaddr.h (_SS_SIZE): Define.
5357         * bits/socket.h (_SS_SIZE): Remove.
5358         (_SS_PADSIZE): Adjust to account for all padding.
5359         (struct sockaddr_storage): Update comment.  Avoid implicit
5360         padding.
5361         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5362         (_SS_PADSIZE): Adjust to account for all padding.
5363         (struct sockaddr_storage): Update comment.  Avoid implicit
5364         padding.
5365         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5366         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5367         (_SS_PADSIZE): Adjust to account for all padding.
5368         (struct sockaddr_storage): Update comment.  Avoid implicit
5369         padding.
5370         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5371         __SS_SIZE is 126 in this version.
5372         * inet/tst-sockaddr.c: New file.
5373         * inet/Makefile (tests): Add tst-sockaddr.c
5374         (tst-sockaddr.c): Compile with non-strict aliasing.
5376 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5378         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5379         [XPG3 || XPG4].
5380         (NL_ARGMAX): Also expect for [XPG3].
5381         (NL_LANGMAX): Likewise.
5382         (NL_MSGMAX): Likewise.
5383         (NL_NMAX): Likewise.
5384         (NL_SETMAX): Likewise.
5385         (NL_TEXTMAX): Likewise.
5386         (NZERO): Likewise.
5387         (TMP_MAX): Likewise.
5388         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5389         variable.
5391         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5392         (PF_MAX): Update value.
5393         (AF_KCM): New macro.
5394         (SOL_NETBEUI): Likewise.
5395         (SOL_LLC): Likewise.
5396         (SOL_DCCP): Likewise.
5397         (SOL_NETLINK): Likewise.
5398         (SOL_TIPC): Likewise.
5399         (SOL_RXRPC): Likewise.
5400         (SOL_PPPOL2TP): Likewise.
5401         (SOL_BLUETOOTH): Likewise.
5402         (SOL_PNPIPE): Likewise.
5403         (SOL_RDS): Likewise.
5404         (SOL_IUCV): Likewise.
5405         (SOL_CAIF): Likewise.
5406         (SOL_ALG): Likewise.
5407         (SOL_NFC): Likewise.
5408         (SOL_KCM): Likewise.
5409         (MSG_BATCH): New enum value and macro.
5411 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5413         [BZ #18185]
5414         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5415         sharing L2 cache to 2 for Knights Landing.
5417 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5419         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5420         (FTW_DP): Do not expect for [XPG3 || XPG4].
5421         (FTW_SL): Do not expect for [XPG3].
5422         (FTW_SLN): Likewise.
5423         (FTW_PHYS): Likewise.
5424         (FTW_MOUNT): Likewise.
5425         (FTW_DEPTH): Likewise.
5426         (FTW_CHDIR): Likewise.
5427         (nftw): Likewise.
5428         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5429         variable.
5431 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5433         * manual/errno.texi: Fix various typos & grammar errors.
5435 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5437         * manual/intro.texi: Fix duplicated typo.
5439 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5441         [BZ #13304]
5442         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5443         <float.h>, <math_private.h> and <stdlib.h>.
5444         (add_split): New function.
5445         (mul_split): Likewise.
5446         (ext_val): New typedef.
5447         (store_ext_val): New function.
5448         (mul_ext_val): New function.
5449         (compare): New function.
5450         (add_split_ext): New function.
5451         (__fmal): After checking for Inf, NaN and zero, compute result as
5452         an exact sum of scaled double values in round-to-nearest before
5453         adding those up and adjusting for other rounding modes.
5454         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5455         tests of fma.
5456         * math/auto-libm-test-out: Regenerated.
5458 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5460         [BZ #20119]
5461         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5462         processor level type mask for CPUID with EAX == 11.
5464 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5466         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5467         logical threads if the HTT bit is 0.
5468         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5469         (index_cpu_HTT): Likewise.
5470         (reg_HTT): Likewise.
5472 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5474         [BZ #20115]
5475         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5476         Remove alignments on jump targets.
5478 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5480         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5481         (getpwent): Likewise.
5482         (setpwent): Likewise.
5483         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5484         variable.
5486         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5487         (remque): Likewise.
5488         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5489         variable.
5491 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5493         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5494         not being tested.
5496 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5498         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5499         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5500         call.
5501         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5502         (__condvar_cleanup1): Likewise.
5504 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5506         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5507         New
5508         (__pthread_unwind): Renamed to ...
5509         (PTHREAD_UNWIND): This.
5510         (__pthread_enable_asynccancel): Replace
5511         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5513 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5515         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5516         (CLONE_NEWCGROUP): New macro.
5518         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5519         (Q_GETNEXTQUOTA): New macro.
5521 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5523         [BZ #19907]
5524         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5525         buffer updated by the previous run.
5526         * string/test-memcpy.c (do_one_test): Likewise.
5527         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5528         * string/test-memmove.c (do_one_test): Likewise.
5530 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5532         [BZ #20094]
5533         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5534         not [__USE_XOPEN].
5535         (unlockpt): Likewise.
5536         (ptsname): Likewise.
5537         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5538         variable.
5540         [BZ #20076]
5541         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5542         instead of [__USE_UNIX98].
5543         (S_ISSOCK): Likewise.
5544         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5545         variable.
5547         [BZ #20074]
5548         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5549         [__USE_POSIX].
5550         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5551         variable.
5553         [BZ #20051]
5554         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5555         (ttyslot): Do not declare.
5556         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5557         (ttyslot): New prototype.
5558         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5559         variable.
5560         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5562 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5564         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5566 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5568         Fix race condition in tst-mallocfork2, use fewer resources.
5569         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5570         to current process group.
5571         (signal_sender): Yield in the non-sleeping case.
5573 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5575         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5576         (ecvt): Likewise.
5577         (fcvt): Likewise.
5578         (gcvt): Likewise.
5579         (getsubopt): Likewise.
5580         (grantpt): Likewise.
5581         (initstate): Likewise.
5582         (l64a): Likewise.
5583         (mktemp): Likewise.
5584         (mkstemp): Likewise.
5585         (ptsname): Likewise.
5586         (random): Likewise.
5587         (realpath): Likewise.
5588         (setstate): Likewise.
5589         (srandom): Likewise.
5590         (ttyslot): Likewise.
5591         (unlockpt): Likewise.
5592         (valloc): Likewise.
5594         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5595         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5596         variable.
5598 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5600         [BZ #20072]
5601         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5602         init_cpu_features only if SHARED is defined.
5603         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5605 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5607         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5608         non-inclusive caches on Intel processors.
5610 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5612         * malloc/malloc.c (dumped_main_arena_start)
5613         (dumped_main_arena_end): New variables.
5614         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5615         (do_check_chunk): Skip dumped fake mmapped chunks.
5616         (munmap_chunk): Likewise.
5617         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5618         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5619         mmapped chunks.
5620         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5621         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5622         and dumped_main_arena_end to cover the dumped heap.
5624 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5626         * conform/data/time.h-data (getdate_err): Do not expect for
5627         [XPG3].
5628         (getdate): Likewise.
5629         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5630         variable.
5632         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5633         (F_ULOCK): Likewise.
5634         (F_TEST): Likewise.
5635         (F_TLOCK): Likewise.
5636         (useconds_t): Likewise.
5637         (intptr_t): Do not expect for [XPG3] or [XPG4].
5638         (brk): Do not expect for [XPG3]
5639         (fchown): Likewise.
5640         (fchdir): Likewise.
5641         (ftruncate): Likewise.
5642         (getdtablesize): Likewise.
5643         (gethostid): Likewise.
5644         (getpagesize): Likewise.
5645         (getpgid): Likewise.
5646         (getsid): Likewise.
5647         (getwd): Likewise.
5648         (lchown): Likewise.
5649         (lockf): Likewise.
5650         (readlink): Likewise.
5651         (sbrk): Likewise.
5652         (setpgrp): Likewise.
5653         (setregid): Likewise.
5654         (setreuid): Likewise.
5655         (symlink): Likewise.
5656         (sync): Likewise.
5657         (truncate): Likewise.
5658         (ualarm): Likewise.
5659         (usleep): Likewise.
5660         (vfork): Likewise.
5661         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5662         variable.
5664         [BZ #20054]
5665         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5666         not [__USE_UNIX98].
5667         * conform/data/unistd.h-data (gethostname): Do not expect for
5668         [XPG3].
5670         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5671         [!POSIX] (S_IFBLK): Likewise.
5672         [!POSIX] (S_IFCHR): Likewise.
5673         [!POSIX] (S_IFIFO): Likewise.
5674         [!POSIX] (S_IFREG): Likewise.
5675         [!POSIX] (S_IFDIR): Likewise.
5676         [!POSIX] (S_IFLNK): Likewise.
5677         [!POSIX] (S_IFSOCK): Likewise.
5678         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5679         variable.
5680         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5682 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5684         * sysdeps/aarch64/memset.S (__memset):
5685         Rewrite of optimized memset.
5687 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5689         [BZ #19703]
5690         Partially async-signal-safe fork for single-threaded processes.
5691         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5692         variable.  Do not acquire and reset/release malloc and libio locks
5693         in single-threaded processes.
5694         * malloc/tst-mallocfork2.c: New file.
5695         * malloc/Makefile (tests): Add it.
5697 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5699         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5700         argument.  Use scratch buffer instead of extend_alloca.
5701         (gethosts): Use scratch buffer instead of extend_alloca.
5702         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5703         extend_alloca.
5704         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5706 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5708         [BZ #20055]
5709         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5710         instead of [__USE_UNIX98].
5711         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5712         [__USE_UNIX98].
5713         * conform/data/termios.h-data (tcgetsid): Do not expect for
5714         [XPG3].
5715         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5716         variable.
5717         (test-xfail-XPG4/termios.h/conform): Likewise.
5719 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5721         Do not use mcheck in localedef.
5722         * locale/programs/localedef.c (turn_on_mcheck)
5723         (__malloc_initialize_hook): Remove.
5725 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5727         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5728         * sysdeps/s390/s390-64/Makefile: Likewise.
5730 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5732         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5733         Remove ifunc-defines.sym.
5734         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5735         Likewise.
5736         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5737         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5738         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5739         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5740         rtld-global-offsets.sym.
5741         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5742         * sysdeps/x86/cpu-features-offsets.sym: This.
5743         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5744         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5746 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5748         [BZ #20073]
5749         * io/sys/stat.h (fchmod): Declare for
5750         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5751         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5752         variable.
5754         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5755         [XPG3] (S_IFSOCK): Likewise.
5756         [XPG3] (S_ISVTX): Likewise.
5757         [XPG3] (S_ISLNK): Likewise.
5758         [XPG3] (S_ISSOCK): Likewise.
5759         [XPG3] (fchmod): Likewise.
5760         [XPG3] (lstat): Likewise.
5761         [XPG3] (mknod): Likewise.
5763         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5764         [XPG3].  Expect type long and XFAIL for [XPG4].
5765         (st_blocks): Likewise.
5767         [BZ #20044]
5768         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5769         (pthread_atfork): New prototype.
5770         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5771         variable.
5773         [BZ #20043]
5774         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5775         prototype.
5777 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5779         [BZ #20017]
5780         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5781         gmtime.
5783 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5785         [BZ #19994]
5786         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5787         flag in _res.options.
5789 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5791         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5792         [XPG3 || XPG4].
5793         (blksize_t): Likewise.
5794         (clockid_t): Likewise.
5795         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5796         variable.
5797         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5799 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5801         * sysdeps/unix/sysv/linux/s390/init-first.c:
5802         Add VDSO_SYMBOL(getcpu).
5803         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5804         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5805         Add VDSO_SYMBOL(getcpu).
5806         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5807         New define HAVE_GETCPU_VSYSCALL.
5808         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5810 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5812         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5813         instead of <sysdeps/x86_64/cacheinfo.c>.
5814         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5815         * sysdeps/x86/cacheinfo.c: Here.
5817 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5819         * malloc/malloc-internal.h: Adjust header file guard.
5821 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5823         [BZ #19787]
5824         * inet/getnameinfo.c (check_sprintf_result): New function.
5825         (CHECKED_SNPRINTF): New macro.
5826         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5827         to the host buffer.
5828         (gni_host_local): Use checked_copy to copy the host name.
5829         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5830         (gni_serv_local): Use checked_copy to copy the service name.
5831         (getnameinfo): Remove unnecessary truncation of result buffers.
5833 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5835         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5836         in case of inet_ntop failure.
5838 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5840         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5841         avoid long lines.
5842         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5843         variables.
5844         (gni_host_inet, gni_host_local): Add comment.
5845         (gni_host): Add comment.  Use temporary to avoid long lines.
5847 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5849         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5850         registers specifiers where general purpose registers specifiers should
5851         have been used.
5853 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5855         [BZ #19779]
5856         CVE-2016-1234
5857         Avoid copying names of directory entries.
5858         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5859         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5860         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5861         (struct readdir_result): New type.
5862         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5863         (GL_READDIR): New macros.
5864         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5865         (convert_dirent, convert_dirent64): New functions.
5866         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5867         convert_dirent64.  Adjust references to the readdir result.
5868         * sysdeps/unix/sysv/linux/i386/glob64.c:
5869         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5870         * posix/bug-glob2.c (LONG_NAME): Define.
5871         (filesystem): Add LONG_NAME.
5872         (my_DIR): Increase the size of room_for_dirent.
5874 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5876         [BZ #20041]
5877         * misc/sys/select.h (__need_timespec): Only define if
5878         [__USE_XOPEN2K].
5879         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5880         variable.
5881         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5882         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5883         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5885 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5886             Segher Boessenkool  <segher@gcc.gnu.org>
5888         [BZ #20004]
5889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5890         (__novec_swapcontext): Add missing load.
5892 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5894         [BZ #20023]
5895         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5896         <time.h>.
5897         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5898         variable.
5899         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5901 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5904         flags CLONE_VM compare.
5906 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5908         [BZ #20031]
5909         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5910         completely empty.
5912 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5914         [BZ #19573]
5915         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5916         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5917         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5918         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5919         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5920         (hesiod_free_list): Mark as hidden.
5921         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5922         res_set, res_get.
5923         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5924         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5925         (hesiod_init): Remove obsolete res_ninit call.
5926         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5927         (hesiod_bind): Do not call init.
5928         (get_txt_records): Use res_mkquery, res_send instead of
5929         res_nmkquery, res_nsend.
5930         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5931         instead of _nss_hesiod_init.
5932         (_nss_hesiod_initgroups_dyn): Likewise.
5933         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5934         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5935         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5937 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5939         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5940         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5942 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5944         * hesiod/hesiod.h: Remove RCS keyword.
5945         * hesiod/hesiod_p.h: Likewise.
5947         * hesiod/hesiod.c: Likewise.
5949 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5951         [BZ #12450]
5952         * locale/iso-639.def: Add Samogitian/sgs.
5954 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5956         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5958         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5960 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5961             Carlos O'Donell  <carlos@redhat.com>
5963         [BZ #19072]
5964         * grp/Makefile (headers): Add grp-merge.h
5965         (routines): Add grp-merge.
5966         * grp/getgrgid_r.c: Include grp-merge.h.
5967         (DEEPCOPY_FN): Define.
5968         (MERGE_FN): Define.
5969         * grp/getgrname_r.c: Include grp-merge.h.
5970         (DEEPCOPY_FN): Define.
5971         (MERGE_FN): Define.
5972         * grp/grp-merge.c: New file.
5973         * grp/grp-merge.h: New file.
5974         * include/grp-merge.h: New file.
5975         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5976         __copy_grp@GLIBC_PRIVATE.
5977         * manual/nss.texi (Actions in the NSS configuration): Describe
5978         return, continue, and merge.
5979         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5980         (DEEPCOPY_FN): Define.
5981         (MERGE_FN): Define.
5982         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5983         (DEEPCOPY_FN): Define.
5984         (MERGE_FN): Define.
5985         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5986         [!MERGE_FN]: Define __merge_einval.
5987         (CHECK_MERGE): Define.
5988         (REENTRANT_NAME): Process merge if do_merge is true.
5989         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5990         (__nss_getent_r): Likewise.
5991         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5992         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5994 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5996         [BZ #20012]
5997         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5998         length to calculate the buffer to read.
5999         (fmemopen_write): Set the buffer position based on bytes written.
6000         (fmemopen_seek): Return EINVAL for invalid whence modes.
6002         [BZ #19957]
6003         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6004         tst-getpid2.
6005         (test): Add tst-clone2.
6006         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6007         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6008         pid/tid fields for CLONE_VM.
6009         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6010         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6011         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6012         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6013         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6014         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6015         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6016         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6018         Likewise.
6019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6020         Likewise.
6021         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6022         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6023         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6024         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6025         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6026         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6027         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6028         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6030 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6032         [BZ #19642]
6033         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6034         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6035         (gni_serv_local, gni_serv): New functions extracted from
6036         getnameinfo.
6037         (getnameinfo): Call gni_host and gni_serv to perform the
6038         processing.  Always free scratch buffer.
6040 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6042         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6043         remaining bytes in the dest string, with zeros.
6045 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6047         [BZ #20010]
6048         CVE-2016-3706
6049         * sysdeps/posix/getaddrinfo.c
6050         (convert_hostent_to_gaih_addrtuple): New function.
6051         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6052         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6053         AF_INET data.
6055 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6057         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6058         callback function gl_readdir.
6059         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6060         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6061         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6062         memcpy to copy the name.
6063         * manual/pattern.texi (Calling Glob): Document requirements for
6064         implementations of the gl_readdir callback function.
6065         * manual/examples/mkdirent.c: New example.
6066         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6067         per the manual guidance.
6068         * posix/tst-gnuglob.c (my_readdir): Likewise.
6070 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6072         [BZ #20014]
6073         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6074         not [__USE_POSIX].
6075         (getchar_unlocked): Likewise.
6076         (putc_unlocked): Likewise.
6077         (putchar_unlocked): Likewise.
6078         (flockfile): Likewise.
6079         (ftrylockfile): Likewise.
6080         (funlockfile): Likewise.
6081         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6082         variable.
6083         (test-xfail-XPG4/stdio.h/conform): Likewise.
6085         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6086         Expect constant.
6087         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6088         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6089         variable.
6090         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6091         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6093         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6094         [__USE_LARGEFILE64] (off64_t): Likewise.
6095         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6096         variable.
6098 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6100         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6102 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6104         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6105         * resolv/res_init.c: Likewise.
6106         * resolv/res_mkquery.c: Likewise.
6108 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6110         * resolv/res_init.c (isascii): Do not define.  Use definition in
6111         <ctype.h>.
6112         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6113         (LOG_AUTH): Remove.
6114         (SPRINTF): Remove, adjust caller.
6115         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6117 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6119         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6120         SUNSECURITY conditional.
6121         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6123 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6125         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6126         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6127         Remove BSD-related preprocessor conditionals.
6128         * conf/portability.h: Remove.
6130 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6132         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6133         * resolv/res_data.c: Likewise.
6135 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6137         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6138         * resolv/res_data.c: Remove code conditional on ultrix.
6140 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6142         * resolv/res_init.c (RFC1535): Do not define.  Remove
6143         RFC1535 preprocessor conditionals.
6144         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6145         because there configuration options which make the resolver
6146         behavior different.
6148 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6150         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6151         RESOLVSORT preprocessor conditionals.
6152         * resolv/nss_dns/dns-host.c: Likewise.
6153         * resolv/res_init.c: Likewise.
6155 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6157         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6158         is never defined.
6160 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6162         * inet/inet_lnaof.c: Remove SCSS keyword.
6163         * inet/inet_mkadr.c: Likewise.
6164         * inet/inet_net.c: Likewise.
6165         * inet/inet_netof.c: Likewise.
6166         * inet/rcmd.c: Likewise.
6167         * inet/rexec.c: Likewise.
6168         * inet/ruserpass.c: Likewise.
6170 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6172         * resolv/inet_addr.c: Remove _LIBC conditionals.
6173         * resolv/res_data.c: Likewise.
6174         * resolv/res_init.c: Likewise.
6175         * resolv/res_mkquery.c: Likewise.
6176         * resolv/res_libc.c: Update comment.
6177         * resolv/README: Update.
6179 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6181         * resolv/gethnamaddr.c: Remove SCSS keyword.
6182         * resolv/herror.c: Likewise.
6183         * resolv/inet_addr.c: Likewise.
6184         * resolv/inet_net_ntop.c: Likewise.
6185         * resolv/inet_net_pton.c: Likewise.
6186         * resolv/inet_neta.c: Likewise.
6187         * resolv/inet_ntop.c: Likewise.
6188         * resolv/inet_pton.c: Likewise.
6189         * resolv/ns_date.c: Remove RCS keyword.
6190         * resolv/ns_name.c: Likewise.
6191         * resolv/ns_netint.c: Likewise.
6192         * resolv/ns_parse.c: Likewise.
6193         * resolv/ns_print.c: Likewise.
6194         * resolv/ns_samedomain.c: Likewise.
6195         * resolv/ns_ttl.c: Likewise.
6196         * resolv/nsap_addr.c: Likewise.
6197         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6198         * resolv/res_data.c: Remove RCS keyword.
6199         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6200         * resolv/res_init.c: Likewise.
6201         * resolv/res_mkquery.c: Likewise.
6202         * resolv/res_query.c: Likewise.
6203         * resolv/res_send.c: Likewise.
6205 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6207         * conform/data/stdio.h-data (fdopen): Expect also for
6208         [XPG3 || XPG4].
6210         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6211         (fseeko): Likewise.
6212         (ftello): Likewise.
6213         (ftrylockfile): Likewise.
6214         (funlockfile): Likewise.
6215         (getc_unlocked): Likewise.
6216         (getchar_unlocked): Likewise.
6217         (putc_unlocked): Likewise.
6218         (putchar_unlocked): Likewise.
6220 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6222         [BZ #19868]
6223         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6224         DNS packet syntax checks (which were not needed before).  Skip
6225         over non-PTR records.
6227 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6229         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6230         definition.  Include <stddef.h> instead.
6232 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6234         [BZ #19831]
6235         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6236         function.
6237         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6238         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6240 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6242         [BZ #19862]
6243         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6244         (getanswer_r): Do not call syslog.
6245         (gaih_getanswer_slice): Likewise.
6246         * resolv/gethnamaddr.c (AskedForGot): Remove.
6247         (getanswer): Do not call syslog.
6248         (gethostbyaddr): Likewise.
6250 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6252         * conform/data/signal.h-data (union sigval): Expect also if
6253         [XOPEN2K].
6254         (struct sigevent): Likewise.
6255         (SIGEV_NONE): Likewise.
6256         (SIGEV_SIGNAL): Likewise.
6257         (SIGEV_THREAD): Likewise.
6258         (SIGRTMIN): Likewise.
6259         (SIGRTMAX): Likewise.
6260         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6261         variable.
6262         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6264 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6266         [BZ #19830]
6267         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6268         (gaih_getanswer_slice): Likewise.
6269         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6270         Also check for availability of RR metadata.
6272 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6274         [BZ #19825]
6275         * resolv/res_send.c (send_vc): Remove early *resplen2
6276         initialization.  Set *resplen2 on socket error.  Call
6277         close_and_return_error for other errors.
6279 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6281         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6282         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6283         (SCM_IUCV_TRGCLS): New define.
6285 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6287         [BZ #20005]
6288         * libio/fmemopen.c (fmemopen_write): Update internal position after
6289         write.
6290         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6291         * stdio-common/tst-fmemopen4.c: New file..
6293 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6295         [BZ #19996]
6296         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6297         not [__USE_XOPEN2K].
6298         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6299         variable.
6301         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6302         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6303         variable.
6305         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6306         [__USE_XOPEN2K8].
6307         [__USE_LARGEFILE64] (off64_t): Likewise.
6308         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6309         variable.
6311 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6313         [BZ #19989]
6314         * libio/stdio.h (cuserid): Do not declare if
6315         [__USE_XOPEN2K && !__USE_GNU].
6316         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6317         variable.
6319 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6321         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6322         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6324         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6325         ifunc'ed strcspn.
6326         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6327         [EALIGN]: Removed.
6328         [END]: Likewise
6329         [STRSPN]: Define instead of the above to control symbol name.
6330         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6331         New file.
6332         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6333         Likewise.
6334         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6335         Likewise.
6336         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6337         Likewise.
6338         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6339         [INITIAL_MASK]: New macro.
6340         [STRCSPN]: Likewise.
6341         [UPDATE_MASK]: Likewise.
6342         [USE_AS_STRCSPN]: Lisewise.
6344 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6346         [BZ #19931]
6347         * stdio-common/tst-vfprintf-width-prec.c: New file.
6348         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6349         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6350         (generated): Add mtrace-related files.
6351         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6352         (tst-%-mem.out): New pattern rule, replaces
6353         tst-printf-bz18872-mem.out.
6354         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6355         specifier, deallocate any previously allocated work buffer.
6357 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6359         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6360         Add nop before __startcontext, add explaining comments.
6362 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6364         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6365         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6366         completely different API.
6368         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6369         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6370         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6371         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6372         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6373         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6374         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6375         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6376         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6377         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6379 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6381         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6383 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6385         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6386         when it is the default of 0.
6388 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6390         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6391         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6392         (sysdep_routines): Add new strcasestr targets.
6393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6394         (__libc_ifunc_impl_list): Likewise.
6395         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6396         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6397         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6398         * sysdeps/powerpc/powerpc64/power8/Makefile:
6399         New file to add strcasestr-ppc64 to sysdep_routines.
6400         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6401         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6403 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6405         * benchtests/Makefile (wcsmbs-benchset): Include only for
6406         native builds and runs.
6407         (LOCALES): Likewise.
6408         (bench-build): Build timing-type here instead of the bench
6409         target.  Generate locale only for native builds.
6410         * benchtests/README: Add note for cross-building.
6412         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6414         * benchtests/README: Update README to include instructions on
6415         using bench-build.
6417         * Makefile.in (bench-build): New target.
6418         * Rules (PHONY): Add bench-build target.
6419         * benchtests/Makefile (bench): Depend on bench-build.
6420         (bench-build): New target.
6422 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6424         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6425         profil_reply_port.
6426         (profile_waiter): Do not initialize profil_reply_port.
6427         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6428         frequency instead of tick length in us.
6430 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6432         [BZ #18712]
6433         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6434         (__old_mempcpy_small): Likewise.
6435         (__old_strcpy_small): Likewise.
6436         (__old_stpcpy_small): Likewise.
6437         (__old_strpbrk_c2): Fix compat symbol name.
6438         (__old_strpbrk_c3): Likewise.
6439         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6440         (__mempcpy_small): Remove.
6441         (__strcpy_small): Remove.
6442         (__stpcpy_small): Remove.
6444 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6446         [BZ #19400]
6447         * locale/iso-639.def: Add the Talossan/tzl language.
6449 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6451         [BZ #16983]
6452         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6453         comment.  Add "ln" to strchr check on postal_fmt.
6455 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6457         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6458         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6459         tel_dom_fmt.
6461 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6463         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6464         (sysdep_routines): Added __strlen_power8.
6465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6466         __strlen_power8 entry.
6467         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6468         Implementation for POWER8.
6469         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6470         for __strlen_power8.
6471         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6472         Implementation for POWER8.
6474 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6476         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6478 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6480         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6481         Goldmont and Airmont processors.
6483 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6485         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6486         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6487         (__STRING2_SMALL_GET32): Remove.
6488         (memset): Remove.
6489         (__memset_1): Remove.
6490         (__memset_gc): Remove.
6491         (__mempcpy): Remove.
6492         (mempcpy): Remove.
6493         (__mempcpy_args): Remove.
6494         (strchr): Remove.
6495         (strcpy): Remove.
6496         (strcpy_args): Remove.
6497         (__stpcpy_args): Remove.
6498         (__strcmp_cc): Remove.
6499         (__strcmp_gc): Remove.
6500         (strstr): Remove.
6502 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6504         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6505         * nis/nis_call.c (nis_server_cache_add): Likewise.
6507 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6509         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6511 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6513         * malloc/arena.c (__malloc_fork_lock_parent)
6514         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6515         internal_function attribute.
6517 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6519         * stdio-common/printf_fp.c (__printf_fp_l):
6520         Rename ___printf_fp_l to __printf_fp_l and
6521         remove strong alias. Use libc_hidden_def instead
6522         of ldbl_hidden_def macro.
6524 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6526         Remove malloc hooks from fork handler.  They are no longer needed
6527         because malloc runs right before fork, and no malloc calls from
6528         other fork handlers are not possible anymore.
6529         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6530         declarations.
6531         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6532         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6533         (atfork_recursive_cntr): Remove.
6534         (__malloc_fork_lock_parent): Do not override malloc hooks and
6535         thread_arena.
6536         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6537         thread_arena.
6538         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6539         thread_arena instead of save_arena.
6541 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6543         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6544         (thread_atfork, thread_atfork_static): Remove.
6545         * sysdeps/mach/hurd/malloc-machine.h:
6546         (thread_atfork, thread_atfork_static): Remove.
6548 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6550         [BZ #19431]
6551         Run the malloc fork handler as late as possible to avoid deadlocks.
6552         * malloc/malloc-internal.h: New file.
6553         * malloc/malloc.c: Include it.
6554         * malloc/arena.c (ATFORK_MEM): Remove.
6555         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6556         Update comment.
6557         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6558         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6559         Remove outdated comment.
6560         (ptmalloc_init): Do not call thread_atfork.  Remove
6561         thread_atfork_static.
6562         * malloc/tst-malloc-fork-deadlock.c: New file.
6563         * Makefile (tests): Add tst-malloc-fork-deadlock.
6564         (tst-malloc-fork-deadlock): Link against libpthread.
6565         * manual/memory.texi (Aligned Memory Blocks): Update safety
6566         annotation comments.
6567         * sysdeps/nptl/fork.c (__libc_fork): Call
6568         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6569         __malloc_fork_unlock_child.
6570         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6572 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6574         [BZ #19613]
6575         Remove union wait.
6576         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6577         (w_stopsig, w_stopval): Remove.
6578         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6579         stat_loc argument.
6580         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6581         (__WAIT_STATUS_DEFN): Remove.
6582         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6583         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6584         (wait, wait3, wait4): Use int * for the stat_loc argument.
6585         * posix/wait.c (__wait): Likewise.
6586         * posix/wait3.c (__wait3): Likewise.
6587         * posix/wait4.c (__wait4): Likewise.
6588         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6589         (__WAIT_STATUS_DEFN): Remove.
6590         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6591         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6592         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6593         argument.
6594         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6595         * sysdeps/posix/wait3.c (__wait3): Likewise.
6596         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6597         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6598         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6599         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6600         stat_loc argument.
6601         * manual/process.texi (BSD Wait Functions): Remove union wait.
6603 2016-04-13  Andreas Schwab  <schwab@suse.de>
6605         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6606         (test-extras): Add tst-tlsalign-vars.
6607         * math/Makefile: Wrap long lines.
6608         (libm-vec-test-wrappers): Define.
6609         (test-extras): Add $(libm-vec-test-wrappers).
6610         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6611         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6612         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6613         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6614         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6615         (extra-test-objs): Add corresponding objects.
6617 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6619         [BZ #19928]
6620         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6621         New.
6622         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6623         times of shared cache size.
6624         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6625         (VMOVNT): New.
6626         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6627         (VMOVNT): Likewise.
6628         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6629         (VMOVNT): Likewise.
6630         (VMOVU): Changed to movups for smaller code sizes.
6631         (VMOVA): Changed to movaps for smaller code sizes.
6632         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6633         comments.
6634         (PREFETCH): New.
6635         (PREFETCH_SIZE): Likewise.
6636         (PREFETCHED_LOAD_SIZE): Likewise.
6637         (PREFETCH_ONE_SET): Likewise.
6638         Rewrite to use forward and backward loops, which move 4 vector
6639         registers at a time, to support overlapping addresses and use
6640         non temporal store if size is above the threshold and there is
6641         no overlap between destination and source.
6643 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6645         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6646         Include dl-vdso.
6647         * sysdeps/unix/sysv/linux/mips/Versions: Add
6648         __vdso_clock_gettime.
6649         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6650         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6651         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6652         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6653         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6654         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6655         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6656         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6657         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6659 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6661         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6662         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6663         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6664         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6665         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6666         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6669         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6670         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6671         syscalls generation.
6672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6673         [__NR_pwrite64] (__NR_write): Remove define.
6674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6675         [__NR_pwrite64] (__NR_write): Remove define.
6676         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6677         Remove define.
6678         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6679         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6680         Remove define.
6681         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6682         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6683         Linux implementation as base.
6684         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6686         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6687         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6688         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6689         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6692         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6693         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6694         syscall generation.
6695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6696         [__NR_pread64] (__NR_pread): Remove define.
6697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6698         [__NR_pread64] (__NR_pread): Likewise.
6699         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6700         define.
6701         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6702         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6703         Remove define.
6704         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6705         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6706         Linux implementation as base.
6707         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6708         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6709         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6711         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6712         definition.
6713         (__ALIGNMENT_COUNT): Likewise.
6714         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6715         (__ALIGNMENT_COUNT): Likewise.
6716         (SYSCALL_LL): New define.
6717         (SYSCALL_LL64): Likewise.
6718         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6719         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6720         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6721         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6723         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6724         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6725         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6726         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6727         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6728         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6730 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6732         [BZ #19865]
6733         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6734         original buffer before retry.
6736 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6738         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6739         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6740         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6741         GLRO(dl_auxv) list.
6742         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6743         including <ldsodefs.h>.
6744         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6746 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6748         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6749         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6750         $(CPPFLAGS).
6752 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6754         [BZ #17950]
6755         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6756         Add -mfpmath=387.
6758 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6760         * sysdeps/i386/configure.ac: Change == to = when calling test.
6761         * sysdeps/x86_64/configure.ac: Likewise.
6762         * sysdeps/i386/configure: Regenerated.
6763         * sysdeps/x86_64/configure: Likewise.
6765 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6767         [BZ #16137]
6768         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6769         * benchtests/bench-strcoll.c (input_files): Likewise.
6770         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6771         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6772         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6774 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6776         [BZ #19929]
6777         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6778         [__USE_XOPEN2K8 && !__USE_GNU].
6779         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6780         variable.
6782         [BZ #19925]
6783         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6784         define if [!__USE_MISC && __USE_XOPEN2K].
6785         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6786         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6787         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6788         Likewise.
6789         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6790         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6791         variable.
6792         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6794 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6796         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6797         (sysdep_routines): Add new strspn targets.
6798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6799         (__libc_ifunc_impl_list): Add strspn.
6800         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6801         New file.
6802         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6803         Likewise.
6804         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6805         Likewise.
6806         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6807         Likewise.
6809 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6811         * misc/hsearch_r.c: Include <limits.h>.
6813 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6815         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6817 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6819         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6820         (MEMCPY_SYMBOL): New.
6821         (MEMPCPY_SYMBOL): Likewise.
6822         (MEMMOVE_CHK_SYMBOL): Likewise.
6823         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6824         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6825         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6826         Provide alias for memcpy in libc.a and ld.so.
6828 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6830         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6831         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6832         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6833         Disabled fro now.
6834         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6835         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6837 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6839         * benchtests/Makefile (string-benchset): Add memcpy-large,
6840         memmove-large and memset-large.
6841         * benchtests/bench-memcpy-large.c: New file.
6842         * benchtests/bench-memmove-large.c: Likewise.
6843         * benchtests/bench-memmove-large.c: Likewise.
6844         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6846 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6848         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6849         32-bit displacement to avoid long nop between instructions.
6851 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6853         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6854         a comment on VMOVU and VMOVA.
6856 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6858         [BZ #19633]
6859         Use specified locale for number formatting in strfmon_l.
6860         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6861         (__nl_lookup_word): New inline functions.
6862         * include/printf.h (__print_fp_l): Declare.
6863         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6864         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6865         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6866         (___printf_fp): New function.
6867         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6868         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6869         * stdlib/tst-strfmon_l.c (do_test): New test.
6870         * stdlib/Makefile (tests): Add kt.
6871         (LOCALES): Build additional locales.
6872         (tst-strfmon_l.out): Require locales.
6874 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6876         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6877         if not in libc.
6878         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6879         Likewise.
6880         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6881         Likewise.
6882         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6883         Likewise.
6885 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6887         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6888         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6889         with unaligned_erms.
6890         (__memmove_erms): Skip if source == destination.
6891         (__memmove_unaligned_erms): Don't check source == destination
6892         first.
6894 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6896         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6897         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6899 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6901         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6902         * string/strspn.c (strspn): Likewise.
6904 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6906         * benchtests/bench-memset.c (do_test): Support 64-byte
6907         alignment.
6908         (test_main): Test 64-byte alignment.
6910 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6912         * benchtests/bench-memmove.c (test_main): Test 64-byte
6913         alignment.
6915 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6917         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6919 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6921         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6922         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6923         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6925         * string/strpbrk.c (strpbrk): Rewrite function.
6926         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6927         (__strpbrk_c2): Likewise.
6928         (__strpbrk_c3): Likewise.
6929         * string/string-inlines.c
6930         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6931         Likewise.
6932         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6933         Likewise.
6935         * string/strspn.c (strcspn): Rewrite function.
6936         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6937         (__strspn_c1): Remove inline function.
6938         (__strspn_c2): Likewise.
6939         (__strspn_c3): Likewise.
6940         * string/string-inlines.c
6941         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6942         compatibility symbol.
6943         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6944         Likewise.
6945         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6946         Likewise.
6947         * string/string-inlines.c: Include generic version.
6949 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6950             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6952         * string/Version (libc): Add GLIBC_2.24.
6953         * string/strcspn.c (strcspn): Rewrite function.
6954         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6955         (__strcspn_c1): Remove inline function.
6956         (__strcspn_c2): Likewise.
6957         (__strcspn_c3): Likewise.
6958         * string/string-inline.c
6959         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6960         compatibility symbol.
6961         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6962         Likewise.
6963         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6964         Likewise.
6965         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6967 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6969         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6970         Use ahi instead of aghi to adjust stack pointer.
6972 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6974         [BZ #19853]
6975         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6976         TEST to take significant digits as second parameter.
6977         [TEST]: Redefine in terms of TEST_N taking 30
6978         significant digits.
6979         (do_test): Add test case to demonstrate precision
6980         failure in the ldbl-128ibm printf.
6981         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6982         (__mpn_extract_long_double): Carry 7 extra intermediate
6983         bits of precision to aide computing difference when
6984         signs differ.
6986 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6988         [BZ #19881]
6989         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6990         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6991         memset-avx512-unaligned-erms.
6992         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6993         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6994         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6995         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6996         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6997         __memset_sse2_unaligned_erms, __memset_erms,
6998         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6999         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7000         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7001         file.
7002         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7003         Likewise.
7004         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7005         Likewise.
7006         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7007         Likewise.
7009 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7011         [BZ #19776]
7012         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7013         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7014         memmove-avx512-unaligned-erms.
7015         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7016         (__libc_ifunc_impl_list): Test
7017         __memmove_chk_avx512_unaligned_2,
7018         __memmove_chk_avx512_unaligned_erms,
7019         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7020         __memmove_chk_sse2_unaligned_2,
7021         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7022         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7023         __memmove_avx512_unaligned_erms, __memmove_erms,
7024         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7025         __memcpy_chk_avx512_unaligned_2,
7026         __memcpy_chk_avx512_unaligned_erms,
7027         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7028         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7029         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7030         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7031         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7032         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7033         __mempcpy_chk_avx512_unaligned_erms,
7034         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7035         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7036         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7037         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7038         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7039         __mempcpy_erms.
7040         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7041         file.
7042         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7043         Likwise.
7044         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7045         Likwise.
7046         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7047         Likwise.
7049 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7051         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7052         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7053         (La_s390_64_regs): Likewise.
7054         (La_s390_32_retval): Append vector register lrv_v24.
7055         (La_s390_64_retval): Likeweise.
7056         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7057         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7058         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7059         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7061 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7063         [BZ #19916]
7064         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7065         to create a non-vector/vector version for _dl_runtime_resolve and
7066         _dl_runtime_profile. Move implementation to ...
7067         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7068         (_dl_runtime_resolve) Save and restore fpr/vrs.
7069         (_dl_runtime_profile) Save and restore vrs and fix some issues
7070         if _dl_call_pltexit is called.
7071         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7072         Choose the correct resolver function if running on a machine with vx.
7073         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7074         to create a non-vector/vector version for _dl_runtime_resolve and
7075         _dl_runtime_profile. Move implementation to ...
7076         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7077         (_dl_runtime_resolve) Save and restore fpr/vrs.
7078         (_dl_runtime_profile) Save and restore vrs and fix some issues
7079         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7080         Choose the correct resolver function if running on a machine with vx.
7082 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7084         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7086 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7088         [BZ #19509]
7089         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7090         skip_map != NULL.
7091         * elf/tst-dlsym-error.c: New file.
7092         * elf/Makefile (tests): Add tst-dlsym-error.
7093         (tst-dlsym-error): Link against libdl.
7095 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7097         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7098         (__ASSUME_FUTIMESAT): Remove macro.
7099         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7101 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7103         [BZ #19879]
7104         CVE-2016-3075
7105         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7106         copy name.
7108 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7110         [BZ #19837]
7111         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7112         error if parse_line fails.
7114 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7116         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7117         (index_cpu_ERMS): Likewise.
7118         (reg_ERMS): Likewise.
7120 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7122         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7123         PER_LINUX_FDPIC): Add.
7125 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7127         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7128         memcpy-avx512-no-vzeroupper.
7129         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7130         to ...
7131         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7132         (MEMCPY): Don't define.
7133         (MEMCPY_CHK): Likewise.
7134         (MEMPCPY): Likewise.
7135         (MEMPCPY_CHK): Likewise.
7136         (MEMPCPY_CHK): Renamed to ...
7137         (__mempcpy_chk_avx512_no_vzeroupper): This.
7138         (MEMPCPY_CHK): Renamed to ...
7139         (__mempcpy_chk_avx512_no_vzeroupper): This.
7140         (MEMCPY_CHK): Renamed to ...
7141         (__memmove_chk_avx512_no_vzeroupper): This.
7142         (MEMCPY): Renamed to ...
7143         (__memmove_avx512_no_vzeroupper): This.
7144         (__memcpy_avx512_no_vzeroupper): New alias.
7145         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7147 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7149         [BZ #18858]
7150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7151         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7152         and mempcpy-avx512-no-vzeroupper.
7153         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7154         New.
7155         (MEMPCPY): Likewise.
7156         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7157         (MEMPCPY_CHK): New.
7158         (MEMPCPY): Likewise.
7159         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7160         (MEMPCPY): Likewise.
7161         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7162         (MEMPCPY): Likewise.
7163         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7164         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7165         Likewise.
7166         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7167         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7169 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7170              Amit Pawar  <Amit.Pawar@amd.com>
7172         [BZ #19583]
7173         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7174         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7175         processors.  Set Fast_Copy_Backward for AMD Excavator
7176         processors.
7177         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7178         New.
7179         (index_arch_Fast_Unaligned_Copy): Likewise.
7180         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7181         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7183 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7185         [BZ #19791]
7186         * resolv/res_send.c (close_and_return_error): New function.
7187         (send_dg): Initialize *resplen2 after reopen failure.  Call
7188         close_and_return_error for error returns.  On error paths without
7189         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7190         successful return.
7192 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7194         [BZ# 19860]
7195         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7196         zero if the compiler does not provide the AVX512F bit.
7198 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7200         [BZ #19848]
7201         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7202         from 8 to 4.
7203         (__ieee754_powl): Compare integer exponent against 4 not 8.
7204         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7205         from 8 to 4.
7206         (__ieee754_powl): Compare integer exponent against 4 not 8.
7207         * math/auto-libm-test-in: Add more tests of pow.
7208         * math/auto-libm-test-out: Regenerated.
7209         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7212 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7214         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7215         Make code unconditional.
7216         [!__NR_utimensat]: Remove conditional code.
7217         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7218         Make code unconditional.
7219         [!__NR_utimensat]: Remove conditional code.
7220         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7221         Make code unconditional.
7222         [!__NR_utimensat]: Remove conditional code.
7224 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7226         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7227         Make code unconditional.
7229 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7231         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7232         call-clobbered %eax on retry path.
7233         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7235 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7237         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7238         Don't set %rcx twice before "rep movsb".
7240 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7242         [BZ #19583]
7243         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7244         inline.  Check family before setting family, model and
7245         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7246         bits here.
7247         (init_cpu_features): Replace HAS_CPU_FEATURE and
7248         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7249         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7250         for Intel processors with usable AVX2.  Call get_common_indeces
7251         for other processors with family == NULL.
7252         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7253         (CPU_FEATURES_ARCH_P): Likewise.
7254         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7255         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7257 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7259         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7260         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7261         $(shared-thread-library) instead of hardcoding the path to libpthread.
7263 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7265         * sysdeps/unix/sysv/linux/kernel-features.h
7266         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7267         * sysdeps/unix/sysv/linux/getdents.c
7268         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7269         [!have_no_getdents64_defined]: Likewise.
7270         (__GETDENTS): Remove __have_no_getdents64 conditional.
7272 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7274         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7275         Remove macro.
7276         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7277         <kernel-features.h>.
7278         (signalfd) [__NR_signalfd4]: Make code unconditional.
7279         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7281 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7283         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7284         style.
7286 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7288         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7289         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7290         __pthread_unwind.
7291         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7292         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7293         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7294         (__condvar_cleanup1): Likewise.
7296 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7298         [BZ #19822]
7299         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7300         move it to the final $@ location.
7302 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7304         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7305         access where posix_spawn success and pid argument is null.
7306         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7307         success case.
7309 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7311         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7313         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7315         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7316         and __fcntl.
7317         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7318         __fcntl only.
7319         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7320         adding attribute_hidden to __open and __fcntl.
7322         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7323         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7324         depend on libc-modules.h,
7325         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7327 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7329         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7330         Remove macro.
7331         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7332         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7333         entry.
7335         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7336         Remove macro.
7337         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7338         include <kernel-features.h>.
7339         [!__ASSUME_FALLOCATE]: Remove conditional code.
7340         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7342 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7344         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7345         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7346         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7347         (_ZGVdN4v_cos_avx2): Likewise.
7348         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7349         (_ZGVdN4v_cos): Likewise.
7350         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7351         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7352         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7353         (_ZGVdN4v_exp_avx2): Likewise.
7354         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7355         (_ZGVdN4v_exp): Likewise.
7356         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7357         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7358         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7359         (_ZGVdN4v_log_avx2): Likewise.
7360         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7361         (_ZGVdN4v_log): Likewise.
7362         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7363         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7364         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7365         (_ZGVdN4vv_pow_avx2): Likewise.
7366         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7367         (_ZGVdN4vv_pow): Likewise.
7368         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7369         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7370         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7371         (_ZGVdN4v_sin_avx2): Likewise.
7372         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7373         (_ZGVdN4v_sin): Likewise.
7374         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7375         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7376         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7377         (_ZGVdN4vvv_sincos_avx2): Likewise.
7378         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7379         (_ZGVdN4vvv_sincos): Likewise.
7380         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7381         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7382         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7383         (_ZGVbN4v_cosf_sse4): Likewise.
7384         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7385         (_ZGVdN8v_cosf_avx2): Likewise.
7386         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7387         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7388         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7389         (_ZGVbN4v_expf_sse4): Likewise.
7390         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7391         (_ZGVdN8v_expf_avx2): Likewise.
7392         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7393         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7394         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7395         (_ZGVbN4v_logf_sse4): Likewise.
7396         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7397         (_ZGVdN8v_logf_avx2): Likewise.
7398         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7399         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7400         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7401         (_ZGVbN4vv_powf_sse4): Likewise.
7402         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7403         (_ZGVdN8vv_powf_avx2): Likewise.
7404         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7405         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7406         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7407         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7408         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7409         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7410         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7411         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7412         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7413         (_ZGVbN4v_sinf_sse4): Likewise.
7414         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7415         (_ZGVdN8v_sinf_avx2): Likewise.
7416         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7417         Use JUMPTARGET to call callee.
7418         (WRAPPER_IMPL_SSE2_ff): Likewise.
7419         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7420         (WRAPPER_IMPL_AVX): Likewise.
7421         (WRAPPER_IMPL_AVX_ff): Likewise.
7422         (WRAPPER_IMPL_AVX_fFF): Likewise.
7423         (WRAPPER_IMPL_AVX512): Likewise.
7424         (WRAPPER_IMPL_AVX512_ff): Likewise.
7425         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7426         Likewise.
7427         (WRAPPER_IMPL_SSE2_ff): Likewise.
7428         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7429         (WRAPPER_IMPL_AVX): Likewise.
7430         (WRAPPER_IMPL_AVX_ff): Likewise.
7431         (WRAPPER_IMPL_AVX_fFF): Likewise.
7432         (WRAPPER_IMPL_AVX512): Likewise.
7433         (WRAPPER_IMPL_AVX512_ff): Likewise.
7434         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7436 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7438         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7439         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7440         qualifier.
7441         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7442         internal_function qualifiers.
7444 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7446         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7447         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7448         * math/atest-exp.c (exp_mpn): Mark chk unused.
7449         * math/atest-exp2.c (exp_mpn): Likwise.
7450         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7451         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7453 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7455         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7456         Remove macro.
7457         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7458         <kernel-features.h>.
7459         [__NR_ppoll]: Make code unconditional.
7460         [!__ASSUME_PPOLL]: Remove conditional code.
7462         * sysdeps/unix/sysv/linux/kernel-features.h
7463         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7464         (__ASSUME_ACCEPT4): Likewise.
7465         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7466         Define.
7467         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7468         Likewise.
7469         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7470         Likewise.
7471         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7472         Likewise.
7473         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7474         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7475         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7476         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7477         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7478         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7479         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7480         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7481         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7482         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7483         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7484         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7485         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7486         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7487         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7488         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7489         Likewise.
7490         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7491         Likewise.
7492         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7493         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7494         0x040300].
7495         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7496         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7497         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7498         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7499         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7500         0x030300].
7501         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7502         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7503         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7504         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7505         0x040300].
7506         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7507         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7508         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7509         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7510         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7511         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7512         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7513         0x030300].
7514         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7515         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7516         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7517         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7518         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7519         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7520         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7521         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7522         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7523         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7524         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7525         0x040300].
7526         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7527         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7528         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7529         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7530         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7531         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7532         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7533         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7534         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7535         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7536         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7537         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7538         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7539         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7540         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7541         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7542         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7543         Likewise.
7544         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7545         Likewise.
7547 2016-03-15  Andreas Schwab  <schwab@suse.de>
7549         [BZ #19257]
7550         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7551         statp->_u._ext.nscount as loop count.
7553 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7555         * math/test-signgam-finite-c99.c: Also #undef
7556         __LIBC_INTERNAL_MATH_INLINES.
7557         * math/test-signgam-main.c: Likewise.
7559 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7561         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7562         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7563         (MADV_FREE): Likewise.
7564         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7565         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7566         EPOLLEXCLUSIVE.
7568 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7570         * timezone/README: Remove mention of checktab.awk. Mention wiki
7571         SharedSourceFiles.
7573 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7575         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7576         WUNTRACED.
7578 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7580         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7581         order to match the type of p when calling atomic_exchange_acq().
7583 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7585         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7586         cfi_offset calls.
7587         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7588         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7589         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7590         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7591         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7593 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7595         * timezone/checktab.awk: Removed.
7597 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7599         * manual/math.texi (Errors in Math Functions): Document relaxed
7600         accuracy goals for IBM long double.
7601         * math/libm-test.inc (test_exceptions): Always allow spurious
7602         "underflow" and "inexact" exceptions for IBM long double.
7604 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7606         [BZ #19762]
7607         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7608         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7609         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7610         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7611         (bit_arch_*): This for feature array.
7612         (bit_*): Renamed to ...
7613         (bit_cpu_*): This for cpu array.
7614         (index_*): Renamed to ...
7615         (index_arch_*): This for feature array.
7616         (index_*): Renamed to ...
7617         (index_cpu_*): This for cpu array.
7618         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7619         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7620         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7621         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7622         bit_##name with index_cpu_##name and bit_cpu_##name.
7623         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7624         bit_##name with index_arch_##name and bit_arch_##name.
7626 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7628         [BZ #19792]
7629         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7630         Terminate FDE before return label.
7632 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7634         [BZ #19790]
7635         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7636         (rintl): Define as macro.
7637         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7638         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7639         of fesetround.  Ensure results are evaluated before end of scope.
7640         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7641         USE_AS_NEARBYINTL and include s_rintl.c.
7642         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7643         Disable exception traps in new environment.
7644         (libc_feholdsetround_ppc_ctx): Likewise.
7646 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7648         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7649         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7650         (tst_audit10_aux) [__AVX512F__]: ... here.
7652 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7654         * include/sys/auxv.h: New file.
7656 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7658         [BZ #19759]
7659         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7661 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7663         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7664         operand modifier.
7665         (feclearexcept): Likewise.
7667 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7669         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7670         to reflect the entire 32-bit HWCAP.
7671         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7672         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7674 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7676         [BZ #19783]
7677         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7678         $(test-via-rtld-prefix).
7679         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7681 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7683         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7684         union wait.  Report any non-zero exit status as error.
7686 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7688         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7689         configured with --enable-hardcoded-path-in-tests.
7691 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7693         [BZ #19677]
7694         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7695         (__ieee754_remainderl): Put zero low parts in canonical form.
7696         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7697         file.  Based on
7698         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7699         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7700         with wrapper round test-fmodrem-ldbl-128ibm.c.
7701         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7702         file.
7703         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7704         Likewise.
7705         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7706         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7708 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7710         [BZ #19610]
7711         * elf/ldconfig.c (opt_link): Update comment.
7712         (options): Update help string for option -X.
7713         (search_dir): Unlink stale symbolic link only if updating symbolic
7714         links.
7715         * elf/tst-ldconfig-X.sh: New file.
7716         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7717         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7719 2016-03-07  Andreas Schwab  <schwab@suse.de>
7721         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7722         needed arguments.
7724 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7726         [BZ #15333]
7727         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7728         to lstat64.
7730 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7732         * libio/filedoalloc.c (isatty): Remove.
7733         (local_isatty): Add comment.  Call __isatty directly.
7734         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7735         * libio/wfiledoalloc.c (isatty): Remove.
7736         (_IO_wfile_doallocate): Update comment.
7738 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7740         [BZ #19269]
7741         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7742         tst-audit4-aux.o.
7743         (tst-audit10): Depend on tst-audit10-aux.o.
7744         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7745         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7746         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7747         instead of inline AVX code.
7748         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7749         instead of inline AVX512 code.
7750         * sysdeps/x86_64/tst-audit4-aux.c: New file
7751         * sysdeps/x86_64/tst-audit10-aux.c: New file
7753         [BZ #19648]
7754         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7756 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7758         [BZ #14750]
7759         [BZ #10354]
7760         [BZ #18433]
7761         * include/sched.h (__clone): Add hidden prototype.
7762         (__clone2): Likewise.
7763         * include/unistd.h (__dup): Likewise.
7764         * posix/Makefile (tests): Add tst-spawn2.
7765         * posix/tst-spawn2.c: New file.
7766         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7767         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7768         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7769         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7770         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7771         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7772         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7773         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7774         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7775         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7776         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7778         Likewise.
7779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7780         Likewise.
7781         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7782         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7783         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7784         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7785         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7786         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7787         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7788         * sysdeps/unix/sysv/linux/nptl-signals.h
7789         (____nptl_is_internal_signal): New function.
7790         * sysdeps/unix/sysv/linux/spawni.c: New file.
7792         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7793         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7794         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7795         * posix/tst-execvp2.c (do_test): Likewise.
7796         * posix/tst-execvp3.c (do_test): Likewise.
7797         * posix/tst-execvp4.c (do_test): Likewise.
7798         * posix/tst-execvpe1.c: New file.
7799         * posix/tst-execvpe2.c: Likewise.
7800         * posix/tst-execvpe3.c: Likewise.
7801         * posix/tst-execvpe4.c: Likewise.
7802         * posix/tst-execvpe5.c: Likewise.
7803         * posix/tst-execvpe6.c: Likewise.
7805         [BZ #19534]
7806         * posix/execl.c (execl): Remove dynamic memory allocation.
7807         * posix/execle.c (execle): Likewise.
7808         * posix/execlp.c (execlp): Likewise.
7810 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7812         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7813         Replace .text with .text.avx512.
7814         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7815         Likewise.
7817 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7819         * sysdeps/generic/libnsl.abilist: New file.
7820         * sysdeps/generic/libutil.abilist: New file.
7822 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7824         [BZ #19762]
7825         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7826         HAS_ARCH_FEATURE with Fast_Rep_String.
7827         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7828         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7829         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7830         Likewise.
7831         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7832         Likewise.
7833         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7834         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7835         Likewise.
7836         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7837         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7838         Likewise.
7840 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7842         [BZ #19745]
7843         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7844         with *%rax in call.
7846 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7848         [BZ #19745]
7849         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7850         with *__libc_start_main@GOTPCREL(%rip) in call.
7852 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7854         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7855         inside conditional for nonempty $(CXX).
7857         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7858         nonempty.
7860         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7861         to test for empty $(CXX) rather than $(CXX) of "no".
7863 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7865         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7867 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7868             H.J. Lu  <hongjiu.lu@intel.com>
7870         [BZ #18880]
7871         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7872         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7873         enable __memcpy_ssse3_back.
7875 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7877         [BZ #19758]
7878         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7879         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7881 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7883         [BZ #19490]
7884         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7885         (__fentry__): Likewise.
7887 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7889         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7890         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7892 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7894         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7895         __mcount_internal directly.
7896         (C_LABEL(__fentry__)): Likewise.
7897         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7898         directly.
7900 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7902         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7903         (__start_context): Call __setcontext directly.
7905 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7907         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7908         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7909         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7910         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7911         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7912         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7913         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7914         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7915         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7916         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7917         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7918         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7919         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7920         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7921         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7922         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7923         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7924         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7925         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7926         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7927         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7928         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7929         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7930         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7931         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7932         Remove conditional code.
7933         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7934         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7935         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7936         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7937         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7938         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7939         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7940         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7941         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7942         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7943         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7944         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7946 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7948         * NEWS (2.23): Fix typo in bug 19048 text.
7950 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7952         [BZ #14259]
7953         * Makeconfig: Rename msgcatdir to localedir.
7954         Rename inst_msgcatdir to inst_localedir.
7955         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7956         * config.make.in: Add localedir.
7957         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7958         (ldd-rewrite): Likewise.
7959         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7960         (install-others): Use inst_localedir.
7961         (CPPFLAGS): Use localedir.
7962         * locale/Makefile (locale-CPPFLAGS): Likewise.
7963         * po/Makefile (mo-installed): Use inst_localedir.
7965         [BZ #19575]
7966         * localedata/charmaps/GB18030: Update comments regarding PAU to
7967         non-PUA mappings.
7969 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7971         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7972         test for header.
7973         * sysdeps/unix/sysv/linux/configure: Regenerated.
7974         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7975         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7976         Remove conditional code.
7977         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7979         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7980         Define to 3.2.0.
7981         (arch_minimum_kernel): Likewise.
7982         * sysdeps/unix/sysv/linux/configure: Regenerated.
7983         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7984         Define to 2.6.32.
7985         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7986         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7987         (arch_minimum_kernel): Define to 2.6.32.
7988         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7989         * README: Document Linux 3.2 requirement.
7990         * manual/install.texi (Linux): Document Linux 3.2 headers
7991         requirement.
7992         * INSTALL: Regenerated.
7994 2016-02-24  Andreas Schwab  <schwab@suse.de>
7996         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7997         if !NO_LONG_DOUBLE.
7999 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8001         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8002         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8004 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8006         [BZ #19512]
8007         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8009 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8011         * posix/tst-dir.c: Include libc-internal.h.
8013 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8015         [BZ #19056]
8016         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8017         * manual/filesys.texi (Reading/Closing Directory): Mention
8018         deprecaion.
8019         * posix/tst-dir.c (main): Disable deprecation warning in test.
8021 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8023         [BZ #19679]
8024         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8025         Renamed to ...
8026         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8027         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8028         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8029         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8030         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8031         * sysdeps/x86_64/dl-trampoline.h
8032         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8033         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8035 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8037         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8039 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8041         * elf/elf.h (R_386_GOT32X): New.
8042         (R_386_NUM): Update.
8043         (R_X86_64_GOTPCRELX: New.
8044         (R_X86_64_REX_GOTPCRELX): New.
8045         (R_X86_64_NUM): Update.
8047 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8049         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8051 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8053         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8054         assign attr->stackaddr to it, and adjust it down when
8055         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8056         [_STACK_GROWS_UP]: Delete assert.
8057         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8058         Implement stack grows up logic.
8059         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8060         stack grows up logic.
8062 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8064         * NEWS: Update with 2.24 template.
8066 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8068         [BZ #19678]
8069         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8070         Ensure +0.0 is returned when taking the next value below the least
8071         positive value.
8073 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8075         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8076         available.  Do not define NO_THREADS.
8077         * malloc/malloc.c: Do not check NO_THREADS.
8078         * malloc/arena.c: Likewise.
8080 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8082         * malloc/malloc.c (__libc_mallinfo): Update comment.
8083         (struct malloc_par): Remove max_total_mem member, it was always 0.
8084         (int_mallinfo): Store 0 into usmblks (no functional change).
8085         * malloc/hooks.c (struct malloc_state): Document that
8086         max_total_mem is always 0.
8087         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8088         always 0.
8089         * manual/memory.texi (Statistics of Malloc): Likewise.
8091 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8093         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8094         * malloc/arena.c (arena_max): Remove.
8095         (heap_trim, _int_new_arena): Do not update arena_max.
8097 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8099         * resolv/res_init.c (res_ninit): Update comment.
8101 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8103         [BZ #19505]
8104         * posix/spawn_int.h: Add headers and include guard.
8105         (__spawn_valid_fd): New function.
8106         * posix/spawn_faction_addopen.c
8107         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8108         * posix/spawn_faction_addclose.c
8109         (posix_spawn_file_actions_addclose): Likewise.
8110         * posix/spawn_faction_adddup2.c
8111         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8112         second file descriptor.
8113         * posix/spawn_valid_fd.c: New file.
8114         * posix/tst-posix_spawn-fd.c: New file.
8115         * posix/Makefile (routines): Add spawn_valid_fd.
8116         (tests): Add tst-posix_spawn-fd.
8118 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8120         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8121         (do_test): Limit the number of arenas, so that we can use fewer
8122         outer threads.  Limit timeout to 3 seconds, in preparation for a
8123         larger TIMEOUT value.
8125 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8127         [BZ #19674]
8128         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8129         sign in overflowing and underflowing results when overflow or
8130         underflow is detected early.  Include sign in result before rather
8131         than after scaling.
8133         [BZ #19603]
8134         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8135         (__ieee754_remainderl): Adjust sign of integer version of low part
8136         when taking absolute value of high part.
8137         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8138         * math/libm-test.inc (remainder_test_data): Add another test.
8139         (remquo_test_data): Likewise.
8141 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8143         [BZ #19602]
8144         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8145         equal high parts and both low parts zero specially.
8146         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8147         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8148         Add test-fmodl-ldbl-128ibm.
8150         [BZ #19595]
8151         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8152         common logic for all cases of shifting subnormal results.  Do not
8153         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8154         exponent to ldbl_insert_mantissa in subnormal case.
8156         [BZ #19594]
8157         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8158         on high and low parts then adjust result and use
8159         ldbl_canonicalize_int if needed.
8161         [BZ #19593]
8162         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8163         on high part and __floor or __ceil on low part then use
8164         ldbl_canonicalize_int if needed.
8166         [BZ #19592]
8167         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8168         high and low parts then use ldbl_canonicalize_int if needed.
8170         [BZ #17899]
8171         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8172         New function.
8173         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8174         on high and low parts then use ldbl_canonicalize_int if needed.
8176 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8178         * configure: Regenerated.
8180         * po/libc.pot: Regenerated.
8182         * po/be.po: Updated translation.
8183         * po/bg.po: Likewise.
8184         * po/ca.po: Likewise.
8185         * po/cs.po: Likewise.
8186         * po/da.po: Likewise.
8187         * po/el.po: Likewise.
8188         * po/eo.po: Likewise.
8189         * po/es.po: Likewise.
8190         * po/fi.po: Likewise.
8191         * po/fr.po: Likewise.
8192         * po/gl.po: Likewise.
8193         * po/hr.po: Likewise.
8194         * po/hu.po: Likewise.
8195         * po/ia.po: Likewise.
8196         * po/id.po: Likewise.
8197         * po/it.po: Likewise.
8198         * po/ja.po: Likewise.
8199         * po/lt.po: Likewise.
8200         * po/nb.po: Likewise.
8201         * po/nl.po: Likewise.
8202         * po/pt_BR.po: Likewise.
8203         * po/rw.po: Likewise.
8204         * po/sk.po: Likewise.
8205         * po/sl.po: Likewise.
8206         * po/sv.po: Likewise.
8207         * po/tr.po: Likewise.
8208         * po/zh_CN.po: Likewise.
8209         * po/zh_TW.po: Likewise.
8211         * version.h (RELEAES): Set to "development".
8212         (VERSION): Set to 2.23.90.
8214         * version.h (RELEASE): Set to "stable".
8215         (VERSION): Set to 2.23.
8216         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8218         * NEWS: Updated fixed bugs.
8220 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8221             Wilco Dijkstra  <wdijkstr@arm.com>
8223         [BZ #19462]
8224         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8225         (_STRING_INLINE_unaligned): This.
8226         * include/string.h: Include <string_private.h>.
8227         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8228         _STRING_INLINE_unaligned.
8229         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8230         (_STRING_INLINE_unaligned): New.
8231         * sysdeps/aarch64/string_private.h: New file.
8232         * sysdeps/generic/string_private.h: Likewise.
8233         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8234         * sysdeps/s390/string_private.h: Likewise.
8235         * sysdeps/x86/string_private.h: Likewise.
8236         * sysdeps/m68k/m680x0/m68020/bits/string.h
8237         (_STRING_ARCH_unaligned): Renamed to ...
8238         (_STRING_INLINE_unaligned): This.
8239         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8240         to ...
8241         (_STRING_INLINE_unaligned): This.
8242         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8243         to ...
8244         (_STRING_INLINE_unaligned): This.
8245         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8246         to ...
8247         (_STRING_INLINE_unaligned): This.
8249 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8250             H.J. Lu  <hongjiu.lu@intel.com>
8252         [BZ #19590]
8253         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8254         relocation.
8256 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8258         [BZ #18665]
8259         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8260         *herrno_p.
8261         (gaih_getanswer): Document functional behviour. Return tryagain
8262         if any result is tryagain.
8263         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8264         when freed.
8265         * resolv/res_send.c: Add copyright text.
8266         (__libc_res_nsend): Document that MAXPACKET is expected.
8267         (send_vc): Document. Remove buffer reuse.
8268         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8269         size of the buffer. Add Dprint for truncated UDP buffer.
8271 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8273         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8274         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8275         * INSTALL: Regenerate.
8277 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8278             Jonathan Wakely  <jwakely@redhat.com>
8279             Carlos O'Donell  <carlos@redhat.com>
8281         [BZ 19439]
8282         * math/Makefile (tests): Add test-math-isinff.
8283         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8284         * math/bits/mathcalls.h [__USE_MISC]: Use
8285         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8286         functions not in C++11 and which don't conflict e.g. isinff,
8287         isinfl etc.
8288         * math/test-math-isinff.cc: New file.
8290 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8292         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8294 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8296         [BZ #19529]
8297         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8299 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8301         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8303 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8305         [BZ #19550]
8306         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8307         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8308         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8309         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8310         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8311         New syscall entry.
8312         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8313         New syscall entry.
8314         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8315         syscall entry.
8317 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8319         [BZ #18240]
8320         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8321         unsigned int wraparound.
8323 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8325         [BZ #18240]
8326         * misc/bug18240.c: New test.
8327         * misc/Makefile (tests): Add it.
8329 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8330             Joseph Myers  <joseph@codesourcery.com>
8332         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8333         load in branch delay slot when less than a word of input left.
8335 2016-01-27  Andreas Schwab  <schwab@suse.de>
8337         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8338         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8339         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8340         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8342 2016-01-26  David S. Miller  <davem@davemloft.net>
8344         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8346 2016-01-25  David S. Miller  <davem@davemloft.net>
8348         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8349         __sqrtl_finite.
8350         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8351         instead using versioned_symbol.
8352         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8353         of entries.
8355         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8356         __sqrtl_finite to GLIBC_2.23
8358 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8360         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8362 2016-01-25  Andreas Schwab  <schwab@suse.de>
8364         [BZ #17514]
8365         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8366         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8367         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8368         * nptl/tst-mutex-errorcheck.c: New file.
8370 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8372         [BZ #18560]
8373         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8374         (IPCOP_semop): Likewise.
8375         (IPCOP_semget): Likewise.
8376         (IPCOP_semctl): Likewise.
8377         (IPCOP_msgsnd): Likewise.
8378         (IPCOP_msgrcv): Likewise.
8379         (IPCOP_msgget): Likewise.
8380         (IPCOP_msgctl): Likewise.
8381         (IPCOP_shmat): Likewise.
8382         (IPCOP_shmdt): Likewise.
8383         (IPCOP_shmget): Likewise.
8384         (IPCOP_shmctl): Likewise.
8386 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8388         * string/tst-endian.c: Include <libc-internal.h>.
8389         (do_test): Ignore tautological-compare warnings around
8390         "htobeXX (beXXtoh (i)) != i" and
8391         "htoleXX (leXXtoh (i)) != i" if-statements.
8393 2016-01-24  David S. Miller  <davem@davemloft.net>
8395         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8396         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8397         alias.
8398         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8399         __sqrtl_finite.
8401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8403 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8405         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8406         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8407         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8409 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8411         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8412         (thread_func): Use new function to simplify barrier check.
8413         (do_test): Use new function to simplify checking barrier exit
8414         code, and actually join the child thread.
8416 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8418         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8419         semicolon.
8420         (__libc_tend): Likewise.
8421         (__libc_tabort): Likewise.
8423 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8425         * sysdeps/nios2/libm-test-ulps: Update.
8426         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8427         (__gtsf2): Likewise.
8428         (__unorddf2): Likewise.
8429         (__unordsf2): Likewise.
8430         (__ledf2): Likewise.
8432 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8434         * nis/nis_table.c (__follow_path): Disable diagnostic for
8435         uninitialized variable that is a false positive for gcc 4.7.
8436         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8438 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8440         * sysdeps/nacl/lowlevellock-futex.h
8441         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8442         Always evaluate PRIVATE argument.
8444 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8446         [BZ #19490]
8447         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8448         (pthread_cond_broadcast): Use ENTRY/END
8449         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8450         (pthread_cond_signal): Likewise.
8451         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8452         Likewise.
8453         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8454         Likewise.
8455         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8456         Likewise.
8458 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8460         * sysdeps/ieee754/dbl-64/s_finite.c
8461         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8462         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8463         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8464         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8465         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8468         (__gtsf2): Add as optional for libc.so.
8469         (__unordsf2): Likewise.
8470         (__signbit): Remove for libc.so.
8471         (__signbitl): Likewise.
8473 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8475         * iconvdata/bug-iconv11.c (test_ibm93x):
8476         Use %zu printf format specifier for size_t argument.
8478 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8480         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8481         already-recorded ulps.
8482         * sysdeps/arm/libm-test-ulps: Regenerated.
8483         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8484         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8485         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8487 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8488             Paul Pluzhnikov  <ppluzhnikov@google.com>
8490         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8491         assembler not supporting AVX-512.
8493 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8495         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8497 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8499         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8500         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8502         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8504         * sysdeps/arm/libm-test-ulps: Regenerated.
8506 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8508         [BZ #19451]
8509         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8511 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8513         [BZ #19486]
8514         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8515         * sysdeps/generic/fix-fp-int-convert-overflow.h
8516         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8517         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8518         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8519         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8520         Likewise.
8521         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8522         Avoid conversions to long int where inexact exceptions
8523         could be raised.
8524         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8525         Likewise.
8526         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8527         Avoid conversions to long long int where inexact exceptions
8528         could be raised.
8529         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8530         Likewise.
8532 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8534         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8535         * configure: Regenerated.
8537 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8539         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8541 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8543         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8544         outside of comment.
8546 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8548         * nptl/tst-barrier1.c: Add description on first line.
8549         * nptl/tst-barrier2.c: Likewise.
8550         * nptl/tst-barrier3.c: Likewise.
8551         * nptl/tst-barrier4.c: Likewise.
8552         * nptl/tst-barrier5.c: Likewise.
8554 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8556         [BZ #18868]
8557         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8559 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8561         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8562         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8563         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8564         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8565         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8566         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8567         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8568         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8569         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8570         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8571         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8573 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8575         [BZ #13065]
8576         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8577         new implementation.
8578         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8579         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8580         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8581         (BARRIER_IN_THRESHOLD): New macro.
8582         * nptl/pthread_barrierattr_setpshared.c
8583         (pthread_barrierattr_setpshared): Clean up.
8584         * nptl/tst-barrier4.c: Correct comment.
8585         * nptl/tst-barrier5.c: New file.
8586         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8587         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8588         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8589         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8590         * nptl/lowlevelbarrier.sym: Remove.
8591         * nptl/DESIGN-barrier.txt: Remove.
8592         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8593         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8594         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8595         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8596         error.
8597         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8598         implementation.
8600 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8602         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8603         (do_child): Mask SIGRTMIN while thr is running.
8605 2016-01-15  Martin Sebor  <msebor@redhat.com>
8607         [BZ #19432]
8608         * iconvdata/Makefile: Add bug-iconv11.
8609         * iconvdata/bug-iconv11.c: New test.
8610         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8611         * iconvdata/ibm933.c: Same.
8612         * iconvdata/ibm935.c: Same.
8613         * iconvdata/ibm937.c: Same.
8614         * iconvdata/ibm939.c: Same.
8616 2016-01-15  Martin Sebor  <msebor@redhat.com>
8618         [BZ #19443]
8619         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8620         [DEBUG] (_ufc_set_bits): Declare used.
8621         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8622         [DEBUG] (print_all): Declare used.
8623         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8624         operands of the ternary ?: expression to target type.
8625         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8626         calling the undeclared abort.
8627         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8629 2016-01-15  Martin Sebor  <msebor@redhat.com>
8631         [BZ #18755]
8632         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8633         warnings.
8634         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8635         (__gai_create_helper_thread): Same.
8636         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8637         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8638         to suppress -Wmaybe-uninitialized warnings.
8640 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8642         [BZ #19465]
8643         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8644         inside if.
8645         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8646         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8647         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8649 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8651         [BZ #19466]
8652         * time/tst-mktime2.c (time_t_max): Removed.
8653         (time_t_min): Likewise.
8654         (TYPE_SIGNED): New.
8655         (TYPE_MINIMUM): Likewise.
8656         (TYPE_MAXIMUM): Likewise.
8657         (TIME_T_MIN): Likewise.
8658         (TIME_T_MAX): Likewise.
8659         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8660         and TIME_T_MIN.
8661         (do_test): Likewise.
8663 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8665         [BZ #19467]
8666         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8667         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8669 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8671         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8673 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8675         * benchtests/Makefile (PYTHON): Define.
8676         (bench-func): Use $(PYTHON) to run python scripts.
8677         ($(objpfx)bench-%.c): Likewise.
8679 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8681         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8682         leading slash when `file_name' is "/".
8684 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8686         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8687         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8688         Likewise.
8689         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8690         Likewise.
8691         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8692         Likewise.
8693         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8694         enum constant and macro.
8695         (PTRACE_SETSIGMASK): Likewise.
8696         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8697         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8698         (PTRACE_GETSIGMASK): Likewise.
8699         (PTRACE_SETSIGMASK): Likewise.
8700         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8701         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8702         Likewise.
8703         (PTRACE_SETSIGMASK): Likewise.
8704         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8705         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8706         (PTRACE_GETSIGMASK): Likewise.
8707         (PTRACE_SETSIGMASK): Likewise.
8708         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8709         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8710         Likewise.
8711         (PTRACE_SETSIGMASK): Likewise.
8712         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8713         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8714         Likewise.
8715         (PTRACE_SETSIGMASK): Likewise.
8716         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8717         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8718         Likewise.
8719         (PTRACE_SETSIGMASK): Likewise.
8720         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8722 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8723             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8725         [BZ #19439]
8726         * math/bits/mathcalls.h
8727         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8728         prototype.
8729         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8731 2016-01-11  Andreas Schwab  <schwab@suse.de>
8733         [BZ #19253]
8734         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8735         cache when TZDEFRULES was used.
8736         * time/tst-tzname.c: New file.
8737         * time/Makefile (test): Add tst-tzname.
8738         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8739         * timezone/Makefile (test-zones): Add $(posixrules-file).
8740         ($(testdata)/$(posixrules-file)): New rule.
8742 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8744         Fix doc quoting problems with Texinfo 5
8745         Without this change, in the info file output, Texinfo 5 quotes code
8746         in text with undirected single quotes 'like this' and generates
8747         code examples that with many PDF readers cannot be cut out of PDFs
8748         and pasted into code.
8749         * manual/libc.texinfo: Configure the libc manual like the GNU
8750         Emacs manual, by using @documentencoding and setting
8751         txicodequoteundirected and txicodequotebacktick.  This way,
8752         Texinfo 5 quotes code in text with directed single quotes ‘like
8753         this’ and produces examples that can be cut out of PDFs.  This
8754         change causes Texinfo 5 to generate info files that contain UTF-8
8755         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8756         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8758 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8760         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8761         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8762         barriers to their respective compiler built-ins.
8763         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8764         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8765         * sysdeps/powerpc/sysdep.h: Likewise.
8766         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8767         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8768         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8770 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8772         * scripts/config.guess: Revert previous shebang change.
8773         * scripts/config.sub: Likewise.
8774         * scripts/mkinstalldirs: Likewise.
8776 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8778         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8779         PPC_FEATURE2_HAS_IEEE128.
8780         * sysdeps/powerpc/dl-procinfo.c:
8781         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8783 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8785         [BZ #19415]
8786         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8787         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8788         (_dl_lookup_address): Rewrite using function resolver trampoline.
8789         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8790         two bits in address.
8792 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8794         * longlong.h: Change !__SHMEDIA__ to
8795         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8796         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8798 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8799             Joseph Myers  <joseph@codesourcery.com>
8800             Mark Shinwell  <shinwell@codesourcery.com>
8801             Andrew Stubbs  <ams@codesourcery.com>
8802             Rich Felker <dalias@libc.org>
8804         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8806 2016-01-07  Richard Henderson  <rth@redhat.com>
8808         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8810 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8812         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8813         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8814         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8815         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8816         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8818 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8819             Joseph Myers  <joseph@codesourcery.com>
8821         * timezone/private.h: Update from tzcode 2015g.
8822         * timezone/tzfile.h: Likewise.
8823         * timezone/tzselect.ksh: Likewise.
8824         * timezone/zdump.c: Likewise.
8825         * timezone/zic.c: Likewise.
8826         * timezone/ialloc.c: Remove file.
8827         * timezone/scheck.c: Likewise.
8828         * timezone/Makefile (extra-objs): Remove variable.
8829         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8830         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8831         -Wno-maybe-uninitialized.
8832         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8833         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8834         (CFLAGS-ialloc.c): Remove variable.
8835         (CFLAGS-scheck.c): Likewise.
8836         * timezone/README: Update list of files from tzcode.
8838 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8840         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8841         instead of __fxprintf when _LIBC is undefined.
8843 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8845         * catgets/test-gencat.sh: Remove space after shebang.
8846         * conform/GlibcConform.pm: Likewise.
8847         * conform/check-header-lists.sh: Likewise.
8848         * conform/conformtest.pl: Likewise.
8849         * conform/linknamespace.pl: Likewise.
8850         * conform/list-header-symbols.pl: Likewise.
8851         * debug/catchsegv.sh: Likewise.
8852         * elf/genrtldtbl.awk: Likewise.
8853         * elf/tst-pathopt.sh: Likewise.
8854         * elf/tst-rtld-load-self.sh: Likewise.
8855         * grp/tst_fgetgrent.sh: Likewise.
8856         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8857         * iconvdata/gen-8bit-gap.sh: Likewise.
8858         * iconvdata/gen-8bit.sh: Likewise.
8859         * iconvdata/run-iconv-test.sh: Likewise.
8860         * intl/tst-gettext.sh: Likewise.
8861         * intl/tst-gettext2.sh: Likewise.
8862         * intl/tst-gettext4.sh: Likewise.
8863         * intl/tst-gettext6.sh: Likewise.
8864         * intl/tst-translit.sh: Likewise.
8865         * io/ftwtest-sh: Likewise.
8866         * libio/test-freopen.sh: Likewise.
8867         * locale/gen-translit.pl: Likewise.
8868         * malloc/tst-mtrace.sh: Likewise.
8869         * manual/check-safety.sh: Likewise.
8870         * manual/libc-texinfo.sh: Likewise.
8871         * manual/tsort.awk: Likewise.
8872         * manual/xtract-typefun.awk: Likewise.
8873         * nptl/tst-cancel-wrappers.sh: Likewise.
8874         * nptl/tst-tls6.sh: Likewise.
8875         * posix/globtest.sh: Likewise.
8876         * posix/tst-getconf.sh: Likewise.
8877         * posix/wordexp-tst.sh: Likewise.
8878         * scripts/check-c++-types.sh: Likewise.
8879         * scripts/check-local-headers.sh: Likewise.
8880         * scripts/config.guess: Likewise.
8881         * scripts/config.sub: Likewise.
8882         * scripts/cpp: Likewise.
8883         * scripts/cross-test-ssh.sh: Likewise.
8884         * scripts/documented.sh: Likewise.
8885         * scripts/evaluate-test.sh: Likewise.
8886         * scripts/gen-libc-abis: Likewise.
8887         * scripts/gen-sorted.awk: Likewise.
8888         * scripts/list-fixed-bugs.py: Likewise.
8889         * scripts/merge-test-results.sh: Likewise.
8890         * scripts/mkinstalldirs: Likewise.
8891         * scripts/rellns-sh: Likewise.
8892         * scripts/test-installation.pl: Likewise.
8893         * scripts/update-copyrights: Likewise.
8894         * stdio-common/tst-printf.sh: Likewise.
8895         * stdio-common/tst-unbputc.sh: Likewise.
8896         * stdlib/tst-fmtmsg.sh: Likewise.
8897         * stdlib/tst-setcontext3.sh: Likewise.
8898         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8899         * sysdeps/unix/make-syscalls.sh: Likewise.
8901 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8903         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8904         asm stw with atomic_exchange_rel.  Add explanatory comment.
8905         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8906         Likewise.
8908 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8910         [BZ #19122]
8911         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8912         * sysdeps/generic/dl-unistd.h: New file.
8913         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8915 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8917          [BZ #19122]
8918          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8919          * sysdeps/generic/dl-mman.h: New file.
8920          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8922 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8924         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8925         trailing whitespace removed.
8926         * scripts/config.guess: Update to version 2016-01-01.
8927         * scripts/config.sub: Update to version 2016-01-01.
8928         * scripts/move-if-change: Update from gnulib.
8930 2016-01-04  Anton Blanchard  <anton@samba.org>
8932         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8933         for array indices.
8934         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8936 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8938         * NEWS: Update copyright dates.
8939         * catgets/gencat.c (print_version): Likewise.
8940         * csu/version.c (banner): Likewise.
8941         * debug/catchsegv.sh: Likewise.
8942         * debug/pcprofiledump.c (print_version): Likewise.
8943         * debug/xtrace.sh (do_version): Likewise.
8944         * elf/ldconfig.c (print_version): Likewise.
8945         * elf/ldd.bash.in: Likewise.
8946         * elf/pldd.c (print_version): Likewise.
8947         * elf/sotruss.sh: Likewise.
8948         * elf/sprof.c (print_version): Likewise.
8949         * iconv/iconv_prog.c (print_version): Likewise.
8950         * iconv/iconvconfig.c (print_version): Likewise.
8951         * locale/programs/locale.c (print_version): Likewise.
8952         * locale/programs/localedef.c (print_version): Likewise.
8953         * login/programs/pt_chown.c (print_version): Likewise.
8954         * malloc/memusage.sh (do_version): Likewise.
8955         * malloc/memusagestat.c (print_version): Likewise.
8956         * malloc/mtrace.pl: Likewise.
8957         * manual/libc.texinfo: Likewise.
8958         * nptl/version.c (banner): Likewise.
8959         * nscd/nscd.c (print_version): Likewise.
8960         * nss/getent.c (print_version): Likewise.
8961         * nss/makedb.c (print_version): Likewise.
8962         * posix/getconf.c (main): Likewise.
8963         * scripts/test-installation.pl: Likewise.
8964         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8966         * All files with FSF copyright notices: Update copyright dates
8967         using scripts/update-copyrights.
8968         * intl/plural.c: Regenerated.
8969         * locale/programs/charmap-kw.h: Likewise.
8970         * locale/programs/locfile-kw.h: Likewise.
8972 2016-01-02  Helge Deller  <deller@gmx.de>
8974         [BZ #19285]
8975         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8976         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8977         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8978         (MADV_xxK_PAGES): Remove.
8980 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8982         [BZ #15421]
8983         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8984         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8985         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8986         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8988 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8990         [BZ #19408]
8991         * sysdeps/unix/sysv/linux/personality.c: New file.
8992         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8993         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8994         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8995         (sysdep_routines): Add personality.
8996         (tests): Add tst-personality.
8997         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8998         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8999         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9000         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9001         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9002         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9003         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9004         Likewise.
9005         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9006         Likewise.
9007         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9008         Likewise.
9009         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9010         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9011         Likewise.
9013 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9015         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9016         (PATH_ARM_SYSTYPE): Remove.
9017         (PATH_CPUINFO): Likewise.
9018         (IO_BASE_FOOTBRIDGE): Likewise.
9019         (IO_SHIFT_FOOTBRIDGE): Likewise.
9020         (struct platform): Likewise.
9021         (init_iosys): Remove compatibility code for 2.4 kernels.
9022         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9024 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9026         * malloc/tst-malloc-thread-fail.c: New file.
9027         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9028         (tst-malloc-thread-fail): Link against libpthread.
9030 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9032         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9033         (get_parser): New function.
9034         (main): New function.
9036 2015-12-29  Rob Wu  <rob@robwu.nl>
9038         [BZ #19369]
9039         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9041 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9043         [BZ #19270]
9044         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9046 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9048         [BZ #15421]
9049         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9051 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9053         [BZ #13690]
9054         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9055         after releasing it.
9056         (__lll_robust_unlock): Likewise.
9057         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9058         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9059         (lll_robust_unlock): Likewise.
9060         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9061         Prevent warnings in callers.
9063 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9065         * malloc/arena.c (list_lock): Update comment.
9067 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9069         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9070         __parse_hwcap_and_convert_at_platform to libc.a.
9072 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9074         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9075         platform and feature support for POWER9.
9076         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9077         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9078         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9079         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9080         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9081         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9082         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9083         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9085 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9087         Harmonize generic stdio-lock support with nptl
9089         This fixes build when _IO_funlockfile is a macro, fixes build where
9090         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9091         stack unwind.
9093         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9094         _IO_release_lock ): Use cleanup attribute on new
9095         _IO_acquire_lock_file variable instead of assuming that
9096         _IO_release_lock will be called.
9097         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9098         _IO_acquire_lock_needs_exceptions_enabled.
9099         (_IO_acquire_lock_clear_flags2): New macro.
9101 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9103         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9105 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9107         [BZ #19182]
9108         * malloc/arena.c (list_lock): Document lock ordering requirements.
9109         (free_list_lock): New lock.
9110         (ptmalloc_lock_all): Comment on free_list_lock.
9111         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9112         (detach_arena): Update comment.  free_list_lock is now needed.
9113         (_int_new_arena): Use free_list_lock around detach_arena call.
9114         Acquire arena lock after list_lock.  Add comment, including FIXME
9115         about incorrect synchronization.
9116         (get_free_list): Switch to free_list_lock.
9117         (reused_arena): Acquire free_list_lock around detach_arena call
9118         and attached threads counter update.  Add two FIXMEs about
9119         incorrect synchronization.
9120         (arena_thread_freeres): Switch to free_list_lock.
9121         * malloc/malloc.c (struct malloc_state): Update comments to
9122         mention free_list_lock.
9124 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9126         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9127         Remove functions.
9128         (sloww, sloww1): Accept argument to offset quadrant.
9129         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9130         quadrant.
9131         (__sin, __cos): Consolidate common code into new functions.
9132         (reduce_sincos_1, do_sincos_1): New functions.
9133         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9135         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9136         code to new functions.
9137         (reduce_sincos_2, do_sincos_2): New functions.
9138         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9140         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9141         common code for sincos.
9142         (__cos) [!IN_SINCOS]: Likewise.
9143         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9144         New function.
9145         (__sincos): Use it.
9147 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9149         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9150         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9151         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9153 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9155         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9156         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9157         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9158         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9159         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9160         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9161         index_Prefer_No_VZEROUPPER): New feature.
9162         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9163         Prefer_No_VZEROUPPER for Knights Landing.
9165 015-12-18  Torvald Riegel  <triegel@redhat.com>
9167         * math/atest-exp2.c (mp_exp_m1): Remove.
9169 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9171         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9172         syscalls.
9173         (__SYSCALL0): New macro.
9174         (__SYSCALL1): Likewise.
9175         (__SYSCALL2): Likewise.
9176         (__SYSCALL3): Likewise.
9177         (__SYSCALL4): Likewise.
9178         (__SYSCALL5): Likewise.
9179         (__SYSCALL6): Likewise.
9180         (__SYSCALL_CONCAT_X): Likewise.
9181         (__SYSCALL_CONCAT): Likewise.
9182         (__SYSCALL_DIST): Likewise.
9183         (__SYSCALL_CALL): Likewise.
9185 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9187         [BZ #19363]
9188         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9190 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9192         [BZ #19375]
9193         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9194         negative subnormals.
9196 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9198         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9199         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9200         (INTERNAL_SYSCALL_NCS): Use it.
9201         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9203 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9205         [BZ #19243]
9206         * malloc/arena.c (get_free_list): Remove assert and adjust
9207         reference count handling.  Add comment about reused_arena
9208         interaction.
9209         (reused_arena): Add comments abount get_free_list interaction.
9210         * malloc/tst-malloc-thread-exit.c: New file.
9211         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9212         (tst-malloc-thread-exit): Link against libpthread.
9214 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9216         [BZ #19367]
9217         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9218         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9219         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9220         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9221         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9223 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9225         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9226         Silvermont optimizations for Knights Landing.
9228 2015-12-15  Andreas Schwab  <schwab@suse.de>
9230         [BZ #17197]
9231         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9232         immediately after emitting SI.
9233         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9234         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9235         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9236         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9237         * iconvdata/bug-iconv10.c: New file.
9238         * iconvdata/Makefile (tests): Add bug-iconv10.
9239         ($(objpfx)bug-iconv10.out): New rule.
9241 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9243         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9244         aliasing violation.
9246 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9248         [BZ #18472]
9249         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9250         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9251         conditionals for them.
9252         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9253         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9254         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9255         sys/kdaemon.h.
9256         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9257         compat-only syscall, obsoleted in glibc 2.23.
9258         (create_module): Likewise.
9259         (get_kernel_syms): Likewise.
9260         (query_module): Likewise.
9261         (uselib): Likewise.
9262         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9264 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9266         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9267         <linux/version.h>.
9268         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9269         conditional code.
9270         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9271         and ioshift_name initialization.
9273 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9275         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9276         Fix indentation.
9278 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9280         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9282 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9284         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9286 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9287             Jakub Wilk  <jwilk@debian.org>
9289         [BZ #19347]
9290         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9291         to change the group of the device to the tty group.
9293 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9295         Split large string section; add truncation advice
9296         * manual/examples/strncat.c: Remove.
9297         This example was misleading, as the code would have undefined
9298         behavior if "hello" was longer than SIZE.  Anyway, the manual
9299         shouldn't encourage strncpy+strncat for this sort of thing.
9300         * manual/string.texi (Copying Strings and Arrays): Split into
9301         three sections Copying Strings and Arrays, Concatenating Strings,
9302         and Truncating Strings, as this section was way too long.  All
9303         cross-referenced changed.  Add advice about string-truncation
9304         functions.  Remove misleading strncat example.
9306 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9308         * manual/nss.texi (NSS Modules Interface): Document
9309         NSS_STATUS_NOTFOUND and SUCCESS.
9311 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9313         [BZ 18568]
9314         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9315         201505L, for Unicode 8.
9317 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9319         * locale/C-translit.h: Regenerate.
9321 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9323         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9324         and U+0153.
9326 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9328         [BZ #19351]
9329         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9330         expanding log(1+z), compare z rather than its square with epsilon
9331         to determine when to avoid evaluating the expansion.
9333         [BZ #19350]
9334         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9335         Increase overflow threshold.
9337         [BZ #19349]
9338         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9339         when small.
9341         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9342         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9343         New macro.
9344         [__LINUX_KERNEL_VERSION >= 0x040300]
9345         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9346         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9347         Likewise.
9348         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9349         Likewise.
9350         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9351         Likewise.
9352         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9353         Likewise.
9354         [__LINUX_KERNEL_VERSION >= 0x040300]
9355         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9356         [__LINUX_KERNEL_VERSION >= 0x040300]
9357         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9358         [__LINUX_KERNEL_VERSION >= 0x040300]
9359         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9360         [__LINUX_KERNEL_VERSION >= 0x040300]
9361         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9362         [__LINUX_KERNEL_VERSION >= 0x040300]
9363         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9364         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9365         Likewise.
9366         [__LINUX_KERNEL_VERSION >= 0x040300]
9367         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9368         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9369         Likewise.
9370         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9371         Likewise.
9372         [__LINUX_KERNEL_VERSION >= 0x040300]
9373         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9374         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9375         Likewise.
9376         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9377         Likewise.
9378         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9379         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9380         Likewise.
9381         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9382         Likewise.
9383         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9384         Likewise.
9385         [__LINUX_KERNEL_VERSION >= 0x040300]
9386         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9387         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9388         Likewise.
9389         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9390         Likewise.
9391         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9392         Likewise.
9393         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9394         Likewise.
9395         [__LINUX_KERNEL_VERSION >= 0x040300]
9396         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9397         [__LINUX_KERNEL_VERSION >= 0x040300]
9398         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9399         [__LINUX_KERNEL_VERSION >= 0x040300]
9400         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9401         [__LINUX_KERNEL_VERSION >= 0x040300]
9402         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9403         [__LINUX_KERNEL_VERSION >= 0x040300]
9404         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9405         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9406         Likewise.
9407         [__LINUX_KERNEL_VERSION >= 0x040300]
9408         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9409         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9410         Likewise.
9411         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9412         Likewise.
9413         [__LINUX_KERNEL_VERSION >= 0x040300]
9414         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9415         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9416         Likewise.
9417         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9418         Likewise.
9419         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9420         (__ASSUME_SOCKET_SYSCALL): Likewise.
9421         (__ASSUME_BIND_SYSCALL): Likewise.
9422         (__ASSUME_CONNECT_SYSCALL): Likewise.
9423         (__ASSUME_LISTEN_SYSCALL): Likewise.
9424         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9425         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9426         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9427         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9428         (__ASSUME_SEND_SYSCALL): Likewise.
9429         (__ASSUME_SENDTO_SYSCALL): Likewise.
9430         (__ASSUME_RECV_SYSCALL): Likewise.
9431         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9432         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9433         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9434         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9435         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9436         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9437         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9438         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9439         Likewise.
9440         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9441         Likewise.
9442         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9443         Likewise.
9444         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9445         Likewise.
9446         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9447         Likewise.
9448         [__LINUX_KERNEL_VERSION >= 0x020625]
9449         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9450         [__LINUX_KERNEL_VERSION >= 0x020625]
9451         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9452         [__LINUX_KERNEL_VERSION >= 0x020625]
9453         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9454         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9455         Likewise.
9456         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9457         Likewise.
9458         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9459         Likewise.
9460         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9461         Likewise.
9462         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9463         Likewise.
9464         [__LINUX_KERNEL_VERSION >= 0x020625]
9465         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9466         [__LINUX_KERNEL_VERSION >= 0x020625]
9467         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9468         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9469         Likewise.
9470         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9471         Likewise.
9473 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9475         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9476         record the current if the current ABI and CPU support the FP64
9477         extension.
9478         (has-modd-spreg): Define to record the current if the current ABI and
9479         CPU support 32-bit floating point values in odd FPU registers.
9480         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9481         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9482         $(has-modd-spreg) equals yes.
9483         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9484         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9485         $(has-modd-spreg) equal yes.
9487 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9489         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9490         basename.
9492 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9494         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9495         (bench-string): ... here.
9496         (bench): Add bench-string.
9497         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9498         to *-benchset to reflect what they are.
9499         (benchset): Adjust.
9501         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9502         cos-inputs.
9504 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9506         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9507         __attribute__ ((__simd__)) for vector math function declarations.
9509 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9511         Fix typo in strncat, wcsncat manual entries
9512         * manual/string.texi (Copying and Concatenation): Fix typos in
9513         sample implementations of strncat and wcsncat, by having them use
9514         the old value of the destination length, not the new one.
9516 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9518         [BZ #16961]
9519         [BZ #16962]
9520         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9521         string on the stack for strtod.
9522         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9523         a string on the stack for strtof.
9524         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9525         constructing a string on the stack for strtold.
9526         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9527         __strtold_nan to GLIBC_PRIVATE.
9528         * math/test-nan-overflow.c: New file.
9529         * math/test-nan-payload.c: Likewise.
9530         * math/Makefile (tests): Add test-nan-overflow and
9531         test-nan-payload.
9533 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9535         Consistency about byte vs character in string.texi
9536         * manual/string.texi (String and Array Utilities):
9537         Distinguish more carefully among bytes, multibyte characters,
9538         and wide characters.  Use "byte" when talking about C 'char',
9539         to distinguish it more clearly from multibyte characters.
9540         Say "wide character" or "multibyte character" instead of
9541         "character", when a wide or multibyte character is intended.
9542         Similarly for "multibyte string" versus "string".
9543         Define these terms more carefully.
9545 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9547         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9548         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9549         Likewise.
9550         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9551         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9552         * sysdeps/sh/math_private.h: New file.
9553         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9554         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9555         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9556         long double function name.
9557         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9558         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9559         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9560         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9561         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9563         Remove __finitel, __isinfl, and __isnanl.
9564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9565         Likewise.
9566         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9568         Remove __finitel.
9569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9570         Likewise.
9571         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9573 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9575         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9576         installed libmvec_nonshared.a.
9578 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9580         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9581         (sysdep_routines): Likewise.
9582         (sysdep-rtld-routines): Likewise.
9583         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9584         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9585         * sysdeps/powerpc/Versions: Added new
9586         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9587         * sysdeps/powerpc/hwcapinfo.c: New file.
9588         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9589         and parse hwcap, hwcap2 and platform number information.
9590         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9591         to store HWCAP+HWCAP2 and platform number.
9592         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9593         for HWCAP+HWCAP2 and platform number in the TCB.
9594         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9595         the HWCAP, HWCAP2 and platform number in the TCB.
9596         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9597         (TLS_INIT_TP): Included calls to add the hwcap and
9598         at_platform values in the TCB in TP initialization.
9599         (TLS_DEFINE_INIT_TP): Likewise.
9600         (THREAD_GET_HWCAP): New macro.
9601         (THREAD_SET_HWCAP): Likewise.
9602         (THREAD_GET_AT_PLATFORM): Likewise.
9603         (THREAD_SET_AT_PLATFORM): Likewise.
9604         * sysdeps/powerpc/powerpc32/dl-machine.h:
9605         (dl_platform_init): New function that calls
9606         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9607         powerpc32.
9608         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9609         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9610         this functionality, static linking case.
9611         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9612         linking case.
9613         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9614         __parse_hwcap_and_convert_at_platform for the static linking case.
9615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9616         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9617         ABI list for GLIBC 2.23.
9618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9619         Likewise.
9620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9621         Likewise.
9623 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9625         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9626         * configure: Regenerate.
9627         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9628         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9630 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9632         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9633         * iconvdata/ibm933.c: Likewise.
9634         * iconvdata/ibm935.c: Likewise.
9635         * iconvdata/ibm937.c: Likewise.
9636         * iconvdata/ibm939.c: Likewise.
9638 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9640         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9641         pthread_join.
9642         * nptl/tst-cancel21.c (tf): Likewise.
9644 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9646         [BZ #19313]
9647         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9648         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9649         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9650         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9651         Likewise.
9652         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9653         Likewise.
9654         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9655         Likewise.
9656         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9657         Likewise.
9658         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9659         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9660         unsigned long int with __CPU_MASK_TYPE.
9662 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9664         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9666 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9668         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9669         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9670         t512.x.
9671         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9673 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9675         [BZ #19214]
9676         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9677         argument to return extended model.  Update family and model
9678         with extended family and model when family == 0x0f.
9679         (init_cpu_features): Updated.
9681 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9683         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9684         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9686         * sysdeps/mach/hurd/mmap64.c: New file.
9688 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9690         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9691         rights for its main user thread in NEWTASK.
9693 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9695         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9696         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9698 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9700         [BZ #14259]
9701         * Makeconfig: Rename localedir to complocaledir.
9702         Rename inst_localedir to inst_complocaledir.
9703         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9704         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9705         * configure.ac: Use libc_cv_complocaledir.
9706         * configure: Regenerate.
9707         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9708         -DCOMPLOCALEDIR.
9709         * locale/findlocale.c: Use COMPLOCALEDIR.
9710         * locale/loadarchive.c: Likewise.
9711         * locale/programs/locale.c: Likewise.
9712         * locale/programs/localedef.c: Likewise.
9713         * locale/programs/locarchive.c: Likewise.
9714         * localedata/Makefile: Use inst_complocaledir.
9715         * sysdeps/gnu/configure: Regenerate.
9716         * sysdeps/hppa/configure: Regenerate.
9717         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9718         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9720         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9721         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9722         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9723         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9725 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9727         [BZ #19058]
9728         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9729         AS_NEEDED.
9730         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9731         workaround.
9732         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9733         libmvec-static-only-routines): Added new file.
9734         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9736 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9738         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9739         of interrupted RPC instead of restoring it.
9741         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9742         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9743         libc_hidden_def.
9744         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9745         into initialized data instead of common. Define rtld_hidden_data_def.
9746         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9747         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9748         libc_hidden_def.
9749         (if_freenameindex): Add libc_hidden_weak.
9750         (if_nameindex): Add libc_hidden_weak.
9751         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9752         __open64.
9753         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9754         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9755         * sysdeps/mach/nanosleep.c: Include <time.h>
9756         (__nanosleep): Rename to __libc_nanosleep.
9757         (__nanosleep): Add weak_alias.
9758         (nanosleep): Update alias.
9760 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9762         * stdlib/strtod_nan.c: New file.
9763         * stdlib/strtod_nan_double.h: Likewise.
9764         * stdlib/strtod_nan_float.h: Likewise.
9765         * stdlib/strtod_nan_main.c: Likewise.
9766         * stdlib/strtod_nan_narrow.h: Likewise.
9767         * stdlib/strtod_nan_wide.h: Likewise.
9768         * stdlib/strtof_nan.c: Likewise.
9769         * stdlib/strtold_nan.c: Likewise.
9770         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9771         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9772         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9773         * wcsmbs/wcstod_nan.c: Likewise.
9774         * wcsmbs/wcstof_nan.c: Likewise.
9775         * wcsmbs/wcstold_nan.c: Likewise.
9776         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9777         strtold_nan.
9778         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9779         wcstof_nan.
9780         * include/stdlib.h (__strtof_nan): Declare and use
9781         libc_hidden_proto.
9782         (__strtod_nan): Likewise.
9783         (__strtold_nan): Likewise.
9784         (__wcstof_nan): Likewise.
9785         (__wcstod_nan): Likewise.
9786         (__wcstold_nan): Likewise.
9787         * include/wchar.h (____wcstoull_l_internal): Declare.
9788         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9789         (____strtoull_l_internal): Remove declaration.
9790         (STRTOF_NAN): Define macro.
9791         (SET_MANTISSA): Remove macro.
9792         (STRTOULL): Likewise.
9793         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9794         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9795         (STRTOF_NAN): Define macro.
9796         (SET_MANTISSA): Remove macro.
9797         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9798         (SET_MANTISSA): Remove macro.
9799         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9800         macro.
9801         (SET_MANTISSA): Remove macro.
9802         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9803         macro.
9804         (SET_MANTISSA): Remove macro.
9805         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9806         (SET_MANTISSA): Remove macro.
9807         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9808         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9809         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9811         [BZ #19266]
9812         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9813         upper case and lower case letters inside NAN(), not using TOLOWER.
9814         * stdlib/tst-strtod-nan-locale-main.c: New file.
9815         * stdlib/tst-strtod-nan-locale.c: Likewise.
9816         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9817         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9818         Depend on $(gen-locales).
9819         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9820         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9821         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9822         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9823         Depend on $(gen-locales).
9824         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9826 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9828         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9830         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9832         __finitel, __isinfl, and __isnanl.
9833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9834         Likewise.
9835         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9837         __finitel.
9838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9839         Likewise.
9840         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9842 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9844         * malloc/memusage.c (me): Remove redundant getenv call.
9846 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9848         [BZ #19143]
9849         [BZ #19164]
9850         * nptl/check-cpuset.h: Remove.
9851         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9852         Remove CPU set size check.
9853         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9854         Likewise.
9855         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9856         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9857         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9858         (__pthread_setaffinity_new): Remove CPU set size check.
9859         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9860         (__kernel_cpumask_size): Remove.
9861         (__sched_setaffinity_new): Remove CPU set size check.
9862         * manual/threads.texi (Default Thread Attributes): Remove stale
9863         reference to check_cpuset_attr, determine_cpumask_size in comment.
9864         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9865         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9866         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9867         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9868         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9869         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9870         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9871         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9872         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9873         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9874         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9875         skeleton test file.
9876         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9877         tst-affinity-pid.
9879 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9881         * scripts/update-abilist.sh: New file.
9882         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9883         * Makerules (update-all-abi-%, update-all-abi)
9884         (subdir_update-all-abi): New targets.
9885         * elf/Makefile (update-all-abi): New target.
9887 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9889         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9890         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9891         (__libc_lock_define_initialized): Use it.
9892         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9893         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9894         * malloc/malloc.c (main_arena): Likewise.
9895         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9896         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9898 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9900         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9901         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9902         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9903         (PTRACE_O_MASK): Update value.
9904         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9905         New value in enum __ptrace_setoptions.
9906         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9907         (PTRACE_O_MASK): Update value.
9908         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9909         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9910         (PTRACE_O_MASK): Update value.
9911         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9912         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9913         (PTRACE_O_MASK): Update value.
9914         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9915         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9916         (PTRACE_O_MASK): Update value.
9917         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9918         New value in enum __ptrace_setoptions.
9919         (PTRACE_O_MASK): Update value.
9920         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9921         New value in enum __ptrace_setoptions.
9922         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9923         (PTRACE_O_MASK): Update value.
9925         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9926         New macro.
9927         (PACKET_AUXDATA): Likewise.
9928         (PACKET_ORIGDEV): Likewise.
9929         (PACKET_VERSION): Likewise.
9930         (PACKET_HDRLEN): Likewise.
9931         (PACKET_RESERVE): Likewise.
9932         (PACKET_TX_RING): Likewise.
9933         (PACKET_LOSS): Likewise.
9934         (PACKET_VNET_HDR): Likewise.
9935         (PACKET_TX_TIMESTAMP): Likewise.
9936         (PACKET_TIMESTAMP): Likewise.
9937         (PACKET_FANOUT): Likewise.
9938         (PACKET_TX_HAS_OFF): Likewise.
9939         (PACKET_QDISC_BYPASS): Likewise.
9940         (PACKET_ROLLOVER_STATS): Likewise.
9941         (PACKET_FANOUT_DATA): Likewise.
9942         (PACKET_MR_UNICAST): Likewise.
9944         [BZ #19242]
9945         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9946         (TOUPPER): Likewise.
9947         * stdlib/tst-strtol-locale-main.c: New file.
9948         * stdlib/tst-strtol-locale.c: Likewise.
9949         * stdlib/Makefile (tests): Add tst-strtol-locale.
9950         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9951         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9952         Depend on $(gen-locales).
9953         * wcsmbs/tst-wcstol-locale.c: New file.
9954         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9955         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9956         tr_TR.ISO-8859-9.
9957         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9958         Depend on $(gen-locales).
9960 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9962         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9963         __glibc_likely instead of __builtin_expect.  After falling back to
9964         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9965         system interface to register the code pages as occupied.
9967 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9969         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9970         [!ARM_MATH_PRIVATE_H].
9971         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9972         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9973         [!HPPA_MATH_PRIVATE_H].
9974         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9975         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9976         to [!I386_MATH_PRIVATE_H].
9977         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9978         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9979         Change guard to [!M68K_MATH_PRIVATE_H].
9980         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9981         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9982         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9983         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9984         macro.
9985         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9986         [!MIPS_MATH_PRIVATE_H].
9987         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9988         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9989         [!NIO2_MATH_PRIVATE_H].
9990         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9991         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9992         [!TILE_MATH_PRIVATE_H].
9993         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9995         [BZ #15421]
9996         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9997         initialize with 0 and define as weak alias of __signgam.
9998         * include/math.h [!_ISOMAC] (__signgam): Declare.
9999         * math/Makefile (libm-calls): Add w_lgamma_compat.
10000         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10001         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10002         test-signgam-ullong-init.
10003         (tests-static): Add test-signgam-uchar-static,
10004         test-signgam-uchar-init-static, test-signgam-uint-static,
10005         test-signgam-uint-init-static, test-signgam-ullong-static and
10006         test-signgam-ullong-init-static.
10007         (CFLAGS-test-signgam-uchar.c): New variable.
10008         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10009         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10010         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10011         (CFLAGS-test-signgam-uint.c): Likewise.
10012         (CFLAGS-test-signgam-uint-init.c): Likewise.
10013         (CFLAGS-test-signgam-uint-static.c): Likewise.
10014         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10015         (CFLAGS-test-signgam-ullong.c): Likewise.
10016         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10017         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10018         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10019         * math/Versions (libm): Add GLIBC_2.23.
10020         * math/lgamma-compat.h: New file.
10021         * math/test-signgam-main.c: Likewise.
10022         * math/test-signgam-uchar-init-static.c: Likewise.
10023         * math/test-signgam-uchar-init.c: Likewise.
10024         * math/test-signgam-uchar-static.c: Likewise.
10025         * math/test-signgam-uchar.c: Likewise.
10026         * math/test-signgam-uint-init-static.c: Likewise.
10027         * math/test-signgam-uint-init.c: Likewise.
10028         * math/test-signgam-uint-static.c: Likewise.
10029         * math/test-signgam-uint.c: Likewise.
10030         * math/test-signgam-ullong-init-static.c: Likewise.
10031         * math/test-signgam-ullong-init.c: Likewise.
10032         * math/test-signgam-ullong-static.c: Likewise.
10033         * math/test-signgam-ullong.c: Likewise.
10034         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10035         wrapper of w_lgamma_main.c.
10036         * math/w_lgamma_compat.c: New file.
10037         * math/w_lgamma_compatf.c: Likewise.
10038         * math/w_lgamma_compatl.c: Likewise.
10039         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10040         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10041         defining compatibility symbols.
10042         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10043         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10044         wrapper of w_lgammaf_main.c.
10045         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10046         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10047         defining compatibility symbols.
10048         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10049         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10050         wrapper of w_lgammal_main.c.
10051         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10052         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10053         defining compatibility symbols.
10054         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10055         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10056         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10057         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10058         <lgamma-compat.h>.
10059         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10060         (__ieee754_gamma): Define as alias.
10061         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10062         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10063         <lgamma-compat.h>.
10064         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10065         (__ieee754_gammaf): Define as alias.
10066         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10067         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10068         <lgamma-compat.h>.
10069         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10070         (__ieee754_gammal): Define as alias.
10071         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10072         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10073         <math/w_lgamma_compat.c>.
10074         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10075         Define as alias of __lgamma_compat and use in defining lgammal.
10076         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10077         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10078         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10079         (USE_AS_COMPAT): New macro.
10080         (LGAMMA_OLD_VER): Undefine and redefine.
10081         (lgammal): Do not define here.
10082         (gammal): Only define here if [GAMMA_ALIAS].
10083         * conform/linknamespace.pl (@whitelist): Remove signgam.
10084         * sysdeps/nacl/libm.abilist: Update.
10085         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10086         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10087         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10088         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10089         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10090         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10091         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10092         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10093         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10094         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10095         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10096         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10098         Likewise.
10099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10100         Likewise.
10101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10102         Likewise.
10103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10104         Likewise.
10105         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10106         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10107         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10108         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10109         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10111         Likewise.
10112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10113         Likewise.
10114         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10115         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10116         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10118 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10120         [BZ #16364]
10121         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10122         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10124 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10126         * sysdeps/s390/fpu/bits/mathinline.h:
10127         Use __asm__ [__volatile__] instead of asm [volatile].
10128         * sysdeps/s390/abort-instr.h: Likewise.
10129         * sysdeps/s390/atomic-machine.h: Likewise.
10130         * sysdeps/s390/bits/string.h: Likewise.
10131         * sysdeps/s390/dl-tls.h: Likewise.
10132         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10133         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10134         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10135         * sysdeps/s390/fpu/fesetround.c: Likewise.
10136         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10137         * sysdeps/s390/fpu/s_fma.c: Likewise.
10138         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10139         * sysdeps/s390/memusage.h: Likewise.
10140         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10141         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10142         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10143         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10144         * sysdeps/s390/nptl/tls.h: Likewise.
10145         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10146         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10147         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10148         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10149         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10150         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10151         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10152         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10153         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10154         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10155         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10156         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10157         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10158         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10159         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10160         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10161         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10162         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10163         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10164         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10165         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10166         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10167         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10169 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10170             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10172         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10173         Add lwarx hint, and use macro for acquire instruction.
10174         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10175         Likewise.
10176         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10177         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10178         update to use new atomic macros.
10180 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10182         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10183         (__lll_trylock_elision): Fix setting of adapt_count.
10184         * sysdeps/unix/sysv/linux/powerpc/htm.h
10185         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10186         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10187         (_ABORT_SYSCALL): Renumber, and clarify definition.
10188         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10190 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10192         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10193         after system headers to prevent MIN/MAX redefinition.  Define
10194         HAVE_ALLOCA to preserve builtin alloca usage.
10196 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10198         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10199         static and don't set or restore rounding.
10200         (__cos)[IN_SINCOS]: Likewise.
10201         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10202         (__sincos): Set and restore rounding mode.  Remove check for infinite
10203         or NaN input.
10205         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10207         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10208         as used.
10210 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10212         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10214 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10216         * config.make.in (have-glob-dat-reloc): New.
10217         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10218         target supports GLOB_DAT relocaton. AC_SUBST.
10219         * configure: Regenerated.
10220         * elf/Makefile (tests): Add tst-prelink.
10221         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10222         (tst-prelink-ENV): New.
10223         ($(objpfx)tst-prelink-conflict.out): Likewise.
10224         ($(objpfx)tst-prelink-cmp.out): Likewise.
10225         * sysdeps/x86/tst-prelink.c: Moved to ...
10226         * elf/tst-prelink.c: Here.
10227         * sysdeps/x86/tst-prelink.exp: Moved to ...
10228         * elf/tst-prelink.exp: Here.
10229         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10230         (tst-prelink-ENV): Removed.
10231         ($(objpfx)tst-prelink-conflict.out): Likewise.
10232         ($(objpfx)tst-prelink-cmp.out): Likewise.
10233         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10235 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10237         [BZ #14551]
10238         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10239         (__mpn_construct_long_double): If high part overflows to infinity,
10240         set errno and recompute overflowed result of the correct sign.
10241         * sysdeps/ieee754/ldbl-128ibm/Makefile
10242         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10243         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10244         $(libm).
10245         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10247 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10249         [BZ #15479]
10250         [BZ #19238]
10251         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10252         floating-point state after first operation on input.  Restore full
10253         state rather than just rounding mode.
10254         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10255         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10256         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10258         [BZ #19235]
10259         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10260         add 0.5 to integer arguments.
10261         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10262         Likewise.
10263         (.LC2): New object.
10265 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10267         * scripts/pylintrc (reports): Set to no.
10269 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10271         * elf/dl-load.c (open_verify): Take new argument FD.
10272         Skip __open call if passed FD is not -1.
10273         (_dl_map_object, open_path): Update callers.
10274         * elf/dl-sysdep-open.h: New file.
10275         * elf/dl-load.c: Include it.
10276         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10277         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10278         * sysdeps/nacl/dl-sysdep-open.h: New file.
10279         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10280         from libc to rtld.
10282 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10284         [BZ #19228]
10285         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10286         and restore full floating-point state.
10287         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10288         Likewise.
10289         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10290         Likewise.
10291         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10292         Likewise.
10293         * math/test-nearbyint-except-2.c: New file.
10294         * math/Makefile (tests): Add test-nearbyint-except-2.
10296 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10298         [BZ #19178]
10299         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10300         (tst-prelink-ENV): New.
10301         ($(objpfx)tst-prelink-conflict.out): Likewise.
10302         ($(objpfx)tst-prelink-cmp.out): Likewise.
10303         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10304         * sysdeps/x86/tst-prelink.c: New file.
10305         * sysdeps/x86/tst-prelink.exp: Likewise.
10307 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10309         * math/auto-libm-test-in: Add another test of pow.
10310         * math/auto-libm-test-out: Regenerated.
10311         * math/libm-test.inc (pow_test_data): Add another test.
10313 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10315         [BZ #19219]
10316         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10317         weak_alias to nearbyintl.
10319 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10321         * sysdeps/aarch64/bits/string.h: New file.
10322         (_STRING_ARCH_unaligned): Define.
10324 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10326         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10327         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10328         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10329         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10332 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10334         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10335         for original name of the DSO.  Add it to the name list of the DSO
10336         if it is actually given.
10337         (_dl_map_object): Keep track of whether an audit module rewrote
10338         the file name.  If yes, pass the original name to
10339         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10340         debugging is enabled, log the change of the file name.
10341         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10342         _dl_map_object_from_fd.
10343         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10344         * elf/tst-audit11.c: New file
10345         * elf/tst-auditmod11.c: New file.
10346         * elf/tst-audit11mod1.c: New file.
10347         * elf/tst-audit11mod2.c: New file.
10348         * elf/tst-audit11mod2.map: New file.
10349         * elf/tst-audit12.c: New file
10350         * elf/tst-auditmod12.c: New file.
10351         * elf/tst-audit12mod1.c: New file.
10352         * elf/tst-audit12mod2.c: New file.
10353         * elf/tst-audit12mod2.map: New file.
10354         * elf/tst-audit12mod3.c: New file.
10356 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10358         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10359         Don't create weak aliases,
10360         because versioned symbols are created later.
10361         * sysdeps/s390/s390-32/setjmp.S
10362         (setjmp, _setjmp): Remove weak and rename to an unique name
10363         in SHARED case due to existing versioned symbols.
10364         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10365         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10366         (getcontext): Create weak alias only in non SHARED case.
10367         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10369 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10371         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10372         (__ASSUME_*_SYSCALL) Define new macros.
10373         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10374         Remove socketcall syscalls.
10375         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10376         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10377         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10378         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10379         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10380         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10382 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10384         [BZ #12926]
10385         Terminate process on invalid netlink response.
10386         * sysdeps/unix/sysv/linux/netlinkaccess.h
10387         (__netlink_assert_response): Declare.
10388         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10389         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10390         (sysdep_routines): Add netlink_assert_response.
10391         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10392         __netlink_assert_response.
10393         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10394         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10395         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10396         __netlink_assert_response.
10398 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10400         [BZ #19178]
10401         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10402         (RTYPE_CLASS_PLT): Likewise.
10403         (RTYPE_CLASS_COPY): Likewise.
10404         (RTYPE_CLASS_TLS): Likewise.
10405         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10406         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10407         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10408         DL_DEBUG_PRELINK.
10410 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10412         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10413         calls with argument -0.5.
10414         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10416         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10417         (libc_cv_z_nodlopen): Likewise.
10418         (libc_cv_z_initfirst): Likewise.
10419         * configure: Regenerated.
10421 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10423         Simplify abilist format to be line-based.
10424         * scripts/abilist.awk: Collect descriptors in the descs variable.
10425         (emit): Write descs variable and sort it
10426         externally, with sort.
10427         * sysdeps/**/*.abilist: Convert to new format.
10429 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10431         [BZ #11460]
10432         * io/Makefile (routines): Add fts64.
10433         (tests): Add tst-fts and tst-fts-lfs.
10434         (CFLAGS-fts64.c): New.
10435         * io/Versions (GLIBC_2.23): New.
10436         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10437         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10438         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10439         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10440         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10441         (FTSENT64): Likewise.
10442         (fts64_children): Likewise.
10443         (fts64_close): Likewise.
10444         (fts64_open): Likewise.
10445         (fts64_read): Likewise.
10446         (fts64_set): Likewise.
10447         * io/fts64.c: New file.
10448         * io/tst-fts.c: New test.
10449         * io/tst-fts-lfs.c: Likewise.
10450         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10451         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10452         fts64_set.
10453         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10454         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10455         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10456         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10457         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10458         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10459         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10460         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10461         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10462         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10463         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10464         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10465         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10467         Likewise.
10468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10469         Likewise.
10470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10472         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10473         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10474         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10475         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10476         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10479         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10480         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10481         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10482         * sysdeps/wordsize-64/fts.c: New file.
10483         * sysdeps/wordsize-64/fts64.c: Likewise.
10484         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10485         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10486         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10487         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10489 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10491         * math/libm-test.inc (NON_FINITE): New macro.
10492         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10493         * math/gen-libm-test.pl (show_exceptions): Add argument
10494         $non_finite.
10495         (parse_args): Update call to show_exceptions.
10496         * math/test-math-finite.h: New file.
10497         * math/test-math-no-finite.h: Likewise.
10498         * math/test-double-finite.c: Likewise.
10499         * math/test-float-finite.c: Likewise.
10500         * math/test-ldouble-finite.c: Likewise.
10501         * math/test-double.c: Include "test-math-no-finite.h".
10502         * math/test-float.c: Include "test-math-no-finite.h".
10503         * math/test-ldouble.c: Include "test-math-no-finite.h".
10504         * math/test-math-inline.h (TEST_FINITE): New macro.
10505         * math/test-math-vector.h (TEST_FINITE): Likewise.
10506         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10507         (libm-tests): Add test-float-finite and test-double-finite.
10508         ($(objpfx)test-float-finite.o): New dependency on
10509         $(objpfx)libm-test.stmp.
10510         ($(objpfx)test-double-finite.o): Likewise.
10511         ($(objpfx)test-ldouble-finite.o): Likewise.
10512         (libm-test-no-inline-cflags): New variable.
10513         (libm-test-finite-cflags): Likewise.
10514         (CFLAGS-test-float-finite.c): Likewise.
10515         (CFLAGS-test-double-finite.c): Likewise.
10516         (CFLAGS-test-ldouble-finite.c): Likewise.
10517         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10518         (CFLAGS-test-double.c): Likewise.
10519         (CFLAGS-test-ldouble.c): Likewise.
10521 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10523         * io/fcntl.c (__fcntl): Add ... to prototype.
10524         * misc/ioctl.c (__ioctl): Likewise.
10525         * misc/syscall.c (syscall): Likewise.
10527 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10529         * scripts/list-fixed-bugs.py: New file.
10531         [BZ #19213]
10532         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10533         returned for argument 1.
10534         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10535         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10536         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10537         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10538         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10539         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10541         [BZ #19211]
10542         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10543         __USE_XOPEN], not if [!__USE_ISOC99].
10544         (lgammaf): Likewise.
10545         (lgammal): Likewise.
10546         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10547         (gammaf): Likewise.
10548         (gammal): Likewise.
10549         * math/test-signgam-finite-c11.c: New file.
10550         * math/test-signgam-finite-c99.c: Likewise.
10551         * math/test-signgam-finite.c: Likewise.
10552         * math/Makefile (tests): Add test-signgam-finite,
10553         test-signgam-finite-c99 and test-signgam-finite-c11.
10554         (CFLAGS-test-signgam-finite.c): New variable.
10555         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10556         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10558         [BZ #19212]
10559         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10560         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10561         500].
10562         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10563         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10564         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10565         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10566         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10567         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10568         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10569         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10570         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10571         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10573         [BZ #19209]
10574         * math/bits/math-finite.h (ldexp): Remove declaration.
10575         (ldexpf): Likewise.
10576         (ldexpl): Likewise.
10578         [BZ #19205]
10579         * math/bits/math-finite.h (acosf): Condition declaration on
10580         [__USE_ISOC99].
10581         (acosl): Likewise.
10582         (acoshf): Likewise.
10583         (acoshl): Likewise.
10584         (asinf): Likewise.
10585         (asinl): Likewise.
10586         (atan2f): Likewise.
10587         (atan2l): Likewise.
10588         (atanhf): Likewise.
10589         (atanhl): Likewise.
10590         (coshf): Likewise.
10591         (coshl): Likewise.
10592         (expf): Likewise.
10593         (expl): Likewise.
10594         (fmodf): Likewise.
10595         (fmodl): Likewise.
10596         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10597         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10598         (j0l): Likewise.
10599         (y0f): Likewise.
10600         (y0l): Likewise.
10601         (j1f): Likewise.
10602         (j1l): Likewise.
10603         (y1f): Likewise.
10604         (y1l): Likewise.
10605         (jnf): Likewise.
10606         (jnl): Likewise.
10607         (ynf): Likewise.
10608         (ynl): Likewise.
10609         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10610         (lgammal_r): Likewise.
10611         (__lgamma_r_finite): New declaration.
10612         (__lgammaf_r_finite): Likewise.
10613         (__lgammal_r_finite): Likewise.
10614         (lgamma): Use __lgamma_r_finite.
10615         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10616         __lgammaf_r_finite.
10617         (lgammal): Condition definition on [__USE_ISOC99].  Use
10618         __lgammal_r_finite.
10619         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10620         __lgamma_r_finite.
10621         (gammaf): Condition definition on [__USE_ISOC99].  Use
10622         __lgammaf_r_finite.
10623         (gammal): Condition definition on [__USE_ISOC99].  Use
10624         __lgammal_r_finite.
10625         (logf): Condition declaration on [__USE_ISOC99].
10626         (logl): Likewise.
10627         (log10f): Likewise.
10628         (log10l): Likewise.
10629         (ldexpf): Likewise.
10630         (ldexpl): Likewise.
10631         (powf): Likewise.
10632         (powl): Likewise.
10633         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10634         __USE_ISOC99].
10635         (remainderf): Condition declaration on [__USE_ISOC99].
10636         (remainderl): Likewise.
10637         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10638         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10639         (scalbl): Likewise.
10640         (sinhf): Condition declaration on [__USE_ISOC99].
10641         (sinhl): Likewise.
10642         (sqrtf): Likewise.
10643         (sqrtl): Likewise.
10645 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10647         * sysdeps/arm/atomic-machine.h
10648         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10649         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10650         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10651         Remove conditional code.
10652         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10653         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10654         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10655         Change conditional to [__ASSEMBLER__].
10656         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10657         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10658         [!__ASSEMBLER__].
10659         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10660         code.
10661         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10662         conditional macro definitions.
10663         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10664         (__arch_compare_and_exchange_val_16_acq): Likewise.
10665         (__arch_compare_and_exchange_val_32_acq): Likewise.
10666         (atomic_exchange_and_add): Likewise.
10667         (atomic_add): Likewise.
10668         (atomic_add_negative): Likewise.
10669         (atomic_add_zero): Likewise.
10670         (atomic_bit_set): Likewise.
10671         (atomic_bit_test_set): Likewise.
10672         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10673         code unconditional.
10674         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10676         * math/test-math-errno.h: New file.
10677         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10678         empty.
10679         (TEST_ERRNO): New macro.
10680         (TEST_EXCEPTIONS): Likewise.
10681         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10682         (TEST_EXCEPTIONS): Likewise.
10683         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10684         * math/test-double.c: Include "test-math-errno.h".
10685         * math/test-float.c: Likewise.
10686         * math/test-ldouble.c: Likewise.
10687         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10688         code unconditional.
10689         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10690         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10691         unconditional.
10692         (test_errno): Only run code if TEST_ERRNO.
10693         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10695 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10697         * nptl/tst-once5.cc: Remove attribution.
10699 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10701         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10702         sqrt, tan, tanh, y0, y1 and yn.
10703         * math/auto-libm-test-out: Regenerated.
10704         * math/libm-test.inc (scalb_test_data): Add more tests.
10705         (scalbn_test_data): Likewise.
10706         (scalbln_test_data): Likewise.
10707         (signbit_test_data): Likewise.
10708         (sin_test_data): Likewise.
10709         (sincos_test_data): Likewise.
10710         (sinh_test_data): Likewise.
10711         (sqrt_test_data): Likewise.
10712         (tan_test_data): Likewise.
10713         (tanh_test_data): Likewise.
10714         (tgamma_test_data): Likewise.
10715         (y0_test_data): Likewise.
10716         (y1_test_data): Likewise.
10717         (yn_test_data): Likewise.
10718         (significand_test_data): Likewise.
10719         * sysdeps/i386/fpu/libm-test-ulps: Update.
10721 2015-11-03  David Kastrup  <dak@gnu.org>
10723         [BZ #18604]
10724         * assert/assert.h (assert): Don't macro-expand failed assertion
10725         expression in error message.
10726         * malloc/malloc.c (assert): Likewise.
10728 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10730         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10731         test.
10732         * configure: Regenerated.
10734 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10736         * math/libm-test.inc (modf_test_data): Add more tests.
10737         (nearbyint_test_data): Likewise.
10738         (nextafter_test_data): Likewise.
10739         (nexttoward_test_data): Likewise.
10740         (pow_test_data): Likewise.
10741         (remainder_test_data): Likewise.
10742         (remquo_test_data): Likewise.
10743         (rint_test_data): Likewise.
10745         [BZ #19201]
10746         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10747         Check for zero remainder in case of large exponents and ensure
10748         correct sign of result in that case.
10749         * math/libm-test.inc (remainder_test_data): Add more tests.
10751         [BZ #6799]
10752         * math/s_nextafter.c: Include <errno.h>.
10753         (__nextafter): Set errno on overflow and underflow.
10754         * math/s_nexttowardf.c: Include <errno.h>.
10755         (__nexttowardf): Set errno on overflow and underflow.
10756         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10757         (__nextafterl): Set errno on overflow and underflow.
10758         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10759         (__nexttoward): Set errno on overflow and underflow.
10760         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10761         (__nexttowardf): Set errno on overflow and underflow.
10762         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10763         (__nextafterf): Set errno on overflow and underflow.
10764         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10765         (__nextafterl): Set errno on overflow and underflow.
10766         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10767         (__nexttoward): Set errno on overflow and underflow.
10768         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10769         (__nexttowardf): Set errno on overflow and underflow.
10770         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10771         (__nextafterl): Set errno on overflow and underflow.
10772         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10773         (__nexttoward): Set errno on overflow and underflow.
10774         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10775         (__nexttowardf): Set errno on overflow and underflow.
10776         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10777         (__nexttoward): Set errno on overflow and underflow.
10778         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10779         (__nexttowardf): Set errno on overflow and underflow.
10780         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10781         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10782         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10783         (__nextafterl): Set errno on overflow and underflow.
10784         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10785         setting to be missing on overflow.  Add more tests.
10786         (nexttoward_test_data): Likewise.
10788         * configure.ac (libc_cv_initfini_array): Remove configure test.
10789         * configure: Regenerated.
10791 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10793         [BZ #19189]
10794         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10795         non-finite argument handle arguments with negative sign.
10797         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10798         result from infinite argument.
10799         (j1_test_data): Likewise.
10800         (jn_test_data): Likewise.
10801         (y0_test_data): Likewise.
10802         (y1_test_data): Likewise.
10803         (yn_test_data): Likewise.
10805         [BZ #16171]
10806         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10807         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10808         * math/w_remainderf.c (dremf): Define as weak alias of
10809         __remainderf.
10810         * math/w_remainderl.c (dreml): Define as weak alias of
10811         __remainderl.
10812         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10813         __remainder.
10814         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10815         __remainderf.
10816         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10817         __remainderl.
10818         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10819         weak alias of remainderl.
10820         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10821         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10822         alias of __remainder.
10823         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10824         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10825         strong alias of __remainderl.
10826         (dreml): Use long_double_symbol.
10827         * math/Makefile (libm-calls): Remove w_drem.
10828         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10829         (CFLAGS-nldbl-drem.c): Remove variable.
10830         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10831         * math/w_drem.c: Remove file.
10832         * math/w_dremf.c: Likewise.
10833         * math/w_dreml.c: Likewise.
10834         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10835         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10836         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10838         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10839         * sysdeps/i386/configure: Regenerated.
10840         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10841         * sysdeps/x86_64/configure: Regenerated.
10843         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10844         test.
10845         (libc_cv_visibility_attribute): Likewise.
10846         (libc_cv_protected_data): Test unconditionally.
10847         (libc_cv_broken_visibility_attribute): Remove configure test.
10848         (libc_cv_have_sdata_section): Test unconditionally.
10849         * configure: Regenerated.
10851         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10852         * include/scratch_buffer.h: Include <stddef.h> instead of
10853         <libc-internal.h>.
10854         (struct scratch_buffer): Use max_align_t instead of
10855         libc_max_align_t.
10857 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10859         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10860         instead of extend_alloca.  Change control flow to avoid a goto.
10861         Remove assert which is trivially always true.
10863 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10865         [BZ #16068]
10866         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10867         (FE_ALL_EXCEPT_X86): New macro.
10868         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10869         FE_ALL_EXCEPT.  Ensure precision control is included in
10870         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10871         handle "denormal operand exception" and clear FZ and DAZ bits.
10872         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10873         (FE_ALL_EXCEPT_X86): New macro.
10874         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10875         FE_ALL_EXCEPT.  Ensure precision control is included in
10876         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10877         handle "denormal operand exception" and clear FZ and DAZ bits.
10878         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10879         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10880         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10881         test-fenv-x87 and test-fenv-sse-2.
10882         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10884         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10885         * math/test-double.h (BUILD_COMPLEX): New macro.
10886         * math/test-float.h (BUILD_COMPLEX): Likewise.
10887         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10889         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10890         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10891         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10892         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10893         instead of DBL_DENORM_MIN in comment.
10894         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10895         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10896         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10897         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10898         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10899         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10901 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10903         [BZ# 19048]
10904         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10905         attached_threads member.
10906         (main_arena): Initialize attached_threads.
10907         * malloc/arena.c (list_lock): Update comment.
10908         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10909         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10910         (deattach_arena): New function.
10911         (_int_new_arena): Initialize arena reference count and deattach
10912         replaced arena.
10913         (get_free_list, reused_arena): Update reference count and deattach
10914         replaced arena.
10915         (arena_thread_freeres): Update arena reference count and only put
10916         unreferenced arenas on the free list.
10918 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10920         [BZ #19181]
10921         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10922         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10923         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10924         * math/test-fenv-clear-main.c: New file.
10925         * math/test-fenv-clear.c: Likewise.
10926         * math/Makefile (tests): Add test-fenv-clear.
10927         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10928         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10929         test-fenv-clear-sse.
10930         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10932         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10933         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10934         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10936 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10938         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10939         static libc.
10941 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10943         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10944         test.
10945         * sysdeps/i386/configure: Regenerated.
10946         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10947         test.
10948         * sysdeps/x86_64/configure: Regenerated.
10949         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10950         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10951         memset-avx2 unconditionally instead of conditionally on
10952         [$(config-cflags-avx2) = yes].
10953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10954         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10955         unconditional.
10956         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10957         * sysdeps/x86_64/multiarch/memset_chk.S
10958         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10959         to [IS_IN (libc) && SHARED].
10961 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10963         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10964         configure test.
10965         * sysdeps/arm/configure: Regenerated.
10966         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10967         Define variable if not already defined.
10969         [BZ #17404]
10970         * sysdeps/mips/atomic-machine.h
10971         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10972         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10973         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10975         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10976         unconditional.
10977         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10978         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10979         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10980         unconditional.
10981         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10982         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10983         unconditional.
10984         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10985         * stdlib/setenv.c
10986         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10987         code unconditional.
10988         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10989         Remove conditional code.
10990         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10991         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10992         unconditional.
10993         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10994         code.
10995         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10996         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10997         unconditional.
10998         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10999         code.
11000         * sysdeps/ieee754/ldbl-128/k_tanl.c
11001         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11002         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11003         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11004         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11005         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11006         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11007         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11008         unconditional.
11009         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11010         code.
11011         * sysdeps/ieee754/ldbl-96/k_tanl.c
11012         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11013         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11015         * nptl/tst-initializers1-c11.c: New file.
11016         * nptl/tst-initializers1-gnu11.c: Likewise.
11017         * nptl/Makefile (tests): Add these new tests.
11018         (CFLAGS-tst-initializers1-c11.c): New variable.
11019         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11021         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11022         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11023         instead of -std=gnu99.
11024         * configure.ac (systemtap): Test with -std=gnu11 instead of
11025         -std=gnu99.
11026         * configure: Regenerated.
11027         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11028         in compilation command in comment.
11030         * sysdeps/nptl/configure.ac: Remove file.
11031         * sysdeps/nptl/configure: Remove generated file.
11032         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11033         * configure: Regenerated.
11034         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11035         * config.make.in (have-forced-unwind): Remove variable.
11036         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11037         unconditional.
11038         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11039         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11040         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11041         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11042         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11043         unconditional.
11045 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11047         [BZ #19174]
11048         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11049         .skip_lock_out_of_tbegin_retries.
11050         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11051         (__lll_lock_elision): Likewise, and respect a value of
11052         try_tbegin <= 0.
11054 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11056         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11057         statement.
11059 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11061         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11062         variable.
11063         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11064         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11066         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11067         of -std=c1x -D_ISOC11_SOURCE.
11069         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11070         * configure: Regenerated.
11071         * manual/install.texi (Tools for Compilation): Document
11072         requirement for GCC 4.7 or later.
11073         * INSTALL: Regenerated.
11075 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11077         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11078         on CNT to a conditional jump to 'puntdata'.
11080 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11082         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11083         (libc_cv_gcc_tls_model_attr): Likewise.
11084         * configure: Regenerated.
11086         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11087         * configure: Regenerated.
11088         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11090 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11092         * configure.ac (old_glibc_headers): Remove configure test.
11093         * configure: Regenerated.
11094         * config.make.in (old-glibc-headers): Remove variable.
11095         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11096         (install): Remove dependency on remove-old-headers.
11097         (headers2_0): Remove variable.
11098         (remove-old-headers): Remove rule.
11100         * configure.ac (libc_cv_dot_text): Remove configure test.
11101         (libc_cv_asm_set_directive): Use .text instead of
11102         ${libc_cv_dot_text} in configure test.
11103         * configure: Regenerated.
11105 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11107         [BZ #19168]
11108         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11110 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11112         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11113         not support static linking.
11114         * configure: Regenerate.
11116 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11118         * math/libm-test.inc (check_float_internal): Do not special-case
11119         errors up to 0.5 ulp.
11121         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11122         log2.
11123         * math/auto-libm-test-out: Regenerated.
11124         * math/libm-test.inc (MAX_EXP): New macro.
11125         (ilogb_test_data): Add more tests.
11126         (isfinite_test_data): Likewise.
11127         (isgreater_test_data): Likewise.
11128         (isgreaterequal_test_data): Likewise.
11129         (isinf_test_data): Likewise.
11130         (isless_test_data): Likewise.
11131         (islessequal_test_data): Likewise.
11132         (islessgreater_test_data): Likewise.
11133         (isnan_test_data): Likewise.
11134         (isnormal_test_data): Likewise.
11135         (issignaling_test_data): Likewise.
11136         (isunordered_test_data): Likewise.
11137         (j0_test_data): Likewise.
11138         (j1_test_data): Likewise.
11139         (jn_test_data): Likewise.
11140         (lgamma_test_data): Likewise.
11141         (log_test_data): Likewise.
11142         (log10_test_data): Likewise.
11143         (log1p_test_data): Likewise.
11144         (log2_test_data): Likewise.
11145         (logb_test_data): Likewise.
11146         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11148         [BZ #18611]
11149         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11150         avoid excess range and precision on underflow.
11151         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11152         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11153         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11154         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11155         underflow.
11156         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11157         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11158         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11159         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11160         * math/auto-libm-test-in: Do not allow missing errno setting for
11161         tests of j1 and jn.
11162         * math/auto-libm-test-out: Regenerated.
11164 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11166         [BZ #15491]
11167         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11168         floating-point environment instead of clearing all exceptions.
11169         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11170         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11171         merging in "invalid" exceptions from frndint.
11172         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11173         * math/test-nearbyint-except.c: New file.
11174         * math/Makefile (tests): Add test-nearbyint-except.
11176 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11178         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11180         * sysdeps/tile/libm-test-ulps: Regenerated.
11182 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11185         (__NR_sync_file_range2): Assume it is always defined.
11186         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11187         (__NR_sync_file_range): Assume it is always defined.
11189 2015-10-22  Andreas Schwab  <schwab@suse.de>
11191         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11192         INTERNAL_SYSCALL_ERRNO.
11193         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11194         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11195         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11196         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11197         Likewise.
11198         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11200 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11202         * io/tst-fcntl.c (fd): New static variable.
11203         (do_prepare): Open temporary file here....
11204         (do_test): ...not here.
11206         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11208 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11210         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11211         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11212         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11213         Moved before "#ifdef __ASSEMBLER__".
11215 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11217         [BZ #19156]
11218         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11219         arguments very close to 0.
11221 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11223         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11224         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11226 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11228         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11229         New.  Defined for GCC 5 and above when not compiling for
11230         profiling.
11231         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11233         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11234         Renamed to ...
11235         (CFLAGS-epoll_pwait.o): This.
11236         (CFLAGS-mmap.c): Renamed to ...
11237         (CFLAGS-mmap.o): This.
11238         (CFLAGS-mmap64.c): Renamed to ...
11239         (CFLAGS-mmap64.o): This.
11240         (CFLAGS-epoll_pwait.os): New.
11241         (CFLAGS-mmap.os): Likewise.
11242         (CFLAGS-mmap64.os): Likewise.
11243         (CFLAGS-semtimedop.os): Likewise.
11244         (CFLAGS-semtimedop.c): Renamed to ...
11245         (CFLAGS-semtimedop.o): This.
11247 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11249         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11250         warning message.
11252 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11254         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11255         * Makefile ($(objpfx)c++-types-check.out): Filter out
11256         $(+gccwarn-c) instead of -Wstrict-prototypes.
11258         * io/fts.c (fts_open): Convert to prototype-style function
11259         definition.
11260         * malloc/mcheck.c (mcheck): Likewise.
11261         (mcheck_pedantic): Likewise.
11262         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11263         internal_function.
11264         (re_search_internal): Likewise.
11265         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11266         prototype-style function definition.
11267         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11268         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11269         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11270         (xdr_utmpptr): Likewise.
11271         (xdr_utmparr): Likewise.
11272         (xdr_utmpidle): Likewise.
11273         (xdr_utmpidleptr): Likewise.
11274         (xdr_utmpidlearr): Likewise.
11276         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11277         log, log10 and log2.
11278         * math/auto-libm-test-out: Regenerated.
11279         * math/libm-test.inc (fmod_test_data): Add more tests.
11280         (fpclassify_test_data): Likewise.
11281         (frexp_test_data): Likewise.
11282         (hypot_test_data): Likewise.
11283         (ilogb_test_data): Likewise.
11285 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11287         * debug/fortify_fail.c (__fortify_fail): Convert to
11288         prototype-style function definition.  Use internal_function.
11289         * libio/genops.c (save_for_backup): Convert to prototype-style
11290         function definition.
11291         * libio/wgenops.c (save_for_wbackup): Likewise.
11292         * login/grantpt.c (grantpt): Likewise.
11293         * login/ptsname.c (ptsname): Likewise.
11294         (__ptsname_r): Likewise.
11295         * login/unlockpt.c (unlockpt): Likewise.
11296         * mach/msgserver.c (__mach_msg_server): Likewise.
11297         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11298         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11299         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11300         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11301         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11302         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11303         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11304         Likewise.
11305         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11306         internal_function.
11307         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11308         prototype-style function definition.
11309         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11310         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11311         (__pthread_create_2_0): Likewise.
11312         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11313         * nptl/register-atfork.c (__register_atfork): Likewise.
11314         * posix/glob.c (glob): Likewise.
11315         * posix/regcomp.c (re_comp): Likewise.
11316         * posix/regexec.c (re_exec): Likewise.
11317         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11318         [!__STDC__]: Remove conditional code.
11319         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11320         [!__STDC__]: Remove conditional code.
11321         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11322         [!__STDC__]: Remove conditional code.
11323         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11324         [!__STDC__]: Remove conditional code.
11325         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11326         [!__STDC__]: Remove conditional code.
11327         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11328         [!__STDC__]: Remove conditional code.
11329         * stdlib/mul.c [__STDC__]: Make code unconditional.
11330         [!__STDC__]: Remove conditional code.
11331         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11332         [!__STDC__]: Remove conditional code.
11333         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11334         [!__STDC__]: Remove conditional code.
11335         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11336         function definition.
11337         (STRTOF): Likewise.
11338         * stdlib/strtod_l.c (__STRTOF): Likewise.
11339         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11340         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11341         (__strtol_l): Likewise.
11342         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11343         [!__STDC__]: Remove conditional code.
11344         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11345         definition.
11346         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11347         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11348         type.
11349         (__strcasecmp): Convert to prototype-style function definition.
11350         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11351         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11352         type.
11353         (__strncasecmp): Convert to prototype-style function definition.
11354         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11355         * sunrpc/xdr.c (xdr_union): Likewise.
11356         * sunrpc/xdr_array.c (xdr_array): Likewise.
11357         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11358         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11359         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11360         Likewise.
11361         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11362         Likewise.
11363         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11364         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11365         Likewise.
11366         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11367         (LOCALE_PARAM_PROTO): Likewise.
11368         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11369         argument type.
11370         (ut_argument_spec): Remove macro.
11371         (ut_argument_spec_iso): Rename to ut_argument_spec.
11372         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11373         prototype-style function definition.
11374         (memcpy_uppcase): Likewise.
11375         (__strftime_internal): Likewise.
11376         (my_strftime): Likewise.
11377         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11378         (LOCALE_PARAM_DECL): Likewise.
11379         [_LIBC] (LOCALE_PARAM): Include argument type.
11380         (__strptime_internal): Convert to prototype-style function
11381         definition.
11382         (strptime): Likewise.
11383         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11384         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11385         type.
11386         (__wcscasecmp): Convert to prototype-style function definition.
11387         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11388         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11389         type.
11390         (__wcsncasecmp): Convert to prototype-style function definition.
11392         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11393         function definition.
11394         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11395         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11396         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11397         * elf/dl-minimal.c (_itoa): Likewise.
11398         * hurd/hurdmalloc.c (malloc): Likewise.
11399         (free): Likewise.
11400         (realloc): Likewise.
11401         * inet/inet6_option.c (inet6_option_space): Likewise.
11402         (inet6_option_init): Likewise.
11403         (inet6_option_append): Likewise.
11404         (inet6_option_alloc): Likewise.
11405         (inet6_option_next): Likewise.
11406         (inet6_option_find): Likewise.
11407         * io/ftw.c (FTW_NAME): Likewise.
11408         (NFTW_NAME): Likewise.
11409         (NFTW_NEW_NAME): Likewise.
11410         (NFTW_OLD_NAME): Likewise.
11411         * libio/iofwide.c (_IO_fwide): Likewise.
11412         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11413         (_IO_str_init_static): Likewise.
11414         (_IO_str_init_readonly): Likewise.
11415         (_IO_str_overflow): Likewise.
11416         (_IO_str_underflow): Likewise.
11417         (_IO_str_count): Likewise.
11418         (_IO_str_seekoff): Likewise.
11419         (_IO_str_pbackfail): Likewise.
11420         (_IO_str_finish): Likewise.
11421         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11422         (_IO_wstr_overflow): Likewise.
11423         (_IO_wstr_underflow): Likewise.
11424         (_IO_wstr_count): Likewise.
11425         (_IO_wstr_seekoff): Likewise.
11426         (_IO_wstr_pbackfail): Likewise.
11427         (_IO_wstr_finish): Likewise.
11428         * locale/programs/localedef.c (normalize_codeset): Likewise.
11429         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11430         (add_locales_to_archive): Likewise.
11431         (delete_locales_from_archive): Likewise.
11432         * malloc/malloc.c (__libc_mallinfo): Likewise.
11433         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11434         * misc/tsearch.c (__tfind): Likewise.
11435         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11436         * nptl/pthread_attr_getdetachstate.c
11437         (__pthread_attr_getdetachstate): Likewise.
11438         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11439         Likewise.
11440         * nptl/pthread_attr_getinheritsched.c
11441         (__pthread_attr_getinheritsched): Likewise.
11442         * nptl/pthread_attr_getschedparam.c
11443         (__pthread_attr_getschedparam): Likewise.
11444         * nptl/pthread_attr_getschedpolicy.c
11445         (__pthread_attr_getschedpolicy): Likewise.
11446         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11447         Likewise.
11448         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11449         Likewise.
11450         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11451         Likewise.
11452         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11453         Likewise.
11454         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11455         (__pthread_attr_init_2_0): Likewise.
11456         * nptl/pthread_attr_setdetachstate.c
11457         (__pthread_attr_setdetachstate): Likewise.
11458         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11459         Likewise.
11460         * nptl/pthread_attr_setinheritsched.c
11461         (__pthread_attr_setinheritsched): Likewise.
11462         * nptl/pthread_attr_setschedparam.c
11463         (__pthread_attr_setschedparam): Likewise.
11464         * nptl/pthread_attr_setschedpolicy.c
11465         (__pthread_attr_setschedpolicy): Likewise.
11466         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11467         Likewise.
11468         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11469         Likewise.
11470         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11471         Likewise.
11472         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11473         Likewise.
11474         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11475         Likewise.
11476         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11477         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11478         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11479         use internal_function.
11480         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11481         prototype-style function definition.
11482         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11483         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11484         internal_function.
11485         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11486         Convert to prototype-style function definition.
11487         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11488         Likewise.
11489         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11490         Likewise.
11491         (__pthread_mutex_unlock): Likewise.
11492         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11493         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11494         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11495         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11496         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11497         * nss/makedb.c (process_input): Likewise.
11498         * posix/fnmatch.c (__strchrnul): Likewise.
11499         (__wcschrnul): Likewise.
11500         (fnmatch): Likewise.
11501         * posix/fnmatch_loop.c (FCT): Likewise.
11502         * posix/glob.c (globfree): Likewise.
11503         (__glob_pattern_type): Likewise.
11504         (__glob_pattern_p): Likewise.
11505         * posix/regcomp.c (re_compile_pattern): Likewise.
11506         (re_set_syntax): Likewise.
11507         (re_compile_fastmap): Likewise.
11508         (regcomp): Likewise.
11509         (regerror): Likewise.
11510         (regfree): Likewise.
11511         * posix/regexec.c (regexec): Likewise.
11512         (re_match): Likewise.
11513         (re_search): Likewise.
11514         (re_match_2): Likewise.
11515         (re_search_2): Likewise.
11516         (re_search_stub): Likewise.  Use internal_function
11517         (re_copy_regs): Likewise.
11518         (re_set_registers): Convert to prototype-style function
11519         definition.
11520         (prune_impossible_nodes): Likewise.  Use internal_function.
11521         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11522         prototype-style function definition.
11523         (inet_net_pton_ipv4): Likewise.
11524         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11525         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11526         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11527         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11528         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11529         Make variadic.
11530         * time/strptime_l.c (localtime_r): Convert to prototype-style
11531         function definition.
11532         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11533         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11534         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11535         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11537         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11538         definition.
11539         (_ufc_doit_r): Likewise.
11540         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11541         (_ufc_output_conversion_r): Likewise.
11542         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11543         * inet/rcmd.c (rcmd_af): Likewise.
11544         (rcmd): Likewise.
11545         (ruserok_af): Likewise.
11546         (ruserok): Likewise.
11547         (ruserok2_sa): Likewise.
11548         (ruserok_sa): Likewise.
11549         (iruserok_af): Likewise.
11550         (iruserok): Likewise.
11551         (__ivaliduser): Likewise.
11552         (__validuser2_sa): Likewise.
11553         * inet/rexec.c (rexec_af): Likewise.
11554         (rexec): Likewise.
11555         * inet/ruserpass.c (ruserpass): Likewise.
11556         * locale/programs/xmalloc.c (xcalloc): Likewise.
11557         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11558         * math/w_drem.c (__drem): Likewise.
11559         * math/w_dremf.c (__dremf): Likewise.
11560         * math/w_dreml.c (__dreml): Likewise.
11561         * misc/daemon.c (daemon): Likewise.
11562         * resolv/res_debug.c (p_fqnname): Likewise.
11563         * stdlib/div.c (div): Likewise.
11564         * string/memcmp.c (memcmp_bytes): Likewise.
11565         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11566         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11568         * crypt/cert.c (main): Convert to prototype-style function
11569         definition.
11570         * io/pipe.c (__pipe): Likewise.
11571         * io/pipe2.c (__pipe2): Likewise.
11572         * misc/futimesat.c (futimesat): Likewise.
11573         * misc/utimes.c (__utimes): Likewise.
11574         * posix/execve.c (__execve): Likewise.
11575         * posix/execvp.c (execvp): Likewise.
11576         * posix/execvpe.c (__execvpe): Likewise.
11577         * posix/fexecve.c (fexecve): Likewise.
11578         * socket/socketpair.c (socketpair): Likewise.
11579         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11580         * stdlib/erand48.c (erand48): Likewise.
11581         * stdlib/erand48_r.c (__erand48_r): Likewise.
11582         * stdlib/jrand48.c (jrand48): Likewise.
11583         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11584         * stdlib/lcong48.c (lcong48): Likewise.
11585         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11586         * stdlib/nrand48.c (nrand48): Likewise.
11587         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11588         * stdlib/seed48.c (seed48): Likewise.
11589         * stdlib/seed48_r.c (__seed48_r): Likewise.
11590         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11591         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11592         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11594 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11596         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11597         * configure: Regenerated.
11598         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11599         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11600         unconditional.
11601         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11602         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11603         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11604         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11605         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11606         unconditional.
11607         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11609         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11610         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11612         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11613         function definition.
11614         * crypt/crypt_util.c (__encrypt_r): Likewise.
11615         * libio/genops.c (_IO_no_init): Likewise.
11616         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11617         (_IO_old_fopencookie): Likewise.
11618         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11619         * libio/iogetline.c (_IO_getline): Likewise.
11620         (_IO_getline_info): Likewise.
11621         * libio/iogetwline.c (_IO_getwline): Likewise.
11622         (_IO_getwline_info): Likewise.
11623         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11624         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11625         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11626         (find_entry): Likewise.
11627         (iterate_table): Likewise.
11628         (lookup): Likewise.
11629         * login/forkpty.c (forkpty): Likewise.
11630         * misc/hsearch_r.c (__hsearch_r): Likewise.
11631         * misc/select.c (__select): Likewise.
11632         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11633         Likewise.
11634         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11635         Likewise.
11636         * nptl/old_pthread_cond_timedwait.c
11637         (__pthread_cond_timedwait_2_0): Likewise.
11638         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11639         * nptl/pthread_barrierattr_getpshared.c
11640         (pthread_barrierattr_getpshared): Likewise.
11641         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11642         Likewise.
11643         * nptl/pthread_mutex_setprioceiling.c
11644         (pthread_mutex_setprioceiling): Likewise.
11645         * nptl/pthread_mutexattr_getprioceiling.c
11646         (pthread_mutexattr_getprioceiling): Likewise.
11647         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11648         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11649         Likewise.
11650         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11651         Likewise.
11652         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11653         Likewise.
11654         * socket/recvfrom.c (__recvfrom): Likewise.
11655         * socket/sendto.c (__sendto): Likewise.
11656         * socket/setsockopt.c (__setsockopt): Likewise.
11657         * stdio-common/_itoa.c (_itoa): Likewise.
11658         * stdio-common/_itowa.c (_itowa): Likewise.
11659         * stdio-common/reg-printf.c (__register_printf_specifier):
11660         Likewise.
11661         (__register_printf_function): Likewise.
11662         * stdio-common/tempname.c (__path_search): Likewise.
11663         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11664         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11665         * stdlib/random_r.c (__initstate_r): Likewise.
11666         * stdlib/setenv.c (__add_to_environ): Likewise.
11667         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11668         * streams/getpmsg.c (getpmsg): Likewise.
11669         * streams/putmsg.c (putmsg): Likewise.
11670         * streams/putpmsg.c (putpmsg): Likewise.
11671         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11672         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11673         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11674         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11675         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11676         * sunrpc/svc_udp.c (cache_get): Likewise.
11677         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11678         * sysdeps/mach/hurd/getcwd.c
11679         (__canonicalize_directory_name_internal): Likewise.
11680         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11681         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11682         * sysdeps/mach/hurd/select.c (__select): Likewise.
11683         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11684         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11685         * sysdeps/sparc/nptl/pthread_barrier_init.c
11686         (__pthread_barrier_init): Likewise.
11687         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11688         (__pthread_cond_timedwait): Likewise.
11689         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11690         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11691         Likewise.
11692         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11693         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11694         Likewise.
11695         * sysvipc/semtimedop.c (semtimedop): Likewise.
11696         * time/setitimer.c (__setitimer): Likewise.
11697         * time/strftime_l.c (emacs_strftime): Likewise.
11699 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11701         * config.make.in (have-ssp): Delete.
11702         (stack-protector): New variable.
11703         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11704         cache test for -fstack-protector-strong.  Export stack_protector to
11705         the best ssp flag.
11706         * configure: Regenerated.
11707         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11708         * nscd/Makefile (CFLAGS-nscd): Likewise.
11709         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11711 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11713         [BZ #19122]
11714         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11715         attribute_hidden.
11717 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11719         [BZ #18743]
11720         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11721         code to...
11722         (ELIDE_LOCK): ...here.
11723         (__get_new_count): New function with part of the code from
11724         __elide_lock that updates the value of adapt_count after a
11725         transaction abort.
11726         (__elided_trylock): Moved this code to...
11727         (ELIDE_TRYLOCK): ...here.
11729 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11731         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11732         * configure: Regenerate.
11733         * INSTALL: Regenerate.
11734         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11735         and tweak grammar.
11737 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11739         * login/programs/pt_chown.c: Include signal.h
11740         (main): Clear any signal mask from the parent process.
11742 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11744         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11745         * configure: Regenerated.
11746         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11747         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11748         $(gnu89-inline-CFLAGS).
11750         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11751         test.
11752         (libc_cv_asm_weakext_directive): Likewise.
11753         * configure: Regenerated.
11754         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11755         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11756         * include/libc-symbols.h
11757         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11758         #error.
11759         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11760         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11762         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11763         prototype-style function definition.
11764         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11765         * sysdeps/i386/ffs.c (__ffs): Likewise.
11766         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11767         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11768         Likewise.
11769         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11770         Likewise.
11771         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11772         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11773         Likewise.
11774         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11775         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11776         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11777         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11778         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11779         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11780         * sysdeps/mach/hurd/access.c (__access): Likewise.
11781         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11782         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11783         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11784         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11785         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11786         (cthread_getspecific): Likewise.
11787         (cthread_setspecific): Likewise.
11788         (__libc_getspecific): Likewise.
11789         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11790         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11791         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11792         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11793         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11794         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11795         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11796         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11797         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11798         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11799         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11800         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11801         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11802         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11803         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11804         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11805         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11806         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11807         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11808         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11809         * sysdeps/mach/hurd/link.c (__link): Likewise.
11810         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11811         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11812         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11813         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11814         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11815         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11816         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11817         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11818         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11819         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11820         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11821         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11822         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11823         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11824         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11825         * sysdeps/mach/hurd/send.c (__send): Likewise.
11826         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11827         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11828         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11829         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11830         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11831         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11832         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11833         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11834         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11835         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11836         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11837         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11838         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11839         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11840         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11841         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11842         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11843         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11844         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11845         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11846         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11847         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11848         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11849         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11850         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11851         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11852         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11853         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11854         * sysdeps/posix/alarm.c (alarm): Likewise.
11855         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11856         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11857         * sysdeps/posix/dup.c (__dup): Likewise.
11858         * sysdeps/posix/dup2.c (__dup2): Likewise.
11859         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11860         (main): Likewise.
11861         * sysdeps/posix/flock.c (__flock): Likewise.
11862         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11863         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11864         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11865         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11866         * sysdeps/posix/isatty.c (__isatty): Likewise.
11867         * sysdeps/posix/killpg.c (killpg): Likewise.
11868         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11869         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11870         * sysdeps/posix/raise.c (raise): Likewise.
11871         * sysdeps/posix/remove.c (remove): Likewise.
11872         * sysdeps/posix/rename.c (rename): Likewise.
11873         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11874         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11875         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11876         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11877         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11878         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11879         * sysdeps/posix/sigset.c (sigset): Likewise.
11880         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11881         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11882         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11883         * sysdeps/posix/time.c (time): Likewise.
11884         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11885         (ttyname): Likewise.
11886         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11887         * sysdeps/posix/utime.c (utime): Likewise.
11888         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11889         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11890         Likewise.
11891         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11892         (pthread_spin_trylock): Likewise.
11893         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11894         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11895         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11896         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11897         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11898         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11899         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11900         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11901         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11902         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11903         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11904         * sysdeps/s390/ffs.c (__ffs): Likewise.
11905         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11906         Likewise.
11907         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11908         Likewise.
11909         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11910         Likewise.
11911         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11912         (pthread_barrier_destroy): Likewise.
11913         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11914         (__pthread_barrier_wait): Likewise.
11915         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11916         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11917         (__pthread_barrier_wait): Likewise.
11918         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11919         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11920         (memcmp_not_common_alignment): Likewise.
11921         (MEMCMP): Likewise.
11922         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11923         (_wordcopy_fwd_dest_aligned): Likewise.
11924         (_wordcopy_bwd_aligned): Likewise.
11925         (_wordcopy_bwd_dest_aligned): Likewise.
11926         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11927         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11928         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11929         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11930         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11931         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11932         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11933         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11934         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11935         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11936         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11937         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11938         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11939         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11940         * sysdeps/unix/stime.c (stime): Likewise.
11941         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11942         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11943         Likewise.  Use internal_function.
11944         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11945         Convert to prototype-style function definition.
11946         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11947         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11948         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11949         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11950         Likewise.  Use internal_function.
11951         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11952         prototype-style function definition
11953         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11954         Likewise.
11955         (__getlogin_r): Likewise.
11956         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11957         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11958         (__pthread_cond_broadcast): Likewise.
11959         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11960         (__pthread_cond_destroy): Likewise.
11961         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11962         (__pthread_cond_init): Likewise.
11963         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11964         (__pthread_cond_signal): Likewise.
11965         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11966         (__pthread_cond_wait): Likewise.
11967         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11968         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11969         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11970         Likewise.
11971         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11972         Likewise.
11973         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11974         Likewise.
11975         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11976         Likewise.
11977         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11979         (__ftruncate64): Likewise.
11980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11981         (truncate64): Likewise.
11982         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11983         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11984         (pthread_getcpuclockid): Likewise.
11985         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11986         Likewise.
11987         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11988         Likewise.
11989         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11990         Likewise.
11991         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11992         Likewise.
11993         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11994         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11995         (__libc_sigaction): Likewise.
11996         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11997         Likewise.
11998         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11999         (__sigprocmask): Likewise.
12000         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12001         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12002         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12003         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12004         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12005         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12006         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12007         Likewise.
12008         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12009         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12010         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12011         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12012         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12013         Likewise.
12014         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12015         (__sigprocmask): Likewise.
12016         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12017         (cfgetispeed): Likewise.
12018         (cfsetospeed): Likewise.
12019         (cfsetispeed): Likewise.
12020         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12021         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12022         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12023         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12024         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12025         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12026         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12027         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12028         Likewise.
12029         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12030         Likewise.
12031         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12032         Likewise.
12033         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12034         Likewise.
12035         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12037 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12039         sunrpc: Rewrite with explicit TLS access using __thread.
12040         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12041         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12042         directly.
12043         (__rpc_thread_variables): Access thread_rpc_vars directly.
12044         Eliminate redundant assignment of the tvp variable.
12046 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12048         malloc: Rewrite with explicit TLS access using __thread.
12049         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12050         (tsd_setspecific, tsd_getspecific): Remove.
12051         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12052         (tsd_setspecific, tsd_getspecific): Likewise.
12053         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12054         (tsd_setspecific, tsd_getspecific): Likewise.
12055         * malloc/arena.c (thread_arena): New TLS variable.
12056         (arena_key): Remove variable.
12057         (arena_get): Use thread_arena.
12058         (arena_lookup): Remove macro.
12059         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12060         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12061         (_int_new_arena, get_free_list, reused_arena)
12062         (arena_thread_freeres): Use thread_arena.
12063         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12064         tsd_getspecific, tsd_setspecific from safety annotations.
12065         (Allocating Cleared Space): Remove arena_lookup from safety
12066         annotations.
12068 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12070         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12071         struct scratch_buffer instead of extend_alloca.
12073 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12075         * sysdeps/unix/sysv/linux/kernel-features.h
12076         (__ASSUME_SOCK_CLOEXEC): Remove.
12077         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12078         (__have_paccept): Remove unused macro.
12079         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12080         * misc/syslog.c (openlog_internal): Remove fallback code for
12081         !__ASSUME_SOCK_CLOEXEC.
12082         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12083         missing SOCK_CLOEXEC.
12084         * nscd/connections.c (have_sock_cloexec): Remove definition.
12085         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12086         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12087         !__ASSUME_SOCK_CLOEXEC.
12088         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12089         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12090         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12091         definition.
12092         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12093         code for !__ASSUME_SOCK_CLOEXEC.
12095 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12097         [BZ #18982]
12098         * manual/stdio.texi (Variable Arguments Output): Add portability
12099         note, explaining that vfprintf clobbers the va_list pointer.
12101 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12103         * math/libm-test.inc (fabs_test_data): Add more tests.
12104         (fdim_test_data): Likewise.
12105         (fma_test_data): Likewise.
12106         (fmax_test_data): Likewise.
12107         (fmin_test_data): Likewise.
12108         (fmod_test_data): Likewise.
12110 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12112         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12113         data.
12115 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12117         * math/libm-test.inc (ceil_test_data): Add more tests and more
12118         expectations for "inexact".
12119         (floor_test_data): Add more tests.
12120         (round_test_data): Likewise.
12121         (trunc_test_data): Likewise.
12123         * crypt/cert.c (good_bye): Convert to prototype-style function
12124         definition.
12125         (get8): Likewise.
12126         (put8): Likewise.
12127         * crypt/crypt-entry.c (crypt): Likewise.
12128         (__fcrypt): Likewise.
12129         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12130         (_ufc_set_bits): Likewise.
12131         (_ufc_clearmem): Likewise.
12132         (__init_des_r): Likewise.
12133         (shuffle_sb): Likewise.
12134         (shuffle_sb): Likewise.
12135         (_ufc_setup_salt_r): Likewise.
12136         (_ufc_mk_keytab_r): Likewise.
12137         (_ufc_dofinalperm_r): Likewise.
12138         (encrypt): Likewise.
12139         (__setkey_r): Likewise.
12140         (setkey): Likewise.
12141         * crypt/md5.c (md5_init_ctx): Likewise.
12142         (md5_read_ctx): Likewise.
12143         (md5_finish_ctx): Likewise.
12144         (md5_stream): Likewise.
12145         (md5_buffer): Likewise.
12146         (md5_process_bytes): Likewise.
12147         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12148         (__sha256_finish_ctx): Likewise.
12149         (__sha256_process_bytes): Likewise.
12150         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12151         (__sha512_finish_ctx): Likewise.
12152         (__sha512_process_bytes): Likewise.
12153         * ctype/isctype.c (__isctype): Likewise.
12154         * debug/backtrace.c (__backtrace): Likewise.
12155         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12156         * debug/fgets_chk.c (__fgets_chk): Likewise.
12157         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12158         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12159         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12160         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12161         * debug/memset_chk.c (__memset_chk): Likewise.
12162         * debug/strcat_chk.c (__strcat_chk): Likewise.
12163         * debug/strncat_chk.c (__strncat_chk): Likewise.
12164         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12165         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12166         * dirent/dirfd.c (dirfd): Likewise.
12167         * dirent/getdents.c (__getdirentries): Likewise.
12168         * dirent/getdents64.c (getdirentries64): Likewise.
12169         * dirent/rewinddir.c (__rewinddir): Likewise.
12170         * dirent/seekdir.c (seekdir): Likewise.
12171         * dirent/telldir.c (telldir): Likewise.
12172         * elf/sln.c (makesymlinks): Likewise.
12173         (makesymlink): Likewise.
12174         * gmon/gmon.c (__moncontrol): Likewise.
12175         (__monstartup): Likewise.
12176         (write_hist): Likewise.
12177         (write_call_graph): Likewise.
12178         (write_bb_counts): Likewise.
12179         * grp/setgroups.c (setgroups): Likewise.
12180         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12181         * inet/inet_net.c (inet_network): Likewise.
12182         * inet/inet_netof.c (inet_netof): Likewise.
12183         * inet/rcmd.c (rresvport_af): Likewise.
12184         (rresvport): Likewise.
12185         * io/access.c (__access): Likewise.
12186         * io/chdir.c (__chdir): Likewise.
12187         * io/chmod.c (__chmod): Likewise.
12188         * io/chown.c (__chown): Likewise.
12189         * io/close.c (__close): Likewise.
12190         * io/creat.c (creat): Likewise.
12191         * io/creat64.c (creat64): Likewise.
12192         * io/dup.c (__dup): Likewise.
12193         * io/dup2.c (__dup2): Likewise.
12194         * io/dup3.c (__dup3): Likewise.
12195         * io/euidaccess.c (__euidaccess): Likewise.
12196         * io/faccessat.c (faccessat): Likewise.
12197         * io/fchmod.c (__fchmod): Likewise.
12198         * io/fchmodat.c (fchmodat): Likewise.
12199         * io/fchown.c (__fchown): Likewise.
12200         * io/fchownat.c (fchownat): Likewise.
12201         * io/fcntl.c (__fcntl): Likewise.
12202         * io/flock.c (__flock): Likewise.
12203         * io/fts.c (fts_load): Likewise.
12204         (fts_close): Likewise.
12205         (fts_read): Likewise.
12206         (fts_set): Likewise.
12207         (fts_children): Likewise.
12208         (fts_build): Likewise.
12209         (fts_stat): Likewise.
12210         (fts_sort): Likewise.
12211         (fts_alloc): Likewise.
12212         (fts_lfree): Likewise.
12213         (fts_palloc): Likewise.
12214         (fts_padjust): Likewise.
12215         (fts_maxarglen): Likewise.
12216         (fts_safe_changedir): Likewise.
12217         * io/getwd.c (getwd): Likewise.
12218         * io/isatty.c (__isatty): Likewise.
12219         * io/lchown.c (__lchown): Likewise.
12220         * io/link.c (__link): Likewise.
12221         * io/linkat.c (linkat): Likewise.
12222         * io/lseek.c (__libc_lseek): Likewise.
12223         * io/mkdir.c (__mkdir): Likewise.
12224         * io/mkdirat.c (mkdirat): Likewise.
12225         * io/mkfifo.c (mkfifo): Likewise.
12226         * io/mkfifoat.c (mkfifoat): Likewise.
12227         * io/open.c (__libc_open): Likewise.
12228         * io/open64.c (__libc_open64): Likewise.
12229         * io/readlink.c (__readlink): Likewise.
12230         * io/readlinkat.c (readlinkat): Likewise.
12231         * io/rmdir.c (__rmdir): Likewise.
12232         * io/symlink.c (__symlink): Likewise.
12233         * io/symlinkat.c (symlinkat): Likewise.
12234         * io/ttyname.c (ttyname): Likewise.
12235         * io/ttyname_r.c (__ttyname_r): Likewise.
12236         * io/umask.c (__umask): Likewise.
12237         * io/unlink.c (__unlink): Likewise.
12238         * io/unlinkat.c (unlinkat): Likewise.
12239         * io/utime.c (utime): Likewise.
12240         * libio/clearerr.c (clearerr): Likewise.
12241         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12242         * libio/feof.c (_IO_feof): Likewise.
12243         * libio/feof_u.c (feof_unlocked): Likewise.
12244         * libio/ferror.c (_IO_ferror): Likewise.
12245         * libio/ferror_u.c (ferror_unlocked): Likewise.
12246         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12247         * libio/fileno.c (__fileno): Likewise.
12248         * libio/fputc.c (fputc): Likewise.
12249         * libio/fputc_u.c (fputc_unlocked): Likewise.
12250         * libio/fputwc.c (fputwc): Likewise.
12251         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12252         * libio/freopen.c (freopen): Likewise.
12253         * libio/freopen64.c (freopen64): Likewise.
12254         * libio/fseek.c (fseek): Likewise.
12255         * libio/fseeko.c (fseeko): Likewise.
12256         * libio/fseeko64.c (fseeko64): Likewise.
12257         * libio/ftello.c (__ftello): Likewise.
12258         * libio/ftello64.c (ftello64): Likewise.
12259         * libio/fwide.c (fwide): Likewise.
12260         * libio/genops.c (_IO_un_link): Likewise.
12261         (_IO_link_in): Likewise.
12262         (_IO_least_marker): Likewise.
12263         (_IO_switch_to_main_get_area): Likewise.
12264         (_IO_switch_to_backup_area): Likewise.
12265         (_IO_switch_to_get_mode): Likewise.
12266         (_IO_free_backup_area): Likewise.
12267         (_IO_switch_to_put_mode): Likewise.
12268         (__overflow): Likewise.
12269         (__underflow): Likewise.
12270         (__uflow): Likewise.
12271         (_IO_setb): Likewise.
12272         (_IO_doallocbuf): Likewise.
12273         (_IO_default_underflow): Likewise.
12274         (_IO_default_uflow): Likewise.
12275         (_IO_default_xsputn): Likewise.
12276         (_IO_sgetn): Likewise.
12277         (_IO_default_xsgetn): Likewise.
12278         (_IO_sync): Likewise.
12279         (_IO_default_setbuf): Likewise.
12280         (_IO_default_seekpos): Likewise.
12281         (_IO_default_doallocate): Likewise.
12282         (_IO_init): Likewise.
12283         (_IO_old_init): Likewise.
12284         (_IO_default_sync): Likewise.
12285         (_IO_default_finish): Likewise.
12286         (_IO_default_seekoff): Likewise.
12287         (_IO_sputbackc): Likewise.
12288         (_IO_sungetc): Likewise.
12289         (_IO_set_column): Likewise.
12290         (_IO_set_column): Likewise.
12291         (_IO_adjust_column): Likewise.
12292         (_IO_get_column): Likewise.
12293         (_IO_init_marker): Likewise.
12294         (_IO_remove_marker): Likewise.
12295         (_IO_marker_difference): Likewise.
12296         (_IO_marker_delta): Likewise.
12297         (_IO_seekmark): Likewise.
12298         (_IO_unsave_markers): Likewise.
12299         (_IO_nobackup_pbackfail): Likewise.
12300         (_IO_default_pbackfail): Likewise.
12301         (_IO_default_seek): Likewise.
12302         (_IO_default_stat): Likewise.
12303         (_IO_default_read): Likewise.
12304         (_IO_default_write): Likewise.
12305         (_IO_default_showmanyc): Likewise.
12306         (_IO_default_imbue): Likewise.
12307         (_IO_iter_next): Likewise.
12308         (_IO_iter_file): Likewise.
12309         * libio/getc.c (_IO_getc): Likewise.
12310         * libio/getwc.c (_IO_getwc): Likewise.
12311         * libio/iofclose.c (_IO_new_fclose): Likewise.
12312         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12313         * libio/iofflush.c (_IO_fflush): Likewise.
12314         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12315         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12316         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12317         * libio/iofgets.c (_IO_fgets): Likewise.
12318         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12319         * libio/iofgetws.c (fgetws): Likewise.
12320         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12321         * libio/iofopen64.c (_IO_fopen64): Likewise.
12322         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12323         (_IO_cookie_write): Likewise.
12324         (_IO_cookie_seek): Likewise.
12325         (_IO_cookie_close): Likewise.
12326         (_IO_cookie_seekoff): Likewise.
12327         (_IO_old_cookie_seek): Likewise.
12328         * libio/iofputs.c (_IO_fputs): Likewise.
12329         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12330         * libio/iofputws.c (fputws): Likewise.
12331         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12332         * libio/iofread.c (_IO_fread): Likewise.
12333         * libio/iofread_u.c (__fread_unlocked): Likewise.
12334         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12335         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12336         * libio/ioftell.c (_IO_ftell): Likewise.
12337         * libio/iofwrite.c (_IO_fwrite): Likewise.
12338         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12339         * libio/iogets.c (_IO_gets): Likewise.
12340         * libio/iopadn.c (_IO_padn): Likewise.
12341         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12342         (_IO_new_popen): Likewise.
12343         (_IO_new_proc_close): Likewise.
12344         * libio/ioputs.c (_IO_puts): Likewise.
12345         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12346         (_IO_seekoff): Likewise.
12347         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12348         (_IO_seekpos): Likewise.
12349         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12350         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12351         * libio/ioungetc.c (_IO_ungetc): Likewise.
12352         * libio/ioungetwc.c (ungetwc): Likewise.
12353         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12354         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12355         * libio/iowpadn.c (_IO_wpadn): Likewise.
12356         * libio/libc_fatal.c (__libc_fatal): Likewise.
12357         * libio/memstream.c (__open_memstream): Likewise.
12358         (_IO_mem_sync): Likewise.
12359         (_IO_mem_finish): Likewise.
12360         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12361         (_IO_old_file_close_it): Likewise.
12362         (_IO_old_file_finish): Likewise.
12363         (_IO_old_file_fopen): Likewise.
12364         (_IO_old_file_attach): Likewise.
12365         (_IO_old_file_setbuf): Likewise.
12366         (_IO_old_do_write): Likewise.
12367         (old_do_write): Likewise.
12368         (_IO_old_file_underflow): Likewise.
12369         (_IO_old_file_overflow): Likewise.
12370         (_IO_old_file_sync): Likewise.
12371         (_IO_old_file_seekoff): Likewise.
12372         (_IO_old_file_write): Likewise.
12373         (_IO_old_file_xsputn): Likewise.
12374         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12375         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12376         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12377         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12378         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12379         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12380         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12381         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12382         (_IO_old_popen): Likewise.
12383         (_IO_old_proc_close): Likewise.
12384         * libio/oldpclose.c (__old_pclose): Likewise.
12385         * libio/pclose.c (__new_pclose): Likewise.
12386         * libio/peekc.c (_IO_peekc_locked): Likewise.
12387         * libio/putc.c (_IO_putc): Likewise.
12388         * libio/putc_u.c (putc_unlocked): Likewise.
12389         * libio/putchar.c (putchar): Likewise.
12390         * libio/putchar_u.c (putchar_unlocked): Likewise.
12391         * libio/putwc.c (putwc): Likewise.
12392         * libio/putwc_u.c (putwc_unlocked): Likewise.
12393         * libio/putwchar.c (putwchar): Likewise.
12394         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12395         * libio/rewind.c (rewind): Likewise.
12396         * libio/setbuf.c (setbuf): Likewise.
12397         * libio/setlinebuf.c (setlinebuf): Likewise.
12398         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12399         * libio/vscanf.c (_IO_vscanf): Likewise.
12400         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12401         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12402         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12403         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12404         (_IO_switch_to_main_wget_area): Likewise.
12405         (_IO_switch_to_wbackup_area): Likewise.
12406         (_IO_wsetb): Likewise.
12407         (_IO_wdefault_pbackfail): Likewise.
12408         (_IO_wdefault_finish): Likewise.
12409         (_IO_wdefault_uflow): Likewise.
12410         (__woverflow): Likewise.
12411         (__wuflow): Likewise.
12412         (__wunderflow): Likewise.
12413         (_IO_wdefault_xsputn): Likewise.
12414         (_IO_wdefault_xsgetn): Likewise.
12415         (_IO_wdoallocbuf): Likewise.
12416         (_IO_wdefault_doallocate): Likewise.
12417         (_IO_switch_to_wget_mode): Likewise.
12418         (_IO_free_wbackup_area): Likewise.
12419         (_IO_switch_to_wput_mode): Likewise.
12420         (_IO_sputbackwc): Likewise.
12421         (_IO_sungetwc): Likewise.
12422         (_IO_adjust_wcolumn): Likewise.
12423         (_IO_init_wmarker): Likewise.
12424         (_IO_wmarker_delta): Likewise.
12425         (_IO_seekwmark): Likewise.
12426         (_IO_unsave_wmarkers): Likewise.
12427         * libio/wmemstream.c (open_wmemstream): Likewise.
12428         (_IO_wmem_sync): Likewise.
12429         (_IO_wmem_finish): Likewise.
12430         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12431         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12432         * locale/programs/simple-hash.c (init_hash): Likewise.
12433         (delete_hash): Likewise.
12434         (insert_entry): Likewise.
12435         (set_entry): Likewise.
12436         (next_prime): Likewise.
12437         (is_prime): Likewise.
12438         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12439         (xmalloc): Likewise.
12440         (xrealloc): Likewise.
12441         * locale/programs/xstrdup.c (xstrdup): Likewise.
12442         * localedata/collate-test.c (xstrcoll): Likewise.
12443         * localedata/xfrm-test.c (xstrcmp): Likewise.
12444         * login/getlogin_r.c (__getlogin_r): Likewise.
12445         * login/getpt.c (__posix_openpt): Likewise.
12446         * login/login_tty.c (login_tty): Likewise.
12447         * login/setlogin.c (setlogin): Likewise.
12448         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12449         (mach_msg_destroy_port): Likewise.
12450         (mach_msg_destroy_memory): Likewise.
12451         * malloc/mcheck.c (flood): Likewise.
12452         * misc/acct.c (acct): Likewise.
12453         * misc/brk.c (__brk): Likewise.
12454         * misc/chflags.c (chflags): Likewise.
12455         * misc/chroot.c (chroot): Likewise.
12456         * misc/fchflags.c (fchflags): Likewise.
12457         * misc/fstab.c (getfsspec): Likewise.
12458         (getfsfile): Likewise.
12459         * misc/fsync.c (fsync): Likewise.
12460         * misc/ftruncate.c (__ftruncate): Likewise.
12461         * misc/ftruncate64.c (__ftruncate64): Likewise.
12462         * misc/getdomain.c (getdomainname): Likewise.
12463         (getdomainname): Likewise.
12464         * misc/gethostname.c (__gethostname): Likewise.
12465         * misc/getpass.c (getpass): Likewise.
12466         * misc/getttyent.c (skip): Likewise.
12467         (value): Likewise.
12468         * misc/gtty.c (gtty): Likewise.
12469         * misc/hsearch.c (hsearch): Likewise.
12470         (hcreate): Likewise.
12471         * misc/hsearch_r.c (__hcreate_r): Likewise.
12472         (__hdestroy_r): Likewise.
12473         * misc/ioctl.c (__ioctl): Likewise.
12474         * misc/mkdtemp.c (mkdtemp): Likewise.
12475         * misc/mkostemp.c (mkostemp): Likewise.
12476         * misc/mkostemp64.c (mkostemp64): Likewise.
12477         * misc/mkostemps.c (mkostemps): Likewise.
12478         * misc/mkostemps64.c (mkostemps64): Likewise.
12479         * misc/mkstemp.c (mkstemp): Likewise.
12480         * misc/mkstemp64.c (mkstemp64): Likewise.
12481         * misc/mkstemps.c (mkstemps): Likewise.
12482         * misc/mkstemps64.c (mkstemps64): Likewise.
12483         * misc/mktemp.c (__mktemp): Likewise.
12484         * misc/preadv.c (preadv): Likewise.
12485         * misc/preadv64.c (preadv64): Likewise.
12486         * misc/pwritev.c (pwritev): Likewise.
12487         * misc/pwritev64.c (pwritev64): Likewise.
12488         * misc/readv.c (__readv): Likewise.
12489         * misc/revoke.c (revoke): Likewise.
12490         * misc/setdomain.c (setdomainname): Likewise.
12491         * misc/setegid.c (setegid): Likewise.
12492         * misc/seteuid.c (seteuid): Likewise.
12493         * misc/sethostid.c (sethostid): Likewise.
12494         * misc/sethostname.c (sethostname): Likewise.
12495         * misc/setregid.c (__setregid): Likewise.
12496         * misc/setreuid.c (__setreuid): Likewise.
12497         * misc/sstk.c (sstk): Likewise.
12498         * misc/stty.c (stty): Likewise.
12499         * misc/syscall.c (syscall): Likewise.
12500         * misc/syslog.c (setlogmask): Likewise.
12501         * misc/truncate.c (__truncate): Likewise.
12502         * misc/truncate64.c (truncate64): Likewise.
12503         * misc/ualarm.c (ualarm): Likewise.
12504         * misc/usleep.c (usleep): Likewise.
12505         * misc/ustat.c (ustat): Likewise.
12506         * misc/writev.c (__writev): Likewise.
12507         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12508         * nptl/old_pthread_cond_broadcast.c
12509         (__pthread_cond_broadcast_2_0): Likewise.
12510         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12511         Likewise.
12512         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12513         Likewise.
12514         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12515         Likewise.
12516         * nptl/pt-raise.c (raise): Likewise.
12517         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12518         Likewise.
12519         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12520         * nptl/pthread_barrierattr_destroy.c
12521         (pthread_barrierattr_destroy): Likewise.
12522         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12523         Likewise.
12524         * nptl/pthread_barrierattr_setpshared.c
12525         (pthread_barrierattr_setpshared): Likewise.
12526         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12527         Likewise.
12528         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12529         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12530         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12531         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12532         Likewise.
12533         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12534         Likewise.
12535         * nptl/pthread_condattr_getpshared.c
12536         (pthread_condattr_getpshared): Likewise.
12537         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12538         Likewise.
12539         * nptl/pthread_condattr_setpshared.c
12540         (pthread_condattr_setpshared): Likewise.
12541         * nptl/pthread_detach.c (pthread_detach): Likewise.
12542         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12543         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12544         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12545         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12546         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12547         Likewise.
12548         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12549         Likewise.
12550         * nptl/pthread_mutex_getprioceiling.c
12551         (pthread_mutex_getprioceiling): Likewise.
12552         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12553         Likewise.
12554         * nptl/pthread_mutexattr_getprotocol.c
12555         (pthread_mutexattr_getprotocol): Likewise.
12556         * nptl/pthread_mutexattr_getpshared.c
12557         (pthread_mutexattr_getpshared): Likewise.
12558         * nptl/pthread_mutexattr_getrobust.c
12559         (pthread_mutexattr_getrobust): Likewise.
12560         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12561         Likewise.
12562         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12563         Likewise.
12564         * nptl/pthread_mutexattr_setprioceiling.c
12565         (pthread_mutexattr_setprioceiling): Likewise.
12566         * nptl/pthread_mutexattr_setprotocol.c
12567         (pthread_mutexattr_setprotocol): Likewise.
12568         * nptl/pthread_mutexattr_setpshared.c
12569         (pthread_mutexattr_setpshared): Likewise.
12570         * nptl/pthread_mutexattr_setrobust.c
12571         (pthread_mutexattr_setrobust): Likewise.
12572         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12573         Likewise.
12574         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12575         Likewise.
12576         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12577         Likewise.
12578         * nptl/pthread_rwlockattr_getkind_np.c
12579         (pthread_rwlockattr_getkind_np): Likewise.
12580         * nptl/pthread_rwlockattr_getpshared.c
12581         (pthread_rwlockattr_getpshared): Likewise.
12582         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12583         Likewise.
12584         * nptl/pthread_rwlockattr_setkind_np.c
12585         (pthread_rwlockattr_setkind_np): Likewise.
12586         * nptl/pthread_rwlockattr_setpshared.c
12587         (pthread_rwlockattr_setpshared): Likewise.
12588         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12589         Likewise.
12590         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12591         Likewise.
12592         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12593         Likewise.
12594         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12595         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12596         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12597         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12598         * nptl/sem_close.c (sem_close): Likewise.
12599         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12600         * nptl/sem_init.c (__old_sem_init): Likewise.
12601         * nptl/sigaction.c (__sigaction): Likewise.
12602         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12603         * posix/_exit.c (_exit): Likewise.
12604         * posix/alarm.c (alarm): Likewise.
12605         * posix/confstr.c (confstr): Likewise.
12606         * posix/fpathconf.c (__fpathconf): Likewise.
12607         * posix/getgroups.c (__getgroups): Likewise.
12608         * posix/getpgid.c (__getpgid): Likewise.
12609         * posix/group_member.c (__group_member): Likewise.
12610         * posix/pathconf.c (__pathconf): Likewise.
12611         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12612         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12613         * posix/setgid.c (__setgid): Likewise.
12614         * posix/setpgid.c (__setpgid): Likewise.
12615         * posix/setuid.c (__setuid): Likewise.
12616         * posix/sleep.c (__sleep): Likewise.
12617         * posix/sysconf.c (__sysconf): Likewise.
12618         * posix/times.c (__times): Likewise.
12619         * posix/uname.c (__uname): Likewise.
12620         * posix/waitid.c (__waitid): Likewise.
12621         * pwd/getpw.c (__getpw): Likewise.
12622         * resolv/base64.c (b64_pton): Likewise.
12623         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12624         * resolv/gethnamaddr.c (Dprintf): Likewise.
12625         (gethostbyname): Likewise.
12626         (gethostbyname2): Likewise.
12627         (gethostbyaddr): Likewise.
12628         (_sethtent): Likewise.
12629         (_gethtbyname): Likewise.
12630         (_gethtbyname2): Likewise.
12631         (_gethtbyaddr): Likewise.
12632         (map_v4v6_address): Likewise.
12633         (map_v4v6_hostent): Likewise.
12634         (addrsort): Likewise.
12635         (ht_sethostent): Likewise.
12636         (ht_gethostbyname): Likewise.
12637         (ht_gethostbyaddr): Likewise.
12638         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12639         (inet_net_ntop_ipv4): Likewise.
12640         * resolv/inet_neta.c (inet_neta): Likewise.
12641         * resolv/inet_ntop.c (inet_ntop): Likewise.
12642         (inet_ntop4): Likewise.
12643         (inet_ntop6): Likewise.
12644         * resolv/inet_pton.c (__inet_pton): Likewise.
12645         (inet_pton4): Likewise.
12646         (inet_pton6): Likewise.
12647         * resolv/res_debug.c (loc_aton): Likewise.
12648         (loc_ntoa): Likewise.
12649         * resource/getpriority.c (__getpriority): Likewise.
12650         * resource/getrusage.c (__getrusage): Likewise.
12651         * resource/nice.c (nice): Likewise.
12652         * resource/setpriority.c (__setpriority): Likewise.
12653         * resource/setrlimit64.c (setrlimit64): Likewise.
12654         * resource/vlimit.c (vlimit): Likewise.
12655         * resource/vtimes.c (vtimes): Likewise.
12656         * rt/aio_error.c (aio_error): Likewise.
12657         * rt/aio_return.c (aio_return): Likewise.
12658         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12659         * signal/kill.c (__kill): Likewise.
12660         * signal/killpg.c (killpg): Likewise.
12661         * signal/raise.c (raise): Likewise.
12662         * signal/sigaction.c (__sigaction): Likewise.
12663         * signal/sigaddset.c (sigaddset): Likewise.
12664         * signal/sigaltstack.c (sigaltstack): Likewise.
12665         * signal/sigandset.c (sigandset): Likewise.
12666         * signal/sigblock.c (__sigblock): Likewise.
12667         * signal/sigdelset.c (sigdelset): Likewise.
12668         * signal/sigempty.c (sigemptyset): Likewise.
12669         * signal/sigfillset.c (sigfillset): Likewise.
12670         * signal/sighold.c (sighold): Likewise.
12671         * signal/sigignore.c (sigignore): Likewise.
12672         * signal/sigintr.c (siginterrupt): Likewise.
12673         * signal/sigisempty.c (sigisemptyset): Likewise.
12674         * signal/sigismem.c (sigismember): Likewise.
12675         * signal/signal.c (signal): Likewise.
12676         * signal/sigorset.c (sigorset): Likewise.
12677         * signal/sigpause.c (__sigpause): Likewise.
12678         * signal/sigpending.c (sigpending): Likewise.
12679         * signal/sigprocmask.c (__sigprocmask): Likewise.
12680         * signal/sigrelse.c (sigrelse): Likewise.
12681         * signal/sigreturn.c (__sigreturn): Likewise.
12682         * signal/sigset.c (sigset): Likewise.
12683         * signal/sigsetmask.c (__sigsetmask): Likewise.
12684         * signal/sigstack.c (sigstack): Likewise.
12685         * signal/sigsuspend.c (__sigsuspend): Likewise.
12686         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12687         * signal/sysv_signal.c (__sysv_signal): Likewise.
12688         * socket/accept.c (accept): Likewise.
12689         * socket/accept4.c (__libc_accept4): Likewise.
12690         * socket/bind.c (__bind): Likewise.
12691         * socket/connect.c (__connect): Likewise.
12692         * socket/getpeername.c (getpeername): Likewise.
12693         * socket/getsockname.c (__getsockname): Likewise.
12694         * socket/getsockopt.c (getsockopt): Likewise.
12695         * socket/listen.c (__listen): Likewise.
12696         * socket/recv.c (__recv): Likewise.
12697         * socket/recvmsg.c (__recvmsg): Likewise.
12698         * socket/send.c (__send): Likewise.
12699         * socket/sendmsg.c (__sendmsg): Likewise.
12700         * socket/shutdown.c (shutdown): Likewise.
12701         * socket/sockatmark.c (sockatmark): Likewise.
12702         * socket/socket.c (__socket): Likewise.
12703         * stdio-common/ctermid.c (ctermid): Likewise.
12704         * stdio-common/cuserid.c (cuserid): Likewise.
12705         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12706         * stdio-common/remove.c (remove): Likewise.
12707         * stdio-common/rename.c (rename): Likewise.
12708         * stdio-common/renameat.c (renameat): Likewise.
12709         * stdio-common/tempname.c (__gen_tempname): Likewise.
12710         * stdio-common/xbug.c (InitBuffer): Likewise.
12711         (AppendToBuffer): Likewise.
12712         (ReadFile): Likewise.
12713         * stdlib/a64l.c (a64l): Likewise.
12714         * stdlib/drand48_r.c (drand48_r): Likewise.
12715         * stdlib/getcontext.c (getcontext): Likewise.
12716         * stdlib/getenv.c (getenv): Likewise.
12717         * stdlib/l64a.c (l64a): Likewise.
12718         * stdlib/llabs.c (llabs): Likewise.
12719         * stdlib/lldiv.c (lldiv): Likewise.
12720         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12721         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12722         * stdlib/putenv.c (putenv): Likewise.
12723         * stdlib/random.c (__srandom): Likewise.
12724         (__initstate): Likewise.
12725         (__setstate): Likewise.
12726         * stdlib/random_r.c (__srandom_r): Likewise.
12727         (__setstate_r): Likewise.
12728         (__random_r): Likewise.
12729         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12730         * stdlib/setcontext.c (setcontext): Likewise.
12731         * stdlib/setenv.c (setenv): Likewise.
12732         (unsetenv): Likewise.
12733         * stdlib/srand48.c (srand48): Likewise.
12734         * stdlib/srand48_r.c (__srand48_r): Likewise.
12735         * stdlib/swapcontext.c (swapcontext): Likewise.
12736         * stdlib/system.c (__libc_system): Likewise.
12737         * stdlib/tst-strtod.c (expand): Likewise.
12738         * stdlib/tst-strtol.c (expand): Likewise.
12739         * stdlib/tst-strtoll.c (expand): Likewise.
12740         * streams/fattach.c (fattach): Likewise.
12741         * streams/fdetach.c (fdetach): Likewise.
12742         * streams/getmsg.c (getmsg): Likewise.
12743         * streams/isastream.c (isastream): Likewise.
12744         * string/ffs.c (__ffs): Likewise.
12745         * string/ffsll.c (ffsll): Likewise.
12746         * string/memcmp.c (memcmp_common_alignment): Likewise.
12747         (memcmp_not_common_alignment): Likewise.
12748         (MEMCMP): Likewise.
12749         * string/memcpy.c (memcpy): Likewise.
12750         * string/memmove.c (MEMMOVE): Likewise.
12751         * string/memset.c (memset): Likewise.
12752         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12753         * string/strchrnul.c (STRCHRNUL): Likewise.
12754         * string/strerror.c (strerror): Likewise.
12755         * string/strndup.c (__strndup): Likewise.
12756         * string/strverscmp.c (__strverscmp): Likewise.
12757         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12758         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12759         (clnttcp_freeres): Likewise.
12760         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12761         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12762         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12763         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12764         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12765         (xdr_callhdr): Likewise.
12766         * sunrpc/rpcinfo.c (udpping): Likewise.
12767         (tcpping): Likewise.
12768         (pstatus): Likewise.
12769         (pmapdump): Likewise.
12770         (brdcst): Likewise.
12771         (deletereg): Likewise.
12772         (getprognum): Likewise.
12773         (getvers): Likewise.
12774         (get_inet_address): Likewise.
12775         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12776         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12777         (svcudp_stat): Likewise.
12778         (svcudp_recv): Likewise.
12779         (svcudp_reply): Likewise.
12780         (svcudp_getargs): Likewise.
12781         (svcudp_freeargs): Likewise.
12782         (svcudp_destroy): Likewise.
12783         * sunrpc/xdr.c (xdr_bytes): Likewise.
12784         (xdr_netobj): Likewise.
12785         (xdr_string): Likewise.
12786         (xdr_wrapstring): Likewise.
12787         * sunrpc/xdr_float.c (xdr_float): Likewise.
12788         (xdr_double): Likewise.
12789         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12790         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12791         * sysvipc/ftok.c (ftok): Likewise.
12792         * sysvipc/msgctl.c (msgctl): Likewise.
12793         * sysvipc/msgget.c (msgget): Likewise.
12794         * sysvipc/msgrcv.c (msgrcv): Likewise.
12795         * sysvipc/msgsnd.c (msgsnd): Likewise.
12796         * sysvipc/semget.c (semget): Likewise.
12797         * sysvipc/semop.c (semop): Likewise.
12798         * sysvipc/shmat.c (shmat): Likewise.
12799         * sysvipc/shmctl.c (shmctl): Likewise.
12800         * sysvipc/shmdt.c (shmdt): Likewise.
12801         * sysvipc/shmget.c (shmget): Likewise.
12802         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12803         * termios/speed.c (cfgetospeed): Likewise.
12804         (cfgetispeed): Likewise.
12805         (cfsetospeed): Likewise.
12806         (cfsetispeed): Likewise.
12807         * termios/tcflow.c (tcflow): Likewise.
12808         * termios/tcflush.c (tcflush): Likewise.
12809         * termios/tcgetattr.c (__tcgetattr): Likewise.
12810         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12811         * termios/tcgetsid.c (tcgetsid): Likewise.
12812         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12813         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12814         * time/adjtime.c (__adjtime): Likewise.
12815         * time/dysize.c (dysize): Likewise.
12816         * time/ftime.c (ftime): Likewise.
12817         * time/getitimer.c (__getitimer): Likewise.
12818         * time/gettimeofday.c (__gettimeofday): Likewise.
12819         * time/gmtime.c (__gmtime_r): Likewise.
12820         (gmtime): Likewise.
12821         * time/localtime.c (__localtime_r): Likewise.
12822         (localtime): Likewise.
12823         * time/offtime.c (__offtime): Likewise.
12824         * time/settimeofday.c (__settimeofday): Likewise.
12825         * time/stime.c (stime): Likewise.
12826         * time/strftime_l.c (tm_diff): Likewise.
12827         (iso_week_days): Likewise.
12828         * time/strptime.c (strptime): Likewise.
12829         * time/time.c (time): Likewise.
12830         * time/timespec_get.c (timespec_get): Likewise.
12831         * time/tzset.c (tzset_internal): Likewise.
12832         (compute_change): Likewise.
12833         (__tz_compute): Likewise.
12834         * wcsmbs/btowc.c (__btowc): Likewise.
12835         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12836         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12837         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12838         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12839         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12840         * wcsmbs/wcscat.c (__wcscat): Likewise.
12841         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12842         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12843         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12844         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12845         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12846         * wcsmbs/wcslen.c (__wcslen): Likewise.
12847         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12848         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12849         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12850         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12851         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12852         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12853         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12854         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12855         * wcsmbs/wcstok.c (wcstok): Likewise.
12856         * wcsmbs/wctob.c (wctob): Likewise.
12857         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12858         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12859         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12860         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12861         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12862         * wcsmbs/wmemset.c (__wmemset): Likewise.
12863         * wctype/wcfuncs.c (__towlower): Likewise.
12864         (__towupper): Likewise.
12866         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12867         (lll_unlock_elision): Add adapt_count parameter.
12869 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12871         * sysdeps/nptl/configure.ac: Do not give errors based on the
12872         results of top-level configure tests.
12873         * sysdeps/nptl/configure: Regenerated.
12875         * configure.ac (libc_cv_Bgroup): Remove configure test.
12876         * configure: Regenerated.
12877         * config.make.in (have-Bgroup): Remove variable.
12879         * configure.ac (sizeof_long_double): Remove configure test.
12880         * configure: Regenerated.
12881         * config.make.in (sizeof-long-double): Remove variable.
12883         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12884         * configure: Regenerated.
12885         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12886         variable.
12887         (exceptions): Likewise.
12888         * sysdeps/arm/configure: Regenerated.
12889         * config.make.in (exceptions): Remove variable.
12890         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12891         $(exceptions).
12892         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12893         (CFLAGS-vdprintf_chk.c): Likewise.
12894         (CFLAGS-printf_chk.c): Likewise.
12895         (CFLAGS-fprintf_chk.c): Likewise.
12896         (CFLAGS-vprintf_chk.c): Likewise.
12897         (CFLAGS-vfprintf_chk.c): Likewise.
12898         (CFLAGS-gets_chk.c): Likewise.
12899         (CFLAGS-fgets_chk.c): Likewise.
12900         (CFLAGS-fgets_u_chk.c): Likewise.
12901         (CFLAGS-fread_chk.c): Likewise.
12902         (CFLAGS-fread_u_chk.c): Likewise.
12903         (CFLAGS-wprintf_chk.c): Likewise.
12904         (CFLAGS-fwprintf_chk.c): Likewise.
12905         (CFLAGS-vwprintf_chk.c): Likewise.
12906         (CFLAGS-vfwprintf_chk.c): Likewise.
12907         (CFLAGS-fgetws_chk.c): Likewise.
12908         (CFLAGS-fgetws_u_chk.c): Likewise.
12909         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12910         (CFLAGS-fputc.c): Likewise.
12911         (CFLAGS-fputwc.c): Likewise.
12912         (CFLAGS-freopen64.c): Likewise.
12913         (CFLAGS-freopen.c): Likewise.
12914         (CFLAGS-fseek.c): Likewise.
12915         (CFLAGS-fseeko64.c): Likewise.
12916         (CFLAGS-fseeko.c): Likewise.
12917         (CFLAGS-ftello64.c): Likewise.
12918         (CFLAGS-ftello.c): Likewise.
12919         (CFLAGS-fwide.c): Likewise.
12920         (CFLAGS-genops.c): Likewise.
12921         (CFLAGS-getc.c): Likewise.
12922         (CFLAGS-getchar.c): Likewise.
12923         (CFLAGS-getwc.c): Likewise.
12924         (CFLAGS-getwchar.c): Likewise.
12925         (CFLAGS-iofclose.c): Likewise.
12926         (CFLAGS-iofflush.c): Likewise.
12927         (CFLAGS-iofgetpos64.c): Likewise.
12928         (CFLAGS-iofgetpos.c): Likewise.
12929         (CFLAGS-iofgets.c): Likewise.
12930         (CFLAGS-iofgetws.c): Likewise.
12931         (CFLAGS-iofputs.c): Likewise.
12932         (CFLAGS-iofputws.c): Likewise.
12933         (CFLAGS-iofread.c): Likewise.
12934         (CFLAGS-iofsetpos64.c): Likewise.
12935         (CFLAGS-iofsetpos.c): Likewise.
12936         (CFLAGS-ioftell.c): Likewise.
12937         (CFLAGS-iofwrite.c): Likewise.
12938         (CFLAGS-iogetdelim.c): Likewise.
12939         (CFLAGS-iogetline.c): Likewise.
12940         (CFLAGS-iogets.c): Likewise.
12941         (CFLAGS-iogetwline.c): Likewise.
12942         (CFLAGS-ioputs.c): Likewise.
12943         (CFLAGS-ioseekoff.c): Likewise.
12944         (CFLAGS-ioseekpos.c): Likewise.
12945         (CFLAGS-iosetbuffer.c): Likewise.
12946         (CFLAGS-iosetvbuf.c): Likewise.
12947         (CFLAGS-ioungetc.c): Likewise.
12948         (CFLAGS-ioungetwc.c): Likewise.
12949         (CFLAGS-oldfileops.c): Likewise.
12950         (CFLAGS-oldiofclose.c): Likewise.
12951         (CFLAGS-oldiofgetpos64.c): Likewise.
12952         (CFLAGS-oldiofgetpos.c): Likewise.
12953         (CFLAGS-oldiofsetpos64.c): Likewise.
12954         (CFLAGS-oldiofsetpos.c): Likewise.
12955         (CFLAGS-peekc.c): Likewise.
12956         (CFLAGS-putc.c): Likewise.
12957         (CFLAGS-putchar.c): Likewise.
12958         (CFLAGS-putwc.c): Likewise.
12959         (CFLAGS-putwchar.c): Likewise.
12960         (CFLAGS-rewind.c): Likewise.
12961         (CFLAGS-wfileops.c): Likewise.
12962         (CFLAGS-wgenops.c): Likewise.
12963         (CFLAGS-oldiofopen.c): Likewise.
12964         (CFLAGS-iofopen.c): Likewise.
12965         (CFLAGS-iofopen64.c): Likewise.
12966         (CFLAGS-oldtmpfile.c): Likewise.
12967         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12968         (CFLAGS-fprintf.c): Likewise.
12969         (CFLAGS-printf.c): Likewise.
12970         (CFLAGS-vfwprintf.c): Likewise.
12971         (CFLAGS-vfscanf.c): Likewise.
12972         (CFLAGS-vfwscanf.c): Likewise.
12973         (CFLAGS-fscanf.c): Likewise.
12974         (CFLAGS-scanf.c): Likewise.
12975         (CFLAGS-isoc99_vfscanf.c): Likewise.
12976         (CFLAGS-isoc99_vscanf.c): Likewise.
12977         (CFLAGS-isoc99_fscanf.c): Likewise.
12978         (CFLAGS-isoc99_scanf.c): Likewise.
12979         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12980         (CFLAGS-isoc99_fwscanf.c): Likewise.
12981         (CFLAGS-isoc99_vwscanf.c): Likewise.
12982         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12984         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12985         after mkstemp64.
12986         * login/tst-utmp.c (do_prepare): Likewise.
12987         * rt/tst-aio.c (do_prepare): Likewise.
12988         * rt/tst-aio64.c (do_prepare): Likewise.
12990 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12992         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12993         (__lll_lock_elision): Remove adapt_count decrement...
12994         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12995         (__lll_trylock_elision): Likewise.
12996         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12997         (__lll_unlock_elision): ... to here. And utilize
12998         new adapt_count parameter.
12999         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13000         (__lll_unlock_elision): Update to include adapt_count
13001         parameter.
13002         (lll_unlock_elision): Pass pointer to adapt_count
13003         variable.
13005 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13007         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13008         Add elision adapt_count parameter to list of arguments.
13009         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13010         (lll_unlock_elision): Update with new parameter list
13011         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13012         (lll_unlock_elision): Likewise.
13013         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13014         (lll_unlock_elision): Likewise.
13016 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13018         [BZ #19122]
13019         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13020         attribute_hidden.
13022         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13023         attribute_hidden.
13024         [IS_IN (rtld)] (__strdup): Likewise.
13025         [IS_IN (rtld)] (__strerror_r): Likewise.
13026         [IS_IN (rtld)] (__strsep_g): Likewise.
13027         [IS_IN (rtld)] (memchr): Likewise.
13028         [IS_IN (rtld)] (memcmp): Likewise.
13029         [IS_IN (rtld)] (memcpy): Likewise.
13030         [IS_IN (rtld)] (memmove): Likewise.
13031         [IS_IN (rtld)] (memset): Likewise.
13032         [IS_IN (rtld)] (rawmemchr): Likewise.
13033         [IS_IN (rtld)] (stpcpy): Likewise.
13034         [IS_IN (rtld)] (strchr): Likewise.
13035         [IS_IN (rtld)] (strcmp): Likewise.
13036         [IS_IN (rtld)] (strlen): Likewise.
13037         [IS_IN (rtld)] (strnlen): Likewise.
13038         [IS_IN (rtld)] (strsep): Likewise.
13040         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13041         attribute_hidden.
13042         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13044         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13045         attribute_hidden.
13046         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13048         * include/setjmp.h (__longjmp): Add attribute_hidden.
13049         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13051         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13052         Add attribute_hidden.
13054         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13055         [IS_IN (rtld)] (__open): Likewise.
13056         [IS_IN (rtld)] (__fcntl): Likewise.
13058         * include/dirent.h (__opendirat): Add attribute_hidden.
13059         (__getdents): Likewise.
13060         (__getdents64): Likewise.
13061         (__alloc_dir): Likewise.
13062         [IS_IN (rtld)] (__closedir): Likewise.
13063         [IS_IN (rtld)] (__fdopendir): Likewise.
13064         [IS_IN (rtld)] (__readdir): Likewise.
13065         [IS_IN (rtld)] (__readdir64): Likewise.
13066         [IS_IN (rtld)] (__rewinddir): Likewise.
13068         * include/dlfcn.h (_dl_catch_error): Moved to ...
13069         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13070         attribute_hidden.
13072         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13073         (_itoa_word): Likewise.
13075         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13076         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13077         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13078         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13079         (_dl_higher_prime_number): Likewise.
13080         (_dl_debug_printf_c): Likewise.
13081         (_dl_signal_cerror): Likewise.
13082         (_dl_receive_error): Likewise.
13083         (_dl_reloc_bad_type): Likewise.
13084         (_dl_resolve_conflicts): Likewise.
13085         (_dl_check_all_versions): Likewise.
13086         (_dl_check_map_versions): Likewise.
13087         (_dl_sort_fini): Likewise.
13088         (_dl_debug_initialize): Likewise.
13089         (_dl_init_paths): Likewise.
13090         (_dl_show_auxv): Likewise.
13091         (_dl_next_ld_env_entry): Likewise.
13092         (_dl_important_hwcaps): Likewise.
13093         (_dl_load_cache_lookup): Likewise.
13094         (_dl_update_slotinfo): Likewise.
13095         (_dl_show_scope): Likewise.
13097         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13098         attribute_hidden.
13099         (_wordcopy_fwd_dest_aligned): Likewise.
13100         (_wordcopy_bwd_aligned): Likewise.
13101         (_wordcopy_bwd_dest_aligned): Likewise.
13103         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13104         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13105         Likewise.
13106         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13107         Likewise.
13108         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13110 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13112         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13113         GCC 5 requirement.
13115 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13117         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13118         test.
13119         * sysdeps/i386/configure: Regenerated.
13120         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13121         code unconditional.
13123         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13124         test.
13125         (libc_cv_asm_popsection_directive): Likewise.
13126         * configure: Regenerated.
13127         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13128         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13129         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13130         (__make_section_unallocated): Make definition unconditional.
13131         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13132         Remove conditional definition.
13133         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13134         (__make_section_unallocated): Likewise.
13136         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13137         * configure: Regenerated.
13138         * config.make.in (static-libgcc): Remove variable.
13139         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13140         $(static-libgcc).
13141         (build-module-helper): Likewise.
13143         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13144         * configure: Regenerated.
13146 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13148         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13149         (struct char_buffer): New type.
13150         (char_buffer_start, char_buffer_size, char_buffer_error)
13151         (char_buffer_rewind, char_buffer_add): New functions.
13152         (ADDW): Remove macro, replaced by the char_buffer_add function.
13153         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13154         of extend_alloca.  Make control flow more explicit.
13156 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13158         [BZ #19137]
13159         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13160         Add -fomit-frame-pointer.
13161         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13163 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13165         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13166         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13167         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13168         only if !__GNUC_PREREQ (5,0).
13169         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13170         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13171         (INTERNAL_SYSCALL_NCS): Likewise.
13172         (LOADREGS_0): New macro for GCC 5.
13173         (ASMARGS_0): Likewise.
13174         (LOADREGS_1): Likewise.
13175         (ASMARGS_1): Likewise.
13176         (LOADREGS_2): Likewise.
13177         (ASMARGS_2): Likewise.
13178         (LOADREGS_3): Likewise.
13179         (ASMARGS_3): Likewise.
13180         (LOADREGS_4): Likewise.
13181         (ASMARGS_4): Likewise.
13182         (LOADREGS_5): Likewise.
13183         (ASMARGS_5): Likewise.
13184         (LOADREGS_6): Likewise.
13185         (ASMARGS_6): Likewise.
13187 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13189         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13190         -fomit-frame-pointer.
13191         (CFLAGS-mmap64.c): Likewise.
13192         (CFLAGS-semtimedop.c): Likewise.
13193         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13194         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13195         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13196         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13198 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13200         [BZ #18928]
13201         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13202         _dl_pointer_guard member.
13203         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13204         initializer.
13205         (security_init): Always set up pointer guard.
13206         (process_envvars): Do not process LD_POINTER_GUARD.
13208 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13210         [BZ #19134]
13211         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13212         (.LC2): Likewise.
13213         (.LC3): Likewise.
13214         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13216 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13218         [BZ #19129]
13219         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13220         r0 and r1.
13222 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13224         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13226 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13228         * include/stap-probe.h: Fix macro definition formatting.
13230 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13232         [BZ #19074]
13233         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13234         load and store num_ifs.
13236 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13238         [BZ #18822]
13239         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13240         (__sched_getaffinity_new): Add libc_hidden_proto and
13241         libc_hidden_def.
13243 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13245         [BZ #19007]
13246         * scripts/localplt.awk: Also allow GOT references.
13247         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13248         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13249         with "+ REL R_386_GLOB_DAT".
13250         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13251         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13253 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13255         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13256         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13257         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13258         Likewise.
13259         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13260         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13261         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13262         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13263         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13264         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13265         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13266         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13267         Likewise.
13268         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13270 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13272         [BZ #19125]
13273         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13274         <math_private.h> and <stdint.h>.
13275         (__llround): Avoid conversions to and from long long int, and
13276         subtractions, where those might raise spurious exceptions.
13277         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13278         <math_private.h> and <stdint.h>.
13279         (__llroundf): Avoid conversions to and from long long int, and
13280         subtractions, where those might raise spurious exceptions.
13282 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13284         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13285         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13286         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13287         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13288         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13289         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13290         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13291         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13292         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13293         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13294         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13295         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13296         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13297         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13298         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13299         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13300         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13301         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13302         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13303         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13304         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13305         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13306         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13307         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13308         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13309         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13310         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13311         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13312         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13313         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13314         (__xstat64_conv): Likewise.
13315         (__xstat32_conv): Likewise.
13317 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13319         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13320         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13321         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13322         <sysdeps/unix/sysv/linux/sysdep.h>.
13323         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13324         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13325         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13326         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13327         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13328         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13329         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13330         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13331         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13334         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13335         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13336         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13337         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13338         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13339         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13340         (sysdep-dl-routines): Add sysdep.
13341         [$(subdir) == nptl] (libpthread-routines): Likewise.
13342         [$(subdir) == rt] (librt-routines): Likewise.
13343         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13344         PIC when branching to SYSCALL_ERROR_LABEL.
13345         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13346         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13347         <sysdeps/unix/sysv/linux/sysdep.h>.
13348         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13349         (SYSCALL_ERROR_ERRNO): Removed.
13350         (SYSCALL_ERROR_HANDLER): Changed to empty.
13351         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13352         (__syscall_error): New prototype.
13353         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13354         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13356 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13358         [BZ #19124]
13359         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13360         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13361         _dl_runtime_resolve_avx.
13362         (_dl_runtime_profile_avx512): Make it a hidden alias of
13363         _dl_runtime_profile_avx.
13365 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13367         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13368         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13369         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13370         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13372         [BZ #16422]
13373         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13374         New configure test.
13375         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13376         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13377         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13378         <math_private.h> and <stdint.h>.
13379         (__llrint): Avoid conversions to long long int where those might
13380         raise spurious exceptions.
13381         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13382         <math_private.h> and <stdint.h>.
13383         (__llrintf): Avoid conversions to long long int where those might
13384         raise spurious exceptions.
13386 2015-10-12  Andreas Schwab  <schwab@suse.de>
13388         [BZ #18969]
13389         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13390         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13391         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13392         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13393         $(gen-locales).
13394         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13395         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13396         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13397         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13398         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13399         $(gen-locales).
13400         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13401         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13402         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13403         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13404         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13405         ($(objpfx)tst-ftell-active-handler.out)
13406         ($(objpfx)tst-ftell-append.out)
13407         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13408         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13409         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13410         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13411         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13412         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13413         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13414         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13415         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13416         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13417         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13418         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13419         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13420         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13421         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13422         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13423         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13424         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13425         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13426         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13427         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13428         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13429         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13430         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13431         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13432         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13433         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13434         $(gen-locales).
13435         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13436         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13437         $(gen-locales).
13438         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13439         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13440         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13441         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13442         $(gen-locales).
13443         * libio/tst_wprintf2.c (main): Use explicit locale.
13444         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13446 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13448         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13449         __msg_sig_post.
13450         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13452 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13454         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13455         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13457         * sysdeps/arm/libm-test-ulps: Regenerated.
13459         [BZ #15470]
13460         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13462         [BZ #16399]
13463         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13464         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13465         and <fix-fp-int-convert-overflow.h>.
13466         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13467         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13468         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13469         and <fix-fp-int-convert-overflow.h>.
13470         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13471         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13472         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13473         <fix-fp-int-convert-overflow.h>.
13474         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13475         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13476         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13477         <fix-fp-int-convert-overflow.h>.
13478         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13479         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13480         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13481         and <fix-fp-int-convert-overflow.h>.
13482         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13483         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13484         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13485         <limits.h> and <fix-fp-int-convert-overflow.h>.
13486         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13487         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13488         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13489         and <fix-fp-int-convert-overflow.h>.
13490         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13491         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13492         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13493         and <fix-fp-int-convert-overflow.h>.
13494         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13495         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13496         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13498 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13500         [BZ #18589]
13501         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13502         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13503         $(gen-locales).
13505 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13506             Phil Blundell <pb@pbcl.net>
13508         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13509         * nptl/tst-cancel26.c: New file.
13510         * nptl/tst-cancel27.c: Likewise.
13512 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13514         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13515         __ILP32__ isn't defined.
13516         (lrint): Likewise.
13517         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13518         (lrintf): Likewise.
13519         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13520         (lrintl): Likewise.
13521         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13522         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13523         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13525 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13527         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13528         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13530         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13531         file.
13532         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13533         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13535 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13537         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13538         configure test.
13539         * sysdeps/i386/configure: Regenerated.
13540         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13541         configure test.
13542         * sysdeps/x86_64/configure: Regenerated.
13543         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13544         Make code unconditional.
13546         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13547         test.
13548         * sysdeps/i386/configure: Regenerated.
13549         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13550         test.
13551         * sysdeps/x86_64/configure: Regenerated.
13552         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13553         Make code unconditional.
13554         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13555         Likewise.
13556         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13557         Likewise.
13558         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13559         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13560         code unconditional.
13561         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13562         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13563         code unconditional.
13564         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13565         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13566         code unconditional.
13567         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13568         code unconditional.
13569         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13570         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13571         code unconditional.
13572         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13573         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13574         code unconditional.
13575         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13576         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13577         code unconditional.
13578         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13579         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13580         code unconditional.
13581         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13582         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13584         [BZ #19095]
13585         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13586         mantissa to long int before shifting left.
13588 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13590         [BZ #19094]
13591         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13592         <limits.h>.
13593         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13594         when result overflows but exception would not result from cast.
13595         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13596         <limits.h>.
13597         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13598         when result overflows but exception would not result from cast.
13599         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13600         <limits.h>.
13601         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13602         when result overflows but exception would not result from cast.
13603         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13604         <limits.h>.
13605         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13606         when result overflows but exception would not result from cast.
13607         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13608         <limits.h>.
13609         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13610         when result overflows but exception would not result from cast.
13611         * math/libm-test.inc (lrint_test_data): Add more tests.
13612         (llrint_test_data): Likewise.
13614 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13616         [BZ #18872]
13617         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13618         Move out from under [$(run-built-tests) = yes] conditional.
13619         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13620         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13622 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13624         [BZ #18589]
13625         * string/Makefile (tests): Add bug-strcoll2.
13626         (LOCALES): Add cs_CZ.UTF-8.
13627         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13629         [BZ #18589]
13630         * string/bug-strcoll2.c: New file.
13631         * locale/categories.def: Revert commit
13632         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13633         * locale/langinfo.h: Likewise.
13634         * locale/localeinfo.h: Likewise.
13635         * locale/C-collate.c: Likewise.
13636         * locale/programs/ld-collate.c (collate_output): Likewise.
13637         * string/strcoll_l.c (STRDIFF): Likewise.
13638         (STRCOLL): Likewise.
13639         * wcsmbs/wcscoll_l.c: Likewise.
13641 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13643         * math/libm-test.inc (lround_test_data): Do not expect the absence
13644         of "inexact" for some tests with non-integer arguments.
13645         (llround_test_data): Likewise.
13647         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13648         test.
13649         (libc_cv_cc_sse2avx): Likewise.
13650         * sysdeps/i386/configure: Regenerated.
13651         * sysdeps/i386/i686/multiarch/Makefile
13652         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13653         [$(subdir) = math].
13654         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13655         code unconditional.
13656         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13657         Likewise.
13658         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13659         Likewise.
13660         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13661         Likewise.
13662         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13663         test.
13664         (libc_cv_cc_sse2avx): Likewise.
13665         * sysdeps/x86_64/configure: Regenerated.
13666         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13667         unconditional.
13668         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13669         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13670         unconditional.
13671         (_dl_runtime_profile)
13672         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13673         conditional code.
13674         * sysdeps/x86_64/fpu/multiarch/Makefile
13675         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13676         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13677         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13678         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13679         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13680         * sysdeps/x86_64/fpu/multiarch/e_log.c
13681         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13682         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13683         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13684         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13685         Likewise.
13686         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13687         Likewise.
13688         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13689         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13690         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13691         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13692         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13693         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13694         (HAVE_SSE2AVX_SUPPORT): Likewise.
13696 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13698         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13699         instead of #pragma optimize.
13701 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13703         [BZ #17195]
13704         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13705         as is similarly done in systrim and _int_free already.
13707 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13709         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13711 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13713         [BZ #19088]
13714         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13715         <limits.h>.
13716         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13717         overflows but exception would not result from cast.
13718         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13719         and <limits.h>.
13720         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13721         overflows but exception would not result from cast.
13722         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13723         <limits.h>.
13724         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13725         overflows but exception would not result from cast.
13726         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13727         <limits.h>.
13728         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13729         overflows but exception would not result from cast.
13730         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13731         <limits.h>.
13732         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13733         overflows but exception would not result from cast.
13734         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13735         <limits.h>.
13736         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13737         overflows but exception would not result from cast.
13738         * math/libm-test.inc (lround_test_data): Add more tests.
13739         (llround_test_data): Likewise.
13741 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13743         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13744         (CFLAGS-ialloc.c): Ditto.
13745         (CFLAGS-scheck.c): Ditto.
13747 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13749         [BZ #19086]
13750         * manual/filesys.texi (Storage Allocation): Fix argument order for
13751         posix_fallocate64.
13753 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13755         [BZ #19085]
13756         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13757         exponent below 48 inside case for non-overflowing exponent.
13758         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13760 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13762         * iconvdata/cp737.h (from_idx): Add const.
13763         * iconvdata/cp775.h (from_idx): Likewise.
13765 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13767         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13768         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13769         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13771         [BZ #19079]
13772         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13773         file, conditioned on [!_LP64].
13774         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13775         [!_LP64] (__lround): Do not define as function or alias.
13776         [!_LP64] (lround): Likewise.
13777         [!_LP64] (__lroundl): Likewise.
13778         [!_LP64] (lroundl): Likewise.
13779         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13780         macro.
13781         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13782         Likewise.
13784 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13786         * math/libm-test.inc (lrint_test_data): Add more tests.
13787         (llrint_test_data): Likewise.
13788         (lround_test_data): Likewise.
13789         (llround_test_data): Likewise.
13791         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13792         (llrint_test_data): Add tests used for lrint.
13794         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13795         test.
13796         * sysdeps/i386/configure: Regenerated.
13797         * sysdeps/i386/i686/multiarch/Makefile
13798         [$(config-cflags-sse4) = yes]: Make code unconditional.
13799         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13800         Likewise.
13801         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13802         Likewise.
13803         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13804         test.
13805         * sysdeps/x86_64/configure: Regenerated.
13806         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13807         Make code unconditional.
13808         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13809         Likewise.
13810         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13811         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13813         * scripts/rpm2dynsym.sh: Remove file.
13815 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13817         * configure.ac (libc_cv_cxx_thread_local): Define.
13818         * configure: Regenerate.
13819         * config.make.in (have-cxx-thread_local): Define.
13820         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13821         (LDLIBS-tst-thread_local1): Define.
13822         (tests): Add tst-thread_local1.
13823         [have-cxx-thread_local != yes] (tests-unsupported): Add
13824         tst-thread_local1.
13825         * nptl/tst-thread_local1.cc: New file.
13827 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13829         [BZ #19078]
13830         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13831         (u_thres): Likewise.
13832         (__expl): Determine whether to call __kernel_standard_l based on
13833         value of result, not argument.
13835         * math/libm-test.inc (scalb_test_data): Add more expectations for
13836         the "inexact" exception.
13838         [BZ #19077]
13839         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13840         0.0L for argument 1.0L.
13842         [BZ #19076]
13843         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13844         constant 0.0L when computing infinite result.
13846 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13848         [BZ #10432]
13849         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13850         malloc_usable_size.
13852 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13854         [BZ #19018]
13855         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13856         Mangle function pointer before storing it.
13857         (__call_tls_dtors): Demangle function pointer before calling it.
13859 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13861         [BZ #19012]
13862         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13863         Clean up on failure.
13865 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13867         [BZ #19071]
13868         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13869         long int variable to store possibly incremented high part of
13870         mantissa.
13871         * math/libm-test.inc (lround_test_data): Add tests used for
13872         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13873         for tests requiring 64-bit long.  Do not condition tests on
13874         [TEST_FLOAT] unnecessarily.
13875         (llround_test_data): Add tests used for lround.  Add another
13876         expectation for the "inexact" exception.  Do not condition tests
13877         on [TEST_FLOAT] unnecessarily.
13879         [BZ #887]
13880         [BZ #19049]
13881         [BZ #19050]
13882         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13883         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13884         <fix-int-fp-convert-zero.h>.
13885         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13886         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13887         <fix-int-fp-convert-zero.h>.
13888         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13889         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13890         <fix-int-fp-convert-zero.h>.
13891         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13892         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13893         <fix-int-fp-convert-zero.h>.
13894         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13895         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13896         <fix-int-fp-convert-zero.h>.
13897         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13898         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13899         <fix-int-fp-convert-zero.h>.
13900         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13901         * sysdeps/ieee754/flt-32/s_erff.c: Include
13902         <fix-int-fp-convert-zero.h>.
13903         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13904         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13905         <fix-int-fp-convert-zero.h>.
13906         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13907         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13908         <fix-int-fp-convert-zero.h>.
13909         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13910         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13911         <fix-int-fp-convert-zero.h>.
13912         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13913         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13914         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13915         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13916         file.
13917         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13919 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13921         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13923 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13925         [BZ #19059]
13926         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13927         overflowing computation.
13928         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13929         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13930         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13931         Likewise.
13932         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13933         Likewise.
13934         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13935         Likewise.
13936         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13937         Likewise.
13938         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13939         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13940         Likewise.
13941         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13942         Likewise.
13943         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13945         * nss/rewrite_field.c (__nss_rewrite_field): Use
13946         internal_function.
13947         * nss/valid_field.c (__nss_valid_field): Likewise.
13948         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13950 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13952         [BZ #18724]
13953         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13954         (__nss_invalid_field_characters, __nss_valid_field)
13955         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13956         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13957         tst-field.c: New file.
13958         * nss/Makefile (routines): Add valid_field, rewrite_field.
13959         (tests-static): Define unconditionally.
13960         (tests): Include tests-static.
13961         [build-static-nss] (tests-static): Use append.
13962         [build-static-nss] (tests): Remove modification.
13963         * nss/getent.c (print_group): Call putgrent.  Report error.
13964         (print_gshadow): Call putsgent.  Report error.
13965         (print_passwd): Call putpwent.  Report error.
13966         (print_shadow): Call putspent.  Report error.
13967         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13968         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13969         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13970         name, password, directory, shell fields for valid syntax.  Rewrite
13971         GECOS field to match syntax.
13972         * pwd/Makefile (tests): Add tst-putpwent.
13973         * pwd/tst-putpwent.c: New file.
13974         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13975         Check grName, grpasswd, gr_mem fields for valid syntax.
13976         Change loop variable i to size_t.
13977         * grp/Makefile (tests): Add tst-putgrent.
13978         * grp/tst-putgrent.c: New file.
13979         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13980         valid syntax.
13981         * shadow/Makefile (tests): Add tst-putspent.
13982         * shadow/tst-putspent.c: New file.
13983         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13984         sg_mem fields for valid syntax.
13985         * gshadow/Makefile (tests): Add tst-putsgent.
13986         * gshadow/tst-putsgent.c: New file.
13988 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13990         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13991         assembly instructions.
13993 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13995         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13996         prefix from operands.
13998 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14000         [BZ #16347]
14001         [BZ #19046]
14002         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14003         <libc-internal.h>.
14004         (MAXLGM): Do not use diagnostic control macros.
14005         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14006         threshold for ldbl-128ibm.
14007         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14008         instead of multiplying by log then subtracting.
14009         * math/auto-libm-test-in: Add more tests of lgamma.
14010         * math/auto-libm-test-out: Regenerated.
14012         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14013         (TYPE_HEX_DIG): Likewise.
14014         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14015         precisions when printing floating-point numbers.
14016         (check_float_internal): Likewise.
14018 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14020         [BZ #16620]
14021         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14022         of log (10) rounded downward to 48 bits.
14023         (log10_low): Use corresponding low part of log (10).
14025         [BZ #19032]
14026         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14027         compute result as (x - x) / (x - x) not as 0 / 0.
14028         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14029         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14031         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14032         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14033         and expm1.
14034         * math/auto-libm-test-out: Regenerated.
14035         * math/libm-test.inc (acos_test_data): Add more tests.
14036         (asin_test_data): Likewise.
14037         (asinh_test_data): Likewise.
14038         (atan_test_data): Likewise.
14039         (atanh_test_data): Likewise.
14040         (atan2_test_data): Likewise.
14041         (cbrt_test_data): Likewise.
14042         (ceil_test_data): Likewise.
14043         (copysign_test_data): Likewise.
14044         (cos_test_data): Likewise.
14045         (cosh_test_data): Likewise.
14046         (erf_test_data): Likewise.
14047         (erfc_test_data): Likewise.
14048         (exp_test_data): Likewise.
14049         (exp10_test_data): Likewise.
14050         (exp2_test_data): Likewise.
14051         (expm1_test_data): Likewise.
14052         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14054 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14056         [BZ #19006]
14057         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14058         to ...
14059         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14060         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14061         to ...
14062         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14063         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14064         to ...
14065         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14066         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14067         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14068         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14069         to ...
14070         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14071         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14072         Moved to ...
14073         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14074         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14075         Moved to ...
14076         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14077         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14078         to ...
14079         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14080         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14081         Moved to ...
14082         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14083         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14084         to ...
14085         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14086         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14087         Removed.
14088         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14089         Likewise.
14090         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14091         Likewise.
14092         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14093         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14094         Likewise.
14095         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14096         Likewise.
14097         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14098         Likewise.
14099         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14100         Likewise.
14101         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14102         Likewise.
14103         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14104         Likewise.
14105         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14106         Likewise.
14107         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14108         Likewise.
14109         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14110         Likewise.
14111         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14112         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14113         Likewise.
14114         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14115         Likewise.
14116         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14117         Likewise.
14118         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14119         Likewise.
14120         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14121         Likewise.
14122         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14123         Replace ../i486/pthread_cond_timedwait.S with
14124         ../pthread_cond_timedwait.S.
14126 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14128         * math/libm-test.inc (acos_test_data): Refine expectations for
14129         errno and "inexact" exceptions.
14130         (acosh_test_data): Likewise.
14131         (asin_test_data): Likewise.
14132         (asinh_test_data): Likewise.
14133         (atan_test_data): Likewise.
14134         (atanh_test_data): Likewise.
14135         (atan2_test_data): Likewise.
14136         (cbrt_test_data): Likewise.
14137         (ceil_test_data): Likewise.
14138         (copysign_test_data): Likewise.
14139         (cosh_test_data): Likewise.
14140         (erf_test_data): Likewise.
14141         (erfc_test_data): Likewise.
14142         (exp_test_data): Likewise.
14143         (exp10_test_data): Likewise.
14144         (exp2_test_data): Likewise.
14145         (expm1_test_data): Likewise.
14146         (fabs_test_data): Likewise.
14147         (floor_test_data): Likewise.
14148         (fma_test_data): Likewise.
14149         (fmax_test_data): Likewise.
14150         (fmin_test_data): Likewise.
14151         (fmod_test_data): Likewise.
14152         (fpclassify_test_data): Likewise.
14153         (frexp_test_data): Likewise.
14154         (hypot_test_data): Likewise.
14155         (ilogb_test_data): Likewise.
14156         (isgreater_test_data): Likewise.
14157         (isgreaterequal_test_data): Likewise.
14158         (isinf_test_data): Likewise.
14159         (isless_test_data): Likewise.
14160         (islessequal_test_data): Likewise.
14161         (islessgreater_test_data): Likewise.
14162         (isnan_test_data): Likewise.
14163         (isnormal_test_data): Likewise.
14164         (issignaling_test_data): Likewise.
14165         (isunordered_test_data): Likewise.
14166         (j0_test_data): Likewise.
14167         (j1_test_data): Likewise.
14168         (jn_test_data): Likewise.
14169         (lgamma_test_data): Likewise.
14170         (lrint_test_data): Likewise.
14171         (llrint_test_data): Likewise.
14172         (log_test_data): Likewise.
14173         (log10_test_data): Likewise.
14174         (log1p_test_data): Likewise.
14175         (log2_test_data): Likewise.
14176         (logb_test_data): Likewise.
14177         (lround_test_data): Likewise.
14178         (llround_test_data): Likewise.
14179         (modf_test_data): Likewise.
14180         (nearbyint_test_data): Likewise.
14181         (nextafter_test_data): Likewise.
14182         (nexttoward_test_data): Likewise.
14183         (pow_test_data): Likewise.
14184         (remainder_test_data): Likewise.
14185         (remquo_test_data): Likewise.
14186         (rint_test_data): Likewise.
14187         (round_test_data): Likewise.
14188         (signbit_test_data): Likewise.
14189         (sinh_test_data): Likewise.
14190         (sqrt_test_data): Likewise.
14191         (tanh_test_data): Likewise.
14192         (tgamma_test_data): Likewise.
14193         (trunc_test_data): Likewise.
14194         (y0_test_data): Likewise.
14195         (y1_test_data): Likewise.
14196         (yn_test_data): Likewise.
14197         (significand_test_data): Likewise.
14199 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14201         * manual/filesys.texi (Storage Allocation): Document that
14202         posix_fallocate emulation fails when fd is open with O_WRONLY.
14204 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14206         [BZ #19016]
14207         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14208         allow more cases with X^2 + Y^2 >= 0.5.
14209         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14210         normal element in sum instead of special-casing based on values of
14211         arguments.
14212         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14213         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14214         -1 as normal element in sum instead of special-casing based on
14215         values of arguments.
14216         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14217         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14218         (__x2y2m1): Update comment.
14219         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14220         as normal element in sum instead of special-casing based on values
14221         of arguments.
14222         * math/s_clog.c (__clog): Handle more cases using log1p without
14223         hypot.
14224         * math/s_clog10.c (__clog10): Likewise.
14225         * math/s_clog10f.c (__clog10f): Likewise.
14226         * math/s_clog10l.c (__clog10l): Likewise.
14227         * math/s_clogf.c (__clogf): Likewise.
14228         * math/s_clogl.c (__clogl): Likewise.
14229         * math/auto-libm-test-in: Add more tests of clog and clog10.
14230         * math/auto-libm-test-out: Regenerated.
14231         * sysdeps/i386/fpu/libm-test-ulps: Update.
14232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14234 2015-09-28  Martin Sebor  <msebor@redhat.com>
14236         [BZ #18969]
14237         * string/Makefile (LOCALES): Define.
14238         (gen-locales.mk): Include.
14239         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14240         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14241         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14242         on setlocale failure.
14244 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14246         [BZ #18985]
14247         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14248         (__strftime_internal): Likewise.
14249         * time/tst-strftime.c (do_bz18985): New test.
14250         (do_test): Call it.
14252 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14254         [BZ #18956]
14255         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14256         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14257         extracting high part.
14258         * math/auto-libm-test-in: Add another test of pow.
14259         * math/auto-libm-test-out: Regenerated.
14260         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14262 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14264         [BZ #18825]
14265         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14266         New macro.
14267         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14268         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14269         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14270         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14271         DBL_NARROW_EVAL, reloading the PIC register as needed.
14272         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14273         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14274         FLT_NARROW_EVAL.  Use separate return path for case when first
14275         argument is NaN.
14276         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14277         DEFINE_LDBL_MIN.
14278         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14279         PIC register.
14280         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14281         math_check_force_underflow_nonneg.
14282         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14283         underflow for subnormal result.
14284         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14285         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14286         math_check_force_underflow_nonneg.
14287         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14288         math_check_force_underflow.
14289         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14290         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14291         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14292         DEFINE_LDBL_MIN.
14293         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14294         * math/auto-libm-test-in: Add more tests of pow.
14295         * math/auto-libm-test-out: Regenerated.
14297 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14299         * nss/bug17079.c (init_test_items): Add diagnostic for
14300         inconsistent entries.
14301         (test_buffer_size): Skip inconsistent entries.
14303 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14305         [BZ #13304]
14306         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14307         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14308         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14310         [BZ #13304]
14311         * sysdeps/microblaze/s_fma.c: New file.
14312         * sysdeps/microblaze/s_fmaf.c: Likewise.
14313         * sysdeps/microblaze/sfp-machine.h: Likewise.
14315 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14317         [BZ #17250]
14318         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14319         member.
14321 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14323         [BZ #18803]
14324         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14325         (MO): New macro.
14326         (__ieee754_hypot) [PIC]: Load PIC register.
14327         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14328         DBL_NARROW_EVAL.
14329         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14330         math_check_force_underflow_nonneg in case where result might be
14331         tiny.
14332         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14333         Likewise.
14334         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14335         Likewise.
14336         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14337         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14338         * math/auto-libm-test-in: Add more tests of hypot.
14339         * math/auto-libm-test-out: Regenerated.
14341 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14343         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14345 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14347         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14348         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14349         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14350         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14351         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14352         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14353         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14355         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14356         LOAD_PIC_REG.
14358         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14359         (FLT_CHECK_FORCE_UFLOW): Likewise.
14360         (DBL_CHECK_FORCE_UFLOW): Likewise.
14361         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14362         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14363         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14364         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14365         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14366         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14367         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14368         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14369         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14370         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14371         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14372         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14373         (flt_min): Replace with use of DEFINE_FLT_MIN.
14374         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14375         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14376         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14377         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14378         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14379         (flt_min): Replace with use of DEFINE_FLT_MIN.
14380         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14381         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14382         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14383         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14384         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14385         (flt_min): Replace with use of DEFINE_FLT_MIN.
14386         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14387         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14388         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14389         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14390         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14391         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14392         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14393         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14394         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14395         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14396         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14397         (flt_min): Replace with use of DEFINE_FLT_MIN.
14398         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14399         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14400         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14401         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14402         main computation.
14403         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14404         (flt_min): Replace with use of DEFINE_FLT_MIN.
14405         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14406         main computation.
14407         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14408         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14409         (MO): New macro.
14410         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14411         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14412         (flt_min): Replace with use of DEFINE_FLT_MIN.
14413         (MO): New macro.
14414         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14415         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14416         (__log1pl): Use MO.
14418         [BZ #19003]
14419         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14420         $(config-cflags-nofma).
14422 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14424         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14426 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14428         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14429         (TWO127): Likewise.
14431         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14432         (min_of_type): Likewise.
14433         (math_check_force_underflow): Likewise.
14434         (math_check_force_underflow_nonneg): Likewise.
14435         (math_check_force_underflow_complex): Likewise.
14436         * math/e_exp2l.c (__ieee754_exp2l): Use
14437         math_check_force_underflow_nonneg.
14438         * math/k_casinh.c (__kernel_casinh): Likewise.
14439         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14440         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14441         * math/s_catan.c (__catan): Use
14442         math_check_force_underflow_complex.
14443         * math/s_catanf.c (__catanf): Likewise.
14444         * math/s_catanh.c (__catanh): Likewise.
14445         * math/s_catanhf.c (__catanhf): Likewise.
14446         * math/s_catanhl.c (__catanhl): Likewise.
14447         * math/s_catanl.c (__catanl): Likewise.
14448         * math/s_ccosh.c (__ccosh): Likewise.
14449         * math/s_ccoshf.c (__ccoshf): Likewise.
14450         * math/s_ccoshl.c (__ccoshl): Likewise.
14451         * math/s_cexp.c (__cexp): Likewise.
14452         * math/s_cexpf.c (__cexpf): Likewise.
14453         * math/s_cexpl.c (__cexpl): Likewise.
14454         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14455         * math/s_clog10.c (__clog10): Likewise.
14456         * math/s_clog10f.c (__clog10f): Likewise.
14457         * math/s_clog10l.c (__clog10l): Likewise.
14458         * math/s_clogf.c (__clogf): Likewise.
14459         * math/s_clogl.c (__clogl): Likewise.
14460         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14461         * math/s_csinf.c (__csinf): Likewise.
14462         * math/s_csinh.c (__csinh): Likewise.
14463         * math/s_csinhf.c (__csinhf): Likewise.
14464         * math/s_csinhl.c (__csinhl): Likewise.
14465         * math/s_csinl.c (__csinl): Likewise.
14466         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14467         * math/s_csqrtf.c (__csqrtf): Likewise.
14468         * math/s_csqrtl.c (__csqrtl): Likewise.
14469         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14470         * math/s_ctanf.c (__ctanf): Likewise.
14471         * math/s_ctanh.c (__ctanh): Likewise.
14472         * math/s_ctanhf.c (__ctanhf): Likewise.
14473         * math/s_ctanhl.c (__ctanhl): Likewise.
14474         * math/s_ctanl.c (__ctanl): Likewise.
14475         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14476         instead of volatile.
14477         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14478         math_check_force_underflow.
14479         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14480         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14481         volatile when forcing underflow.
14482         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14483         math_check_force_underflow_nonneg.
14484         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14485         Likewise.
14486         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14487         math_check_force_underflow.
14488         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14489         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14490         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14491         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14492         math_check_force_underflow_nonneg.
14493         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14494         math_check_force_underflow.
14495         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14496         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14497         instead of volatile.
14498         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14499         math_check_force_underflow.
14500         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14501         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14502         math_check_force_underflow_nonneg.
14503         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14504         math_check_force_underflow.
14505         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14506         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14507         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14508         math_check_force_underflow_nonneg.
14509         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14510         Likewise.
14511         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14512         math_check_force_underflow.
14513         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14514         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14515         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14516         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14517         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14518         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14519         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14520         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14521         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14522         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14523         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14524         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14525         Likewise.
14526         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14527         math_check_force_underflow_nonneg.
14528         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14529         Likewise.
14530         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14531         math_check_force_underflow.
14532         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14533         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14534         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14535         Likewise.
14536         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14537         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14538         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14539         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14540         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14541         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14542         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14543         instead of volatile.
14544         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14545         math_check_force_underflow.
14546         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14547         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14548         math_check_force_underflow.
14549         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14550         Likewise.
14551         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14552         Use math_check_force_underflow_nonneg.
14553         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14554         math_check_force_underflow.
14555         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14556         Likewise.
14557         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14558         Likewise.
14559         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14560         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14561         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14562         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14563         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14564         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14565         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14566         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14567         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14568         math_check_force_underflow_nonneg.
14569         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14570         math_check_force_underflow.
14571         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14572         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14573         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14574         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14575         math_check_force_underflow_nonneg.
14576         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14577         math_check_force_underflow.
14578         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14579         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14580         instead of volatile.
14581         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14582         math_check_force_underflow.
14584         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14585         * stdlib/strtod_l.c: Include <math_private.h>.
14586         (overflow_value): Use math_narrow_eval.
14587         (underflow_value): Likewise.
14588         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14589         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14590         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14591         (__ieee754_gamma_r): Likewise.
14592         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14593         Likewise.
14594         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14595         Likewise.
14596         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14597         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14598         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14599         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14600         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14601         (__ieee754_gammaf_r): Likewise.
14602         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14603         Likewise.
14604         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14605         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14606         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14607         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14608         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14609         volatile.
14610         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14611         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14612         math_narrow_eval.
14613         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14614         Likewise.
14615         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14616         Likewise.
14617         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14618         Likewise.
14619         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14620         volatile.
14621         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14622         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14623         math_narrow_eval.
14624         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14625         Likewise.
14626         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14627         Likewise.
14629 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14631         * nptl/Versions: Remove ignored symbols.
14633 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14635         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14636         * nss/Makefile (tests): Update.
14638 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14640         * nss/bug18287.c: New file.
14641         * nss/Makefile (tests): Add bug18287.
14643 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14645         * mach/Versions (__mach_host_self_): Add symbol.
14647 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14649         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14650         vm_page_size.
14652 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14654         Really fix sysdeps/i386/fpu/s_scalbn.S build
14656         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14657         (libc: GLIBC_2_22): Remove unused version set.
14659 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14661         * config.make.in (enable-timezone-tools): New variable.
14662         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14663         (enable_timezone_tools): Export to generated files.
14664         * configure: Regenerate.
14665         * INSTALL: Regenerate.
14666         * manual/install.texi (--disable-timezone-tools): Document new flag.
14667         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14668         ifeq ($(enable-timezone-tools),yes) check.
14670 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14672         * timezone/Makefile: Revert previous change.
14674         [BZ #18980]
14675         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14676         (DEFINE_DBL_MIN): Likewise.
14677         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14678         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14679         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14680         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14681         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14682         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14683         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14684         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14685         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14686         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14687         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14688         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14689         (flt_min): Replace with use of DEFINE_FLT_MIN.
14690         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14691         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14692         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14693         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14694         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14695         (flt_min): Replace with use of DEFINE_FLT_MIN.
14696         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14697         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14698         (flt_min): Replace with use of DEFINE_FLT_MIN.
14699         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14700         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14701         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14702         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14703         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14704         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14705         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14706         (__ieee754_pow): Use DBL_NARROW_EVAL.
14707         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14708         (__ieee754_powf): Use FLT_NARROW_EVAL.
14709         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14710         (__ieee754_expf_sse2): Convert double-precision result to single
14711         precision.
14712         * sysdeps/i386/fpu/libm-test-ulps: Update.
14714 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14716         * timezone/Makefile: Ignore unused variable errors due to private.h
14717         (time_t_min) and (time_t_max).
14718         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14719         Likewise.
14721 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14723         [BZ #18981]
14724         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14725         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14726         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14727         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14728         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14729         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14730         (__scalbn): Use DBL_NARROW_EVAL.
14731         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14732         (__scalbnf): Use FLT_NARROW_EVAL.
14734 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14736         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14737         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14738         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14739         * stdio-common/printf_fp.c (___printf_fp):
14740         Use signbit to get the sign. Use isinf macro to allow inlining.
14741         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14742         * stdio-common/printf_size.c (__printf_size): Likewise.
14744 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14746         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14748 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14750         [BZ #18980]
14751         * sysdeps/generic/math_private.h: Include <float.h>.
14752         (math_narrow_eval): New macro.
14753         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14754         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14755         math_narrow_eval on overflowing return value.
14756         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14757         Likewise.
14758         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14759         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14760         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14761         Likewise.
14762         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14764 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14766         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14767         * math/Makefile: Remove isinf_ns.c.
14768         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14769         * math/multc3.c (__multc3): Likewise.
14770         * math/s_casin.c (__casin): Likewise.
14771         * math/s_casinf.c (__casinf): Likewise.
14772         * math/s_casinl.c (__casinl): Likewise.
14773         * math/s_cproj.c (__cproj): Likewise.
14774         * math/s_cprojf.c (__cprojf): Likewise.
14775         * math/s_cprojl.c (__cprofl): Likewise.
14776         * math/s_ctan.c (__ctan): Likewise.
14777         * math/s_ctanf.c (__ctanf): Likewise.
14778         * math/s_ctanh.c (__ctanh): Likewise.
14779         * math/s_ctanhf.c (__ctanhf): Likewise.
14780         * math/s_ctanhl.c (__ctanhl): Likewise.
14781         * math/s_ctanl.c (__ctanl): Likewise.
14782         * math/w_fmod.c (__fmod): Likewise.
14783         * math/w_fmodf.c (__fmodf): Likewise.
14784         * math/w_fmodl.c (_fmodl): Likewise.
14785         * math/w_remainder.c (__remainder): Likewise.
14786         * math/w_remainderf.c (__remainderf): Likewise.
14787         * math/w_remainderl.c (__remainderl): Likewise.
14788         * math/w_scalb.c (__scalb): Likewise.
14789         * math/w_scalbf.c (__scalbf): Likewise.
14790         * math/w_scalbl.c (__scalbl): Likewise.
14791         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14792         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14793         with isinf.
14794         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14795         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14796         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14797         __isinf_nsf with isinf.
14798         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14799         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14800         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14801         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14802         with isinf.
14803         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14804         __isinf_nsl with isinf.
14805         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14806         with isinf.
14807         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14808         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14809         __isinf_nsl with isinf.
14810         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14811         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14812         with isinf.
14814 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14816         * resolv/base64.c (rcsid): Remove unused static.
14817         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14818         static.  (tqpi1): Likewise.
14819         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14820         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14821         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14822         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14823         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14824         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14825         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14826         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14827         Likewise.
14829 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14831         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14832         <nptl/pthreadP.h>.
14833         (_longjmp_unwind): Use __libc_ptf_call.
14834         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14836 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14838         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14839         * sysdeps/arm/__longjmp.S: Likewise.
14841 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14843         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14844         Use __builtin_signbit.
14845         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14846         Use __builtin_signbitf.
14847         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14848         Use __builtin_signbitl.
14849         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14850         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14852 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14854         [BZ #15367]
14855         [BZ #17441]
14857         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14858         * math/math.h (fpclassify): Use __builtin_fpclassify when
14859         available.  (signbit): Use __builtin_signbit(f/l).
14860         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14861         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14862         (isinf): Use __builtin_isinf_sign.
14864 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14866         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14867         * benchtests/bench-math-inlines.c: New benchmark.
14868         * benchtests/bench-util.h: New file.
14869         * benchtests/bench-util.c: New file.
14870         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14872 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14874         * elf/tst-dlmopen1.c: Define TEST_SO.
14875         (do_test): Use TEST_SO.
14877         * elf/dl-load.c: Include libc-internal.h.
14878         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14880 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14882         [BZ #17887]
14883         * time/strptime_l.c (__strptime_internal): Make %z accept
14884         [+-]HH:MM time zones.
14886 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14888         [BZ #17886]
14889         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14890         valid time zone.
14892 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14894         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14895         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14896         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14897         (__ASSUME_FDATASYNC): Delete.
14899 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14901         * conform/linknamespace.pl: Require weak undefined symbols to be
14902         in the standard namespace.
14903         (%strong_syms): Rename to %seen_syms.
14904         (%strong_seen): Rename to %seen_where.
14906 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14908         [BZ #18970]
14909         * misc/error.c (error): Replace pthread_setcancelstate with
14910         __pthread_setcancelstate.
14911         (error_at_line): Likewise.
14912         * posix/wordexp.c (parse_comm): Likewise.
14913         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14914         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14915         (__pthread_setcancelstate): This.
14916         (pthread_setcancelstate): Add an alias.
14917         * nptl/nptl-init.c (pthread_functions): Replace
14918         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14919         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14920         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14921         hidden_proto.
14922         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14923         it with hidden_def.
14924         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14925         (pthread_setcancelstate): Renamed to ...
14926         (__pthread_setcancelstate): This.
14927         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14928         __libc_ptf_call with __pthread_setcancelstate.
14930 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14931             Andreas Schwab  <schwab@suse.de>
14933         [BZ #17118]
14934         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14935         result when imaginary part of argument is infinite using sine and
14936         cosine.
14937         * math/s_ctanf.c (__ctanf): Likewise.
14938         * math/s_ctanl.c (__ctanl): Likewise.
14939         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14940         of result when real part of argument is infinite using sine and
14941         cosine.
14942         * math/s_ctanhf.c (__ctanhf): Likewise.
14943         * math/s_ctanhl.c (__ctanhl): Likewise.
14944         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14945         (ctanh_test_data): Add more tests of ctanh.
14947 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14949         [BZ #15384]
14950         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14951         bit-mask as in subtraction.
14952         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14953         Likewise.
14954         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14955         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14956         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14958         [BZ #18951]
14959         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14960         underflow exception for small results.
14961         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14962         Likewise.
14963         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14964         Likewise.
14965         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14966         Likewise.
14967         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14968         Likewise.
14969         * math/auto-libm-test-in: Add more tests of tgamma.
14970         * math/auto-libm-test-out: Regenerated.
14972 2015-09-17  Andreas Schwab  <schwab@suse.de>
14974         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14976 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14978         [BZ #18977]
14979         * math/bits/mathcalls.h
14980         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14981         not declare.
14982         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14983         Likewise.
14984         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14985         Likewise.
14986         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14987         Likewise.
14988         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14989         Likewise.
14990         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14991         Likewise.
14992         * conform/data/math.h-data
14993         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14994         function.
14995         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14996         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14997         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14998         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14999         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15000         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15001         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15002         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15003         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15004         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15005         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15007         [BZ #6803]
15008         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15009         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15010         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15011         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15012         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15013         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15014         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15015         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15016         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15017         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15018         Likewise.
15019         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15020         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15021         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15022         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15023         long_double_symbol calls.
15024         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15025         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15026         strong alias of __ldexpl.
15027         (scalbnl): Define using long_double_symbol.
15028         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15029         Remove alias.
15030         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15031         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15032         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15033         (scalbln_test_data): Add more errno expectations.
15035 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15037         Cache the host port like we cache the task port.  This way we do not
15038         need to call the kernel just to get the port.  Furthermore, we no
15039         longer increase the reference count on every invocation of
15040         `mach_host_self'.
15042         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15043         Protect declarations against the macro expansion.
15044         * mach/mach_init.c (__mach_host_self_): New variable.
15045         (mach_init): Initialize `__mach_host_self_'.
15046         * mach/mach_init.h (__mach_host_self_): New declaration.
15047         (__mach_host_self, mach_host_self): New macros.
15048         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15049         Release reference.
15051 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15053         [BZ #4404]
15054         * po/de.po: Update from Translation Project.
15056         [BZ #16415]
15057         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15058         (__expm1l): Remove code to handle positive infinity and overflow.
15059         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15060         variable.
15061         (__expm1l): Remove code to handle positive infinity and overflow.
15063 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15064             Paul Pluzhnikov  <ppluzhnikov@google.com>
15066         [BZ #18872]
15067         * stdio-common/Makefile (tst-printf-bz18872): New test.
15068         (tst-printf-bz18872-mem.out): Likewise.
15069         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15070         * stdio-common/vfprintf.c: Fix memory leaks.
15072 2015-09-16  Andreas Schwab  <schwab@suse.de>
15074         [BZ #17244]
15075         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15076         Remove extra va_start/va_end calls.
15078         [BZ #17243]
15079         * posix/execl.c (execl): Add missing va_end.
15080         * posix/execle.c (execle): Likewise.
15081         * posix/execlp.c (execlp): Likewise.
15083 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15085         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15086         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15088 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15090         [BZ #18967]
15091         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15092         undefine around includes of <bits/mathcalls.h>.
15093         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15094         not declare function.
15095         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15096         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15097         (scalb): Likewise.
15098         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15099         not define macro.
15100         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15101         variable.
15102         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15103         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15104         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15106         [BZ #18857]
15107         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15108         return non-finite argument without doing ordered comparisons on
15109         it.
15111         [BZ #16296]
15112         * math/fenv.h (fegetround): Use __attribute_pure__.
15113         * include/fenv.h (__fegetround): Likewise.
15115         [BZ #18595]
15116         * math/s_ctan.c (__ctan): Force underflow exception for results
15117         whose real or imaginary part has small absolute value.
15118         * math/s_ctanf.c (__ctanf): Likewise.
15119         * math/s_ctanh.c (__ctanh): Likewise.
15120         * math/s_ctanhf.c (__ctanhf): Likewise.
15121         * math/s_ctanhl.c (__ctanhl): Likewise.
15122         * math/s_ctanl.c (__ctanl): Likewise.
15123         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15124         and ctanh.  Add more tests of ctan and ctanh.
15126         [BZ #15918]
15127         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15128         handling of cases where one argument is an infinity.
15130         [BZ #18875]
15131         [BZ #18966]
15132         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15133         (MO): New macro.
15134         (__ieee754_exp10): For small results, force underflow exception
15135         and remove excess range and precision from return value.
15136         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15137         (MO): New macro.
15138         (__ieee754_exp10f): For small results, force underflow exception
15139         and remove excess range and precision from return value.
15140         * math/auto-libm-test-in: Add more tests of exp10.
15141         * math/auto-libm-test-out: Regenerated.
15143 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15145         [BZ #18875]
15146         [BZ #18961]
15147         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15148         (MO): New macro.
15149         (__ieee754_exp): For small results, force underflow exception and
15150         remove excess range and precision from return value.
15151         (__exp_finite): Likewise.
15152         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15153         (MO): New macro.
15154         (__ieee754_expf): For small results, force underflow exception and
15155         remove excess range and precision from return value.
15156         (__expf_finite): Likewise.
15157         * math/auto-libm-test-in: Add more tests of exp.
15158         * math/auto-libm-test-out: Regenerated.
15160         [BZ #16521]
15161         [BZ #18875]
15162         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15163         small results.
15164         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15165         (MO): New macro.
15166         (__ieee754_exp2): For small results, force underflow exception and
15167         remove excess range and precision from return value.
15168         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15169         (MO): New macro.
15170         (__ieee754_exp2f): For small results, force underflow exception
15171         and remove excess range and precision from return value.
15172         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15173         (MO): New macro.
15174         (__ieee754_exp2l): Force underflow exception for small results.
15175         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15176         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15177         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15178         (MO): New macro.
15179         (__ieee754_exp2l): Force underflow exception for small results.
15180         * math/auto-libm-test-in: Add more tests or exp2.
15181         * math/auto-libm-test-out: Regenerated.
15183 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15185         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15187         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15188         /dev/null.
15190 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15192         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15193         io fs process)): Drop spurious backslash.
15195 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15197         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15198         Use sysinfo system call instead of parsing /proc/meminfo.
15199         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15200         Likewise.
15202 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15204         [BZ #16985]
15205         * programs/localedef.c (main): Display argv[remaining] when
15206         output_path is NULL.
15208 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15210         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15211         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15212         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15213         tanh.
15214         * math/auto-libm-test-out: Regenerated.
15215         * sysdeps/i386/fpu/libm-test-ulps: Update.
15216         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15217         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15220 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15222         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15223         Use 'override' keyword to freeze the value here, preventing
15224         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15226 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15228         [BZ #14912]
15229         * sysdeps/aarch64/bits/atomic.h: Move to ...
15230         * sysdeps/aarch64/atomic-machine.h: ...here.
15231         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15232         _AARCH64_ATOMIC_MACHINE_H.
15233         * sysdeps/alpha/bits/atomic.h: Move to ...
15234         * sysdeps/alpha/atomic-machine.h: ...here.
15235         * sysdeps/arm/bits/atomic.h: Move to ...
15236         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15237         * bits/atomic.h: Move to ...
15238         * sysdeps/generic/atomic-machine.h: ...here.
15239         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15240         * sysdeps/i386/bits/atomic.h: Move to ...
15241         * sysdeps/i386/atomic-machine.h: ...here.
15242         * sysdeps/ia64/bits/atomic.h: Move to ...
15243         * sysdeps/ia64/atomic-machine.h: ...here.
15244         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15245         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15246         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15247         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15248         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15249         * sysdeps/microblaze/bits/atomic.h: Move to ...
15250         * sysdeps/microblaze/atomic-machine.h: ...here.
15251         * sysdeps/mips/bits/atomic.h: Move to ...
15252         * sysdeps/mips/atomic-machine.h: ...here.
15253         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15254         * sysdeps/powerpc/bits/atomic.h: Move to ...
15255         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15256         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15257         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15258         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15259         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15260         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15261         <atomic-machine.h> instead of <bits/atomic.h>.
15262         * sysdeps/s390/bits/atomic.h: Move to ...
15263         * sysdeps/s390/atomic-machine.h: ...here.
15264         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15265         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15266         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15267         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15268         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15269         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15270         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15271         * sysdeps/tile/bits/atomic.h: Move to ...
15272         * sysdeps/tile/atomic-machine.h: ...here.
15273         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15274         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15275         <sysdeps/tile/atomic-machine.h> instead of
15276         <sysdeps/tile/bits/atomic.h>.
15277         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15278         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15279         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15280         <sysdeps/tile/atomic-machine.h> instead of
15281         <sysdeps/tile/bits/atomic.h>.
15282         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15283         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15284         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15285         <sysdeps/arm/atomic-machine.h> instead of
15286         <sysdeps/arm/bits/atomic.h>.
15287         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15288         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15289         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15290         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15291         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15292         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15293         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15294         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15295         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15296         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15297         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15298         * sysdeps/x86_64/bits/atomic.h: Move to ...
15299         * sysdeps/x86_64/atomic-machine.h: ...here.
15300         * include/atomic.h: Include <atomic-machine.h> instead of
15301         <bits/atomic.h>.
15303         * sysdeps/mips/mips32/libm-test-ulps: Update.
15304         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15306         [BZ #18952]
15307         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15308         not convert non-integer negative arguments to int to determine the
15309         value of signgam.
15310         * math/auto-libm-test-in: Add more tests of lgamma.
15311         * math/auto-libm-test-out: Regenerated.
15313         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15314         cosh, csqrt, erfc, expm1 and lgamma.
15315         * math/auto-libm-test-out: Regenerated.
15316         * sysdeps/i386/fpu/libm-test-ulps: Update.
15317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15319 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15321         [BZ #2542]
15322         [BZ #2543]
15323         [BZ #2558]
15324         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15325         __lgamma_neg for arguments from -28.0 to -2.0.
15326         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15327         __lgamma_negf for arguments from -15.0 to -2.0.
15328         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15329         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15330         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15331         Call __lgamma_negl for arguments from -33.0 to -2.0.
15332         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15333         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15334         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15335         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15336         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15337         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15338         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15339         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15340         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15341         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15342         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15343         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15344         (__lgamma_neg): Likewise.
15345         (__lgamma_negl): Likewise.
15346         (__lgamma_product): Likewise.
15347         (__lgamma_productl): Likewise.
15348         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15349         * math/auto-libm-test-in: Add more tests of lgamma.
15350         * math/auto-libm-test-out: Regenerated.
15351         * sysdeps/i386/fpu/libm-test-ulps: Update.
15352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15354 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15356         [BZ #18675]
15357         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15359 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15361         [BZ #14912]
15362         * bits/libc-lock.h: Move to ...
15363         * sysdeps/generic/libc-lock.h: ...here.
15364         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15365         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15366         * sysdeps/mach/hurd/libc-lock.h: ...here.
15367         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15368         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15369         * sysdeps/mach/bits/libc-lock.h: Move to ...
15370         * sysdeps/mach/libc-lock.h: ...here.
15371         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15372         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15373         * sysdeps/nptl/libc-lock.h: ...here.
15374         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15375         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15376         * sysdeps/nptl/libc-lockP.h: ...here.
15377         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15378         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15379         <bits/libc-lock.h>.
15380         * dirent/scandir-tail.c: Likewise.
15381         * dlfcn/dlerror.c: Likewise.
15382         * elf/dl-close.c: Likewise.
15383         * elf/dl-iteratephdr.c: Likewise.
15384         * elf/dl-lookup.c: Likewise.
15385         * elf/dl-open.c: Likewise.
15386         * elf/dl-support.c: Likewise.
15387         * elf/dl-writev.h: Likewise.
15388         * elf/rtld.c: Likewise.
15389         * grp/fgetgrent.c: Likewise.
15390         * gshadow/fgetsgent.c: Likewise.
15391         * gshadow/sgetsgent.c: Likewise.
15392         * iconv/gconv_conf.c: Likewise.
15393         * iconv/gconv_db.c: Likewise.
15394         * iconv/gconv_dl.c: Likewise.
15395         * iconv/gconv_int.h: Likewise.
15396         * iconv/gconv_trans.c: Likewise.
15397         * include/link.h: Likewise.
15398         * inet/getnameinfo.c: Likewise.
15399         * inet/getnetgrent.c: Likewise.
15400         * inet/getnetgrent_r.c: Likewise.
15401         * intl/bindtextdom.c: Likewise.
15402         * intl/dcigettext.c: Likewise.
15403         * intl/finddomain.c: Likewise.
15404         * intl/gettextP.h: Likewise.
15405         * intl/loadmsgcat.c: Likewise.
15406         * intl/localealias.c: Likewise.
15407         * intl/textdomain.c: Likewise.
15408         * libidn/idn-stub.c: Likewise.
15409         * libio/libioP.h: Likewise.
15410         * locale/duplocale.c: Likewise.
15411         * locale/freelocale.c: Likewise.
15412         * locale/newlocale.c: Likewise.
15413         * locale/setlocale.c: Likewise.
15414         * login/getutent_r.c: Likewise.
15415         * login/getutid_r.c: Likewise.
15416         * login/getutline_r.c: Likewise.
15417         * login/utmp-private.h: Likewise.
15418         * login/utmpname.c: Likewise.
15419         * malloc/mtrace.c: Likewise.
15420         * misc/efgcvt.c: Likewise.
15421         * misc/error.c: Likewise.
15422         * misc/fstab.c: Likewise.
15423         * misc/getpass.c: Likewise.
15424         * misc/mntent.c: Likewise.
15425         * misc/syslog.c: Likewise.
15426         * nis/nis_call.c: Likewise.
15427         * nis/nis_callback.c: Likewise.
15428         * nis/nss-default.c: Likewise.
15429         * nis/nss_compat/compat-grp.c: Likewise.
15430         * nis/nss_compat/compat-initgroups.c: Likewise.
15431         * nis/nss_compat/compat-pwd.c: Likewise.
15432         * nis/nss_compat/compat-spwd.c: Likewise.
15433         * nis/nss_nis/nis-alias.c: Likewise.
15434         * nis/nss_nis/nis-ethers.c: Likewise.
15435         * nis/nss_nis/nis-grp.c: Likewise.
15436         * nis/nss_nis/nis-hosts.c: Likewise.
15437         * nis/nss_nis/nis-network.c: Likewise.
15438         * nis/nss_nis/nis-proto.c: Likewise.
15439         * nis/nss_nis/nis-pwd.c: Likewise.
15440         * nis/nss_nis/nis-rpc.c: Likewise.
15441         * nis/nss_nis/nis-service.c: Likewise.
15442         * nis/nss_nis/nis-spwd.c: Likewise.
15443         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15444         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15445         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15446         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15447         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15448         * nis/nss_nisplus/nisplus-network.c: Likewise.
15449         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15450         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15451         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15452         * nis/nss_nisplus/nisplus-service.c: Likewise.
15453         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15454         * nis/ypclnt.c: Likewise.
15455         * nptl/libc_pthread_init.c: Likewise.
15456         * nss/getXXbyYY.c: Likewise.
15457         * nss/getXXent.c: Likewise.
15458         * nss/getXXent_r.c: Likewise.
15459         * nss/nss_db/db-XXX.c: Likewise.
15460         * nss/nss_db/db-netgrp.c: Likewise.
15461         * nss/nss_db/nss_db.h: Likewise.
15462         * nss/nss_files/files-XXX.c: Likewise.
15463         * nss/nss_files/files-alias.c: Likewise.
15464         * nss/nsswitch.c: Likewise.
15465         * posix/regex_internal.h: Likewise.
15466         * posix/wordexp.c: Likewise.
15467         * pwd/fgetpwent.c: Likewise.
15468         * resolv/res_hconf.c: Likewise.
15469         * resolv/res_libc.c: Likewise.
15470         * shadow/fgetspent.c: Likewise.
15471         * shadow/lckpwdf.c: Likewise.
15472         * shadow/sgetspent.c: Likewise.
15473         * socket/opensock.c: Likewise.
15474         * stdio-common/reg-modifier.c: Likewise.
15475         * stdio-common/reg-printf.c: Likewise.
15476         * stdio-common/reg-type.c: Likewise.
15477         * stdio-common/vfprintf.c: Likewise.
15478         * stdio-common/vfscanf.c: Likewise.
15479         * stdlib/abort.c: Likewise.
15480         * stdlib/cxa_atexit.c: Likewise.
15481         * stdlib/fmtmsg.c: Likewise.
15482         * stdlib/random.c: Likewise.
15483         * stdlib/setenv.c: Likewise.
15484         * string/strsignal.c: Likewise.
15485         * sunrpc/auth_none.c: Likewise.
15486         * sunrpc/bindrsvprt.c: Likewise.
15487         * sunrpc/create_xid.c: Likewise.
15488         * sunrpc/key_call.c: Likewise.
15489         * sunrpc/rpc_thread.c: Likewise.
15490         * sysdeps/arm/backtrace.c: Likewise.
15491         * sysdeps/generic/ldsodefs.h: Likewise.
15492         * sysdeps/generic/stdio-lock.h: Likewise.
15493         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15494         * sysdeps/i386/backtrace.c: Likewise.
15495         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15496         * sysdeps/m68k/backtrace.c: Likewise.
15497         * sysdeps/mach/hurd/cthreads.c: Likewise.
15498         * sysdeps/mach/hurd/dirstream.h: Likewise.
15499         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15500         * sysdeps/nptl/malloc-machine.h: Likewise.
15501         * sysdeps/nptl/stdio-lock.h: Likewise.
15502         * sysdeps/posix/dirstream.h: Likewise.
15503         * sysdeps/posix/getaddrinfo.c: Likewise.
15504         * sysdeps/posix/system.c: Likewise.
15505         * sysdeps/pthread/aio_suspend.c: Likewise.
15506         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15507         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15508         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15509         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15510         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15511         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15512         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15513         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15514         * sysdeps/unix/sysv/linux/system.c: Likewise.
15515         * sysdeps/x86_64/backtrace.c: Likewise.
15516         * time/alt_digit.c: Likewise.
15517         * time/era.c: Likewise.
15518         * time/tzset.c: Likewise.
15519         * wcsmbs/wcsmbsload.c: Likewise.
15520         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15521         instead of <bits/libc-lock.h> in comment.
15523 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15525         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15526         Only use .set mips2 if the current ISA is below mips2.
15527         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15528         Likewise.
15529         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15530         mips32r2 if the current ISA is below mips32r2.
15531         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15532         (TLS_IE): Updated to use the TLD_RDHWR macro.
15533         (TLS_LE): Likewise.
15534         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15535         __ASSEMBLER__ condition.
15537 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15539         Fix parallel build of before-compile targets.
15541         * sysdeps/mach/Makefile ($(patsubst
15542         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15543         mach-before-compile target.
15544         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15545         io fs process)): Move rule to dedicated hurd-before-compile target.
15547 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15549         Fix rules generating headers in hurd/ and mach/ when initial make call
15550         has subdir= explicitly set.
15552         * sysdeps/mach/Makefile ($(patsubst
15553         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15554         calling $(MAKE).
15555         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15556         io fs process)): Force subdir to hurd when calling $(MAKE).
15557         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15558         subdir to mach when calling $(MAKE).
15560 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15562         Check sysheaders when looking for Mach and Hurd headers
15564         * sysdeps/mach/configure.ac: Add sysheaders check.
15565         * sysdeps/mach/configure: Regenerate.
15566         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15567         * sysdeps/mach/hurd/configure: Regenerate.
15569 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15571         [BZ #18921]
15572         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15573         Fix inverted sense of test of 'o_directory_works' value.
15574         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15575         Bernhard Voelker <mail@bernhard-voelker.de>.
15577 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15579         [BZ #14912]
15580         * bits/linkmap.h: Move to ...
15581         * sysdeps/generic/linkmap.h: ...here.
15582         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15583         * sysdeps/aarch64/linkmap.h: ...here.
15584         * sysdeps/arm/bits/linkmap.h: Move to ...
15585         * sysdeps/arm/linkmap.h: ...here.
15586         * sysdeps/hppa/bits/linkmap.h: Move to ...
15587         * sysdeps/hppa/linkmap.h: ...here.
15588         * sysdeps/ia64/bits/linkmap.h: Move to ...
15589         * sysdeps/ia64/linkmap.h: ...here.
15590         * sysdeps/mips/bits/linkmap.h: Move to ...
15591         * sysdeps/mips/linkmap.h: ...here.
15592         * sysdeps/s390/bits/linkmap.h: Move to ...
15593         * sysdeps/s390/linkmap.h: ...here.
15594         * sysdeps/sh/bits/linkmap.h: Move to ...
15595         * sysdeps/sh/linkmap.h: ...here.
15596         * sysdeps/x86/bits/linkmap.h: Move to ...
15597         * sysdeps/x86/linkmap.h: ...here.
15598         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15600 2015-09-04  Andreas Schwab  <schwab@suse.de>
15602         [BZ #18635]
15603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15604         (__makecontext): Terminate FDE before return label.
15605         (__novec_makecontext): Likewise.
15607 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15609         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15610         first member of struct sv in syscall macro.
15612 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15614         [BZ #14912]
15615         * bits/stdio-lock.h: Move to ...
15616         * sysdeps/generic/stdio-lock.h: ...here.
15617         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15618         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15619         * sysdeps/nptl/stdio-lock.h: ...here.
15620         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15621         * include/libio.h: Include <stdio-lock.h> instead of
15622         <bits/stdio-lock.h>.
15623         * sysdeps/nptl/fork.c: Likewise.
15624         * sysdeps/pthread/flockfile.c: Likewise.
15625         * sysdeps/pthread/ftrylockfile.c: Likewise.
15626         * sysdeps/pthread/funlockfile.c: Likewise.
15628         [BZ #14912]
15629         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15630         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15631         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15632         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15633         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15634         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15635         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15637 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15639         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15640         (test-xfail-tst-protected1b): New variable.
15642 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15644         [BZ #14912]
15645         * bits/libc-tsd.h: Move to ...
15646         * sysdeps/generic/libc-tsd.h: ...here.
15647         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15648         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15649         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15650         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15651         * include/ctype.h: Include <libc-tsd.h> instead of
15652         <bits/libc-tsd.h>.
15653         * include/rpc/rpc.h: Likewise.
15654         * locale/localeinfo.h: Likewise.
15655         * sunrpc/rpc_thread.c: Likewise.
15656         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15657         * sysdeps/nptl/malloc-machine.h: Likewise.
15659         * Makefile (headers): Remove bits/libc-lock.h.
15660         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15662         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15663         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15664         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15665         <bits/stdio-lock.h>.
15666         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15667         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15669 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15671         [BZ #18757]
15672         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15673         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15674         BZ #18757.
15676 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15678         * malloc/mtrace.pl: Filter out NULL entries.
15680 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15682         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15683         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15684         macro.
15686         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15687         (TCP_CC_INFO): Likewise.
15688         (TCP_SAVE_SYN): Likewise.
15689         (TCP_SAVED_SYN): Likewise.
15691 2015-08-31  Brett Neumeier <brett@neumeier.us>
15693         [BZ #18870]
15694         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15696 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15698         [BZ #18873]
15699         Fix broken overflow check in posix_fallocate
15700         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15701         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15702         Fix parenthesization typo.
15704 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15706         [BZ #18887]
15707         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15708         tst-mntent-blank-passno.
15709         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15710         * misc/tst-mntent-blank-corrupt.c: New test.
15711         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15712         * misc/tst-mntent.c (do_test): ... here.
15714 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15716         [BZ #4404]
15717         * po/de.po: Fix SIGALRM typo.
15719 2015-08-28  James Perkins  <james@loowit.net>
15721         * time/tst-strptime2.c (tests): Replace short list of test
15722         strings for strptime %z specifier with code which exhaustively
15723         tests every combination of sign and 0 to 5 digits. Tests for
15724         rejection of invalid strings.
15726 2015-08-28  James Perkins  <james@loowit.net>
15728         [BZ #16141]
15729         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15730         calculation, removing incorrect decimal time rounding, so that
15731         all minute values result in a valid seconds value.
15732         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15733         offset range limits to UTC-99:59 through UTC+99:59 to parse
15734         current and historical use cases.
15735         * time/tst-strptime2.c (tests): Modify and add tests for the
15736         strptime %z input field descriptor, specifically conversion of
15737         minutes to seconds and validating an offset range of -9959 to
15738         +9959.
15740 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15741             Dmitry V. Levin  <ldv@altlinux.org>
15743         [BZ #18877]
15744         * posix/Makefile (tests): Add tst-mmap-offset.
15745         * posix/tst-mmap.c: New file.
15746         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15747         offset calculation for negative values.
15749 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15751         * sysdeps/i386/init-arch.h: New file.
15752         * sysdeps/i386/i586/init-arch.h: Likewise.
15753         * sysdeps/i386/i686/init-arch.h: Likewise.
15754         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15755         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15756         * sysdeps/x86/cpu-features.h (bit_I586): New.
15757         (bit_I686): Likewise.
15758         (bit_CX8): Likewise.
15759         (bit_CMOV): Likewise.
15760         (index_CX8): Likewise.
15761         (index_CMOV): Likewise.
15762         (index_I586): Likewise.
15763         (index_I686): Likewise.
15764         (reg_CX8): Likewise.
15765         (reg_CMOV): Likewise.
15766         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15767         available at compile-time.
15768         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15769         available at compile-time.
15770         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15771         (USE_I686): Likewise.
15773 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15775         * sysdeps/i386/bcopy.S: New file.
15776         * sysdeps/i386/bzero.S: Likewise.
15777         * sysdeps/i386/memcpy.S: Likewise.
15778         * sysdeps/i386/memmove.S: Likewise.
15779         * sysdeps/i386/mempcpy.S: Likewise.
15780         * sysdeps/i386/memset.S: Likewise.
15781         * sysdeps/i386/bzero.c: Removed.
15782         * sysdeps/i386/memset.c: Likewise.
15783         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15784         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15785         * sysdeps/i386/i586/memset_chk.S: Likewise.
15786         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15787         * sysdeps/i386/memcpy_chk.S: Here.
15788         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15789         * sysdeps/i386/memmove_chk.S: Here.
15790         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15791         * sysdeps/i386/mempcpy_chk.S: Likewise.
15792         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15793         * sysdeps/i386/memset_chk.S: Likewise.
15795 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15797         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15798         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15799         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15800         * soft-fp/fmadf4.c: Ditto.
15801         * soft-fp/fmatf4.c: Ditto.
15803 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15805         * sysdeps/i386/i586/Implies: Removed.
15806         * sysdeps/i386/i686/Implies: Likewise.
15808 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15810         * sysdeps/i386/i486/strlen.S: Moved to ...
15811         * sysdeps/i386/strlen.S: Here.
15813 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15815         * sysdeps/i386/i486/strcat.S: Moved to ...
15816         * sysdeps/i386/strcat.S: Here.
15818 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15820         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15821         * sysdeps/i386/pthread_spin_trylock.S: Here.
15822         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15823         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15825 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15827         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15828         * sysdeps/i386/string-inlines.c: Here.
15830 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15832         * sysdeps/i386/i486/htonl.S: Moved ...
15833         * sysdeps/i386/htonl.S: here.
15835 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15837         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15838         * sysdeps/i386/bits/atomic.h: Here.
15840 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15842         * sysdeps/i386/i486/Versions: Removed.
15844 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15846         [BZ #2898]
15847         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15848         Based on patch by Aurelien Jarno.
15850 2015-08-26  Stan Shebs  <stanshebs@google.com>
15852         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15853         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15855 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15857         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15858         * sysdeps/powerpc/dl-procinfo.c:
15859         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15860         feature so it shows when LD_SHOW_AUXV=1.
15862 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15864         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15865         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15866         definition.  ISA 2.07B no longer requires full sync.
15868 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15870         [BZ #18863]
15871         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15872         (si_call_addr): Define.
15873         (si_syscall): Define.
15874         (si_arch): Define.
15876 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15878         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15879         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15880         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15881         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15882         (__memset_zero_constant_len_parameter): New.
15883         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15884         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15885         (__memset_zero_constant_len_parameter): Don't define if
15886         __memset_chk or USE_AS_BZERO are defined.
15888         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15889         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15890         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15892         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15893         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15894         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15895         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15896         comments.
15897         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15898         -mno-mmx for $(all-rtld-routines).
15899         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15900         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15901         i386.
15903 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15905         * sysdeps/generic/unwind.h
15906         (_Unwind_Word): Use __mode__(__unwind_word__)
15907         instead of __mode__(__word__).
15908         (_Unwind_Sword): Likewise.
15910         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15911         (MAX_NEEDED_INPUT): New define.
15912         (MAX_NEEDED_OUTPUT): New define.
15914         * NEWS: New item for IBM z13 string optimizations.
15916         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15917         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15918         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15919         * sysdeps/s390/multiarch/Makefile
15920         (sysdep_routines): Add memrchr functions.
15921         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15922         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15924         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15925         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15926         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15927         * sysdeps/s390/multiarch/Makefile
15928         (sysdep_routines): Add wmemcmp functions.
15929         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15930         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15931         * benchtests/bench-wmemcmp.c: New File.
15932         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15934         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15935         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15936         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15937         * sysdeps/s390/multiarch/Makefile
15938         (sysdep_routines): Add wmemset functions.
15939         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15940         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15941         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15942         * string/test-memset.c: Add wmemset support.
15943         * wcsmbs/test-wmemset.c: New File.
15944         * wcsmbs/Makefile (strop-tests): Add wmemset.
15945         * benchtests/bench-memset.c: Add wmemset support.
15946         * benchtests/bench-wmemset.c: New File.
15947         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15949         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15950         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15951         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15952         * sysdeps/s390/multiarch/Makefile
15953         (sysdep_routines): Add memccpy functions.
15954         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15955         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15956         * string/memccpy.c: Use MEMCCPY if defined.
15958         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15959         * sysdeps/s390/multiarch/memchr.c: Likewise.
15960         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15961         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15962         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15963         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15964         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15965         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15966         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15967         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15968         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15969         and rawmemchr functions.
15970         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15971         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15972         and wmemchr.
15973         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15974         * string/test-memchr.c: Add wmemchr support.
15975         * wcsmbs/test-wmemchr.c: New File.
15976         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15977         * benchtests/bench-memchr.c: Add wmemchr support.
15978         * benchtests/bench-wmemchr.c: New File.
15979         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15981         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15982         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15983         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15984         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15985         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15986         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15987         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15988         wcscspn functions.
15989         * sysdeps/s390/multiarch/ifunc-impl-list.c
15990         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15991         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15992         * string/test-strcspn.c: Add wcscspn support.
15993         * wcsmbs/test-wcscspn.c: New File.
15994         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15995         * benchtests/bench-strcspn.c: Add wcscspn support.
15996         * benchtests/bench-wcscspn.c: New File.
15997         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15999         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16000         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16001         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16002         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16003         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16004         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16005         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16006         wcspbrk functions.
16007         * sysdeps/s390/multiarch/ifunc-impl-list.c
16008         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16009         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16010         * string/test-strpbrk.c: Add wcspbrk support.
16011         * wcsmbs/test-wcspbrk.c: New File.
16012         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16013         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16014         * benchtests/bench-wcspbrk.c: New File.
16015         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16017         * sysdeps/s390/multiarch/strspn-c.c: New File.
16018         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16019         * sysdeps/s390/multiarch/strspn.c: Likewise.
16020         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16021         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16022         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16023         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16024         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16025         wcsspn functions.
16026         * sysdeps/s390/multiarch/ifunc-impl-list.c
16027         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16028         * string/test-strspn.c: Add wcsspn support.
16029         * wcsmbs/test-wcsspn.c: New File.
16030         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16031         * benchtests/bench-strspn.c: Add wcsspn support.
16032         * benchtests/bench-wcsspn.c: New File.
16033         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16035         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16036         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16037         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16038         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16039         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16040         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16041         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16042         wcsrchr functions.
16043         * sysdeps/s390/multiarch/ifunc-impl-list.c
16044         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16045         * benchtests/bench-wcsrchr.c: New File.
16046         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16048         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16049         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16050         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16051         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16052         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16053         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16054         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16055         wcschrnul functions.
16056         * sysdeps/s390/multiarch/ifunc-impl-list.c
16057         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16058         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16059         * string/test-strchr.c: Add wcschrnul support.
16060         * wcsmbs/test-wcschrnul.c: New File.
16061         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16062         * benchtests/bench-strchr.c: Add wcschrnul support.
16063         * benchtests/bench-wcschrnul.c: New File.
16064         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16066         * sysdeps/s390/multiarch/strchr-c.c: New File.
16067         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16068         * sysdeps/s390/multiarch/strchr.c: Likewise.
16069         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16070         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16071         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16072         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16073         wcschr functions.
16074         * sysdeps/s390/multiarch/ifunc-impl-list.c
16075         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16076         * string/strchr.c (STRCHR): Define and use macro.
16077         * benchtests/bench-wcschr.c: New File.
16078         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16080         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16081         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16082         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16083         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16084         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16085         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16086         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16087         wcsncmp functions.
16088         * sysdeps/s390/multiarch/ifunc-impl-list.c
16089         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16090         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16091         * benchtests/bench-strncmp.c: Add wcsncmp support.
16092         * benchtests/bench-wcsncmp.c: New File.
16093         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16095         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16096         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16097         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16098         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16099         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16100         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16101         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16102         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16103         wcscmp functions.
16104         * sysdeps/s390/multiarch/ifunc-impl-list.c
16105         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16106         * string/strcmp.c (STRCMP): Define and use macro.
16107         * benchtests/bench-wcscmp.c: New File.
16108         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16109         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16110         instead of _HAVE_STRING_ARCH_memchr.
16112         * sysdeps/s390/multiarch/strncat-c.c: New File.
16113         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16114         * sysdeps/s390/multiarch/strncat.c: Likewise.
16115         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16116         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16117         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16118         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16119         wcsncat functions.
16120         * sysdeps/s390/multiarch/ifunc-impl-list.c
16121         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16122         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16123         * string/test-strncat.c: Add wcsncat support.
16124         * wcsmbs/test-wcsncat.c: New File.
16125         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16126         * benchtests/bench-strncat.c: Add wcsncat support.
16127         * benchtests/bench-wcsncat.c: New File.
16128         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16130         * sysdeps/s390/multiarch/strcat-c.c: New File.
16131         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16132         * sysdeps/s390/multiarch/strcat.c: Likewise.
16133         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16134         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16135         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16136         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16137         wcscat functions.
16138         * sysdeps/s390/multiarch/ifunc-impl-list.c
16139         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16140         * string/strcat.c (STRCAT): Define and use macro.
16141         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16142         * string/test-strcat.c: Add wcscat support.
16143         * wcsmbs/test-wcscat.c: New File.
16144         * wcsmbs/Makefile (strop-tests): Add wcscat.
16145         * benchtests/bench-strcat.c: Add wcscat support.
16146         * benchtests/bench-wcscat.c: New File.
16147         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16149         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16150         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16151         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16152         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16153         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16154         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16155         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16156         wcpncpy functions.
16157         * sysdeps/s390/multiarch/ifunc-impl-list.c
16158         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16159         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16160         * string/test-stpncpy.c: Add wcpncpy support.
16161         * wcsmbs/test-wcpncpy.c: New File.
16162         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16163         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16164         * benchtests/bench-wcpncpy.c: New File.
16165         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16167         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16168         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16169         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16170         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16171         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16172         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16173         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16174         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16175         wcsncpy functions.
16176         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16177         * sysdeps/s390/multiarch/ifunc-impl-list.c
16178         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16179         * string/test-strncpy.c: Add wcsncpy support.
16180         * wcsmbs/test-wcsncpy.c: New File.
16181         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16182         * benchtests/bench-strncpy.c: Add wcsncpy support.
16183         * benchtests/bench-wcsncpy.c: New File.
16184         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16186         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16187         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16188         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16189         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16190         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16191         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16192         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16193         wcpcpy functions.
16194         * string/stpcpy.c: Use STPCPY if defined.
16195         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16196         * sysdeps/s390/multiarch/ifunc-impl-list.c
16197         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16198         * string/test-stpcpy.c: Add wcpcpy support.
16199         * wcsmbs/test-wcpcpy.c: New File.
16200         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16201         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16202         * benchtests/bench-wcpcpy.c: New File.
16203         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16205         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16206         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16207         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16208         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16209         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16210         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16211         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16212         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16213         wcscpy functions.
16214         * sysdeps/s390/multiarch/ifunc-impl-list.c
16215         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16216         * benchtests/bench-wcscpy.c: New File.
16217         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16219         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16220         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16221         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16222         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16223         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16224         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16225         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16226         wcsnlen functions.
16227         * sysdeps/s390/multiarch/ifunc-impl-list.c
16228         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16229         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16230         * string/test-strnlen.c: Add wcsnlen support.
16231         * wcsmbs/test-wcsnlen.c: New File.
16232         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16233         * benchtests/bench-strnlen.c: Add wcsnlen support.
16234         * benchtests/bench-wcsnlen.c: New File.
16235         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16237         * sysdeps/s390/multiarch/Makefile: New File.
16238         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16239         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16240         * sysdeps/s390/multiarch/strlen.c: Likewise.
16241         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16242         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16243         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16244         * string/strlen.c (STRLEN): Define and use macro.
16245         * sysdeps/s390/multiarch/ifunc-impl-list.c
16246         (IFUNC_VX_IMPL): New macro function.
16247         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16248         * benchtests/Makefile (wcsmbs-bench): New variable.
16249         (string-bench-all): Added wcsmbs-bench.
16250         * benchtests/bench-wcslen.c: New File.
16252         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16253         s390_vx_libc_ifunc2): New macro function.
16255         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16256         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16257         assembler support.
16258         * sysdeps/s390/configure: Regenerated.
16260         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16261         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16263         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16264         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16265         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16267         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16268         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16269         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16270         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16271         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16272         (memcmp, bcmp): Use __memcmp_default as alias source.
16273         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16274         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16275         Rename to __memcmp_default.
16276         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16277         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16278         (memcpy): Use __memcpy_default as alias source.
16279         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16280         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16281         Rename to __memcpy_default.
16282         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16283         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16284         (memset): Use __memset_default as alias source.
16285         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16286         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16287         Rename to __memset_default.
16288         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16289         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16290         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16291         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16292         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16293         (memcmp, bcmp): Use __memcmp_default as alias source.
16294         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16295         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16296         Rename to __memcmp_default.
16297         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16298         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16299         (memcpy): Use __memcpy_default as alias source.
16300         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16301         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16302         Rename to __memcpy_default.
16303         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16304         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16305         (memset): Use __memset_default as alias source.
16306         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16307         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16308         Rename to __memset_default.
16309         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16310         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16312         [BZ #18610]
16313         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16314         __ieee_instruction_pointer to __unused.
16315         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16316         __ieee_instruction_pointer.
16317         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16318         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16319         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16320         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16321         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16322         Mark dxc-field as reserved.
16324 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16326         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16327         if the weak reference is not null.
16329 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16331         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16333         [BZ #11214]
16334         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16336 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16338         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16339         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16340         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16341         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16342         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16343         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16344         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16345         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16346         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16347         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16348         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16349         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16350         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16351         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16352         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16353         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16354         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16355         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16357 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16359         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16360         register other than r0 for tabort, it has special meaning.
16361         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16362         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16363         transaction before starting syscall.
16365 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16367         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16369 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16371         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16373         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16374         * sysdeps/x86_64/rtld-memset.S: Likewise.
16375         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16376         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16377         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16378         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16380         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16382 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16384         * debug/strcpy_chk.c: Improve performance.
16385         * debug/stpcpy_chk.c: Likewise.
16386         * sysdeps/x86_64/strcpy_chk.S: Remove.
16387         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16389         [BZ #18240]
16390         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16392 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16394         [BZ #15128]
16395         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16396         ifuncmain8.
16397         (modules-names): Add ifuncmod8.
16398         ($(objpfx)ifuncmain8): New rule.
16399         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16400         <cpuid.h>.
16401         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16402         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16403         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16404         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16405         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16406         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16407         * sysdeps/x86_64/ifuncmain8.c: New file.
16408         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16409         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16410         Removed.
16411         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16412         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16413         Change rtld_savespace_sse to __glibc_unused2.
16414         (RTLD_CHECK_FOREIGN_CALL): Removed.
16415         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16416         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16417         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16419 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16421         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16423 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16425         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16426         Unconditionally set __fpcr to avoid uninialized warning.
16427         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16429 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16431         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16432         is corrupt.
16434         * malloc/arena.c (arena_get2): Drop unused argument.
16435         (arena_lock): Adjust.
16436         (arena_get_retry): Likewise.
16438 2015-08-24  Andreas Schwab  <schwab@suse.de>
16440         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16441         Don't define.
16442         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16443         (__ASSUME_IPC64): Don't undef.
16444         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16445         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16446         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16447         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16448         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16449         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16450         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16451         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16452         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16453         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16454         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16455         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16456         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16457         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16458         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16459         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16460         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16461         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16462         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16463         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16464         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16466 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16468         * manual/Makefile (install): Only build manual when perl is available.
16470 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16472         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16473         '#undef memcpy' by '#undef memchr'.
16475 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16477         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16478         memchr not point to the internal __GI_memchr implementation.
16480 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16482         * timezone/Makefile (CFLAGS-zdump.c): Remove
16483         -Wno-strict-prototypes.
16484         (CFLAGS-zic.c): Likewise.
16485         (CFLAGS-ialloc.c): Likewise.
16486         (CFLAGS-scheck.c): Likewise.
16488         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16489         -Wno-error=undef.
16491 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16493         * i386/i686/multiarch/strcasestr-c.c: Removed.
16494         * x86_64/multiarch/strcasestr.c: Likewise.
16495         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16496         Remove strcasestr.
16498 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16500         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16502         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16503         variables for high and low parts before possibly modifying them.
16505 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16507         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16508         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16509         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16510         of "multiarch/init-arch.h".
16511         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16512         * sysdeps/x86/init-arch.h: This.
16514 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16516         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16517         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16519 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16521         [BZ #17787]
16522         * manual/macros.texi: Add twoexp macro.
16523         * manual/filesys.texi: Fix exponents.
16524         * manual/llio.texi: Likewise.
16525         * manual/stdio.texi: Likewise.
16527 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16529         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16530         incorrect use.
16532 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16534         [BZ #18370]
16535         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16536         whose real or imaginary part has small absolute value.
16537         * math/s_csqrtf.c (__csqrtf): Likewise.
16538         * math/s_csqrtl.c (__csqrtl): Likewise.
16539         * math/auto-libm-test-in: Add more tests of csqrt.
16540         * math/auto-libm-test-out: Regenerated.
16541         * sysdeps/i386/fpu/libm-test-ulps: Update.
16543 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16545         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16546         __ppc_set_ppr_very_low): New functions.
16547         * manual/platform.texi: Add documentation about
16548         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16550 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16552         * string/stpncpy.c (stpncpy): Improve performance using
16553         __strnlen/memcpy/memset.
16555 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16557         [BZ #18796]
16558         * scripts/test-installation.pl: Don't add -lmvec to build options if
16559         libmvec wasn't built.
16561 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16563         [BZ #14341]
16564         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16565         case when there is a gap between DT_REL and DT_JMPREL sections.
16566         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16567         (LDFLAGS-tst-split-dynreloc): New.
16568         (tst-split-dynreloc-ENV): Likewise.
16569         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16570         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16572 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16574         [BZ #18822]
16575         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16576         attribute_hidden.
16577         (__xstat64_conv): Likewise.
16578         (__xstat32_conv): Likewise.
16580 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16582         [BZ #18822]
16583         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16584         Don't load %ebx when calling __setcontext.  Call __setcontext
16585         with HIDDEN_JUMPTARGET.
16586         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16587         libc_hidden_def.
16589 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16591         * sysdeps/i386/i686/Makefile
16592         [$(subdir) == string] (sysdep_routines): Moved to ...
16593         * sysdeps/i386/Makefile: Here.
16594         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16595         * sysdeps/i386/cacheinfo.c: Here.
16596         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16597         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16598         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16599         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16601 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16603         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16604         __i586__ is defined.
16605         (HAS_I686): Defined to 1 if __i686__ is defined.
16607 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16609         * elf/Makefile [$(have-z-execstack) = yes]
16610         (CPPFLAGS-tst-execstack.c): New variable.
16612         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16613         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16614         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16615         UTMPX || _HAVE_UT_TV].
16616         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16617         UTMPX || _HAVE_UT_TV - 0].
16619 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16621         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16622         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16623         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16625 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16627         * sysdeps/powerpc/dl-procinfo.c:
16628         (_dl_powerpc_cap_flags): Added missing strings for some
16629         hwcap features.
16630         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16632 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16634         Port the 0x7efe...feff pattern to GCC 6.
16635         See Steve Ellcey's bug report in:
16636         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16637         * string/memrchr.c (MEMRCHR):
16638         * string/rawmemchr.c (RAWMEMCHR):
16639         * string/strchr.c (strchr):
16640         * string/strchrnul.c (STRCHRNUL):
16641         Rewrite code to avoid issues with signed shift overflow.
16643 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16645         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16646         whether cpuid is available only if HAS_CPUID is 0.
16647         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16648         (HAS_I586): Likewise.
16649         (HAS_I686): Likewise.
16651 2015-08-18  Zack Weinberg  <zackw@panix.com>
16653         * misc/Versions (libc): Add GLIBC_2.23.
16655 2015-08-18  Alan Modra  <amodra@gmail.com>
16657         [BZ #18421]
16658         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16659         .Lp__global.
16660         (_start): Load %dp via .Lp__global.
16661         [!SHARED]: Use .section .rodata.
16663 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16665         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16666         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16668 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16670         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16671         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16673 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16675         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16676         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16678 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16680         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16681         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16683 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16685         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16686         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16688 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16690         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16691         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16693 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16695         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16697 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16699         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16700         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16701         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16702         (__ASSUME_LWS_CAS): Delete.
16704 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16706         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16707         * sysdeps/hppa/configure: Regenerated.
16708         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16709         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16710         * sysdeps/hppa/nptl/tls.h: Likewise.
16712 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16714         [BZ #18823]
16715         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16716         for scaling up small arguments.
16717         * math/s_csqrtf.c (__csqrtf): Likewise.
16718         * math/s_csqrtl.c (__csqrtl): Likewise.
16719         * math/auto-libm-test-in: Add more tests of csqrt.
16720         * math/auto-libm-test-out: Regenerated.
16722 2015-08-17  Andreas Schwab  <schwab@suse.de>
16724         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16725         version set GLIBC_2.19.
16727 2015-08-16  Zack Weinberg  <zackw@panix.com>
16729         [BZ #18681]
16730         * misc/regexp.h: This interface is no longer supported.
16731         Remove all contents, leaving only an #error directive.
16732         * misc/regexp.c (loc1, loc2, locs, step, advance):
16733         Demote to compatibility symbols.
16735 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16737         [BZ #18084]
16738         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16739         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16740         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16741         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16742         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16743         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16744         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16745         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16746         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16748 2015-08-15  Zack Weinberg  <zackw@panix.com>
16750         [BZ #18795]
16751         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16752         buffer length is known to be too large, not if it's known to be
16753         small enough.
16754         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16755         overflow at runtime, involving a length parameter, twice: once
16756         with a compile-time constant length parameter, once without.
16758 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16760         [BZ #18824]
16761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16762         scaling x * y up instead of down.
16763         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16764         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16765         * math/auto-libm-test-in: Add more tests of fma.
16766         * math/auto-libm-test-out: Regenerated.
16768 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16770         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16772 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16774         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16775         unnecessary movq.
16776         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16777         Likewise.
16779 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16781         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16782         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16783         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16784         and tgamma.
16785         * math/auto-libm-test-out: Regenerated.
16786         * sysdeps/i386/fpu/libm-test-ulps: Update.
16787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16789         [BZ #16520]
16790         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16791         (__tanh): Force underflow exception for arguments with small
16792         absolute value.
16793         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16794         (__tanhf): Force underflow exception for arguments with small
16795         absolute value.
16796         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16797         (__tanhl): Force underflow exception for arguments with small
16798         absolute value.
16799         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16800         (__tanhl): Force underflow exception for arguments with small
16801         absolute value.
16802         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16803         (__tanhl): Force underflow exception for arguments with small
16804         absolute value.
16805         * math/auto-libm-test-in: Add more tests of tanh.
16806         * math/auto-libm-test-out: Regenerated.
16807         * sysdeps/i386/fpu/libm-test-ulps: Update.
16809 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16811         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16812         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16814 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16816         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16817         <cpuid.h>.
16819 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16821         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16822         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16824 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16826         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16827         Remove $(objpfx)init-arch.o.
16828         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16829         init-arch.
16830         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16831         (INIT_ARCH_EXT): Defined as empty.
16832         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16833         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16834         __init_cpu_features call.  Replace HAS_XXX with
16835         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16836         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16837         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16838         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16839         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16840         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16841         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16842         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16843         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16844         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16845         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16846         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16847         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16848         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16849         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16850         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16851         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16852         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16853         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16854         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16855         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16856         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16857         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16858         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16859         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16860         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16861         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16862         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16863         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16864         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16865         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16866         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16867         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16868         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16869         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16870         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16872 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16874         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16875         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16876         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16877         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16878         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16879         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16880         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16881         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16882         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16883         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16884         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16885         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16886         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16887         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16888         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16889         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16890         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16891         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16892         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16893         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16894         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16895         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16896         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16897         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16898         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16899         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16900         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16901         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16902         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16903         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16904         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16905         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16906         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16907         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16908         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16909         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16910         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16911         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16912         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16913         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16914         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16915         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16916         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16918 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16920         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16921         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16922         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16923         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16924         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16925         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16926         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16927         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16928         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16929         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16930         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16931         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16932         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16933         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16934         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16935         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16936         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16937         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16938         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16939         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16940         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16941         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16942         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16943         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16944         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16945         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16946         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16947         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16948         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16949         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16950         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16951         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16952         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16953         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16954         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16955         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16956         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16957         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16958         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16959         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16960         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16961         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16962         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16964 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16966         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16967         (dl_platform_init): Call init_cpu_features.
16968         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16969         * sysdeps/i386/i686/cacheinfo.c
16970         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16971         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16972         * sysdeps/i386/i686/multiarch/Versions: Removed.
16973         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16974         Removed.
16975         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16976         * sysdeps/unix/sysv/linux/x86/Makefile
16977         (libpthread-sysdep_routines): Remove init-arch.
16978         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16979         <sysdeps/x86_64/dl-procinfo.c> instead of
16980         sysdeps/generic/dl-procinfo.c>.
16981         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16982         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16983         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16984         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16985         [$(subdir) == elf] (tests-static): Add
16986         tst-get-cpu-features-static.
16987         * sysdeps/x86/Versions: New file.
16988         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16989         * sysdeps/x86/cpu-features.c: Likewise.
16990         * sysdeps/x86/cpu-features.h: Likewise.
16991         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16992         * sysdeps/x86/libc-start.c: Likewise.
16993         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16994         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16995         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16996         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16997         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16998         Assume USE_MULTIARCH is defined and don't check it.
16999         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17000         (is_amd): Likewise.
17001         (max_cpuid): Likewise.
17002         (intel_check_word): Likewise.
17003         (__cache_sysconf): Don't call __init_cpu_features.
17004         (__x86_preferred_memory_instruction): Removed.
17005         (init_cacheinfo): Don't call __init_cpu_features. Replace
17006         __cpu_features with GLRO(dl_x86_cpu_features).
17007         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17008         (dl_platform_init): Call init_cpu_features.
17009         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17010         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17011         * sysdeps/x86_64/multiarch/Versions: Removed.
17012         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17013         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17014         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17015         Removed.
17016         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17018 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17020         [BZ #18820]
17021         * libio/Makefile (test-fmemopen-mem): New test.
17022         * libio/test-fmemopen.c (do_bz18820): New test.
17023         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17024         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17026 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17028         [BZ #16734]
17029         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17030         (FREE_BUF): Delete.
17031         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17032         * libio/genops.c (_IO_setb): Use malloc and free directly.
17033         (_IO_default_doallocate, _IO_default_finish): Likewise.
17034         ( _IO_unbuffer_all): Likewise.
17035         ( libc_freeres_fn): Likewise.
17036         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17037         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17038         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17039         (_IO_wdefault_doallocate): Likewise.
17041 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17043         [BZ #18086]
17044         * sysdeps/posix/nice.c (nice): Restore old errno.
17045         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17047 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17049         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17051 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17053         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17054         __bcopy and add a weak_alias to bcopy.
17055         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17056         for static build.
17058         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17059         cleanup macro usage.
17060         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17061         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17062         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17063         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17064         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17065         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17066         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17067         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17068         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17069         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17070         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17071         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17072         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17073         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17074         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17075         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17076         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17077         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17078         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17080         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17081         libc_hidden_def.
17082         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17084         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17085         (sysdep_routines): Add strstr-ppc64.
17086         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17088 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17090         [BZ #18778]
17091         * elf/Makefile (tests): Add Add tst-nodelete2.
17092         (modules-names): Add tst-nodelete2mod.
17093         (tst-nodelete2mod.so-no-z-defs): New.
17094         ($(objpfx)tst-nodelete2): Likewise.
17095         ($(objpfx)tst-nodelete2.out): Likewise.
17096         (LDFLAGS-tst-nodelete2): Likewise.
17097         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17098         out of loop through all loaded libraries.
17099         * elf/tst-nodelete2.c: New file.
17100         * elf/tst-nodelete2mod.c: Likewise.
17101         * elf/tst-znodelete-zlib.cc: Delete.
17103 2015-08-11  Andreas Schwab  <schwab@suse.de>
17105         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17106         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17107         (__openat64_nocancel): Likewise.
17109 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17111         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17112         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17113         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17114         * math/auto-libm-test-out: Regenerated.
17115         * sysdeps/i386/fpu/libm-test-ulps: Update.
17116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17118 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17120         [BZ #18790]
17121         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17122         threshold for returning +/- 1.
17123         * math/auto-libm-test-in: Add more tests of tanh.
17124         * math/auto-libm-test-out: Regenerated.
17125         * sysdeps/i386/fpu/libm-test-ulps: Update.
17127 2015-08-10  Andreas Schwab  <schwab@suse.de>
17129         [BZ #18781]
17130         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17131         MORE_OFLAGS to oflag.
17132         * io/test-lfs.c (do_test): Test openat64.
17134 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17136         [BZ #18789]
17137         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17138         smaller threshold for returning the argument.
17139         * math/auto-libm-test-in: Add more tests of sinh.
17140         * math/auto-libm-test-out: Regenerated.
17141         * sysdeps/i386/fpu/libm-test-ulps: Update.
17143 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17145         [BZ #18674]
17146         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17147         break.
17149 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17151         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17152         (generated): Don't add $(addprefix z.,$(tzfiles)).
17154 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17156         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17157         * scripts/sysd-rules.awk: Likewise.
17159 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17161         * iconvdata/tst-tables.sh: Change echo -n to printf.
17162         * nss/db-Makefile: Likewise.
17163         * posix/tst-getconf.sh: Likewise.
17164         * stdio-common/tst-unbputc.sh: Likewise.
17166 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17168         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17169         MADV_*_PAGES defines behind this feature check.
17171 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17173         [BZ #18480]
17174         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17175         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17176         Define.
17177         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17178         LOAD_REGS_5, LOAD_REGS_6): Update.
17179         (INTERNAL_SYSCALL): Update using new LOAD defines.
17180         (INTERNAL_SYSCALL_NCS): Likewise.
17181         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17183 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17185         [BZ #16734]
17186         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17188 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17190         [BZ #17905]
17191         * catgets/Makefile (tst-catgets-mem): New test.
17192         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17193         * catgets/open_catalog.c (__open_catalog): Likewise.
17194         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17196 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17198         [BZ #18787]
17199         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17200         clobber registers.
17201         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17202         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17203         Cast return to __typeof (oldval).
17205 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17207         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17208         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17209         and delete sys/syscall.h include.
17211 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17213         [BZ #16517]
17214         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17215         (tan): Force underflow exception for arguments with small absolute
17216         value.
17217         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17218         (__kernel_tanf): Force underflow exception for arguments with
17219         small absolute value.
17220         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17221         (__kernel_tanl): Force underflow exception for arguments with
17222         small absolute value.
17223         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17224         (__kernel_tanl): Force underflow exception for arguments with
17225         small absolute value.
17226         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17227         (__kernel_tanl): Force underflow exception for arguments with
17228         small absolute value.
17229         * math/auto-libm-test-in: Add more tests of tan.
17230         * math/auto-libm-test-out: Regenerated.
17232 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17234         Fix sysdeps/i386/fpu/s_scalbn.S build
17236         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17238 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17240         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17242 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17244         Fix gcrt0.o compilation
17246         When static-start-installed-name is different from
17247         start-installed-name, we must not use the shared objects.
17249         * csu/Makefile
17250         (extra-objs): Add gmon-start.o when building shared library and
17251         $(static-start-installed-name) is different from
17252         $(start-installed-name).
17253         $(objpfx)g$(static-start-installed-name): When building shared
17254         library and $(static-start-installed-name) is different from
17255         $(static-start-installed-name), revert to non-shared rule,
17256         i.e. using $(objpfx)% and gmon-start.o.
17258 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17260         [BZ #16519]
17261         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17262         (__ieee754_sinh): Force underflow exception for arguments with
17263         small absolute value.
17264         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17265         (__ieee754_sinhf): Force underflow exception for arguments with
17266         small absolute value.
17267         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17268         (__ieee754_sinhl): Force underflow exception for arguments with
17269         small absolute value.
17270         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17271         (__ieee754_sinhl): Force underflow exception for arguments with
17272         small absolute value.
17273         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17274         (__ieee754_sinhl): Force underflow exception for arguments with
17275         small absolute value.
17276         * math/auto-libm-test-in: Add more tests of sinh.
17277         * math/auto-libm-test-out: Regenerated.
17278         * sysdeps/i386/fpu/libm-test-ulps: Update.
17280 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17282         * libio/oldfileops.c: Include unistd.h.
17284 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17286         * stdlib/isomac.c: Include ctype.h.
17288 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17290         * dirent/tst-seekdir.c (main): Converted to ...
17291         (do_test): ... this.
17292         (TEST_FUNCTION): New macro.
17293         Include test-skeleton.c.
17294         * elf/tst-dlmodcount.c (main): Converted to ...
17295         (do_test): ... this.
17296         (TEST_FUNCTION): New macro.
17297         Include test-skeleton.c.
17298         * elf/tst-order-main.c (main): Converted to ...
17299         (do_test): ... this.
17300         (TEST_FUNCTION): New macro.
17301         Include test-skeleton.c.
17302         * elf/tst-pie2.c (main): Converted to ...
17303         (do_test): ... this.
17304         (TEST_FUNCTION): New macro.
17305         Include test-skeleton.c.
17306         * inet/tst-ether_aton.c (main): Converted to ...
17307         (do_test): ... this.
17308         (TEST_FUNCTION): New macro.
17309         Include test-skeleton.c.
17310         * misc/tst-mntent.c (main): Converted to ...
17311         (do_test): ... this.
17312         (TEST_FUNCTION): New macro.
17313         Include test-skeleton.c.
17314         * misc/tst-tsearch.c (main): Converted to ...
17315         (do_test): ... this.
17316         (TEST_FUNCTION): New macro.
17317         Include test-skeleton.c.
17318         * posix/tst-regexloc.c (main): Converted to ...
17319         (do_test): ... this.
17320         (TEST_FUNCTION): New macro.
17321         Include test-skeleton.c.
17322         * resolv/tst-aton.c (main): Converted to ...
17323         (do_test): ... this.
17324         (TEST_FUNCTION): New macro.
17325         Include test-skeleton.c.
17326         * stdio-common/test-fwrite.c (main): Converted to ...
17327         (do_test): ... this.
17328         (TEST_FUNCTION): New macro.
17329         Include test-skeleton.c.
17330         * stdio-common/tst-ferror.c (main): Converted to ...
17331         (do_test): ... this.
17332         (TEST_FUNCTION): New macro.
17333         Include test-skeleton.c.
17334         * stdio-common/tst-printf.c (main): Converted to ...
17335         (do_test): ... this.
17336         (TEST_FUNCTION): New macro.
17337         Include test-skeleton.c.
17338         * stdio-common/tst-printfsz.c (main): Converted to ...
17339         (do_test): ... this.
17340         (TEST_FUNCTION): New macro.
17341         Include test-skeleton.c.
17342         * stdlib/tst-strtod.c (main): Converted to ...
17343         (do_test): ... this.
17344         (TEST_FUNCTION): New macro.
17345         Include test-skeleton.c.
17346         * string/tst-strlen.c (main): Converted to ...
17347         (do_test): ... this.
17348         (TEST_FUNCTION): New macro.
17349         Include test-skeleton.c.
17350         * string/tst-svc.c (main): Converted to ...
17351         (do_test): ... this.
17352         (TEST_FUNCTION): New macro.
17353         Include test-skeleton.c.
17354         * time/tst-strptime.c (main): Converted to ...
17355         (do_test): ... this.
17356         (TEST_FUNCTION): New macro.
17357         Include test-skeleton.c.
17358         * timezone/tst-timezone.c (main): Converted to ...
17359         (do_test): ... this.
17360         (TEST_FUNCTION): New macro.
17361         Include test-skeleton.c.
17363 2015-08-05  Zack Weinberg  <zackw@panix.com>
17365         * misc/regexp.h: Update comments.
17367 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17369         [BZ #18635]
17370         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17371         before return label.
17373 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17375         [BZ #18661]
17376         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17377         when calling __errno_location.
17378         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17379         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17381 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17383         [BZ #18661]
17384         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17385         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17386         __gettimeofday.
17388 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17390         [BZ #18661]
17391         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17392         (__start_context): Don't use pop to restore %rdi so that stack
17393         is aligned to 16 bytes when calling __setcontext.
17395 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17397         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17398         only for libc.
17399         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17401 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17403         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17404         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17405         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17407 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17409         * string/memccpy.c (memccpy):
17410         Improve performance by using memchr/memcpy/__mempcpy.
17412 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17414         * string/strncpy.c (strncpy):
17415         Improve performance by using __strnlen/memcpy.
17417 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17419         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17420         Optimize to avoid an unnecessary FPCR read.
17422 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17424         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17425         Optimize to reduce FPCR/FPSR accesses.
17427 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17429         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17430         dead->data[category] != NULL.
17432 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17434         [BZ #18647]
17435         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17436         and |x| close to 1, use absolute value of x when computing log.
17437         * math/auto-libm-test-in: Add more tests of pow.
17438         * math/auto-libm-test-out: Regenerated.
17440 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17442         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17443         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17444         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17446 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17448         [BZ #18525]
17449         * locales/km_KH: Remove timezone definition.
17450         * locales/lo_LA: Likewise.
17451         * locales/my_MM: Likewise.
17452         * locales/nan_TW@latin: Likewise.
17453         * locales/th_TH: Likewise.
17454         * locales/uk_UA: Likewise.
17456 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17458         [BZ #18265]
17459         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17460         (wcsncat): Likewise.
17461         (wcscmp): Likewise.
17462         (wcsncmp): Likewise.
17464 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17466         * test-skeleton.c (usage): New function.
17467         (main): Call usage when opt is '?'.
17469 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17471         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17472         before first use.
17474 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17476         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17477         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17478         in there too.
17480 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17482         * version.h (RELEASE): Set to "development".
17483         (VERSION): Set to "2.22.90"
17485         * version.h (RELEASE): Set to "stable".
17486         (VERSION): Set to "2.22"
17487         * include/features.h (__GLIBC_MINOR__): Set to 22.
17489 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17491         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17492         Restructure macro to avoid "value computed is not used" warning.
17493         (atomic_compare_and_exchange_val_acq): Likewise.
17495 2015-08-04  Andreas Schwab  <schwab@suse.de>
17497         [BZ #18635]
17498         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17499         ret.
17500         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17502 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17504         * po/pl.po: Updated translation.
17505         * po/uk.po: Likewise.
17506         * po/fi.po: Likewise.
17507         * po/ko.po: Likewise.
17508         * po/ru.po: Likewise.
17509         * po/vi.po: Likewise.
17511 2015-07-31  Zack Weinberg  <zackw@panix.com>
17513         [BZ #18681]
17514         * regexp.h: Add unconditional #warning stating that this header
17515         will be removed soon.  Revise banner comment to match.
17516         (compile): Consistently use ERROR instead of RETURN to report
17517         errors (partial fix for bz#18681).
17518         * regexp.c: Don't include regexp.h. Remove some unnecessary
17519         declarations.
17521 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17523         * po/libc.pot: Regenerated.
17525 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17527         [BZ #18740]
17528         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17529         float-vlen4-arch-ext-cflags): Removed.
17530         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17531         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17533 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17535         [BZ #14113]
17536         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17537         aligned to __aligned__.
17538         (pthread_cond_t, pthread_rwlock_t): Likewise.
17540 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17542         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17544 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17546         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17547         (struct sigaction): Change sa_flags from a long to an int, and add
17548         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17550 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17552         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17553         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17554         sysdeps/generic/sysdep.h include.
17555         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17556         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17557         sysdeps/hppa/sysdep.h.
17558         (ENTRY, PSEUDO): Undefine before defining.
17560 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17562         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17563         from scratch to use INTERNAL_SYSCALL.
17565 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17567         [BZ #18078]
17568         * scripts/check-localplt.awk: Support alternate relocations.
17569         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17570         sections.
17571         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17572         malloc entries with + REL R_386_GLOB_DAT.
17573         * sysdeps/x86_64/localplt.data: New file.
17575 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17577         [BZ #18731]
17578         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17579         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17580         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17582 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17584         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17586 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17588         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17589         directly in terms of __sync_fetch_and_add and delete (int) cast.
17591 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17593         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17594         the -D_ASM_IA64_CURRENT_H flag.
17596 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17598         [BZ #18641]
17599         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17601 2015-07-27  Andreas Schwab  <schwab@suse.de>
17603         * conform/conformtest.pl (checknamespace): Filter out string
17604         literals while tokenizing.
17606 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17608         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17609         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17610         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17612 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17614         * nptl/tst-join7mod.c: Add #include <string.h>.
17616 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17618         * sysdeps/nios2/libm-test-ulps: Update.
17620 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17622         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17623         Fix order of arguments to the rt_sigprocmask syscall.
17624         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17625         Likewise.
17627 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17629         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17631 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17633         [BZ #18457]
17634         * nptl/Makefile (tests): New test case tst-join7.
17635         (modules-names): New test case module tst-join7mod.
17636         * nptl/tst-join7.c: New file.
17637         * nptl/tst-join7mod.c: New file.
17638         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17639         all translation units in libc.so, libpthread.so and rtld.
17641 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17645 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17647         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17648         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17649         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17650         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17651         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17652         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17653         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17654         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17655         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17656         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17657         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17658         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17659         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17660         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17661         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17662         implementation.
17664 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17666         [BZ #17711]
17667         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17668         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17669         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17670         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17671         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17672         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17674 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17676         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17677         instead of just saying load lock in the comments.
17679 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17681         * sysdeps/unix/Subdirs: Moved ...
17682         * sysdeps/posix/Subdirs: ... here.
17683         * login/pty.h (struct termios, struct winsize): Add forward decls.
17684         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17685         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17686         * sysdeps/arm/nacl/libc.abilist: Updated.
17687         * sysdeps/nacl/libutil.abilist: New file.
17689         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17690         (SIGWINCH): New macro.
17692         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17693         * sysdeps/arm/nacl/libc.abilist: Add it.
17695 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17697         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17699 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17701         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17702         Swap __glibc_reserved0 and sa_flags order.
17704 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17706         [BZ #18657]
17707         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17708         are pending TLS destructor calls.
17709         * include/link.h (struct link_map): Add concurrency note for
17710         L_TLS_DTOR_COUNT.
17711         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17712         Don't touch the link map flag.  Atomically increment
17713         l_tls_dtor_count.
17714         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17715         Avoid taking the load lock and don't touch the link map flag.
17716         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17717         * stdlib/Makefile (tests): Use it.
17718         * stdlib/tst-tls-atexit.c (do_test): dlopen
17719         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17720         to allow tst-tls-atexit-nodelete test case to use it.
17722 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17724         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17725         to bits/types.h.
17726         (msgqnum_t): New typedef.
17727         (msglen_t): Likewise.
17728         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17729         and msg_qbytes type to msglen_t.
17731 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17733         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17734         pad0 to __glibc_reserved0.
17735         (struct stat64): Likewise.
17737 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17739         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17740         Change sa_flags from a long to an int and add __glibc_reserved0 before
17741         it for padding.
17743 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17745         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17746         anonymous by deleting "siginfo" name.
17748 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17750         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17751         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17752         rather than __nacl_irt_filename.
17753         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17755         * NEWS: New item for arm-nacl port.
17756         * sysdeps/arm/nacl/libc.abilist: New file.
17757         * sysdeps/nacl/ld.abilist: New file.
17758         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17759         * sysdeps/nacl/libanl.abilist: New file.
17760         * sysdeps/nacl/libcrypt.abilist: New file.
17761         * sysdeps/nacl/libdl.abilist: New file.
17762         * sysdeps/nacl/libm.abilist: New file.
17763         * sysdeps/nacl/libpthread.abilist: New file.
17764         * sysdeps/nacl/libresolv.abilist: New file.
17765         * sysdeps/nacl/librt.abilist: New file.
17767 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17769         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17770         __startcontext to initialize the new context.
17771         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17772         up CFI directive to forbid further backtracing.
17774 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17776         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17777         reference.
17778         * charmaps/ANSI_X3.4-1968: Likewise.
17779         * charmaps/BS_4730: Likewise.
17780         * charmaps/BS_VIEWDATA: Likewise.
17781         * charmaps/CP1250: Likewise.
17782         * charmaps/CP1251: Likewise.
17783         * charmaps/CP1252: Likewise.
17784         * charmaps/CP1253: Likewise.
17785         * charmaps/CP1254: Likewise.
17786         * charmaps/CP1255: Likewise.
17787         * charmaps/CP1256: Likewise.
17788         * charmaps/CSN_369103: Likewise.
17789         * charmaps/EBCDIC-DK-NO: Likewise.
17790         * charmaps/GB_1988-80: Likewise.
17791         * charmaps/GREEK-CCITT: Likewise.
17792         * charmaps/GREEK7: Likewise.
17793         * charmaps/INIS-8: Likewise.
17794         * charmaps/ISIRI-3342: Likewise.
17795         * charmaps/ISO_2033-1983: Likewise.
17796         * charmaps/ISO_5427-EXT: Likewise.
17797         * locales/POSIX: Likewise.
17798         * locales/ar_SA: Likewise.
17799         * locales/be_BY: Likewise.
17800         * locales/be_BY@latin: Likewise.
17801         * locales/ca_ES: Likewise.
17802         * locales/cs_CZ: Likewise.
17803         * locales/da_DK: Likewise.
17804         * locales/de_BE: Likewise.
17805         * locales/de_CH: Likewise.
17806         * locales/de_LU: Likewise.
17807         * locales/en_AU: Likewise.
17808         * locales/en_BW: Likewise.
17809         * locales/en_CA: Likewise.
17810         * locales/en_DK: Likewise.
17811         * locales/en_GB: Likewise.
17812         * locales/en_IE: Likewise.
17813         * locales/en_NZ: Likewise.
17814         * locales/en_ZA: Likewise.
17815         * locales/en_ZW: Likewise.
17816         * locales/es_AR: Likewise.
17817         * locales/es_BO: Likewise.
17818         * locales/es_CL: Likewise.
17819         * locales/es_CO: Likewise.
17820         * locales/es_DO: Likewise.
17821         * locales/es_EC: Likewise.
17822         * locales/es_ES: Likewise.
17823         * locales/es_HN: Likewise.
17824         * locales/es_MX: Likewise.
17825         * locales/es_PA: Likewise.
17826         * locales/es_PE: Likewise.
17827         * locales/es_PY: Likewise.
17828         * locales/es_SV: Likewise.
17829         * locales/es_US: Likewise.
17830         * locales/es_UY: Likewise.
17831         * locales/es_VE: Likewise.
17832         * locales/et_EE: Likewise.
17833         * locales/fa_IR: Likewise.
17834         * locales/fo_FO: Likewise.
17835         * locales/fr_CA: Likewise.
17836         * locales/fr_CH: Likewise.
17837         * locales/gv_GB: Likewise.
17838         * locales/he_IL: Likewise.
17839         * locales/hr_HR: Likewise.
17840         * locales/id_ID: Likewise.
17841         * locales/is_IS: Likewise.
17842         * locales/it_CH: Likewise.
17843         * locales/iw_IL: Likewise.
17844         * locales/kl_GL: Likewise.
17845         * locales/ko_KR: Likewise.
17846         * locales/kw_GB: Likewise.
17847         * locales/lg_UG: Likewise.
17848         * locales/lt_LT: Likewise.
17849         * locales/lv_LV: Likewise.
17850         * locales/mi_NZ: Likewise.
17851         * locales/nhn_MX: Likewise.
17852         * locales/nl_BE: Likewise.
17853         * locales/pl_PL: Likewise.
17854         * locales/sk_SK: Likewise.
17855         * locales/sl_SI: Likewise.
17856         * locales/sv_FI: Likewise.
17857         * locales/tl_PH: Likewise.
17858         * locales/tr_TR: Likewise.
17859         * locales/vi_VN: Likewise.
17861 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17863         [BZ #17475]
17864         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17865         of tu_IN and bh_IN.
17867 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17869         [BZ #18694]
17870         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17871         bits/wordsize.h.
17872         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17874 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17876         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17877         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17878         (spawn_thread): New function.
17879         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17880         (do_test): ... here.  Use IS_LOADED to test for its
17881         availability.
17883 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17885         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17887 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17889         [BZ #18696]
17890         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17891         si_addr_bnd.
17892         (si_lower): New.
17893         (si_upper): Likewise.
17895 2015-07-16  David S. Miller  <davem@davemloft.net>
17897         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17899 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17901         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17902         buffer.
17903         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17904         fail output information.
17906 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17909         and strstr-ppc64..
17910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17911         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17912         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17913         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17914         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17916 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17918         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17919         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17920         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17921         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17923 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17925         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17926         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17927         rtld_hidden_proto.
17928         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17930 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17932         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17933         the test can fail.
17935         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17937         [BZ #18676]
17938         * elf/tst-nodelete-opened.c: New test case.
17939         * elf/tst-nodelete-opened-lib.c: New test case module.
17940         * elf/Makefile (tests, modules-names): Use them.
17941         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17942         early.
17944 2015-07-15  David S. Miller  <davem@davemloft.net>
17946         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17947         futex-intenal.h
17948         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17949         * sysdeps/sparc/sparc64/Makefile: Likewise.
17950         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17951         Remove space from macro define.
17952         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17954 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17956         [BZ #17475]
17957         * locale/iso-639.def: Update Bhili and Tulu language codes as
17958         per iso639-3.
17960 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17962         * elf/tst-leaks1.c (main): Converted to ...
17963         (do_test): ... this.
17964         (TEST_FUNCTION): New macro.
17965         Include test-skeleton.c.
17966         * localedata/tst-langinfo.c (main): Converted to ...
17967         (do_test): ... this.
17968         (TEST_FUNCTION): New macro.
17969         Include test-skeleton.c.
17970         * math/test-fpucw.c (main): Converted to ...
17971         (do_test): ... this.
17972         (TEST_FUNCTION): New macro.
17973         Include test-skeleton.c.
17974         * math/test-tgmath.c (main): Converted to ...
17975         (do_test): ... this.
17976         (TEST_FUNCTION): New macro.
17977         Include test-skeleton.c.
17978         * math/test-tgmath2.c (main): Converted to ...
17979         (do_test): ... this.
17980         (TEST_FUNCTION): New macro.
17981         Include test-skeleton.c.
17982         * setjmp/tst-setjmp.c (main): Converted to ...
17983         (do_test): ... this.
17984         (TEST_FUNCTION): New macro.
17985         Include test-skeleton.c.
17986         * stdio-common/tst-sscanf.c (main): Converted to ...
17987         (do_test): ... this.
17988         (TEST_FUNCTION): New macro.
17989         Include test-skeleton.c.
17990         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17991         (do_test): ... this.
17992         (TEST_FUNCTION): New macro.
17993         Include test-skeleton.c.
17995         * elf/tst-audit9.c (main): Converted to ...
17996         (do_test): ... this.
17997         (TEST_FUNCTION): New macro.
17998         Include test-skeleton.c.
18000 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18002         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18004 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18006         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18007         New variable.
18009 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18011         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18013 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18015         * sysdeps/generic/dl-fileid.h: New file.
18016         * sysdeps/posix/dl-fileid.h: New file.
18017         * sysdeps/nacl/dl-fileid.h: New file.
18018         * include/link.h: Include <dl-fileid.h>.
18019         (struct link_map): Replace l_dev and l_ino with l_file_id.
18020         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18021         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18022         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18024 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18026         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18028 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18030         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18031         Add iff $CXX is set.
18032         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18033         Likewise.
18034         (tst-nodelete-zmodiff): Likewise.
18035         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18037 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18039         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18041 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18043         * sysdeps/aarch64/fpu/math_private.h
18044         (define math_opt_barrier): Add AArch64 version.
18045         (math_force_eval): Likewise.
18047 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18049         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18051 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18053         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18054         %ld with %jd and cast to intmax_t.
18055         (do_test_length_zero): Likewise.
18057 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18059         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18061 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18063         * sysdeps/tile/libm-test-ulps: Regenerated.
18065         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18066         Comment out the whole function, not just its body.
18068 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18070         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18071         locks.
18073         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18075 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18077         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18078         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18080 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18082         * sysdeps/nptl/futex-internal.h: New file.
18083         * sysdeps/nacl/futex-internal.h: New file.
18084         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18085         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18086         error checking.
18087         (setxid_unmark_thread): Likewise.
18088         (__nptl_setxid): Likewise.
18089         (__wait_lookup_done): Likewise.
18090         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18091         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18092         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18093         * nptl/pthread_once.c (clear_once_control): Likewise.
18094         (__pthread_once_slow): Likewise.
18095         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18096         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18097         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18098         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18099         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18100         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18101         Likewise.
18102         (__pthread_rwlock_rdlock): Likewise.
18103         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18104         Likewise.
18105         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18106         Likewise.
18107         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18108         Likewise.
18109         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18110         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18111         Likewise.
18112         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18113         __ASSUME_PRIVATE_FUTEX check.
18114         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18115         Check that shared futexes are supported.
18116         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18117         wrappers with error checking.
18118         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18119         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18120         * nptl/pthread_barrierattr_setpshared.c
18121         (pthread_barrierattr_setpshared): Check that shared futexes are
18122         supported.
18123         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18124         Likewise.
18125         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18126         Likewise.
18127         * nptl/sem_init.c (futex_private_if_supported): Remove.
18128         (__new_sem_init): Adapt and check that shared futexes are supported.
18129         * nptl/sem_open.c (sem_open): Likewise.
18130         * nptl/sem_post.c (futex_wake): Remove.
18131         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18132         (do_futex_wait): Use futex wrappers with error checking.
18133         * nptl/sem_wait.c: Include lowlevellock.h.
18134         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18135         Use futex_supports_pshared.
18136         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18137         Use futex wrappers with error checking.
18138         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18139         Likewise.
18140         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18141         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18142         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18143         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18144         (futex_wake): Likewise.
18145         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18146         (do_futex_wait): Use futex wrappers with error checking.
18147         (__new_sem_wait_slow): Update EINTR handling.
18148         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18150 2015-07-09  Martin Sebor  <msebor@redhat.com>
18152         [BZ #18435]
18153         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18154         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18155         * nptl/Makefile (test-xfail-tst-once5): Define.
18157 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18159         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18160         * elf/dl-minimal.c: For readability, reorder some definitions and
18161         introduce more page breaks.  Include <stdio.h>.
18162         (__libc_fatal): New function.
18164         * include/unistd.h: Add rtld_hidden_proto for _exit.
18165         * posix/_exit.c: Add rtld_hidden_def.
18166         * sysdeps/mach/hurd/_exit.c: Likewise.
18167         * sysdeps/nacl/_exit.c: Likewise.
18168         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18169         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18171 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18173         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18174         bndmov encoding with zero displacement.
18176 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18177             H.J. Lu  <hongjiu.lu@intel.com>
18179         [BZ #18134]
18180         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18181         * sysdeps/i386/configure: Regenerated.
18182         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18183         (_dl_runtime_profile): Save and restore Intel MPX return bound
18184         registers when calling _dl_call_pltexit.  Add
18185         PRESERVE_BND_REGS_PREFIX before return.
18186         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18187         (LRV_BND1_OFFSET): Likewise.
18188         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18189         lrv_bnd1.
18190         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18191         typo in bndmov encoding.
18192         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18193         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18194         branch instructions to preserve bounds.
18196 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18199         [GLIBC_2.22]: Add fmemopen.
18201 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18203         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18204         returns an error, also try to use host port from __mach_host_self for
18205         the __vm_wire call.
18206         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18208 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18210         [BZ #18400]
18211         [BZ #18648]
18212         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18213         Fix pr_uid and pr_gid members.
18214         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18215         definition to elf_greg_t.
18217 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18219         [BZ #18383]
18220         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18221         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18222         * sysdeps/arm/configure: Regenerated.
18223         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18224         (test-xfail-tst-tlsalign-static): Variable removed.
18226         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18227         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18228         rather than explicit 'ln -s'.
18230         * resolv/rpc/netdb.h: New file.
18231         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18233 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18235         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18236         length buffers.
18237         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18238         test-skeleton.c.
18240         [BZ #6544]
18241         [BZ #11216]
18242         [BZ #12836]
18243         [BZ #13151]
18244         [BZ #13152]
18245         [BZ #14292]
18246         * include/stdio.h (fmemopen): Remove hidden prototype.
18247         (__fmemopen): Add new hidden prototype.
18248         * libio/Makefile: Add oldfmemopen object.
18249         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18250         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18251         compliance.
18252         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18253         symbol compatibility.
18254         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18255         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18256         fmemopen.
18257         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18258         on append and read mode.
18259         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18260         fmemopen.
18261         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18262         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18263         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18264         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18265         Likewise.
18266         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18267         [GLIBC_2.22]: Likewise.
18268         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18269         Likewise.
18270         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18271         Likewise.
18272         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18273         [GLIBC_2.22]: Likewise.
18274         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18275         [GLIBC_2.22]: Likewise.
18276         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18277         [GLIBC_2.22]: Likewise.
18278         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18279         [GLIBC_2.22]: Likewise.
18280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18281         [GLIBC_2.22]: Likewise.
18282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18283         [GLIBC_2.22]: Likewise.
18284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18285         [GLIBC_2.22]: Likewise.
18286         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18287         Likewise.
18288         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18289         Likewise.
18290         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18291         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18292         [GLIBC_2.22]: Likewise.
18293         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18294         [GLIBC_2.22]: Likewise.
18295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18296         [GLIBC_2.22]: Likewise.
18297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18298         [GLIBC_2.22]: Likewise.
18299         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18300         Likewise.
18301         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18302         Likewise.
18303         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18304         Likewise.
18305         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18306         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18308 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18310         [BZ #18643]
18311         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18312         IPV6_PATHMTU, and IPV6_DONTFRAG.
18314 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18316         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18317         and _IO_UNBUFFERED.
18318         * libio/oldfileops.c: Likewise.
18319         * libio/wfileops.c: Likewise.
18321 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18323         * nscd/selinux.c: Delete selinux/flask.h include.
18325 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18327         [BZ #18641]
18328         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18329         (putpwent): Likewise.
18330         (getpwnam): Likewise.
18331         (getpwent_r): Likewise.
18332         (getpwuid_r): Likewise.
18333         (getpwnam_r): Likewise.
18334         (fgetpwent_r): Likewise.
18336 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18338         [BZ #18557]
18339         * inet/rcmd.c (__validuser2_sa): Check user first to
18340         short-circuit host check.
18342 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18343             Mikhail Ilin  <m.ilin@samsung.com>
18345         [BZ #17833]
18346         * elf/Makefile (tests): Add tst-nodelete.
18347         (modules-names): Add tst-nodelete-uniquemod.
18348         (tst-nodelete-uniquemod.so-no-z-defs): New.
18349         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18350         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18351         ($(objpfx)tst-nodelete): Likewise.
18352         ($(objpfx)tst-nodelete.out): Likewise.
18353         (LDFLAGS-tst-nodelete): Likewise.
18354         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18355         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18356         implement forced object deletion.
18357         (_dl_close): Pass false to _dl_close_worker.
18358         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18359         * elf/tst-nodelete.cc: New file.
18360         * elf/tst-nodeletelib.cc: Likewise.
18361         * elf/tst-znodeletelib.cc: Likewise.
18362         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18364 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18366         [BZ #18508]
18367         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18368         Depend on $(libdl).
18369         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18370         is not called infinitely times.
18371         (backtrace_helper): New function.
18372         (trace_arg): New struct.
18373         (st1): Enlarge stack size.
18374         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18375         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18376         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18377         Likewise.
18379 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18381         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18383 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18385         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18386         Include sys/types.h instead of bits/types.h.
18387         Remove inclusion of bits/wordsize.h.
18389 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18391         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18392         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18393         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18394         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18395         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18396         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18398 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18400         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18401         link-defines.sym.
18402         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18403         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18404         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18405         and LR_SIZE.
18406         * sysdeps/i386/link-defines.sym: New file.
18408 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18410         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18411         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18412         ($(objpfx)tst-audit3): New rule.
18413         ($(objpfx)tst-audit3.out): Likewise.
18414         * sysdeps/i386/tst-audit3.c: New file.
18415         * sysdeps/i386/tst-audit3.h: Likewise.
18416         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18417         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18419 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18421         [BZ #18633]
18422         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18423         pointer in C code.
18424         (__strcat_c): Likewise.
18425         (__strcat_g): Likewise.
18427 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18429         [BZ #18592]
18430         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18432 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18434         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18435         New function.  (__ieee754_sqrtf): New function.
18436         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18437         New function.
18438         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18439         New function.
18441 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18443         * sysdeps/ieee754/support.c: Remove unused file.
18445 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18447         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18448         registers instead of d ones so the layout is kernel abi compatible.
18449         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18450         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18451         Likewise.
18453 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18455         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18457 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18459         [BZ #18619]
18460         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18461         and return argument in case of subnormal argument.
18463 2015-07-01  Martin Sebor  <msebor@redhat.com>
18465         [BZ #18435]
18466         * nptl/Makefile: Add tst-once5.cc.
18467         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18468         Remove macro redefinitions.
18469         * nptl/tst-once5.cc: New test.
18471 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18473         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18475         * sysdeps/arm/libm-test-ulps: Regenerated.
18477         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18478         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18480 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18482         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18483         lll_lock_wait_private and lll_futex_wake probes.
18485         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18486         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18487         Likewise.
18488         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18489         atomic_spin_nop.
18490         * sysdeps/x86_64/bits/atomic.h: Likewise.
18491         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18492         to atomic_spin_nop and move ...
18493         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18494         ... here and ...
18495         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18496         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18497         atomic_spin_nop instead of BUSY_WAIT_NOP.
18498         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18499         Likewise.
18500         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18501         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18502         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18503         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18504         instead of atomic_delay.
18506 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18508         [BZ #18613]
18509         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18510         X_ADJ not X when adjusting exponent.
18511         (__ieee754_gamma_r): Do intermediate computations in
18512         round-to-nearest then adjust overflowing and underflowing results
18513         as needed.
18514         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18515         of X_ADJ not X when adjusting exponent.
18516         (__ieee754_gammaf_r): Do intermediate computations in
18517         round-to-nearest then adjust overflowing and underflowing results
18518         as needed.
18519         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18520         log of X_ADJ not X when adjusting exponent.
18521         (__ieee754_gammal_r): Do intermediate computations in
18522         round-to-nearest then adjust overflowing and underflowing results
18523         as needed.  Use 1.0L not 1.0f as numerator of division.
18524         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18525         log of X_ADJ not X when adjusting exponent.
18526         (__ieee754_gammal_r): Do intermediate computations in
18527         round-to-nearest then adjust overflowing and underflowing results
18528         as needed.  Use 1.0L not 1.0f as numerator of division.
18529         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18530         of X_ADJ not X when adjusting exponent.
18531         (__ieee754_gammal_r): Do intermediate computations in
18532         round-to-nearest then adjust overflowing and underflowing results
18533         as needed.  Use 1.0L not 1.0f as numerator of division.
18534         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18535         to auto-libm-test-in.
18536         (tgamma_test): Use ALL_RM_TEST.
18537         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18538         tests of tgamma with spurious-overflow.
18539         * math/auto-libm-test-out: Regenerated.
18540         * math/gen-libm-have-vector-test.sh: Do not check for START.
18541         * sysdeps/i386/fpu/libm-test-ulps: Update.
18542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18544         [BZ #18612]
18545         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18546         arguments, just return 0.5 times the argument, with underflow
18547         forced as needed.
18548         * math/auto-libm-test-in: Add more tests of j1.
18549         * math/auto-libm-test-out: Regenerated.
18551         [BZ #16559]
18552         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18553         (__ieee754_j1): Force underflow exception for small results.
18554         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18555         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18556         (__ieee754_j1f): Force underflow exception for small results.
18557         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18558         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18559         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18560         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18561         (__ieee754_j1l): Force underflow exception for small results.
18562         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18563         * math/auto-libm-test-in: Add more tests of j1 and jn.
18564         * math/auto-libm-test-out: Regenerated.
18566         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18567         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18568         (PF_MPLS): Likewise.
18569         (AF_IB): Likewise.
18570         (AF_MPLS): Likewise.
18571         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18572         value and macro.
18573         (MS_RMT_MASK): Include MS_LAZYTIME.
18575 2015-06-26  Mel Gorman  <mgorman@suse.de>
18577         [BZ #18502]
18578         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18579         already minimal.
18581 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18583         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18584         (DT_MIPS_NUM): Update.
18585         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18586         DT_MIPS_RLD_MAP_REL.
18588 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18590         [BZ #16559]
18591         [BZ #18602]
18592         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18593         round-to-nearest internally then recompute results that
18594         underflowed to zero in the original rounding mode.
18595         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18596         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18597         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18598         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18599         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18600         * sysdeps/i386/fpu/libm-test-ulps: Update.
18601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18603 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18605         * NEWS: Fixed description of link with vector math library.
18607 2015-06-25  Andreas Schwab  <schwab@suse.de>
18609         [BZ #18549]
18610         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18611         * libio/test-fmemopen.c (do_test): Add test for it.
18613 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18615         [BZ #17841]
18616         * Makeconfig (no-pie-ldflag): New.
18617         (+link): Set to $(+link-pie) if default to PIE.
18618         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18619         * config.make.in (build-pie-default): New.
18620         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18621         is default.  AC_SUBST.
18622         * configure: Regenerated.
18623         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18625 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18627         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18628         to 'unsigned int'.
18630         * resolv/gai_misc.h (struct waitlist): Change type of field
18631         counterp to 'volatile unsigned int *'.
18632         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18633         FUTEXADDR and OLDVAL.
18634         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18635         Give local variable TOTAL type 'volatile unsigned int'.
18636         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18637         * resolv/gai_suspend.c (gai_suspend):
18638         Give local variable CNTR type 'unsigned int'.
18640         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18641         counterp to 'volatile unsigned int *'.
18642         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18643         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18644         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18645         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18646         Give local variable TOTAL type 'volatile unsigned int'.
18647         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18649 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18651         [BZ #18383]
18652         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18653         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18654         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18655         comment for i386/x86-64.
18656         (test-xfail-tst-tlsalign-extern-static): Removed.
18658 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18660         * math/test-double.h: New file.
18661         * math/test-float.h: Likewise.
18662         * math/test-ldouble.h: Likewise.
18663         * math/test-math-inline.h: Likewise.
18664         * math/test-math-no-inline.h: Likewise.
18665         * math/test-math-scalar.h: Likewise.
18666         * math/test-math-vector.h: Likewise.
18667         * math/test-vec-loop.h: Remove file.  Contents moved into
18668         test-math-vector.h.
18669         * math/libm-test.inc (MATHCONST): Do not document macro.
18670         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18671         and test-math-scalar.h.
18672         (FUNC): Remove macro.
18673         (FUNC_TEST): Likewise.
18674         (FLOAT): Likewise.
18675         (MATHCONST): Likewise.
18676         (PRINTF_EXPR): Likewise.
18677         (PRINTF_XEXPR): Likewise.
18678         (PRINTF_NEXPR): Likewise.
18679         (TEST_DOUBLE): Likewise.
18680         (TEST_MATHVEC): Likewise.
18681         (__NO_MATH_INLINES): Likewise.
18682         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18683         and test-math-scalar.h.
18684         (FUNC): Remove macro.
18685         (FUNC_TEST): Likewise.
18686         (FLOAT): Likewise.
18687         (MATHCONST): Likewise.
18688         (PRINTF_EXPR): Likewise.
18689         (PRINTF_XEXPR): Likewise.
18690         (PRINTF_NEXPR): Likewise.
18691         (TEST_FLOAT): Likewise.
18692         (TEST_MATHVEC): Likewise.
18693         (__NO_MATH_INLINES): Likewise.
18694         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18695         and test-math-scalar.h.
18696         (FUNC): Remove macro.
18697         (FUNC_TEST): Likewise.
18698         (FLOAT): Likewise.
18699         (MATHCONST): Likewise.
18700         (PRINTF_EXPR): Likewise.
18701         (PRINTF_XEXPR): Likewise.
18702         (PRINTF_NEXPR): Likewise.
18703         (TEST_DOUBLE): Likewise.
18704         (TEST_MATHVEC): Likewise.
18705         (TEST_INLINE): Likewise.
18706         (__NO_MATH_INLINES): Likewise.
18707         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18708         test-math-scalar.h.
18709         (FUNC): Remove macro.
18710         (FUNC_TEST): Likewise.
18711         (FLOAT): Likewise.
18712         (MATHCONST): Likewise.
18713         (PRINTF_EXPR): Likewise.
18714         (PRINTF_XEXPR): Likewise.
18715         (PRINTF_NEXPR): Likewise.
18716         (TEST_FLOAT): Likewise.
18717         (TEST_MATHVEC): Likewise.
18718         (TEST_INLINE): Likewise.
18719         (__NO_MATH_INLINES): Likewise.
18720         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18721         and test-math-scalar.h.
18722         (FUNC): Remove macro.
18723         (FUNC_TEST): Likewise.
18724         (FLOAT): Likewise.
18725         (MATHCONST): Likewise.
18726         (PRINTF_EXPR): Likewise.
18727         (PRINTF_XEXPR): Likewise.
18728         (PRINTF_NEXPR): Likewise.
18729         (TEST_LDOUBLE): Likewise.
18730         (TEST_MATHVEC): Likewise.
18731         (TEST_INLINE): Likewise.
18732         (__NO_MATH_INLINES): Likewise.
18733         * math/test-ldouble.c: Include test-ldouble.h,
18734         test-math-no-inline.h and test-math-scalar.h.
18735         (FUNC): Remove macro.
18736         (FUNC_TEST): Likewise.
18737         (FLOAT): Likewise.
18738         (MATHCONST): Likewise.
18739         (PRINTF_EXPR): Likewise.
18740         (PRINTF_XEXPR): Likewise.
18741         (PRINTF_NEXPR): Likewise.
18742         (TEST_LDOUBLE): Likewise.
18743         (TEST_MATHVEC): Likewise.
18744         (__NO_MATH_INLINES): Likewise.
18745         * math/test-double-vlen2.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-vlen4.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-double-vlen8.h: Include test-double.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_DOUBLE): 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-vlen4.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-vlen8.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         * math/test-float-vlen16.h: Include test-float.h,
18851         test-math-no-inline.h and test-math-vector.h.
18852         (FLOAT): Remove macro.
18853         (FUNC): Likewise.
18854         (MATHCONST): Likewise.
18855         (PRINTF_EXPR): Likewise.
18856         (PRINTF_XEXPR): Likewise.
18857         (PRINTF_NEXPR): Likewise.
18858         (TEST_FLOAT): Likewise.
18859         (TEST_MATHVEC): Likewise.
18860         (__NO_MATH_INLINES): Likewise.
18861         (CNCT): Likewise.
18862         (CONCAT): Likewise.
18863         (WRAPPER_NAME): Likewise.
18864         (WRAPPER_DECL): Likewise.
18865         (WRAPPER_DECL_ff): Likewise.
18866         (WRAPPER_DECL_fFF): Likewise.
18867         (VECTOR_WRAPPER): Likewise.
18868         (VECTOR_WRAPPER_ff): Likewise.
18869         (VECTOR_WRAPPER_fFF): Likewise.
18870         (VEC_LEN): New macro.
18871         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18872         test-vec-loop.h.
18873         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18874         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18875         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18876         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18877         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18878         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18879         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18881 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18883         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18884         (__getlogin_r): ... this.
18886 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18888         [BZ #18594]
18889         * math/s_ccosh.c (__ccosh): Compare with least normal value
18890         instead of comparing class with FP_SUBNORMAL.
18891         * math/s_ccoshf.c (__ccoshf): Likewise.
18892         * math/s_ccoshl.c (__ccoshl): Likewise.
18893         * math/s_cexp.c (__cexp): Likewise.
18894         * math/s_cexpf.c (__cexpf): Likewise.
18895         * math/s_cexpl.c (__cexpl): Likewise.
18896         * math/s_csin.c (__csin): Likewise.
18897         * math/s_csinf.c (__csinf): Likewise.
18898         * math/s_csinh.c (__csinh): Likewise.
18899         * math/s_csinhf.c (__csinhf): Likewise.
18900         * math/s_csinhl.c (__csinhl): Likewise.
18901         * math/s_csinl.c (__csinl): Likewise.
18902         * math/s_ctan.c (__ctan): Likewise.
18903         * math/s_ctanf.c (__ctanf): Likewise.
18904         * math/s_ctanh.c (__ctanh): Likewise.
18905         * math/s_ctanhf.c (__ctanhf): Likewise.
18906         * math/s_ctanhl.c (__ctanhl): Likewise.
18907         * math/s_ctanl.c (__ctanl): Likewise.
18908         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18909         csin, csinh, ctan and ctanh.
18910         * math/auto-libm-test-out: Regenerated.
18911         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18912         * sysdeps/i386/fpu/libm-test-ulps: Update.
18913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18915 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18917         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18918         return value is wrong, print the expected value too.
18920 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18922         [BZ #18585]
18923         * elf/readlib.c (is_gdb_python_file): New.
18924         (process_file): Don't issue errors on filenames with -gdb.py
18925         suffix.
18927 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18929         * math/auto-libm-test-in: Add more tests of csin and csinh.
18930         * math/auto-libm-test-out: Regenerated.
18931         * math/libm-test.inc (csin_test_data): Remove tests moved to
18932         auto-libm-test-in.
18933         (csinh_test_data): Likewise.
18935         [BZ #18593]
18936         * math/s_csin.c (__csin): Negate before rather than after possibly
18937         overflowing multiplication.
18938         * math/s_csinf.c (__csinf): Likewise.
18939         * math/s_csinh.c (__csinh): Likewise.
18940         * math/s_csinhf.c (__csinhf): Likewise.
18941         * math/s_csinhl.c (__csinhl): Likewise.
18942         * math/s_csinl.c (__csinl): Likewise.
18943         * math/auto-libm-test-in: Add some tests of csin and csinh.
18944         * math/auto-libm-test-out: Regenerated.
18945         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18946         (csinh_test_data): Likewise.
18947         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18949         [BZ #18586]
18950         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18951         underflow exception for small results.
18953 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18955         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18956         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18957         variable and included header.
18958         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18959         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18960         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18961         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18962         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18963         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18964         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18965         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18966         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18967         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18968         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18969         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18970         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18971         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18972         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18973         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18975 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18977         [BZ #16526]
18978         [BZ #16538]
18979         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18980         (__sin): Force underflow exception for arguments with small
18981         absolute value.
18982         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18983         (__kernel_sinf): Force underflow exception for arguments with
18984         small absolute value.
18985         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18986         (__kernel_sincosl): Force underflow exception for arguments with
18987         small absolute value.
18988         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18989         (__kernel_sinl): Force underflow exception for arguments with
18990         small absolute value.
18991         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18992         (__kernel_sincosl): Force underflow exception for arguments with
18993         small absolute value.
18994         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18995         (__kernel_sinl): Force underflow exception for arguments with
18996         small absolute value.
18997         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18998         (__kernel_sinl): Force underflow exception for arguments with
18999         small absolute value.
19000         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19001         (__kernel_sinf): Force underflow exception for arguments with
19002         small absolute value.
19003         * math/auto-libm-test-in: Add more tests of sin and sincos.
19004         * math/auto-libm-test-out: Regenerated.
19006         [BZ #18245]
19007         [BZ #18583]
19008         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19009         (__kernel_standard_l): Use feholdexcept and fesetenv around
19010         conversion to double instead of special-casing overflow and
19011         underflow.
19012         * math/libm-test.inc (fmod_test_data): Add more tests.
19013         (remainder_test_data): Likewise.
19014         (sqrt_test_data): Likewise.
19016 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19018         [BZ #17403]
19019         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19020         atomic_read_barrier, atomic_write_barrier): Define.
19021         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19022         atomic_read_barrier, atomic_write_barrier): Define.
19024 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19026         * math/Makefile [$(PERL) != no]
19027         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19028         dependency on libm-test.stmp below the inclusion of Rules.
19030 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19032         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19033         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19034         and included header.
19035         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19036         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19037         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19038         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19039         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19040         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19041         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19042         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19043         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19044         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19045         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19046         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19047         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19048         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19049         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19050         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19051         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19052         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19053         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19055 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19057         [BZ #18371]
19058         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19059         intermediate but not final result might underflow.
19060         * math/s_csqrtf.c (__csqrtf): Likewise.
19061         * math/s_csqrtl.c (__csqrtl): Likewise.
19062         * math/auto-libm-test-in: Add more tests of csqrt.
19063         * math/auto-libm-test-out: Regenerated.
19064         * sysdeps/i386/fpu/libm-test-ulps: Update.
19066         [BZ #18219]
19067         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19068         threshold on absolute value of exponent for which scaling is used.
19069         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19070         * math/auto-libm-test-in: Add more tests of exp2.
19071         * math/auto-libm-test-out: Regenerated.
19073 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19075         [BZ #17977]
19076         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19077         when initializing interface list, based on the bug analysis
19078         and the patch proposed by Eric Newton.
19079         * resolv/tst-res_hconf_reorder.c: New test.
19080         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19081         tst-res_hconf_reorder.
19082         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19083         and $(shared-thread-library).
19084         (tst-res_hconf_reorder-ENV): New variable.
19086         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19087         in comment.
19089 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19091         [BZ #16353]
19092         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19093         (__expm1): Force underflow exception for arguments with small
19094         absolute value.
19095         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19096         (__expm1f): Force underflow exception for arguments with small
19097         absolute value.
19098         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19099         (__expm1): Force underflow exception for arguments with small
19100         absolute value.
19101         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19102         (__expm1f): Force underflow exception for arguments with small
19103         absolute value.
19104         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19105         Check for small arguments before calling __expm1.
19106         * math/auto-libm-test-in: Do not mark underflow exceptions as
19107         possibly missing for bug 16353.
19108         * math/auto-libm-test-out: Regenerated.
19110 2015-06-22  Andreas Schwab  <schwab@suse.de>
19112         [BZ #18513]
19113         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19114         PTR queries.
19116 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19118         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19120         * string/strcoll_l.c: Remove unused struct element idxnow.
19122 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19124         [BZ #18569]
19125         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19126         underflow and return argument in case of subnormal argument.
19127         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19128         Likewise.
19129         * math/auto-libm-test-in: Add more tests of expm1.
19130         * math/auto-libm-test-out: Regenerated.
19132         [BZ #16361]
19133         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19134         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19135         tiny results.
19136         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19137         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19138         tiny results.
19139         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19140         mark underflow exceptions as possibly missing for bug 16361.
19141         * math/auto-libm-test-out: Regenerated.
19143 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19145         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19146         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19147         Remove variable.
19148         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19149         (test-xfail-XOPEN2K8/utmpx.h/conform).
19151         * conform/conformtest.pl ($xerrors): New variable.
19152         (note_error): New function.
19153         (compiletest): New argument $xfail.  Use not_error.
19154         (runtest): Likewise.
19155         (top level): Handle xfail- lines.  Update calls to compiletest and
19156         runtest.  Handle xfail- and optional- in headers listed with
19157         allow-header.
19158         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19159         (O_EXEC): Likewise.
19160         (O_SEARCH): Likewise.
19161         * conform/data/stropts.h-data (ioctl): Likewise.
19162         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19163         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19164         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19165         (msghdr.msg_controllen): Likewise.
19166         (cmsghdr.cmsg_len): Likewise.
19167         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19168         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19169         variable.
19170         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19171         (test-xfail-XPG4/stropts.h/conform): Likewise.
19172         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19173         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19174         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19175         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19176         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19177         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19178         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19179         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19180         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19181         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19182         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19183         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19184         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19185         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19186         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19187         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19188         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19189         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19190         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19192 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19194         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19195         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19196         definitions for proper unfolding of __MATHDECL_VEC.
19198 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19200         * benchtests/bench-strcoll.c:
19201         Include string.h.
19202         (main): Remove unused variable res.
19204 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19206         * timezone/Makefile (%/UTC %/Universal):
19207         Generate test-result files for UTC and Universal.
19209 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19211         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19213 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19215         [BZ #16350]
19216         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19217         for arguments with small absolute value.
19218         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19219         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19220         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19221         (__asinh): Force underflow exception for arguments with small
19222         absolute value.
19223         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19224         (__asinhf): Force underflow exception for arguments with small
19225         absolute value.
19226         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19227         (__asinhl): Force underflow exception for arguments with small
19228         absolute value.
19229         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19230         (__asinhl): Force underflow exception for arguments with small
19231         absolute value.
19232         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19233         (__asinhl): Force underflow exception for arguments with small
19234         absolute value.
19235         * math/auto-libm-test-in: Do not mark underflow exceptions as
19236         possibly missing for bug 16350.
19237         * math/auto-libm-test-out: Regenerated.
19239         * include/bits/ipc.h: Remove file.
19240         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19241         variable.
19242         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19243         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19244         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19245         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19246         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19247         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19248         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19249         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19250         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19252         * math/auto-libm-test-in: Remove spurious underflow allowance for
19253         tests of cexp.
19254         * math/auto-libm-test-out: Regenerated.
19256         [BZ #18558]
19257         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19258         unconditional definition.
19259         (MCAST_BLOCK_SOURCE): Likewise.
19260         (MCAST_UNBLOCK_SOURCE): Likewise.
19261         (MCAST_LEAVE_GROUP): Likewise.
19262         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19263         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19264         (MCAST_MSFILTER): Likewise.
19265         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19266         Remove variable.
19267         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19268         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19269         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19270         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19271         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19273 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19275         * NEWS: Mention addition of x86_64 vector sincosf.
19276         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19277         * math/test-float-vlen4.h: Likewise.
19278         * math/test-float-vlen8.h: Likewise.
19279         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19280         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19281         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19282         * sysdeps/x86_64/fpu/Versions: New versions added.
19283         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19284         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19285         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19286         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19287         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19288         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19289         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19290         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19291         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19292         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19293         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19294         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19295         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19296         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19297         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19298         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19299         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19300         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19301         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19302         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19303         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19304         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19305         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19306         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19308         * NEWS: Mention addition of x86_64 vector sincos.
19309         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19310         * math/math.h (__MATHDECL_VEC): New macro.
19311         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19312         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19313         declaration under condition.
19314         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19315         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19316         TEST_VEC_LOOP change.
19317         * math/test-double-vlen4.h: Likewise.
19318         * math/test-double-vlen8.h: Likewise.
19319         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19320         * math/test-float-vlen4.h: Likewise.
19321         * math/test-float-vlen8.h: Likewise.
19322         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19323         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19324         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19325         * sysdeps/x86_64/fpu/Versions: New versions added.
19326         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19327         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19328         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19329         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19330         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19331         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19332         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19333         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19334         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19335         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19336         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19337         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19338         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19339         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19340         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19341         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19342         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19343         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19344         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19345         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19346         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19347         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19348         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19349         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19351         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19352         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19353         redirections for powf.
19354         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19355         * sysdeps/x86_64/fpu/Versions: New versions added.
19356         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19357         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19358         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19359         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19360         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19361         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19362         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19363         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19364         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19365         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19366         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19367         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19368         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19369         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19370         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19371         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19372         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19373         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19374         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19375         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19376         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19377         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19378         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19379         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19380         * math/test-float-vlen16.h: Fixed 2 argument macro.
19381         * math/test-float-vlen4.h: Likewise.
19382         * math/test-float-vlen8.h: Likewise.
19383         * NEWS: Mention addition of x86_64 vector powf.
19385 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19387         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19388         and redefine.
19389         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19390         and redefine.
19391         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19392         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19393         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19395         [BZ #18553]
19396         * resource/getpriority.c (getpriority): Rename to __getpriority
19397         and define as weak alias of __getpriority.
19398         * resource/setpriority.c (setpriority): Rename to __setpriority
19399         and define as weak alias of __setpriority.
19400         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19401         __getpriority and define as weak alias of __getpriority.
19402         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19403         __setpriority and define as weak alias of __setpriority.
19404         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19405         strong name.
19406         (setpriority): Use __setpriority as strong name.
19407         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19408         __getpriority and define as weak alias of __getpriority.
19409         * include/sys/resource.h (__getpriority): Declare.  Use
19410         libc_hidden_proto.
19411         (__setpriority): Likewise.
19412         (getpriority): Don't use libc_hidden_proto.
19413         (setpriority): Likewise.
19414         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19415         getpriority.  Call __setpriority instead of setpriority.
19416         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19417         Remove variable.
19419         [BZ #18547]
19420         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19421         as weak alias of __getttynam.  Use prototype function definition.
19422         Call __setttyent, __getttyent and __endttyent instead of
19423         setttyent, getttyent and endttyent.
19424         (getttyent): Rename to __getttyent and define as weak alias of
19425         __getttyent.  Call __setttyent instead of setttyent.  Call
19426         __fgets_unlocked instead of fgets_unlocked.
19427         (setttyent): Rename to __setttyent and define as weak alias of
19428         __setttyent.
19429         (endttyent): Rename to __endttyent and define as weak alias of
19430         __endttyent.
19431         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19432         (__setttyent): Likewise.
19433         (__endttyent): Likewise.
19434         (getttyent): Don't use libc_hidden_proto.
19435         (setttyent): Likewise.
19436         (endttyent): Likewise.
19437         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19438         __endttyent instead of setttyent, getttyent and endttyent.
19439         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19440         Remove variable.
19442         [BZ #18546]
19443         * socket/recv.c (__recv): Use libc_hidden_def.
19444         * socket/socket.c (__socket): Likewise.
19445         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19446         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19447         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19448         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19449         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19450         libc_hidden_def.
19451         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19452         libc_hidden_weak.
19453         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19454         Use libc_hidden_proto.
19455         (__recv): Likewise.
19456         * socket/Versions (libc): Export __recv and __socket at version
19457         GLIBC_PRIVATE.
19458         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19459         instead of recv.
19460         (init_mq_netlink): Call __socket instead of socket.
19461         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19462         Remove variable.
19464         [BZ #18545]
19465         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19466         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19467         hidden_weak.
19468         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19469         define as alias of __mq_timedsend.  Use hidden_weak.
19470         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19471         __mq_timedsend as strong name.
19472         (mq_timedreceive): Use __mq_timedreceive as strong name.
19473         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19474         (__mq_timedreceive): Likewise.
19475         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19476         __mq_timedreceive instead of mq_timedreceive.
19477         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19478         instead of mq_timedsend.
19479         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19480         Remove variable.
19482         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19483         hidden_def and hidden_weak instead of libc_hidden_def and
19484         libc_hidden_weak.
19485         (top level): Refer to hidden_def in comment.
19486         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19487         macro.  Use it instead of libc_hidden_def.
19488         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19489         specify __GI_* name explicitly.
19490         (mq_timedreceive): Likewise.
19491         (mq_setattr): Likewise.
19493         [BZ #18544]
19494         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19495         __pthread_barrier_init and define as weak alias of
19496         __pthread_barrier_init.
19497         * sysdeps/sparc/nptl/pthread_barrier_init.c
19498         (pthread_barrier_init): Likewise.
19499         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19500         __pthread_barrier_wait and define as weak alias of
19501         __pthread_barrier_wait.
19502         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19503         (pthread_barrier_wait): Likewise.
19504         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19505         (pthread_barrier_wait): Likewise.
19506         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19507         (pthread_barrier_wait): Likewise.
19508         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19509         (pthread_barrier_wait): Likewise.
19510         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19511         __pthread_barrier_wait at version GLIBC_PRIVATE.
19512         * include/pthread.h (__pthread_barrier_init): Declare.
19513         (__pthread_barrier_wait): Likewise.
19514         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19515         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19516         (helper_thread): Likewise.
19517         (init_mq_netlink): Call __pthread_barrier_init instead of
19518         pthread_barrier_init.
19520         [BZ #18542]
19521         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19522         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19523         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19524         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19525         vswscanf.
19526         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19527         Remove variable.
19529         [BZ #18540]
19530         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19531         strong alias of _IO_fflush.  Use libc_hidden_def.
19532         * libio/iofflush_u.c (fflush_unlocked): Rename to
19533         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19534         Use libc_hidden_weak.
19535         * include/stdio.h (__fflush_unlocked): Declare.  Use
19536         libc_hidden_proto.
19537         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19538         fflush_unlocked.
19539         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19540         Remove variable.
19542         [BZ #18539]
19543         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19544         define as weak alias of __addseverity.
19545         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19546         Remove variable.
19547         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19548         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19549         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19551         [BZ #18536]
19552         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19553         (__tfind): Likewise.
19554         (__tdelete): Likewise.
19555         (__twalk): Likewise.
19556         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19557         __twalk to GLIBC_PRIVATE.
19558         * include/search.h (__tsearch): Use libc_hidden_proto.
19559         (__tfind): Likewise.
19560         (__tdelete): Likewise.
19561         (__twalk): Likewise.
19562         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19563         Call __tdelete instead of tdelete.
19564         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19565         tfind.  Call __tsearch instead of tsearch.
19566         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19567         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19568         Remove variable.
19569         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19571         [BZ #18534]
19572         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19573         (dprintf): Define as a weak alias of __dprintf, not a strong
19574         alias.
19575         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19576         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19577         dprintf.
19578         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19579         Remove variable.
19580         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19581         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19583         [BZ #18533]
19584         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19585         not a strong alias.
19586         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19587         Remove variable.
19589         [BZ #18532]
19590         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19591         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19592         (in6addr_loopback): Rename to __in6addr_loopback and define as
19593         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19594         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19595         libc_hidden_proto.
19596         (__in6addr_any): Likewise.
19597         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19598         in6addr_any.
19599         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19600         variable.
19601         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19603 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19605         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19606         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19607         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19608         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19609         redirections for pow.
19610         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19611         * sysdeps/x86_64/fpu/Versions: New versions added.
19612         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19613         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19614         build of SSE, AVX2 and AVX512 IFUNC versions.
19615         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19616         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19617         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19618         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19619         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19620         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19621         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19622         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19623         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19624         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19625         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19626         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19627         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19628         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19629         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19630         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19631         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19632         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19633         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19634         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19635         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19636         * NEWS: Mention addition of x86_64 vector pow.
19638         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19639         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19640         redirections for expf.
19641         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19642         * sysdeps/x86_64/fpu/Versions: New versions added.
19643         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19644         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19645         build of SSE, AVX2 and AVX512 IFUNC versions.
19646         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19647         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19648         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19649         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19650         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19651         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19652         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19653         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19654         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19655         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19656         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19657         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19658         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19659         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19660         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19661         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19662         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19663         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19664         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19665         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19666         * NEWS: Mention addition of x86_64 vector expf.
19668         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19669         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19670         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19671         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19672         redirections for exp.
19673         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19674         * sysdeps/x86_64/fpu/Versions: New versions added.
19675         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19676         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19677         build of SSE, AVX2 and AVX512 IFUNC versions.
19678         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19679         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19680         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19681         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19682         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19683         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19684         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19685         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19686         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19687         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19688         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19689         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19690         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19691         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19692         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19693         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19694         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19695         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19696         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19697         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19698         * NEWS: Mention addition of x86_64 vector exp.
19700         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19701         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19702         redirections for logf.
19703         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19704         * sysdeps/x86_64/fpu/Versions: New versions added.
19705         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19706         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19707         build of SSE, AVX2 and AVX512 IFUNC versions.
19708         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19709         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19710         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19711         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19712         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19713         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19714         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19715         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19716         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19717         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19718         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19719         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19720         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19721         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19722         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19723         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19724         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19725         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19726         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19727         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19728         * NEWS: Mention addition of x86_64 vector logf.
19730         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19731         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19732         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19733         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19734         redirections for log.
19735         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19736         * sysdeps/x86_64/fpu/Versions: New versions added.
19737         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19738         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19739         build of SSE, AVX2 and AVX512 IFUNC versions.
19740         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19741         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19742         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19743         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19744         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19745         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19746         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19747         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19748         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19749         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19750         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19751         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19752         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19753         test.
19754         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19755         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19756         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19757         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19758         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19759         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19760         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19761         * NEWS: Mention addition of x86_64 vector log.
19763 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19765         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19766         cfi_adjust_cfa_offset argument.
19767         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19768         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19770         [BZ #18034]
19771         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19772         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19773         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19774         ordering using ldar.
19775         (_dl_tlsdesc_dynamic): Likewise.
19776         (_dl_tlsdesc_return_lazy): Likewise.
19777         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19778         relaxed atomics instead of volatile and synchronize with release store.
19779         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19780         volatile.
19781         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19783 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19785         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19786         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19787         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19788         * sysdeps/x86_64/fpu/Versions: New versions added.
19789         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19790         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19791         build of SSE, AVX2 and AVX512 IFUNC versions.
19792         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19793         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19794         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19795         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19796         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19797         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19798         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19799         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19800         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19801         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19802         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19803         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19804         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19805         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19806         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19807         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19808         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19809         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19810         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19811         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19812         * NEWS: Mention addition of x86_64 vector sinf.
19814 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19816         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19817         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19818         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19819         Remove variable.
19820         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19821         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19823 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19825         [BZ #18530]
19826         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19827         strong alias of _IO_fputs.  Use libc_hidden_def.
19828         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19829         and define as weak alias of __fputs_unlocked.  Use
19830         libc_hidden_weak.
19831         * include/stdio.h (__fputs_unlocked): Declare.  Use
19832         libc_hidden_proto.
19833         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19834         fputs_unlocked.
19836         [BZ #18529]
19837         * resolv/netdb.h [__USE_POSIX]: Change condition to
19838         [__USE_XOPEN2K].
19839         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19840         not expect.
19841         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19842         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19843         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19844         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19845         [XPG4 || UNIX98] (AI_ALL): Likewise.
19846         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19847         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19848         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19849         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19850         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19851         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19852         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19853         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19854         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19855         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19856         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19857         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19858         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19859         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19860         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19861         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19862         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19863         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19864         [XPG4 || UNIX98] (gai_strerror): Likewise.
19865         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19866         [XPG4 || UNIX98] (getnameinfo): Likewise.
19868         [BZ #18528]
19869         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19870         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19871         __USE_XOPEN2K8].
19872         (getgrent): Likewise.
19873         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19874         expect.
19875         [XPG3 || POSIX2008] (endgrent): Likewise.
19876         [XPG3] (setgrent): Likewise.
19877         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19878         variable.
19879         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19881         [BZ #18527]
19882         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19883         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19884         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19885         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19886         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19887         * include/unistd.h (__getlogin_r): Declare.  Use
19888         libc_hidden_proto.
19889         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19890         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19891         variable.
19892         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19893         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19894         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19896 2015-06-12  Martin Sebor  <msebor@redhat.com>
19898         [BZ #18512]
19899         * Makerules (check-install-supported): New target.
19900         (install): Add check-install-supported as a dependency.
19901         * manual/install.texi (Installing the C Library): Document
19902         that overriding prefix and exec_prefix is not supported.
19903         Mention DESTDIR.
19904         * INSTALL: Regenerate from the above.
19906 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19908         [BZ #18519]
19909         * posix/Versions (libc): Export __libc_pread at version
19910         GLIBC_PRIVATE.
19911         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19912         instead of pread.
19913         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19914         variable.
19916         [BZ #18522]
19917         * misc/efgcvt_r.c
19918         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19919         (cvt_symbol): Use weak_alias instead of strong_alias.
19920         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19921         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19922         Remove variable.
19923         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19924         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19926         [BZ #18520]
19927         * inet/herrno.c (h_errno): Rename to __h_errno.
19928         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19929         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19930         to __h_errno instead of h_errno.
19931         * nptl/herrno.c (h_errno): Rename to __h_errno.
19932         (__h_errno_location): Refer to __h_errno not h_errno.
19933         * resolv/Versions (h_errno): Rename to __h_errno.
19934         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19935         Remove variable.
19936         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19938 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19940         * configure.ac: More strict check for AVX512 assembler support.
19941         * configure: Regenerated.
19943         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19944         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19945         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19946         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19947         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19948         * sysdeps/x86_64/fpu/Versions: New versions added.
19949         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19950         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19951         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19952         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19953         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19954         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19955         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19956         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19957         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19958         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19959         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19960         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19961         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19962         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19963         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19964         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19965         test.
19966         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19967         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19968         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19969         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19970         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19971         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19972         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19973         * NEWS: Mention addition of x86_64 vector sin.
19975 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19977         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19978         comment.
19980 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19982         [BZ #18479]
19983         * nptl/pt-interp.c: New file.
19984         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19985         Add pt-interp.
19986         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19987         $(common-objpfx)runtime-linker.h.
19989 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19991         * Makeconfig (+interp): Remove unused variable.
19992         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19993         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19994         $(elf-objpfx)runtime-linker.h.
19995         ($(elf-objpfx)runtime-linker.h): Rename to
19996         $(common-objpfx)runtime-linker.h and move ...
19997         * Makerules [$(build-shared) = yes]: ... here.
19998         * elf/interp.c: Include <runtime-linker.h> instead of
19999         <elf/runtime-linker.h>.
20001 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20003         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20004         (__gettimeofday_syscall): Remove vsyscall fallback.
20005         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20006         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20007         Add syscall fallback function.
20008         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20009         if vDSO is not present.
20010         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20011         fallback function.
20012         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20013         present.
20014         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20015         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20017 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20019         [BZ #18497]
20020         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20021         of wcscmp.
20022         (wcscmp): Define as weak alias of WCSCMP.
20023         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20024         wcscoll.
20025         (USE_HIDDEN_DEF): Define.
20026         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20027         __wcscoll.  Don't use libc_hidden_weak.
20028         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20029         wcscmp.
20030         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20031         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20032         __GI_wcscmp.
20033         (weak_alias): Undefine and redefine.
20034         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20035         __wcscmp and define as weak alias of __wcscmp.
20036         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20037         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20038         (__wcscoll): Likewise.
20039         (wcscmp): Don't use libc_hidden_proto.
20040         (wcscoll): Likewise.
20041         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20042         wcscoll.
20043         * posix/regexec.c (check_node_accept_bytes): Likewise.
20044         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20045         variable.
20046         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20047         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20049         [BZ #18507]
20050         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20051         __fstatvfs and define as weak alias of __fstatvfs.  Use
20052         libc_hidden_weak.
20053         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20054         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20055         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20056         Define as alias of __fstatvfs, not fstatvfs.
20057         (fstatvfs64): Likewise.
20058         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20059         Define as alias of __statvfs, not statvfs.
20060         (statvfs64): Likewise.
20061         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20062         Remove variable.
20064 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20067         (HAVE_GETCPU_VSYSCALL): Define.
20068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20069         (HAVE_GETCPU_VSYSCALL): Likewise.
20070         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20071         * sysdeps/unix/sysv/linux/sched_getcpu.c
20072         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20073         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20074         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20075         prototype.
20076         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20077         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20078         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20079         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20080         Define.
20081         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20082         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20083         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20084         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20086 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20088         * sysdeps/x86_64/fpu/Makefile: New file.
20089         * sysdeps/x86_64/fpu/Versions: New file.
20090         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20091         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20092         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20093         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20094         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20095         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20096         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20097         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20098         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20099         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20100         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20101         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20102         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20103         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20104         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20105         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20106         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20107         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20108         * sysdeps/x86_64/configure: Regenerated.
20109         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20110         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20111         * manual/install.texi (Configuring and compiling): Document
20112         --disable-mathvec.
20113         * INSTALL: Regenerated.
20114         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20116         * math/Makefile: Added rules for vector tests.
20117         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20118         declaration under condition.
20119         * math/test-double-vlen2.h: New file.
20120         * math/test-double-vlen4.h: New file.
20121         * math/test-double-vlen8.h: New file.
20122         * math/test-vec-loop.h: Added initialization macro.
20123         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20124         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20125         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20126         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20127         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20128         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20129         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20130         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20131         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20132         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20133         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20135         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20136         * sysdeps/x86_64/fpu/Versions: New versions added.
20137         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20138         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20139         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20140         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20141         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20142         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20143         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20144         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20145         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20146         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20147         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20148         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20149         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20150         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20151         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20152         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20153         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20154         * NEWS: Mention addition of x86_64 vector cosf.
20156         * math/Makefile: Added CFLAGS for new tests.
20157         * math/test-float-vlen16.h: New file.
20158         * math/test-float-vlen4.h: New file.
20159         * math/test-float-vlen8.h: New file.
20160         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20161         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20162         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20163         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20164         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20165         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20166         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20167         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20168         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20169         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20170         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20172 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20174         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20175         * locale/programs/ld-ctype.c: Likewise.
20177 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20179         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20180         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20181         bit_ZMM16_31_state): New macro.
20182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20183         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20185 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20187         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20189 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20191         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20193 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20195         [BZ #18498]
20196         * libio/memstream.c (open_memstream): Rename to __open_memstream
20197         and define as weak alias of __open_memstream.
20198         * include/stdio.h (__open_memstream): Declare.  Use
20199         libc_hidden_proto.
20200         (open_memstream): Don't use libc_hidden_proto.
20201         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20202         open_memstream.
20203         * posix/getopt.c (_getopt_internal_r): Likewise.
20204         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20205         variable.
20206         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20207         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20208         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20210         [BZ #18496]
20211         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20212         instead of wcrtomb.
20214         [BZ #18483]
20215         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20216         [__USE_XOPEN2K8].  Remove redundant #endif.
20217         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20218         Remove redundant #if.
20219         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20220         Remove variable.
20221         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20222         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20224         [BZ #18495]
20225         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20226         (__iswlower): Likewise.
20227         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20228         (__iswlower): Likewise.
20229         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20230         instead of towlower.
20231         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20232         instead of iswlower.  Call __towupper instead of towupper.
20233         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20234         instead of iswalnum.
20236 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20238         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20239         errors to stderr.
20241 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20243         [BZ #15661]
20244         [BZ #17322]
20245         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20246         Check for overflow properly.  Check for O_APPEND.  Ignore large
20247         file system block sizes.  Add comments about problems.
20248         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20249         * manual/filesys.texi (Storage Allocation): New node.
20251 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20253         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20254         cancellable syscalls.
20255         (SYS_ify): Add guard to no redefine it.
20256         (INLINE_SYSCALL): Likewise.
20257         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20258         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20259         SYSCALL_CANCEL instead.
20260         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20261         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20262         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20263         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20264         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20265         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20266         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20267         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20268         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20269         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20270         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20271         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20272         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20273         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20274         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20275         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20276         Likewise.
20277         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20278         (__libc_pread64): Likewise.
20279         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20280         (__libc_preadv): Likewise.
20281         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20282         (__libc_readv64): Likewise.
20283         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20284         (__libc_pwrite): Likewise.
20285         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20286         (__libc_pwrite64): Likewise.
20287         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20288         (__libc_pwritev): Likewise.
20289         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20290         (__libc_pwritev64): Likewise.
20291         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20292         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20293         (sync_file_range): Likewise.
20294         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20295         Likewise.
20296         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20297         Likewise.
20298         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20299         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20300         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20301         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20302         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20303         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20304         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20305         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20307         Likewise.
20308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20309         (__libc_read64): Likewise.
20310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20311         Likewise.
20312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20313         Likewise.
20314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20315         Likewise.
20316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20317         Likewise.
20318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20319         (__libc_pread64): Likewise.
20320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20321         Likewise.
20322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20323         (__libc_pwrite64): Likewise.
20324         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20325         (sync_file_range): Likewise.
20326         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20327         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20328         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20329         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20330         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20331         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20332         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20333         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20334         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20335         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20336         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20337         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20338         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20339         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20340         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20341         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20342         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20343         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20344         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20345         Likewise.
20346         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20347         Likewise.
20348         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20349         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20350         Likewise.
20351         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20352         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20353         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20354         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20355         Likewise.
20356         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20357         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20358         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20359         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20360         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20362 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20364         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20365         Include dl-vdso.
20366         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20367         Use VDSO routines for gettimeofday, clock_gettime if
20368         available.
20369         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20370         Declare VDSO symbols.
20371         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20372         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20373         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20374         * sysdeps/unix/sysv/linux/arm/Versions: Add
20375         __vdso_clock_gettime.
20377 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20379         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20380         be an inline implementation regardless of library is built within.
20381         (open_not_cancel_2): Likewise.
20382         (__read_nocancel): Likewise.
20383         (__write_nocancel): Likewise.
20384         (openat_not_cancel): Likewise.
20385         (openat_not_cancel_3): Likewise.
20386         (openat64_not_cancel): Likewise.
20387         (openat64_not_cancel_3): Likewise.
20388         (__close_nocancel): Likewise.
20389         (pause_not_cancel): Likewise.
20390         (nanosleep_not_cancel): Likewise.
20391         (sigsuspend_not_cancel): Likewise.
20393 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20395         [BZ #14958]
20396         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20397         wake-up.
20398         (__pthread_rwlock_rdlock_slow): Likewise.
20399         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20400         Likewise.
20401         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20402         Likewise.
20403         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20404         * nptl/tst-rwlock16.c: New file.
20405         * nptl/Makefile (tests): Add new test.
20407 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20409         [BZ #18324]
20410         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20411         missing wake-up of readers.
20412         * nptl/tst-rwlock15.c: New file.
20413         * nptl/Makefile (tests): Add new test.
20415 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20417         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20418         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20419         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20420         and __nacl_supply_interface_rtld.
20421         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20422         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20423         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20424         Add __nacl_supply_interface_rtld.
20425         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20427 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20429         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20430         isfinite.
20431         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20432         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20434 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20436         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20437         __signbit* with standard C99 macros.
20438         * math/e_exp10l.c: Likewise.
20439         * math/e_exp2l.c: Likewise.
20440         * math/e_scalb.c: Likewise.
20441         * math/e_scalbf.c: Likewise.
20442         * math/e_scalbl.c: Likewise.
20443         * math/s_ldexp.c: Likewise.
20444         * math/s_ldexpf.c: Likewise.
20445         * math/s_ldexpl.c: Likewise.
20446         * math/w_atan2.c: Likewise.
20447         * math/w_atan2f.c: Likewise.
20448         * math/w_atan2l.c: Likewise.
20449         * math/w_cosh.c: Likewise.
20450         * math/w_coshf.c: Likewise.
20451         * math/w_coshl.c: Likewise.
20452         * math/w_exp10.c: Likewise.
20453         * math/w_exp10f.c: Likewise.
20454         * math/w_exp10l.c: Likewise.
20455         * math/w_exp2.c: Likewise.
20456         * math/w_exp2f.c: Likewise.
20457         * math/w_exp2l.c: Likewise.
20458         * math/w_fmod.c: Likewise.
20459         * math/w_fmodf.c: Likewise.
20460         * math/w_fmodl.c: Likewise.
20461         * math/w_hypot.c: Likewise.
20462         * math/w_hypotf.c: Likewise.
20463         * math/w_hypotl.c: Likewise.
20464         * math/w_jnl.c: Likewise.
20465         * math/w_lgamma.c: Likewise.
20466         * math/w_lgamma_r.c: Likewise.
20467         * math/w_lgammaf.c: Likewise.
20468         * math/w_lgammaf_r.c: Likewise.
20469         * math/w_lgammal.c: Likewise.
20470         * math/w_lgammal_r.c: Likewise.
20471         * math/w_pow.c: Likewise.
20472         * math/w_powf.c: Likewise.
20473         * math/w_powl.c: Likewise.
20474         * math/w_remainder.c: Likewise.
20475         * math/w_remainderf.c: Likewise.
20476         * math/w_remainderl.c: Likewise.
20477         * math/w_scalb.c: Likewise.
20478         * math/w_scalbf.c: Likewise.
20479         * math/w_scalbl.c: Likewise.
20480         * math/w_scalbln.c: Likewise.
20481         * math/w_scalblnf.c: Likewise.
20482         * math/w_scalblnl.c: Likewise.
20483         * math/w_sinh.c: Likewise.
20484         * math/w_sinhf.c: Likewise.
20485         * math/w_sinhl.c: Likewise.
20486         * math/w_tgamma.c: Likewise.
20487         * math/w_tgammaf.c: Likewise.
20488         * math/w_tgammal.c: Likewise.
20489         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20490         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20491         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20492         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20493         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20494         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20495         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20496         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20497         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20498         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20499         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20500         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20501         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20502         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20503         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20504         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20505         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20506         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20507         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20508         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20509         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20510         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20511         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20512         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20513         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20514         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20515         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20516         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20517         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20518         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20519         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20520         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20521         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20522         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20523         * stdio-common/printf_fp.c: Likewise.
20524         * stdio-common/printf_fphex.c: Likewise.
20525         * stdio-common/printf_size.c: Likewise.
20527 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20529         [BZ #18470]
20530         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20531         strnlen.
20532         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20533         Remove variable.
20534         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20535         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20536         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20537         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20538         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20539         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20540         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20541         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20542         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20543         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20545         [BZ #18468]
20546         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20547         weak alias of __wmemchr.  Use libc_hidden_weak.
20548         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20549         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20550         instead of wmemchr.
20552 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20554         [BZ #18383]
20555         * elf/tst-tlsalign-extern.c: New file.
20556         * elf/tst-tlsalign-extern-static.c: New file.
20557         * elf/tst-tlsalign-vars.c: New file.
20558         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20559         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20560         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20561         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20562         (test-xfail-tst-tlsalign-extern-static): New variable.
20564 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20566         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20567         Use variable name _sc_err instead of err.
20568         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20569         instead of ret.
20570         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20571         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20572         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20573         (INLINE_SYSCALL): Likewise.
20575         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20576         * include/string.h (__strnlen): Use libc_hidden_proto.
20577         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20578         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20579         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20580         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20581         (libc_hidden_def): Undefine and redefine.
20582         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20583         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20584         __GI_strnlen.
20585         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20586         libc_hidden_def.
20587         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20589         [BZ #18469]
20590         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20591         weak alias of __towlower.  Use libc_hidden_weak.
20592         (towupper): Rename to __towupper and define as weak alias of
20593         __towupper.  Use libc_hidden_weak.
20594         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20595         (__towupper): Likewise.
20596         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20597         __towlower instead of towlower.
20599 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20601         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20602         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20604 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20606         * sysdeps/aarch64/libm-test-ulps: Update.
20608 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20610         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20611         Define.
20612         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20613         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20614         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20615         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20616         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20617         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20618         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20620 2015-06-01  Martin Sebor  <msebor@redhat.com>
20622         [BZ #18116]
20623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20624         (__setcontext): Use extended four-operand version of mtsf whenever
20625         possible.
20626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20627         (__novec_swapcontext): Likewise.
20629 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20631         * benchtests/scripts/compare_bench.py: New file.
20632         * benchtests/scripts/import_bench.py (mean): New function.
20633         (split_list): Likewise.
20634         (do_for_all_timings): Likewise.
20635         (compress_timings): Likewise.
20637         * benchtests/scripts/import_bench.py: New file.
20638         * benchtests/scripts/validate_benchout.py: Import import_bench
20639         instead of jsonschema.
20640         (validate_bench): Remove function.
20641         (main): Use import_bench.
20643 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20645         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20646         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20648 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20652 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20654         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20655         set THREAD_SELF->tid to a magic value and futex-wake it.
20656         Pass its address to the thread_exit system call.
20657         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20658         bit is clear.
20659         * sysdeps/nacl/lowlevellock.h: New file.
20660         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20662         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20663         Add TIMEOUT to current time, don't subtract it.
20665 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20667         [BZ #2981]
20668         [BZ #18422]
20669         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20670         ($(objpfx)tst-audit2.out): Also depend on
20671         $(objpfx)tst-auditmod9b.so.
20672         * elf/tst-audit2.c: Include <dlfcn.h>.
20673         (calloc_called): New.
20674         (calloc): Allow to be called more than once.
20675         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20677 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20679         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20680         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20682 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20684         * stdlib/monetary.h: Fix comment.
20686 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20688         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20689         Avoid using variables in #defines that might cause shadowing.
20690         (INTERNAL_VSYSCALL_CALL): Likewise.
20692 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20694         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20696         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20697         * nptl/lll_timedlock_wait.c: ... to this new file.
20698         * nptl/Makefile (libpthread-routines): Add it.
20699         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20700         * nptl/lll_timedwait_tid.c: ... to this new file.
20701         * nptl/Makefile (libpthread-routines): Add it.
20702         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20703         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20704         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20705         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20706         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20707         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20708         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20709         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20710         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20711         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20713 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20715         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20716         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20717         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20718         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20719         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20720         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20721         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20722         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20723         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20724         * sysdeps/unix/sysv/linux/tile/sysdep.h
20725         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20726         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20727         using vDSO syscall macro.
20729 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20731         [BZ #17293]
20732         * uk_UA: Fix sorting order for Ukrainian locale
20734 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20736         * stdlib/monetary.h: Fix comment.
20738 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20740         [BZ #18234]
20741         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20742         st_mtim and st_ctim members.
20743         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20744         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20745         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20746         (struct stat64): Likewise.
20747         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20748         (struct stat64): Likewise.
20749         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20750         (struct stat64): Likewise.
20752 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20754         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20755         Define and include sysdep-vdso.h.
20756         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20757         Likewise.
20758         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20759         Likewise.
20760         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20761         Define with VDSO_SYMBOL and use PTR_MANGLE.
20762         (__vdso_clock_gettime): Likewise.
20763         (__vdso_clock_getres): Likewise.
20764         (_libc_vdso_platform_setup): Likewise.
20765         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20766         Likewise.
20767         (_libc_vdso_platform_setup): Likewise.
20768         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20769         Likewise.
20770         (__vdso_clock_gettime): Likewise.
20771         (__vdso_clock_getres): Likewise.
20772         (__vdso_get_tbfreq): Likewise.
20773         (__vdso_getcpu): Likewise.
20774         (__vdso_time): Likewise.
20775         (__vdso_sigtramp_rt64): Likewise.
20776         (__vdso_signtramp32): Likewise.
20777         (__vdso_sigtramp_rt32): Likewise.
20778         (_libc_vdso_platform_setup): Likewise.
20779         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20780         Likewise.
20781         (__vdso_clock_gettime): Likewise.
20782         (__vdso_clock_getres): Likewise.
20783         (_libc_vdso_platform_setup): Likewise.
20784         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20785         Likewise.
20786         (__vdso_clock_gettime): Likewise.
20787         (_libc_vdso_platform_setup): Likewise.
20788         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20789         Likewise.
20790         (__vdso_getcpu): Likewise.
20791         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20792         Use VDSO_SYMBOL macro to define.
20793         (__vdso_clock_gettime): Likewise.
20794         (__vdso_clock_getres): Likewise.
20795         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20796         Likewise.
20797         (__vdso_clock_gettime): Likewise.
20798         (__vdso_clock_getres): Likewise.
20799         (__vdso_get_tbfreq): Likewise.
20800         (__vdso_getcpu): Likewise.
20801         (__vdso_time): Likewise.
20802         (__vdso_sigtramp_rt64): Likewise.
20803         (__vdso_signtramp32): Likewise.
20804         (__vdso_sigtramp_rt32): Likewise.
20805         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20806         Likewise.
20807         (__vdso_clock_gettime): Likewise.
20808         (__vdso_clock_getres): Likewise.
20809         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20810         Likewise.
20811         (__vdso_clock_gettime): Likewise.
20812         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20813         Likewise.
20814         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20815         macro.
20816         (INTERNAL_VSYSCALL): Likewise.
20817         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20818         Remove macro.
20819         (INTERNAL_VSYSCALL): Likewise.
20820         (INTERNAL_VSYSCALL_NCS): Likewise.
20821         (INTERNAL_VSYSCALL_CALL): New macro.
20822         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20823         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20824         Likewise.
20825         (INTERNAL_VSYSCALL): Likewise.
20826         (INTERNAL_VSYSCALL_NCS): Likewise.
20827         (INTERNAL_VSYSCALL_CALL): New macro.
20828         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20830         (INLINE_VSYSCALL): Remove macro.
20831         (INTERNAL_VSYSCALL): Remove macro.
20832         (INTERNAL_VSYSCALL_NCS): Remove macro.
20833         (INTERNAL_VSYSCALL_CALL): New macro.
20834         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20835         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20836         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20837         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20838         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20840         (INLINE_VSYSCALL): Remove macro.
20841         (INTERNAL_VSYSCALL): Likewise.
20842         (INTERNAL_VSYSCALL_NCS): Likewise.
20843         (INTERNAL_VSYSCALL_CALL): New macro.
20844         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20845         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20846         PTR_DEMANGLE on vDSO pointer.
20847         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20848         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20849         macro.
20850         (INTERNAL_SYSCALL): Likewise.
20851         (INTERNAL_VSYSCALL_NCS): Remove macro.
20852         (INTERNAL_VSYSCALL_CALL): New macro.
20853         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20854         Remove macro.
20855         (INTERNAL_VSYSCALL): Likewise.
20856         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20857         sysdep-vdso.h instead of libc-vdso.h.
20858         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20859         definition.
20860         (INLINE_VSYSCALL): Likewise.
20861         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20862         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20863         definition.
20864         (INLINE_VSYSCALL): Likewise.
20865         (INTERNAL_VSYSCALL): Likewise.
20866         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20867         * sysdeps/unix/sysv/linux/timespec_get.c
20868         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20869         (timespec_get): Use ANSI prototype.
20870         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20871         and definition for Linux.
20873 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20875         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20876         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20878 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20880         [BZ #2981]
20881         [BZ #18410]
20882         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20883         for missing DT_PLTRELSZ.
20885 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20887         Remove obsolete aliases that broke 'locale -a'
20888         [BZ #18412]
20889         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20890         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20891         breaking some applications that use 'locale -a' output.
20892         Change the encoding of this file from Latin-1 to ASCII to avoid
20893         other potential problems with people grepping this file.
20895 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20897         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20898         -fasynchronous-unwind-tables.
20899         (CFLAGS-sendto.c): Likewise.
20900         (CFLAGS-sendmsg.c): Likewise.
20901         (CFLAGS-connect.c): Likewise.
20902         (CFLAGS-recvmsg.c): Likewise.
20903         (CFLAGS-recvfrom.c): Likewise.
20904         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20905         (SOCKETCALL): New macro: non-cancellable socketcall.
20906         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20907         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20908         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20909         * sysdeps/unix/sysv/linux/accept.c: New file.
20910         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20911         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20912         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20913         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20914         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20915         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20916         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20917         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20918         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20919         * sysdeps/unix/sysv/linux/send.c: Likewise.
20920         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20921         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20922         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20923         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20924         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20925         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20926         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20927         prototype.
20928         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20929         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20930         instead of __internal_xxx function.
20931         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20932         prototype.
20933         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20934         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20935         instead of __internal_xxx function.
20936         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20937         prototype.
20938         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20939         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20940         instead of __internal_xxx function.
20941         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20942         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20943         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20944         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20945         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20946         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20947         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20948         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20949         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20950         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20951         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20952         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20953         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20954         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20955         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20956         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20957         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20958         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20959         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20960         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20963         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20964         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20965         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20966         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20967         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20968         * sysdeps/unix/sysv/linux/send.S: Likewise.
20969         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20970         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20971         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20972         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20973         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20974         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20975         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20976         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20977         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20978         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20979         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20980         socketcall is implemented in GLIBC.
20982 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20984         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20985         (__fma): Ignore uninitialized warnings around packing.
20986         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20987         (__fmaf): Ignore uninitialized warnings around packing.
20988         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20989         (__fmal): Ignore uninitialized warnings around packing.
20991         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20992         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20993         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20994         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20996         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20997         switch statement into default case.
20998         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21000         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21001         a conditional in forcing "inexact".
21002         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21003         Likewise.
21005 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21007         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21008         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21009         for each INTERNAL_SYSCALL use.
21011 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21013         [BZ #438]
21014         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21015         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21016         variable.
21018         [BZ #18444]
21019         * string/basename.c (basename): Rename to __basename and define as
21020         weak alias of __basename.  Use libc_hidden_weak.
21021         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21022         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21023         __basename instead of basename.
21024         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21025         Remove variable.
21026         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21028 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21030         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21031         (_IO_JUMPS_FILE_plus): New.
21032         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21033         _IO_CAST_FIELD_ACCESS.
21034         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21035         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21036         * libio/freopen.c (freopen): Likewise.
21037         * libio/freopen64.c (freopen64): Likewise.
21038         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21039         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21040         * libio/iofwide.c (_IO_fwide): Likewise.
21041         * libio/memstream.c (open_memstream): Likewise.
21042         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21043         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21044         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21046 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21048         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21049         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21050         NADJ.
21051         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21052         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21053         NADJ.
21054         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21055         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21056         NADJ.
21058         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21059         (p == 4) case.
21061         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21062         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21063         Remove variable.
21064         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21065         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21066         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21068 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21070         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21071         Adjust jump table label generation macros.
21073 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21075         * stdio-common/vfprintf.c (vfprintf): Move local variables
21076         args_malloced, specs, specs_malloced, and the code after
21077         do_positional to the printf_positional function.
21078         (printf_positional): New function.
21080 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21082         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21083         function.
21084         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21085         STEP4_TABLE, process_arg): Move macro definitions
21086         out of the vfprintf function.  (Cosmetic change only.)
21088 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21090         * benchtests/Makefile (stdio-common-bench): Define.
21091         (benchset): Add stdio-common-bench.
21092         * sprintf-inputs: New file.
21093         * sprintf-source.c: New file.
21095 2015-05-21  Andreas Schwab  <schwab@suse.de>
21097         [BZ #13028]
21098         [BZ #17053]
21099         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21100         of struct __res_state.
21101         * resolv/res_send.c (__libc_res_nsend): Likewise.
21102         (get_nsaddr): New function.
21103         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21104         statp directly.
21106 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21108         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21109         -D_POSIX_C_SOURCE=199506L.
21111         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21113         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21114         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21115         Do not mention otherwise.
21116         [POSIX] (_XOPEN_VERSION): Do not expect.
21117         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21118         [POSIX] (_POSIX2_C_BIND): Likewise.
21119         [POSIX] (_POSIX2_VERSION): Likewise.
21120         [POSIX] (_XOPEN_XPG2): Likewise.
21121         [POSIX] (_XOPEN_XPG3): Likewise.
21122         [POSIX] (_XOPEN_XPG4): Likewise.
21123         [POSIX] (_XOPEN_UNIX): Likewise.
21124         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21125         [POSIX] (_POSIX_BARRIERS): Likewise.
21126         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21127         [POSIX] (_POSIX_CPUTIME): Likewise.
21128         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21129         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21130         [POSIX] (_POSIX_SHELL): Likewise.
21131         [POSIX] (_POSIX_SPAWN): Likewise.
21132         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21133         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21134         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21135         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21136         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21137         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21138         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21139         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21140         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21141         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21142         [POSIX] (_POSIX2_PBS): Likewise.
21143         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21144         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21145         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21146         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21147         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21148         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21149         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21150         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21151         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21152         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21153         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21154         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21155         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21156         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21157         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21158         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21159         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21160         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21161         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21162         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21163         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21164         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21165         [POSIX] (_SC_2_C_BIND): Likewise.
21166         [POSIX] (_SC_2_C_VERSION): Likewise.
21167         [POSIX] (_SC_2_PBS): Likewise.
21168         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21169         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21170         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21171         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21172         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21173         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21174         [POSIX] (_SC_BARRIERS): Likewise.
21175         [POSIX] (_SC_BASE): Likewise.
21176         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21177         [POSIX] (_SC_DEVICE_IO): Likewise.
21178         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21179         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21180         [POSIX] (_SC_FD_MGMT): Likewise.
21181         [POSIX] (_SC_FIFO): Likewise.
21182         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21183         [POSIX] (_SC_FILE_LOCKING): Likewise.
21184         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21185         [POSIX] (_SC_IOV_MAX): Likewise.
21186         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21187         [POSIX] (_SC_NETWORKING): Likewise.
21188         [POSIX] (_SC_PAGE_SIZE): Likewise.
21189         [POSIX] (_SC_PASS_MAX): Likewise.
21190         [POSIX] (_SC_PIPE): Likewise.
21191         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21192         [POSIX] (_SC_REGEXP): Likewise.
21193         [POSIX] (_SC_SHELL): Likewise.
21194         [POSIX] (_SC_SIGNALS): Likewise.
21195         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21196         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21197         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21198         [POSIX] (_SC_USER_GROUPS): Likewise.
21199         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21200         [POSIX] (_SC_STREAMS): Likewise.
21201         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21202         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21203         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21204         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21205         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21206         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21207         [POSIX] (_PC_FILESIZEBITS): Likewise.
21208         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21209         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21210         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21211         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21212         [POSIX] (uid_t): Likewise.
21213         [POSIX] (gid_t): Likewise.
21214         [POSIX] (off_t): Likewise.
21215         [POSIX] (pid_t): Likewise.
21216         [POSIX] (cuserid): Allow.
21217         (_SC_2_CHAR_TERM): Require constant.
21218         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21219         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21220         variable.
21222 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21224         * sysdeps/nacl/pthread-pids.h: New file.
21225         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21226         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21228         * nptl/pthread-pids.h: New file.
21229         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21230         * nptl/nptl-init.c: Include <pthread-pids.h>.
21231         (__pthread_initialize_minimal_internal):
21232         Call __pthread_initialize_pids instead of set_tid_address syscall.
21234         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21235         * sysdeps/posix/usleep.c: ... here.
21237 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21239         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21240         call_pselect6 object.
21241         [$(subdir) = io]: Remove call_sync_file_range object.
21242         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21243         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21244         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21245         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21247 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21249         * math/s_cproj.c: Add include "math_private.h".
21250         * math/s_cprojf.c: Likewise.
21251         * math/s_cprojl.c: Likewise.
21253 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21255         [BZ #18244]
21256         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21257         high mantissa bit when testing whether P is a NaN.
21258         * math/libm-test.inc (remainder_test_data): Add more tests.
21259         (remquo_test_data): Likewise.
21261         [BZ #18049]
21262         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21263         below -32, return the argument, with underflow if subnormal.
21264         * math/auto-libm-test-in: Add more tests of atanh.
21265         * math/auto-libm-test-out: Regenerated.
21267 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21269         [BZ #18434]
21270         * nptl/tst-sem15.c: New file.
21271         * nptl/Makefile (tests): Add it.
21272         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21273         s/<</>>/ to fix typo in EOVERFLOW check.
21274         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21276 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21278         * manual/strings.texi (envz_remove): Fix typo in safety
21279         annotations.
21281 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21282             Steve Ellcey  <sellcey@imgtec.com>
21284         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21285         in order to avoid strict alias warnings.
21286         (iruserok_af): Ditto for ra.
21288 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21290         [BZ #17581]
21291         * malloc/hooks.c
21292         (magicbyte): Convert to a function and avoid returning 0x01.
21293         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21294         (mem2chunk_check): Fix unsigned comparisons to zero.
21295         Hoist defs of sz and magic.
21297 2015-05-19  Richard Henderson  <rth@redhat.com>
21299         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21301         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21303 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21305         [BZ #16159]
21306         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21307         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21308         (reused_arena): Find a non-corrupt arena.
21309         (heap_trim): Pass arena to unlink.
21310         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21311         malloc_printerr.
21312         (top_check): Likewise.
21313         (free_check): Likewise.
21314         (realloc_check): Likewise.
21315         * malloc/malloc.c (malloc_printerr): Add arena argument.
21316         (unlink): Likewise.
21317         (munmap_chunk): Adjust.
21318         (ARENA_CORRUPTION_BIT): New macro.
21319         (arena_is_corrupt): Likewise.
21320         (set_arena_corrupt): Likewise.
21321         (sysmalloc): Use mmap if there are no usable arenas.
21322         (_int_malloc): Likewise.
21323         (__libc_malloc): Don't fail if arena_get returns NULL.
21324         (_mid_memalign): Likewise.
21325         (__libc_calloc): Likewise.
21326         (__libc_realloc): Adjust for additional argument to
21327         malloc_printerr.
21328         (_int_free): Likewise.
21329         (malloc_consolidate): Likewise.
21330         (_int_realloc): Likewise.
21331         (_int_memalign): Don't touch corrupt arenas.
21332         * malloc/tst-malloc-backtrace.c: New test case.
21334         * Makefile (summarize-tests): Fix return value on success.
21336         * manual/string.texi (Envz Functions): Add envz_remove.
21338 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21340         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21341         (invalid_name): New function, broken out of ...
21342         (__opendirat): ... here.  Call it.
21343         (need_isdir_precheck): New function, broken out of ...
21344         (__opendirat): ... here.  Call it.
21345         Use __fxstatat64, not __xstatat64.
21346         (opendir_oflags): New function, broken out of ...
21347         (__opendirat): ... here.  Call it.
21348         (opendir_tail): New function, broken out of ...
21349         (__opendirat): ... here.  Call it.
21350         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21351         opendir_tail, rather than punting to __opendirat.
21352         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21354 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21356         * .gitignore: Ignore generated *.pyc.
21358 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21360         * include/stdio.h: Define __need_wint_t.
21361         * test-skeleton.c: Avoid `for' loop initial declaration.
21362         * nptl/tst-initializers1.c: Use test-skeleton.c.
21364 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21366         [BZ #18418]
21367         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21369 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21371         [BZ #16352]
21372         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21373         (__ieee754_atanh): Force underflow exception for results with
21374         small absolute value.
21375         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21376         (__ieee754_atanhf): Force underflow exception for results with
21377         small absolute value.
21378         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21379         (__ieee754_atanh): Force underflow exception for results with
21380         small absolute value.
21381         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21382         (__ieee754_atanhf): Force underflow exception for results with
21383         small absolute value.
21384         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21385         (__ieee754_atanhl): Force underflow exception for results with
21386         small absolute value.
21387         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21388         (__ieee754_atanhl): Force underflow exception for results with
21389         small absolute value.
21390         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21391         (__ieee754_atanhl): Force underflow exception for results with
21392         small absolute value.
21393         * math/auto-libm-test-in: Do not allow missing underflow
21394         exceptions from atanh.
21395         * math/auto-libm-test-out: Regenerated.
21397         [BZ #18221]
21398         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21399         2**-28 as threshold for returning x or +/- 1/x.
21400         * math/auto-libm-test-in: Add more tests of tan.
21401         * math/auto-libm-test-out: Regenerated.
21403         [BZ #18220]
21404         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21405         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21406         * math/auto-libm-test-in: Add another test of lgamma.
21407         * math/auto-libm-test-out: Regenerated.
21409 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21411         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21412         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21413         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21414         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21415         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21416         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21417         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21418         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21419         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21420         (log1): Use fabs.  (my_log2): Use fabs.
21421         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21422         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21423         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21424         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21425         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21426         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21427         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21428         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21429         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21430         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21431         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21433 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21435         [BZ #18217]
21436         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21437         as threshold for returning 1 - x.
21438         * math/auto-libm-test-in: Add more tests of erfc.
21439         * math/auto-libm-test-out: Regenerated.
21441 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21443         [BZ #18196]
21444         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21445         threshold for large arguments.
21446         * math/auto-libm-test-in: Add another test of atan.
21447         * math/auto-libm-test-out: Regenerated.
21449         [BZ #16339]
21450         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21451         (__log1p): Force underflow exception for results with small
21452         absolute value.
21453         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21454         (__log1pf): Force underflow exception for results with small
21455         absolute value.
21456         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21457         (__log1p): Force underflow exception for results with small
21458         absolute value.
21459         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21460         (__log1pf): Force underflow exception for results with small
21461         absolute value.
21462         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21463         (__log1pl): Force underflow exception for results with small
21464         absolute value.
21465         * math/auto-libm-test-in: Do not allow missing underflow
21466         exceptions from log1p.
21467         * math/auto-libm-test-out: Regenerated.
21469 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21470             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21472         [BZ #16704]
21473         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21475 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21477         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21478         (libmvec): New variable.
21479         * configure.ac: Added option for mathvec build.
21480         * configure: Regenerated.
21481         * mathvec/Depend: New file.
21482         * mathvec/Makefile: New file.
21483         * shlib-versions: Added libmvec.
21484         * math/Makefile: Added rule for libm.so installation.
21486         * bits/math-vector.h: New file.
21487         * bits/libm-simd-decl-stubs.h: New header.
21488         * math/Makefile (headers): Added new header
21489         libm-simd-decl-stubs.h.
21490         * math/math.h (__MATHCALL_VEC): New macro.
21492         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21493         for conditions in testing functions.
21494         * math/Makefile: Added call of libm-have-vector-test.sh.
21495         * math/libm-test.inc (HAVE_VECTOR): New macros.
21497         * math/libm-test.inc: START refactored.
21498         * math/test-double.c (TEST_MATHVEC): Add define.
21499         * math/test-float.c: Likewise.
21500         * math/test-idouble.c: Likewise.
21501         * math/test-ifloat.c: Likewise.
21502         * math/test-ildoubl.c: Likewise.
21503         * math/test-ldouble.c: Likewise.
21504         * sysdeps/generic/math-tests-arch.h
21505         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21506         architecture check.
21508         * math/test-double.c (FUNC_TEST): New macro.
21509         * math/test-float.c: Likewise.
21510         * math/test-idouble.c: Likewise.
21511         * math/test-ifloat.c: Likewise.
21512         * math/test-ildoubl.c: Likewise.
21513         * math/test-ldouble.c: Likewise.
21514         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21516 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21518         * sysdeps/nacl/fdopendir.c: New file.
21520         * dirent/scandir-tail.c: New file.
21521         * dirent/scandir64-tail.c: New file.
21522         * dirent/Makefile (routines): Add them.
21523         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21524         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21525         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21526         [!SCANDIR] (SCANDIR_TAIL): New macro.
21527         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21528         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21529         (SCANDIRAT): Macro removed.
21530         (SCANDIR_TAIL): New macro.
21531         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21532         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21533         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21534         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21535         (READDIR): Macro removed.
21536         (SCANDIR_TAIL): New macro.
21537         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21538         (SCANDIR_TAIL): New macro.
21540         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21541         * dirent/scandir-cancel.c: ... to this new file.
21542         * dirent/Makefile (routines): Add it.
21543         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21544         * sysdeps/unix/sysv/linux/i386/scandir64.c
21545         (SKIP_SCANDIR_CANCEL): Macro removed.
21546         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21548         * dirent/tst-scandir.c: New file.
21549         * dirent/tst-scandir64.c: New file.
21550         * dirent/Makefile (tests): Add them.
21552 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21554         [BZ #18409]
21555         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21557 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21559         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21560         list.
21562 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21564         * benchtests/bench-strcoll.c: New benchmark.
21565         * benchtests/Makefile: Generate locales and run benchmark.
21566         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21567         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21568         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21569         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21570         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21571         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21572         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21573         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21574         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21575         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21576         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21577         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21578         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21579         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21580         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21581         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21582         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21583         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21584         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21585         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21586         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21587         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21588         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21589         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21591 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21593         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21594         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21596 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21598         * posix/uname-values.h: New file.
21599         * posix/uname.c: Include that instead of <config-name.h>.
21600         * sysdeps/nacl/uname-values.h: New file.
21601         * sysdeps/arm/nacl/uname-values.h: New file.
21603 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21605         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21606         splitting into fields.
21608 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21610         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21611         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21612         * locale/localeinfo.h: Add enum collation_encoding_type.
21613         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21614         * programs/ld-collate.c (collate_output): Add encoding type info.
21615         * string/strcoll_l.c (STRDIFF): New function.
21616         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21617         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21619 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21621         [BZ #18397]
21622         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21623         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21624         <fpu_control.h> instead of <math/fpu_control.c>.
21625         * sysdeps/mips/mips32/fpu/Makefile: New file.
21627 2015-05-11  Andreas Schwab  <schwab@suse.de>
21629         [BZ #18007]
21630         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21631         nss_endgrent.
21632         (_nss_compat_endgrent): Call nss_endgrent.
21633         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21634         nss_endpwent.
21635         (_nss_compat_endpwent): Call nss_endpwent.
21636         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21637         needent, call nss_setspent only if non-zero.
21638         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21639         (internal_endspent): Don't call nss_endspent.
21640         (_nss_compat_endspent): Call nss_endspent.
21641         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21642         Remove.  All uses removed.
21643         (internal_setent): Remove parameter stayopen, add parameter
21644         stream.  Use it instead of global variable.
21645         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21646         (internal_endent, internal_getent): Add parameter stream.  Use it
21647         instead of global variable.
21648         (CONCAT(_nss_files_end,ENTNAME))
21649         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21650         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21651         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21652         uses removed.
21653         (internal_setent, internal_endent): Add parameter stream.  Use it
21654         instead of global variable.
21655         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21656         stream.
21657         (get_next_alias): Add parameter stream.
21658         (_nss_files_getaliasent_r): Pass global stream.
21659         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21660         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21661         (_nss_files_gethostbyname4_r): Pass local stream to
21662         internal_setent, internal_getent and internal_endent.  Remove
21663         locking.
21665 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21667         * tst-strfmon1.c (tests): Update expected currency symbol.
21669 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21671         * sysdeps/nacl/gethostname.c: New file.
21673 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21675         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21676         and sinh.
21677         * math/auto-libm-test-out: Regenerated.
21678         * sysdeps/i386/fpu/libm-test-ulps: Update.
21679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21681 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21683         [BZ #18125]
21684         * stdlib/tst-setcontext3.c: New file.
21685         * stdlib/tst-setcontext3.sh: New file.
21686         * stdlib/Makefile (tests): Add tst-setcontext3.
21687         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21688         to verify test program created output file.
21689         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21690         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21691         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21692         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21694 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21696         [BZ #18383]
21697         * elf/tst-tlsalign.c: New file.
21698         * elf/tst-tlsalign-static.c: New file.
21699         * elf/tst-tlsalign-lib.c: New file.
21700         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21701         (tests-static): Add tst-tlsalign-static.
21702         (modules-names): Add tst-tlsalign-lib.
21703         (test-xfail-tst-tlsalign): New variable.
21704         (test-xfail-tst-tlsalign-static): New variable.
21706         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21707         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21709 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21711         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21712         csqrt, erfc, sin and sincos.
21713         * math/auto-libm-test-out: Regenerated.
21714         * sysdeps/i386/fpu/libm-test-ulps: Update.
21715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21717 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21719         * sysdeps/aarch64/libm-test-ulps: Update.
21721 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21723         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21724         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21725         * math/auto-libm-test-out: Regenerated.
21726         * sysdeps/i386/fpu/libm-test-ulps: Update.
21727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21729 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21731         [BZ #18265]
21732         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21733         (wcsncpy): Likewise.
21735 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21737         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21738         Assume __ASSUME_FALLOCATE is always true.
21739         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21740         (__posix_fallocate64_l64): Likweise.
21741         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21742         (posix_fallocate): Likewise.
21743         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21744         (__posix_fallocate64_l64): Likewise.
21745         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21746         [!__ASSUME_FALLOCATE]: Add comment.
21748 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21750         * sysdeps/unix/sysv/linux/i386/Makefile
21751         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21752         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21753         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21754         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21755         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21756         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21757         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21759 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21761         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21762         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21763         tgamma.
21764         * math/auto-libm-test-out: Regenerated.
21765         * sysdeps/i386/fpu/libm-test-ulps: Update.
21766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21768 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21770         * math/auto-libm-test-in: Add more tests of tgamma.
21771         * math/auto-libm-test-out: Regenerated.
21772         * sysdeps/i386/fpu/libm-test-ulps: Update.
21773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21775         * math/auto-libm-test-in: Add more tests of tanh.
21776         * math/auto-libm-test-out: Regenerated.
21777         * sysdeps/i386/fpu/libm-test-ulps: Update.
21778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21780         * math/auto-libm-test-in: Add more tests of tan.
21781         * math/auto-libm-test-out: Regenerated.
21782         * sysdeps/i386/fpu/libm-test-ulps: Update.
21783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21785         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21786         * math/auto-libm-test-out: Regenerated.
21787         * sysdeps/i386/fpu/libm-test-ulps: Update.
21788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21790         * math/auto-libm-test-in: Add another test of pow.
21791         * math/auto-libm-test-out: Regenerated.
21792         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21794         * math/auto-libm-test-in: Add more tests of lgamma.
21795         * math/auto-libm-test-out: Regenerated.
21796         * sysdeps/i386/fpu/libm-test-ulps: Update.
21797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21799         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21800         log1p.
21801         * math/auto-libm-test-out: Regenerated.
21802         * sysdeps/i386/fpu/libm-test-ulps: Update.
21803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21805 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21807         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21808         Elf64_Chdr structs and ELFCOMPRESS constants.
21810 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21812         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21813         expm1.
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         * math/auto-libm-test-in: Add more tests of erf and erfc.
21819         * math/auto-libm-test-out: Regenerated.
21820         * sysdeps/i386/fpu/libm-test-ulps: Update.
21821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21823 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21825         * config.h.in (HAVE_AARCH64_BE): Add.
21827 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21829         * math/auto-libm-test-in: Add more tests of csqrt.
21830         * math/auto-libm-test-out: Regenerated.
21831         * sysdeps/i386/fpu/libm-test-ulps: Update.
21832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21834         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21835         * math/auto-libm-test-out: Regenerated.
21836         * sysdeps/i386/fpu/libm-test-ulps: Update.
21837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21839         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21841 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21843         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21844         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21846         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21847         (euidaccess, eaccess): Define as weak aliases.
21849         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21850         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21851         but __suseconds_t is often 'long int' so some sources assume that
21852         type is being used (e.g. they use %ld to print tv_usec).
21854 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21856         [BZ #18007]
21857         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21858         (CVE-2014-8121)
21859         * nss/tst-nss-getpwent.c: New file.
21860         * nss/Makefile (tests): Add new test.
21862 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21864         [BZ #18346]
21865         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21866         exponents less than 48 as cases where high part of mantissa needs
21867         examining to determine whether argument is integral.
21868         * math/libm-test.inc (round_test_data): Add more tests.
21870 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21872         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21874 2015-04-27  David S. Miller  <davem@davemloft.net>
21876         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21877         __tls_get_addr.
21878         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21880 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21882         [BZ#18333]
21883         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21885 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21887         [BZ#18333]
21888         * time/tzset.c (parse_tzname): Return error on memory allocation
21889         failure.
21890         * test-skeleton.c (struct temp_name_list): Change type of name
21891         member to non-const.
21892         (add_temp_file): Create a copy of the file name.
21893         (delete_temp_files): Deallocate memory.
21894         (create_temp_file): Add comment.
21896 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21898         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21899         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21901 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21903         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21904         * sysdeps/arm/configure: Regenerated.
21906 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21908         [BZ #17715]
21909         * time/tzfile.c (__tzfile_read): Check for large values of
21910         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21911         * time/tzset.c (__tzstring_len): New function, based on the old
21912         __tzstring function.
21913         (__tzstring): Call __tzstring_len.
21914         (parse_tzname): New helper function extracted from
21915         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21916         the input string.
21917         (parse_offset): New helper function extracted from
21918         __tzset_parse_tz.  Replace switch with fallthrough with
21919         initialization before sscanf.
21920         (parse_rule): Likewise.
21921         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21922         new-style function definition.
21923         * timezone/Makefile (tests): Add tst-tzset.
21924         (tst-tzset.out): Dependencies on time zone files.
21925         (tst-tzset-ENV): Set TZDIR.
21926         (testdata/XT%): Copy crafted time zone files.
21927         * timezone/README: Mention crafted time zone files.
21928         * timezone/testdata/XT1, timezone/testdata/XT2,
21929         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21930         files.
21931         * timezone/tst-tzset.c: New test.
21933 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21935         * Makeconfig (+gccwarn): Remove -Winline.
21937 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21939         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21941 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21943         * NEWS: Mention sysconf() cache information support for s390.
21944         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21946 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21948         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21949         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21950         (__nearbyint): Likewise.
21951         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21952         (copysignl): Likewise.
21954 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21956         [BZ #18287]
21957         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21958         based on padding.  (CVE-2015-1781)
21960 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21962         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21963         libc-vdso.h.
21964         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21965         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21966         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21967         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21968         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21969         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21970         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21971         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21972         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21973         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21974         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21975         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21976         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21977         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21978         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21979         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21980         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21981         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21982         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21983         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21984         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21985         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21986         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21988 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21990         * stdlib/setenv.c (__add_to_environ):
21991         Dump core quickly if setenv (..., NULL, ...) is called.
21992         This time, do it the right way, and pacify GCC with a pragma.
21994 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21996         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21997         IMAP->l_prev cannot be null, and #if out the code for the contrary
21998         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21999         believe that NS (&_dl_ns[NSID]) could point outside the array.
22001         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22002         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22003         before using NSID as an index.
22005 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22007         [BZ #17825]
22008         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22009         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22010         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22012 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22014         Add preliminary port to Google Native Client on ARM.
22015         * abi-tags (.*-.*-nacl.*): New entry.
22016         * sysdeps/arm/nacl: New directory.
22017         * sysdeps/nacl: New directory.
22019 2015-04-16  David S. Miller  <davem@davemloft.net>
22021         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22022         lowlevellock-futex.h
22024 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22026         * sysdeps/tile/configure.ac: New file.
22027         * sysdeps/tile/configure: Regenerated.
22029 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22031         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22032         conditionals for weak_alias and libc_hidden_weak.
22033         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22034         libc_hidden_weak and weak_alias.
22035         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22036         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22037         and weak_alias for static one.
22039 2015-04-15  David S. Miller  <davem@davemloft.net>
22041         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22043 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22045         [BZ #18206]
22046         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22047           Use signed comparision instead of substraction to avoid
22048           overflow bug.
22049         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22050           Take the sign of ret.
22051         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22052           Do not expect precise return values. Only the sign matters.
22053         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22054         * wcsmbs/test-wcsncmp.c: New File.
22055         * string/test-strncmp.c: Add wcsncmp support.
22057 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22059         [BZ #6792]
22060         * math/w_log1p.c: New file.
22061         * math/w_log1pf.c: Likewise.
22062         * math/w_log1pl.c: Likewise.
22063         * math/Makefile (libm-calls): Add w_log1p.
22064         * math/s_log1pl.c (log1pl): Remove weak_alias.
22065         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22066         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22067         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22068         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22069         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22070         [NO_LONG_DOUBLE] (log1pl): Likewise.
22071         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22072         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22073         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22074         (log1p): Remove long_double_symbol.
22075         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22076         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22077         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22078         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22079         remove weak_alias for corresponding log1p function.
22080         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22081         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22082         * sysdeps/ia64/fpu/w_log1p.c: New file.
22083         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22084         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22085         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22087 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22089         [BZ #18247]
22090         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22091         decimal exponent by 1.
22092         * stdlib/tst-strtod-round-data: Add more tests.
22093         * stdlib/tst-strtod-round.c (tests): Regenerated.
22095 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22097         * math/auto-libm-test-in: Add more tests of clog and clog10.
22098         * math/auto-libm-test-out: Regenerated.
22099         * sysdeps/i386/fpu/libm-test-ulps: Update.
22100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22102 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22104         * Makeconfig (module-cppflags): Exclude all .v.i files.
22105         (skip-module-cppflags): Variable removed.
22107         * configure.ac (libc_config_ok): Initialize before reading
22108         preconfigure scripts, not after.
22109         * configure: Regenerated.
22111         * test-skeleton.c (TIMEOUT): Move #define to top level.
22112         (main): Grok environment variable TEST_DIRECT.  If set, print
22113         test expectation details into that file and then behave as if
22114         given --direct.
22116 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22118         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22119         warning on 32-bit.
22121 2015-04-08  David S. Miller  <davem@davemloft.net>
22123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22125 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22127         * math/auto-libm-test-in: Add more tests of atanh.
22128         * math/auto-libm-test-out: Regenerated.
22129         * sysdeps/i386/fpu/libm-test-ulps: Update.
22130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22132         * math/auto-libm-test-in: Add more tests of atan.
22133         * math/auto-libm-test-out: Regenerated.
22134         * sysdeps/i386/fpu/libm-test-ulps: Update.
22135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22137 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22139         * elf/pldd.c (main): Rewrite to use struct
22140         scratch_buffer instead of extend_alloca.
22141         * elf/pldd-xx.c (find_maps): Likewise.
22142         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22143         <alloca.h>.
22144         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22145         scratch_buffer instead of extend_alloca.
22146         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22147         grp/compat-initgroups.c.
22148         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22149         Rewrite to use struct scratch_buffer instead of extend_alloca.
22150         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22151         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22153 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22155         * math/auto-libm-test-in: Add more tests of cbrt.
22156         * math/auto-libm-test-out: Regenerated.
22157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22159         * math/auto-libm-test-in: Add more tests of cabs.
22160         * math/auto-libm-test-out: Regenerated.
22161         * sysdeps/i386/fpu/libm-test-ulps: Update.
22162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22164         [BZ #18210]
22165         [BZ #18211]
22166         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22167         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22168         computations.
22169         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22170         clog10.
22171         * math/auto-libm-test-out: Regenerated.
22172         * sysdeps/i386/fpu/libm-test-ulps: Update.
22173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22175         [BZ #18197]
22176         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22177         (atan): Set FE_TONEAREST mode for internal computations.
22178         * math/auto-libm-test-in: Add more tests of atan.
22179         * math/auto-libm-test-out: Regenerated.
22181 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22183         [BZ #17930]
22184         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22186 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22188         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22190 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22192         * include/scratch_buffer.h: New file.
22193         * malloc/scratch_buffer_grow.c: Likewise.
22194         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22195         * malloc/scratch_buffer_set_array_size.c: Likewise.
22196         * malloc/tst-scratch_buffer.c: Likewise.
22197         * malloc/Makefile (routines): Add scratch_buffer_grow.
22198         (tests): Add test case.
22199         * malloc/Versions (GLIBC_PRIVATE): Export
22200         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22201         __libc_scratch_buffer_set_array_size.
22203 2015-04-06  Richard Henderson  <rth@redhat.com>
22205         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22206         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22208         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22209         unsigned int before printing.
22211 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22213         [BZ #17596]
22214         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22215         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22217 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22219         * include/libc-internal.h (libc_max_align_t): Define.
22221 2015-04-02  Andreas Schwab  <schwab@suse.de>
22223         [BZ #16850]
22224         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22226 2015-04-02  Mel Gorman  <mgorman@suse.de>
22228         [BZ #17195]
22229         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22230         as well as the main arena.
22232 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22234         [BZ #18185]
22235         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22236         sharing L2 cache to 2 for Silvermont/Knights Landing.
22238 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22240         [BZ #17711]
22241         * config.make.in (have-protected-data): New.
22242         * configure.ac: Check linker support for protected data symbol.
22243         * configure: Regenerated.
22244         * elf/Makefile (modules-names): Add tst-protected1moda and
22245         tst-protected1modb if $(have-protected-data) is yes.
22246         (tests): Add tst-protected1a and tst-protected1b if
22247         $(have-protected-data) is yes.
22248         ($(objpfx)tst-protected1a): New.
22249         ($(objpfx)tst-protected1b): Likewise.
22250         (tst-protected1modb.so-no-z-defs): Likewise.
22251         * elf/tst-protected1a.c: New file.
22252         * elf/tst-protected1b.c: Likewise.
22253         * elf/tst-protected1mod.h: Likewise.
22254         * elf/tst-protected1moda.c: Likewise.
22255         * elf/tst-protected1modb.c: Likewise.
22257 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22259         [BZ #17711]
22260         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22261         indicates it is called from do_lookup_x on relocation against
22262         protected data, skip the data definion in the executable from
22263         copy reloc.
22264         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22265         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22266         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22267         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22268         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22269         otherwise to 0.
22270         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22271         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22272         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22273         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22274         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22275         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22277 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22279         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22280         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22282 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22284         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22285         THREAD_SETMEM_NC.
22286         * sysdeps/x86_64/nptl/tls.h: Ditto.
22288 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22290         * dlfcn/tststatic.c (main): Converted to ...
22291         (do_test): ... this.
22292         (TEST_FUNCTION): New macro.
22293         Include test-skeleton.c.
22295 2015-03-26  Alan Modra  <amodra@gmail.com>
22297         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22298         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22299         zero for undefined weak.
22300         (elf_machine_plt_conflict): Similarly.
22302 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22304         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22305         atanh.
22306         * math/auto-libm-test-out: Regenerated.
22307         * sysdeps/i386/fpu/libm-test-ulps: Update.
22308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22310         * math/auto-libm-test-in: Add another test of asin.
22311         * math/auto-libm-test-out: Regenerated.
22312         * sysdeps/i386/fpu/libm-test-ulps: Update.
22313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22315         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22316         Remove macro.
22317         (LLL_EBX_REG): Likewise.
22318         (LLL_ENTER_KERNEL): Likewise.
22320         * math/auto-libm-test-in: Add more tests of asin.
22321         * math/auto-libm-test-out: Regenerated.
22322         * sysdeps/i386/fpu/libm-test-ulps: Update.
22323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22325         [BZ #18138]
22326         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22327         libc_do_syscall_args): New structure.
22328         (INTERNAL_SYSCALL_MAIN_0): New macro.
22329         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22330         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22331         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22332         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22333         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22334         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22335         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22336         Replace conditional definitions by conditional definitions of ....
22337         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22338         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22339         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22340         (libpthread-sysdep_routines): Add libc-do-syscall.
22341         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22342         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22343         to __NR_futex not 240.
22345 2015-03-25  Alan Modra  <amodra@gmail.com>
22347         * NEWS: Advertise TLS optimization.
22348         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22349         (DT_PPC_NUM): Increment.
22350         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22351         (CHECK_STATIC_TLS): Use here.
22352         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22353         TLS descriptors.
22354         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22355         * sysdeps/powerpc/dl-tls.c: New file.
22356         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22357         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22358         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22359         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22364 2015-03-25  Alan Modra  <amodra@gmail.com>
22366         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22367         for overlapping .opd entries" to "support...".
22368         * sysdeps/powerpc/powerpc64/configure: Regenerate
22370 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22372         * math/auto-libm-test-in: Add more tests of acos.
22373         * math/auto-libm-test-out: Regenerated.
22374         * sysdeps/i386/fpu/libm-test-ulps: Update.
22375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22377         * math/auto-libm-test-in: Add more tests of expm1.
22378         * math/auto-libm-test-out: Regenerated.
22379         * sysdeps/i386/fpu/libm-test-ulps: Update.
22380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22382 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22384         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22385         * math/auto-libm-test-out: Regenerated.
22386         * sysdeps/i386/fpu/libm-test-ulps: Update.
22387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22389         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22392         * math/auto-libm-test-in: Add more tests of log2.
22393         * math/auto-libm-test-out: Regenerated.
22394         * sysdeps/i386/fpu/libm-test-ulps: Update.
22395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22397 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22399         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22400         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22401         _IO_IS_APPENDING bit in READ_WRITE instead.
22403 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22405         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22406         (__determine_cpumask_size): Replace extend_alloca with a
22407         variable-length array.  Do not treat res == 0 as an error.
22409 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22411         [BZ #18100]
22412         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22413         and integer overflow.
22414         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22415         (main): Add integer overflow tests.
22416         * manual/pattern.texi (Calling Wordexp): Document additional use
22417         for WRDE_SYNTAX.
22419 2015-03-23  Alan Modra  <amodra@gmail.com>
22421         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22422         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22423         and false branch of conditional.
22424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22425         Likewise.
22427 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22429         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22430         libc-modules.h
22431         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22432         unused declaration of _hurd_intr_rpc_msg_in_trap.
22433         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22434         defined instead of whether it is non-zero.
22435         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22436         input constraint instead of both input and output constraint.  Use ecx
22437         clobber instead of %ecx.
22438         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22439         mutex_unlock): Use a statement expression instead of an expression list.
22440         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22441         type to vm_size_t instead of vm_address_t.
22442         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22443         defined instead of whether it is non-zero.
22444         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22445         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22446         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22447         comparisons with mapaddr.
22448         * nscd/nscd-client.h: Include <time.h>.
22449         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22450         9th parameter to __vm_region instead of int.
22451         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22452         * scripts/check-local-headers.sh (exclude): Add device/,
22453         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22454         cthreads.h.
22456 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22458         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22459         to account for alignment padding.
22460         * sysdeps/arm/memmove.S: Likewise.
22462 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22464         * sysdeps/unix/sysv/linux/generic/README: New file.
22466 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22468         [BZ #18138]
22469         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22470         (futex_abstimed_wait)
22471         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22472         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22473         of lll_futex_timed_wait.
22475 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22477         [BZ #17542]
22478         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22480 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22482         [BZ #17090]
22483         [BZ #17620]
22484         [BZ #17621]
22485         [BZ #17628]
22486         * NEWS: Update.
22487         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22488         entries with Static TLS too.  Skip entries past the end of the
22489         allocated DTV, from Alan Modra.
22490         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22491         Static TLS DTV entry set up from...
22492         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22493         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22494         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22495         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22496         for Static TLS.
22497         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22498         that the slot we find is associated with the given map before
22499         using its generation count.
22500         * nptl_db/db_info.c: Include ldsodefs.h.
22501         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22502         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22503         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22504         (link_map::l_tls_offset): New struct field.
22505         (dtv_t::counter): Likewise.
22506         (rtld_global): New struct.
22507         (_rtld_global): New rtld variable.
22508         (dl_tls_dtv_slotinfo_list): New rtld global field.
22509         (dtv_slotinfo_list): New struct.
22510         (dtv_slotinfo): Likewise.
22511         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22512         (td_lookup): Rename to...
22513         (td_mod_lookup): ... this.  Use new mod parameter instead of
22514         LIBPTHREAD_SO.
22515         * nptl_db/td_thr_tlsbase.c: Include link.h.
22516         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22517         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22518         addresses even if the DTV is out of date or missing them.
22519         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22520         index zero-length arrays.
22521         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22522         (td_lookup): Make it a macro implemented in terms of...
22523         (td_mod_lookup): ... this declaration.
22524         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22525         (DB_MAIN_VARIABLE): Likewise.
22527 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22529         [BZ #18134]
22530         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22532 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22534         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22536 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22538         [BZ #18128]
22539         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22540         (atomic_add, atomic_increment_and_test)
22541         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22543 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22545         * stdlib/setenv.c (__add_to_environ):
22546         Dump core quickly if setenv (..., NULL, ...) is called.
22548 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22550         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22551         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22552         all the necessary asm magic in one place.
22553         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22554         using those.
22556 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22558         [BZ #14906]
22559         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22560         traced file mtime. Use consistent log message.
22561         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22562         (register_traced_file): Call install_watches. Always set mtime.
22563         (invalidate_cache): Iterate over all trace files. Call install_watches.
22564         (inotify_check_files): Don't inline. Handle watching parent
22565         directories and configuration file movement in and out.
22566         (handle_inotify_events): New function.
22567         (main_loop_poll): Call handle_inotify_events.
22568         (main_loop_epoll): Likewise.
22569         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22570         (struct traced_file): Use array of inotify fds. Add parent directory,
22571         and basename.
22572         (struct database_dyn): Remove unused file_mtime.
22573         (init_traced_file): New inline function.
22574         (define_traced_file): New macro.
22575         * nss/nss_db/db-init.c: Use define_traced_file.
22576         (_nss_db_init): Use init_traced_file.
22577         * nss/nss_files/files-init.c: Use define_traced_file.
22578         (_nss_files_init): Use init_traced_file.
22580 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22582         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22583         [_LIBC]: Do not include <stdlib.h>.
22584         [!_LIBC] (abort): Remove declaration.
22585         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22586         _FP_STATIC_ASSERT instead of conditionally calling abort.
22587         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22588         (_FP_EXTEND_CNAN): Likewise.
22589         (FP_TRUNC): Likewise.
22590         (__FP_CLZ): Likewise.
22591         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22593 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22595         * manual/string.texi (XPG basename): Fix prototype.
22597 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22599         [BZ #18080]
22600         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22601         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22602         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22603         (__setcontext): Likewise.
22604         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22605         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22606         Call rt_sigprocmask syscall one time to set new signal mask
22607         and retrieve the current signal mask instead of two calls.
22608         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22609         (__swapcontext): Likewise.
22610         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22611         * stdlib/tst-setcontext2.c: New file.
22613 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22615         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22617 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22619         [BZ #18093]
22620         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22621         the wrong size.
22623 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22625         [BZ #18043]
22626         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22628 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22630         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22631         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22632         Remove define.
22633         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22634         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22635         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22636         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22637         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22638         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22639         define.
22640         * nptl_db/td_symbol_list.c (td_lookup): Remove
22641         HAVE_ASM_GLOBAL_DOT_NAME code.
22642         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22643         HAVE_ASM_GLOBAL_DOT_NAME check.
22644         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22645         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22646         (DOT_LABEL): Remove define.
22647         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22648         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22649         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22650         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22651         (__TLS_GET_ADDR): Likewise.
22652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22653         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22655 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22657         [BZ #18111]
22658         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22659         (_FPU_SETCW): Initialize cw from fpsr before storing.
22660         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22661         (fesetexceptflag): Rewrite using fpu_control.h.
22662         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22664 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22666         [BZ #18110]
22667         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22668         asms.
22669         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22671 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22673         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22674         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22675         abort.
22676         (_FP_FMA): Likewise.
22677         (_FP_DIV): Likewise.
22679 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22681         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22682         with 0 in that case.
22683         * Makefile (summarize-tests): New canned sequence, factored out of
22684         commands for targets tests and xtests.  Display summary lines that
22685         don't start with PASS: or XFAIL: rather than ones that do start with
22686         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22687         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22688         do start with ERROR: or FAIL:.
22689         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22690         (except for [$(build-shared) = yes]).
22691         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22692         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22693         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22694         * nptl/Makefile: Revert 2015-03-04 changes.
22695         [$(CXX) empty] (tests-unsupported): New variable.
22696         * debug/Makefile: Likewise.
22698         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22699         gnulib file.  Replace __attribute with __attribute__ throughout.
22701 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22703         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22705 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22707         [BZ #18104]
22708         * math/auto-libm-test-in: Add another test of pow.
22709         * math/auto-libm-test-out: Regenerated.
22711 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22713         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22714         $(config-cflags-nofma).
22716 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22718         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22719         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22720         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22721         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22722         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22723         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22724         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22725         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22726         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22727         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22728         Add comment on closing #endif.
22730 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22732         * posix/wordexp.c (CHAR_IN_SET): New macro.
22733         (parse_param): Use it.
22735 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22737         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22739 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22741         [BZ #18043]
22742         * posix/wordexp.c (parse_param): Fix buffer overflow.
22743         * posix/wordexp-test.c (test_case): Add test case.
22745 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22747         [BZ #18042]
22748         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22749         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22751 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22753         [BZ #18043]
22754         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22755         (do_bz18043): Delete.
22756         (at_page_end): New.
22757         (testit): Refactor to have words at the edge of unreadable page.
22759 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22761         [BZ #16734]
22762         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22763         Cleanup read-only streams as well.
22764         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22766 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22768         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22769         <bits/libc-lockP.h>
22771 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22773         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22774         on [__KERNEL__].
22775         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22776         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22777         * soft-fp/op-common.h (_FP_DECL): Likewise.
22779 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22781         * elf/ifuncdep2.c (global): Replace
22782         __attribute__((visibility("protected"))) with
22783         asm (".protected global").
22784         * elf/ifuncmod1.c (global): Likewise.
22785         * elf/ifuncmod5.c (global): Likewise.
22787 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22789         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22790         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22792 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22794         * manual/install.texi (Configuring and compiling):
22795         Document test-wrapper-env-only.
22796         * INSTALL: Regenerated.
22798 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22800         [BZ #18043]
22801         * posix/wordexp.c (parse_param): Fix buffer overflow.
22802         * posix/wordexp-test.c (do_bz18043): Add test case.
22804 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22806         * time/tst-strptime2.c (do_test): Ensure failing tests are
22807         reported correctly.
22808         * time/tst-strptime3.c (do_test): Likewise.
22810 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22812         Fix aio_error thread-safety.
22813         * sysdeps/pthread/aio_error.c: New file
22814         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22815         synchronization.
22817 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22819         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22820         (group_number, vfprintf): Use it.
22821         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22822         (JUMP, REF): Use it.
22823         (WORK_BUFFER_SIZE): New enum constant.
22824         (process_arg, vfprintf): Use it.
22826 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22828         * manual/errno.texi (Error Messages): Complete example function
22829         by adding missing #define.
22830         (program_invocation_name): Add statement indicating GNU
22831         extension and reference which header file declares the variable.
22832         (program_invocation_short_name): Likewise.
22834 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22836         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22837         compatibility note.
22839 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22841         * Makeconfig (test-wrapper-env-only): New variable.
22842         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22843         then use that with $(test-wrapper-env-only) rather than using
22844         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22846 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22848         [BZ #18082]
22849         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22850         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22851         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22852         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22853         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22854         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22855         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22856         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22857         Likewise.
22858         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22859         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22860         Likewise.
22861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22862         Likewise.
22863         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22864         Likewise.
22865         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22866         Likewise.
22867         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22868         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22869         Likewise.
22870         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22871         Likewise.
22872         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22873         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22875 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22877         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22878         (ETH_ALEN): New macro.
22879         (struct ether_addr): Use it for length of ether_addr_octet.
22881         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22882         (setdb): Don't call __nss_configure_lookup for "rpc".
22883         (do_test): Don't call test_rpc.
22884         (output_rpcent, test_rpc): Functions moved ...
22885         * sunrpc/test-rpcent.c: ... to this new file.
22886         * sunrpc/Makefile (tests): Add it.
22888         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22889         __xpg_sigpause.
22890         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22891         * nptl/tst-signal6.c: Likewise.
22892         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22893         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22895         * configure.ac (libc_cv_cxx_link_ok): New check.
22896         Reset CXX to empty if it fails to link.
22897         * configure: Regenerated.
22898         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22899         bug-atexit3-lib only if $(CXX) is nonempty.
22900         * nptl/Makefile (tests): Likewise for tst-cancel24.
22901         (tests, tests-static): Likewise for tst-cancel24-static.
22902         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22903         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22904         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22905         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22907 2015-03-04  Andreas Schwab  <schwab@suse.de>
22909         [BZ #17631]
22910         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22911         for non-GCC compilers.
22912         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22913         Likewise.
22915 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22917         [BZ #17776]
22918         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22919         integer before bitwise and assembly operations.
22920         (feclearexcept): Likewise.
22921         * math/test-fenvinline.c: New file.
22922         * math/Makefile: Add test-fenvinline test.
22924 2015-03-03  Alan Modra  <amodra@gmail.com>
22926         [BZ #16512]
22927         * scripts/localplt.awk: Strip off symbol version.
22928         * NEWS: Mention bug fix.
22930 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22932         * sysdeps/pthread/timer_routines.c
22933         (timer_free_list, thread_free_list, thread_active_list): Make static.
22935 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22937         [BZ #17779]
22938         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22939         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22940         Undefine.
22941         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22942         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22943         Likewise.
22944         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22945         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22946         Likewise.
22948 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22950         [BZ #18036]
22951         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22952         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22954 2015-03-02  Andreas Schwab  <schwab@suse.de>
22956         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22957         variable name.
22959 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22961         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22962         Return error status.
22964 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22966         [BZ #15969]
22967         * locale/findlocale.c (_nl_find_locale): Introduce const
22968         version of loc_name and drop unsafe type casts.
22970 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22972         * dlfcn/tststatic2.c (main): Converted to ...
22973         (do_test): ... this.
22974         (TEST_FUNCTION): New macro.
22975         Include test-skeleton.c.
22977 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22979         [BZ #17711]
22980         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22981         (tests-pie): Add vismain.
22982         (CFLAGS-vismain.c): New.
22983         * elf/vismain.c: Add comments for PIE requirement.
22985 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22987         [BZ #18046]
22988         [BZ #18047]
22989         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22990         0x1p-56L as threshold for just returning the argument.
22991         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22992         0x1p-32L as threshold for just returning the argument.
22993         * math/auto-libm-test-in: Add more tests of atanh.
22994         * math/auto-libm-test-out: Regenerated.
22995         * sysdeps/i386/fpu/libm-test-ulps: Update.
22996         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22998 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23000         * string/bcopy.c (bcopy): Call memmove for performance.
23002 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23004         * string/bzero.c (__bzero): Call memset for performance.
23006 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23008         [BZ #18068]
23009         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23010         to 00100000.
23012 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23014         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23016 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23018         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23019         (__kernel_standard): Use CSTR macro when setting exc.name.
23020         * sysdeps/ieee754/Makefile [$(subdir) = math]
23021         (CFLAGS-k_standard.c): Remove variable.
23023         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23024         setting p and q from "else if" to "else".
23025         (qzero): Likewise.
23026         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23027         (qone): Likewise.
23028         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23029         (qzerof): Likewise.
23030         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23031         (qonef): Likewise.
23032         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23033         (qzero): Likewise.
23034         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23035         (qone): Likewise.
23037         [BZ #18038]
23038         [BZ #18039]
23039         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23040         return pi/2 for arguments below 0x1p-113L.
23041         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23042         return pi/2 for arguments below 0x1p-106L.
23043         * math/auto-libm-test-in: Add more tests of acos.
23044         * math/auto-libm-test-out: Regenerated.
23046         [BZ #16351]
23047         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23048         (MO): New macro.
23049         (__ieee754_asin): Force underflow exception for results with small
23050         absolute value.
23051         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23052         (MO): New macro.
23053         (__ieee754_asinf): Force underflow exception for results with
23054         small absolute value.
23055         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23056         (__ieee754_asin): Force underflow exception for results with small
23057         absolute value.
23058         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23059         (__ieee754_asinf): Force underflow exception for results with
23060         small absolute value.
23061         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23062         (__ieee754_asinl): Force underflow exception for results with
23063         small absolute value.
23064         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23065         (__ieee754_asinl): Force underflow exception for results with
23066         small absolute value.
23067         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23068         (__ieee754_asinl): Force underflow exception for results with
23069         small absolute value.
23070         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23071         Include <math.h>.
23072         * math/auto-libm-test-in: Do not mark underflow exceptions as
23073         possibly missing for bug 16351.
23074         * math/auto-libm-test-out: Regenerated.
23076         [BZ #18030]
23077         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23078         of power of 2 down when low part has opposite sign.
23079         * math/libm-test.inc (logb_test_data): Add more tests.
23081 2015-02-26  Andreas Schwab  <schwab@suse.de>
23083         [BZ #18032]
23084         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23085         over collating symbol inside a bracket expression.  Minor cleanup.
23086         * posix/tst-fnmatch3.c (do_test): Add test case.
23088 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23090         [BZ #18029]
23091         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23092         Adjust exponent of power of 2 down when low part has opposite
23093         sign.
23094         * math/libm-test.inc (ilogb_test_data): Add more tests.
23096 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23098         [BZ #15969]
23099         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23100         the previous change.
23102         [BZ #15969]
23103         * locale/findlocale.c (_nl_find_locale): Retry archive search
23104         after alias expansion.
23106 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23108         * iconv/tst-iconv3.c (main): Converted to ...
23109         (do_test): ... this.
23110         (TEST_FUNCTION): New macro.
23111         Include test-skeleton.c.
23113         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23114         (convert): Make function static.
23115         (test_unalign): Likewise.  Add const to argument pointee types.
23116         (main): Replace with static function do_test.
23117         Print "Succeeded." only if RET is zero.
23118         (TEST_FUNCTION): New macro.
23119         Include test-skeleton.c.
23121         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23122         returns a null pointer.
23124 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23126         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23127         to __memcpy_ppc only for static builds.
23129 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23131         [BZ #18020]
23132         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23133         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23134         * math/auto-libm-test-in: Add more tests of asinh.
23135         * math/auto-libm-test-out: Regenerated.
23136         * sysdeps/i386/fpu/libm-test-ulps: Update.
23137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23139 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23141         [BZ #15850]
23142         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23143         and ip6_mtuinfo definitions here.
23144         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23145         in this define too.  Update comment.
23147 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23149         * elf/sprof.c (load_shobj): Tweak error message to match others.
23151 2015-02-24  Kevin Easton  <kevin@guarana.org>
23153         [BZ #16145] (partial fix)
23154         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23155         to reduce lock contention.
23157 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23159         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23160         (struct timex): Update time comment.
23161         (ADJ_SETOFFSET): Define.
23163 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23165         [BZ #18019]
23166         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23167         2**56 not 2**28 as threshold for log (2x) formula.
23168         * math/auto-libm-test-in: Add more tests of acosh.
23169         * math/auto-libm-test-out: Regenerated.
23170         * sysdeps/i386/fpu/libm-test-ulps: Update.
23171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23173 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23175         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23176         parenthesis around the buf assignment.
23177         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23179 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23181         [BZ #16783]
23182         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23183         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23184         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23185         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23186         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23187         * math/libm-test.inc (scalb_test_data): Add more tests.
23189 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23191         [BZ #17916]
23192         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23193         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23195 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23197         [BZ #17523]
23198         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23199         * io/bits/fcntl2.h (open): Use it.
23200         (openat): Likewise.
23201         * io/open.c (__libc_open): Likewise.
23202         * io/open64.c (__libc_open64): Likewise.
23203         * io/open64_2.c (__open64_2): Likewise.
23204         * io/open_2.c (__open_2): Likewise.
23205         * io/openat.c (__openat): Likewise.
23206         * io/openat64.c (__openat64): Likewise.
23207         * io/openat64_2.c (__openat64_2): Likewise.
23208         * io/openat_2.c (__openat_2): Likewise.
23209         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23210         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23211         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23212         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23213         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23214         (__open_nocancel): Likewise.
23215         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23216         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23217         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23219 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23221         [BZ #14841]
23222         * resolv/gethnamaddr.c (getanswer): Skip logging if
23223         RES_USE_DNSSEC is set.
23224         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23226 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23228         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23230 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23232         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23233         201304L, for Unicode 7.
23235 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23237         [BZ #17836]
23238         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23239         shared library.  Add gmon-start.os otherwise.
23240         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23241         $(objpfx)gmon-start.os if builing shared library.
23242         ($(objpfx)g$(static-start-installed-name)): Likewise.
23244 2015-02-23  Andreas Schwab  <schwab@suse.de>
23246         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23248 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23250         [BZ #17269]
23251         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23252         (enlarge_userbuf): Likewise.
23254 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23256         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23257         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23258         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23259         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23261 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23263         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23264         expression inside statement expression.
23266 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23268         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23269         <sysdeps/nptl/lowlevellock.h> and remove macros and
23270         functions that are now defined there.
23271         (SYS_futex): Remove.
23272         (lll_compare_and_swap): Remove.
23273         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23275 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23277         [BZ #17999]
23278         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23279         instead of scandirat.
23280         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23281         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23282         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23283         __scandirat.
23284         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23285         (__scandirat): Declare.  Use libc_hidden_proto.
23286         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23287         Remove variable.
23288         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23290 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23292         [BZ #15319]
23293         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23294         (MO): New macro.
23295         (__ieee754_atan2): For results with small absolute value, force
23296         underflow exception and remove excess range and precision from
23297         return value.
23298         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23299         (MO): New macro.
23300         (__ieee754_atan2f): For results with small absolute value, force
23301         underflow exception and remove excess range and precision from
23302         return value.
23303         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23304         (MO): New macro.
23305         (__atan): For results with small absolute value, force underflow
23306         exception and remove excess range and precision from return value.
23307         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23308         (MO): New macro.
23309         (__atanf): For results with small absolute value, force underflow
23310         exception and remove excess range and precision from return value.
23311         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23312         <math.h>.
23313         (__ieee754_atan2): Force underflow exception for results with
23314         small absolute value.
23315         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23316         <math_private.h>.
23317         (atan): Force underflow exception for results with small absolute
23318         value.
23319         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23320         (__atanf): Force underflow exception for results with small
23321         absolute value.
23322         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23323         <math.h>.
23324         (__atanl): Force underflow exception for results with small
23325         absolute value.
23326         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23327         (__atanl): Force underflow exception for results with small
23328         absolute value.
23329         * sysdeps/x86/fpu/bits/mathinline.h
23330         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23331         (__ieee754_atan2): Only define inline for long double.
23332         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23333         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23334         * math/auto-libm-test-in: Do not mark underflow exceptions as
23335         possibly missing for bug 15319.  Add more tests of atan2.
23336         * math/auto-libm-test-out: Regenerated.
23337         * math/libm-test.inc (casin_test_data): Do not mark underflow
23338         exceptions as possibly missing for bug 15319.
23339         (casinh_test_data): Likewise.
23340         * sysdeps/i386/fpu/libm-test-ulps: Update.
23342 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23344         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23345         * sysdeps/mips/bits/endian.h: Fix comments.
23347 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23349         [BZ #17996]
23350         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23351         (hdestroy_r): Likewise.
23352         (hsearch_r): Likewise.
23353         (__hcreate_r): Declare and use libc_hidden_proto.
23354         (__hdestroy_r): Likewise.
23355         (__hsearch_r): Likewise.
23356         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23357         (hcreate): Call __hcreate_r instead of hcreate_r.
23358         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23359         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23360         as weak alias of __hcreate_r.
23361         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23362         __hdestroy_r.
23363         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23364         __hsearch_r.
23365         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23366         Remove variable.
23367         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23368         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23369         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23370         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23372 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23374         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23375         arena_lock into a single arena_get.
23377 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23379         * dl-reloc.c: Inlucde libc-internal.h.
23380         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23381         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23382         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23383         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23384         (grow_heap): Likewise.
23385         * malloc/malloc.c: Include libc-internal.h.
23386         (do_check_malloc): Call powerof2.
23387         (sysmalloc): Use pagesize. Call ALIGN_UP.
23388         (systrim): Use pagesize.
23389         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23390         (__libc_valloc): Use pagesize.
23391         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23393 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23395         [BZ #17991]
23396         * include/sys/resource.h (__getrlimit64): Declare.  Use
23397         libc_hidden_proto.
23398         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23399         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23400         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23401         getrlimit64.
23402         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23403         __getrlimit64.
23404         [!getrlimit64] (getrlimit64): Define as weak alias of
23405         __getrlimit64.  Use libc_hidden_weak.
23406         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23407         using __getrlimit64 not __new_getrlimit64.
23408         (__GI_getrlimit64): Likewise.
23409         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23410         Likewise.
23411         (__GI_getrlimit64): Likewise.
23412         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23414         (getrlimit): Add __getrlimit64 alias.
23415         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23416         Likewise.
23417         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23418         Remove variable.
23419         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23420         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23422 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23424         * libio/fileops.c: Add missing sys/mman.h
23425         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23427 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23429         * manual/math.texi (Errors in Math Functions): Clarify goals
23430         regarding inexact and underflow exceptions.
23432 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23434         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23435         * sysdeps/mips/memset.S: Ditto.
23437 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23439         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23441 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23443         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23444         (__v1longjmp): Remove versioned symbol.
23445         (__v1siglongjmp): Remove alias and versioned symbol.
23446         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23447         (__v2siglongjmp): Likewise.
23449 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23451         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23453 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23455         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23457 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23459         [BZ #17987]
23460         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23461         zero result does not depend on the sign resulting from
23462         subtraction.
23463         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23464         Likewise.
23465         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23466         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23467         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23468         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23469         * math/libm-test.inc (remquo_test_data): Add more tests.
23471 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23473         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23474         Problem reported by J William Piggott.
23476 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23478         [BZ #17978]
23479         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23480         products 4 * y and 2 * y where those would overflow.
23481         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23482         Likewise.
23483         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23484         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23485         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23486         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23487         * math/libm-test.inc (remquo_test_data): Add more tests.
23489         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23491         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23492         [defined _COMPILING_NEWLIB].
23493         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23494         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23496         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23497         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23499 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23501         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23502         acquired.
23504 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23506         [BZ #17792]
23507         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23508         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23509         HOST_STACK_END_ADDR): Likewise.
23511 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23513         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23514         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23515         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23517 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23519         * sysdeps/generic/c++-types.data: New file.
23520         * sysdeps/generic/ld.abilist: New file.
23521         * sysdeps/generic/libBrokenLocale.abilist: New file.
23522         * sysdeps/generic/libanl.abilist: New file.
23523         * sysdeps/generic/libc.abilist: New file.
23524         * sysdeps/generic/libcrypt.abilist: New file.
23525         * sysdeps/generic/libdl.abilist: New file.
23526         * sysdeps/generic/libm.abilist: New file.
23527         * sysdeps/generic/libpthread.abilist: New file.
23528         * sysdeps/generic/libresolv.abilist: New file.
23529         * sysdeps/generic/librt.abilist: New file.
23531 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23533         [BZ #17569]
23534         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23535         Compute absolute value of x as modified by fmod, not original
23536         value of x.
23537         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23538         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23539         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23540         RUN_TEST_ffI_f1_mod8.
23541         (remquo_test_data): Add more tests.
23543 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23545         * sysdeps/init_array/pt-crti.S: New file.
23547 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23549         [BZ #17967]
23550         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23551         __builtin_fmaf instead of relying on contraction of a * b + c.
23553 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23555         [BZ #17969]
23556         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23557         node.
23559 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23561         [BZ #17964]
23562         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23563         __builtin_fma instead of relying on contraction of a * b + c.
23565 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23567         * Makeconfig (ASFLAGS): Add -Werror=undef.
23568         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23569         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23570         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23572         * Makeconfig (after-link): New variable.
23573         (+link-pie, +link-pie-tests): Use it.
23574         (+link-static, +link-static-tests): Likewise.
23575         (+link, +link-tests): Likewise.
23576         * Makerules (build-module, build-module-asneeded): Likewise.
23577         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23578         Likewise.
23579         * elf/Makefile ($(objpfx)ld.so): Likewise.
23581 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23583         [BZ #17965]
23584         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23585         both struct timeval and struct timespec.
23587 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23589         [BZ #16560]
23590         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23591         and redefine.
23592         (__ieee754_exp2l): Do not multiply small fractional parts by
23593         M_LN2l.
23594         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23595         small argument.
23596         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23597         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23598         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23599         * math/auto-libm-test-in: Add more tests of exp2.
23600         * math/auto-libm-test-out: Regenerated.
23602 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23604         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23605         unaligned path.
23607 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23609         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23610         little endian.
23612 2015-02-12  Andreas Schwab  <schwab@suse.de>
23614         [BZ #15790]
23615         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23616         Filter out elision flags from value returned in kind.
23617         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23618         * nptl/tst-pthread-mutexattr.c: New file.
23620 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23622         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23623         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23624         into gnu-gnu, and update comment to refer to abi-tags.
23626 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23628         [BZ #15467]
23629         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23630         (__sincos): Set errno to EDOM for infinite argument.
23631         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23632         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23633         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23634         (__sincosl): Set errno to EDOM for infinite argument.
23635         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23636         (__sincosl): Set errno to EDOM for infinite argument.
23637         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23638         (__sincosl): Set errno to EDOM for infinite argument.
23639         * math/libm-test.inc (sincos_test_data): Test errno setting.
23641 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23643         * string/strxfrm_l.c: Remove #define STRCMP.
23644         * string/strcoll_l.c: Remove #define STRLEN.
23645         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23646         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23648 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23650         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23651         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23652         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23653         * sysdeps/mips/mips64/Makefile: ... here.
23654         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23655         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23656         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23657         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23658         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23659         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23660         * sysdeps/mips/mips64/n64/Implies: Likewise.
23662 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23664         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23665         <sys/time.h>, <string.h>, and <errno.h>.
23666         (dest_offset, dest_address, value, zero): Remove unused variables.
23667         (ldouble): Remove typedef.
23668         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23669         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23670         1).  Fix code style.
23671         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23672         (check): Function removed.
23673         (CHECK): New macro.
23674         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23675         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23676         Don't call set_sigaction_FP and remove_sigaction_FP here.
23677         (ldouble_test): Just use 'long double' as macro argument, no need for
23678         the 'ldouble' typedef.
23679         (do_test): Set up SIGFPE handler at start, using plain signal rather
23680         than sigaction.  Fix code style.
23682 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23684         [BZ #17949]
23685         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23686         jump label.
23688 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23690         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23691         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23693         * sysdeps/powerpc/configure.ac: Remove file.
23694         * sysdeps/powerpc/configure: Likewise.
23696         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23697         [sysdep_routines]: Remove wordcopy-power6 object.
23698         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23699         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23700         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23701         (__memmove_ppc32): Likewise.
23702         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23703         file.
23704         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23705         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23706         Remove preprocessor.
23708         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23709         [sysdep_routines]: Remove wide chars objects.
23710         [wcsmbs]: New rule for wide char objects.
23712         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23713         Remove wordcopy-power6 obejct.
23714         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23715         Use local call for wordcopy and memcpy symbols.
23716         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23717         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23718         implementation for loader.
23719         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23721         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23722         Remove wordcopy-power7 object.
23723         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23724         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23725         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23726         (_wordcopy_fwd_dest_aligned): Likewise.
23727         (_wordcopy_bwd_aligned): Likewise.
23728         (_wordcopy_bwd_dest_aligned): Likewise.
23730         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23731         Rewrite to call __memmove_ppc instead of include default
23732         implementation.
23734         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23735         Remove wide chars objects.
23736         [wcsmbs]: New rule for wide char objects.
23738 2015-02-09  Andreas Schwab  <schwab@suse.de>
23740         [BZ #17912]
23741         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23742         in terms of __O_DIRECTORY.
23744 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23746         * time/getdate.c: Include <stdbool.h>.
23747         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23748         call PTR_MANGLE.
23749         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23750         PTR_DEMANGLE.
23752 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23754         Add ersatz _Static_assert on older C hosts
23755         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23756         pre-C11 C platform that is not known to support _Static_assert.
23758 2015-02-07  Richard Braun  <rbraun@sceen.net>
23760         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23761         sigstate.
23762         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23764 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23766         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23767         priority against unexistent AIO_PRIO_DELTA_MAX.
23768         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23769         instead of int.
23770         * misc/fchflags.c (fchflags): Likewise.
23771         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23772         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23773         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23774         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23775         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23776         Declare macros.
23777         [__USE_MISC] (chflags, fchflags): Declare functions.
23778         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23779         EINVAL when nfds is greater than FD_SETSIZE.
23780         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23781         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23782         45.
23783         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23784         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23785         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23786         MACH_RCV_TIMED_OUT.
23787         * hurd/hurd/signal.h (_hurd_self_sigstate,
23788         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23789         Explicit casts from void *.
23790         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23791         * abi-tags: Rename gnu-gnu os into gnu.
23793         [BZ #4719]
23794         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23795         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23796         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23797         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23798         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23799         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23801         [BZ #17944]
23802         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23803         duplicates ADDR->sun_path with sockaddr LEN limitation.
23804         * sysdeps/mach/hurd/connect.c: Include <string.h>
23805         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23806         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23807         * sysdeps/mach/hurd/sendto.c: Likewise.
23808         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23809         implementing it by hand.
23811 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23813         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23814         Use sfi_breg on ldr.
23815         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23816         Likewise.
23818         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23819         it's defined.
23820         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23821         Test SIGSETXID only if it's defined.
23823         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23825         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23826         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23828         * nptl/tst-align2.c: Moved ...
23829         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23830         * nptl/Makefile (tests): Remove tst-align2.
23831         * sysdeps/unix/sysv/linux/Makefile
23832         [$(subdir) = nptl] (tests): Add tst-align-clone.
23833         * nptl/tst-getpid1.c: Moved ...
23834         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23835         * nptl/tst-getpid2.c: Moved ...
23836         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23837         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23838         * sysdeps/unix/sysv/linux/Makefile
23839         [$(subdir) = nptl] (tests): ... here.
23840         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23841         * sysdeps/unix/sysv/linux/Makefile
23842         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23844         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23845         Drop trailing \n from perror argument.  Use return rather than exit.
23847         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23848         on [SA_SIGINFO].
23849         * nptl/tst-cancel21.c (do_test): Likewise.
23850         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23851         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23852         [!SA_SIGINFO]: Make it a stub test.
23854         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23855         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23857         * posix/tst-getlogin.c: Move to ...
23858         * login/tst-getlogin.c: ... here.
23859         * posix/Makefile (tests): Move tst-getlogin to ...
23860         * login/Makefile (tests): ... here.
23862         * libio/tst-atime.c (do_test): Move local variables SV and E
23863         inside [ST_NOATIME] conditional.
23865         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23867         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23869         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23870         (wait_code): New function replaces macro.
23871         Call nanosleep rather than syscall.
23873         * nptl/pt-system.c: Rewritten.  Put everything under
23874         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23875         Use IFUNC to redirect when possible.
23877         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23878         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23879         Use IFUNC to redirect when possible.
23881         * nptl/pt-fork.c: Rewritten.  Put everything under
23882         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23883         Use IFUNC to redirect when possible.
23884         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23886         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23887         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23888         unconditionally nowadays.  This included the only reference to
23889         __vdso_clock_gettime that appears outside libc proper.
23890         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23891         Remove version set (containing only __vdso_clock_gettime).
23892         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23893         Add attribute_hidden.
23894         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23895         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23896         libc_hidden_data_def.
23897         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23898         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23900         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23901         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23902         setrpcent, and getrpcport to ...
23903         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23904         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23905         getrpcbynumber_r, and getrpcent_r to ...
23906         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23907         * inet/getrpcbyname.c: Moved ...
23908         * sunrpc/getrpcbyname.c: ... here.
23909         * inet/getrpcbyname_r.c: Moved ...
23910         * sunrpc/getrpcbyname_r.c: ... here.
23911         * inet/getrpcbynumber.c: Moved ...
23912         * sunrpc/getrpcbynumber.c: ... here.
23913         * inet/getrpcbynumber_r.c: Moved ...
23914         * sunrpc/getrpcbynumber_r.c: ... here.
23915         * inet/getrpcent.c: Moved ...
23916         * sunrpc/getrpcent.c: ... here.
23917         * inet/getrpcent_r.c: Moved ...
23918         * sunrpc/getrpcent_r.c: ... here.
23919         * inet/Makefile (routines): Move those to ...
23920         * sunrpc/Makefile (routines): ... here.
23921         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23922         the $(subdirs) list.
23923         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23924         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23925         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23926         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23928         * elf/Makefile (routines): Include $(all-dl-routines), not just
23929         $(dl-routines).
23930         (rtld-routines): Likewise.  Use = rather than :=.
23931         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23932         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23933         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23934         * sysdeps/arm/Makefile: Likewise.
23935         * sysdeps/i386/Makefile: Likewise.
23936         * sysdeps/x86_64/Makefile: Likewise.
23937         * sysdeps/hppa/Makefile [$(subdir) = elf]
23938         (sysdep_routines, sysdep-rtld-routines): Don't add
23939         $(sysdep-dl-routines) to these.
23940         * sysdeps/ia64/Makefile: Likewise.
23941         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23942         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23943         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23944         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23945         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23946         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23947         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23948         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23949         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23950         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23951         these; sysdep-dl-routines alone is enough.
23953 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23955         [BZ #17932]
23956         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23957         where multiplication results in zero and third argument is finite
23958         and nonzero.
23959         * math/auto-libm-test-in: Add more tests of fma.
23960         * math/auto-libm-test-out: Regenerated.
23962         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23963         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23964         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23965         (_FP_CMP_EQ): Likewise.
23966         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23968         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23969         extra argument CHECK_NAN.  Redefine as wrapper around
23970         _FP_EXTEND_CNAN.
23972 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23974         * version.h (RELEASE): Set to "stable".
23975         (VERSION): Set to "2.21"
23976         * include/features.h (__GLIBC_MINOR__): Set to 21.
23978         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23980 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23981             Paul Eggert  <eggert@cs.ucla.edu>
23983         [BZ #16618]
23984         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23985         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23986         size in bytes. Store needed elements in wpmax. Use needed size
23987         in bytes for extend_alloca.
23989 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23991         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23992         binutls 2.25, and texinfo 5.2.
23993         * INSTALL: Regenerate.
23994         * sysdeps/nios2/configure: Regenerate.
23995         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23996         * manual/contrib.texi: Update.
23997         * po/be.po: Update.
23998         * po/bg.po: Update.
23999         * po/ca.po: Update.
24000         * po/cs.po: Update.
24001         * po/da.po: Update.
24002         * po/de.po: Update.
24003         * po/el.po: Update.
24004         * po/eo.po: Update.
24005         * po/es.po: Update.
24006         * po/fi.po: Update.
24007         * po/fr.po: Update.
24008         * po/gl.po: Update.
24009         * po/hr.po: Update.
24010         * po/hu.po: Update.
24011         * po/ia.po: Update.
24012         * po/id.po: Update.
24013         * po/it.po: Update.
24014         * po/ja.po: Update.
24015         * po/ko.po: Update.
24016         * po/lt.po: Update.
24017         * po/nb.po: Update.
24018         * po/nl.po: Update.
24019         * po/pl.po: Update.
24020         * po/pt_BR.po: Update.
24021         * po/ru.po: Update.
24022         * po/rw.po: Update.
24023         * po/sk.po: Update.
24024         * po/sl.po: Update.
24025         * po/sv.po: Update.
24026         * po/tr.po: Update.
24027         * po/uk.po: Update.
24028         * po/vi.po: Update.
24029         * po/zh_CN.po: Update.
24030         * po/zh_TW.po: Update.
24032         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24033         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24034         * sysdeps/hppa/dl-irel.h: Remove #warning.
24035         * sysdeps/hppa/entry.h: Provide prototype for
24036         __canonicalize_funcptr_for_compare and cast argument.
24037         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24038         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24039         * sysdeps/hppa/sotruss-lib.c: New file.
24040         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24041         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24042         (atomic_compare_and_exchange_bool_acq): Likewise.
24043         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24044         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24046         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24047         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24048         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24050 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24052         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24053         called function in non-PIC case.
24055 2015-01-31  David S. Miller  <davem@davemloft.net>
24057         * sysdeps/sparc/sparc32/bits/atomic.h
24058         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24059         unlock not after it.
24060         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24061         volatile register usage warnings from the compiler.
24063         * sysdeps/sparc/nptl/sem_init.c: Delete.
24064         * sysdeps/sparc/nptl/sem_post.c: Delete.
24065         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24066         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24067         * sysdeps/sparc/sparc32/sem_init.c: New file.
24068         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24069         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24070         padding explicitly initialized.
24071         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24072         padding for in-semaphore spinlock.
24073         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24074         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24075         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24076         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24077         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24078         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24079         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24080         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24081         version.
24082         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24083         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24085 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24087         [BZ #17801]
24088         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24089         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24090         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24091         New.
24092         (index_AVX_Fast_Unaligned_Load): Likewise.
24093         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24094         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24095         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24096         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24097         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24098         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24099         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24100         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24101         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24103 2015-01-29  Andreas Schwab  <schwab@suse.de>
24105         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24107 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24109         [BZ #17892]
24110         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24112 2015-01-28  Martin Sebor  <msebor@redhat.com>
24114         * math/README.libm-test: Clarify. Add "How to read the test output."
24116 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24118         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24119         Define to 0.
24121 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24123         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24124         (__HAVE_64B_ATOMICS): Define to 0.
24126 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24128         [BZ #17885]
24129         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24130         value to set as new flag.
24132         [BZ #16576]
24133         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24134         and use _ARCH_PPCSQ instead.
24135         (__ieee754_sqrt): Likewise.
24136         (__ieee754_sqrtf): Likewise.
24137         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24138         _ARCH_PPCSQ is defined.
24139         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24140         fsqrt instruction.
24141         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24142         _ARCH_PPCSQ is defined.
24143         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24144         fsqrts instruction.
24145         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24147 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24149         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24150         bug (GCC BZ #64739).
24152 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24154         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24155         Mark _retval as used.
24156         (lll_futex_wake_unlock): Likewise.
24157         (lll_futex_timed_wait_requeue_pi): Likewise.
24159         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24160         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24161         register variables.
24163         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24164         libm_hidden_def.
24166         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24167         (__bswap_64): Mark as __always_inline.
24169 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24171         [BZ #15378]
24172         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24173         when none of the search directories exist.
24175 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24177         [BZ #17869]
24178         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24179         power8 in .machine directive.
24181         [BZ #17868]
24182         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24183         set dependency from opd value.
24185 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24187         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24188         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24189         architecture.
24191 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24193         [BZ #17870]
24194         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24195         with uint64_t.
24196         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24197         (uint64_t) 1.
24198         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24199         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24200         Replace 1UL with (uint64_t) 1.
24201         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24202         int with uint64_t.
24204 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24206         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24207         (if_freenameindex): Likewise.
24209         * resource/getrlimit64.c: Add missing libc_hidden_def.
24211 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24213         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24214         __label__.
24215         (_FP_FMA): Likewise.
24216         (_FP_TO_INT_ROUND): Likewise.
24217         (_FP_FROM_INT): Likewise.
24219 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24221         [BZ #16418]
24222         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24223         Make code racy and cancel safe.
24225 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24227         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24228         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24229         attribution.
24231         * pwd/tst-getpw.c: Rewrite.
24233         [BZ #17702]
24234         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24235         (modules-names): Add moddummy1 and moddummy2.
24236         ($(objpfx)tst-rec-dlopen): Define.
24237         * dlfcn/moddummy1.c: New file.
24238         * dlfcn/moddummy2.c: New file.
24239         * dlfcn/tst-rec-dlopen.c: New file.
24240         * elf/dl-cache.c (_dl_load_cache_lookup):
24241         Return char*. Copy result with alloca/strcpy/strdup.
24242         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24243         returns char*. Free cached. If not saving realname
24244         free cached.
24245         * elf/dl-open.c (dl_open_worker): Do not assert that
24246         _r_debug->r_state is RT_CONSISTENT.
24247         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24248         returns char*.
24250 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24251             Carlos O'Donell  <carlos@redhat.com>
24253         [BZ #12674]
24254         * nptl/sem_waitcommon.c: New file.
24255         * nptl/sem_wait.c: Include sem_waitcommon.c.
24256         (__sem_wait_cleanup, do_futex_wait): Remove.
24257         (__new_sem_wait): Adapt.
24258         (__new_sem_trywait): New function.
24259         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24260         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24261         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24262         (sem_timedwait): Adapt.
24263         * nptl/sem_post.c (__new_sem_post): Adapt.
24264         (futex_wake): New function.
24265         (__old_sem_post): Add release MO fence.
24266         * nptl/sem_open.c (sem_open): Adapt.
24267         * nptl/sem_init.c (__new_sem_init): Adapt.
24268         (futex_private_if_supported): New function.
24269         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24270         (__old_sem_getvalue): Add using previous code.
24271         * sysdeps/nptl/internaltypes.h: Adapt.
24272         * nptl/tst-sem13.c (do_test): Adapt.
24273         * nptl/tst-sem11.c (main): Adapt.
24274         * nptl/sem_trywait.c: Remove.
24275         * nptl/DESIGN-sem.txt: Remove.
24276         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24277         (gen-as-const-headers): Remove structsem.sym.
24278         * nptl/structsem.sym: Remove.
24279         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24280         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24281         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24282         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24283         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24284         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24285         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24286         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24287         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24288         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24289         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24290         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24291         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24292         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24293         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24294         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24295         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24296         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24297         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24298         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24299         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24300         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24302 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24304         * INSTALL: Regenerated.
24306         * po/libc.pot: Regenerated.
24308 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24309             Sandra Loosemore  <sandra@codesourcery.com>
24310             Andrew Jenner  <andrew@codesourcery.com>
24311             Joseph Myers  <joseph@codesourcery.com>
24312             Nathan Sidwell  <nathan@codesourcery.com>
24314         * NEWS: Mention new Nios II port.
24315         * sysdeps/nios2/Implies: New file.
24316         * sysdeps/nios2/Makefile: New file.
24317         * sysdeps/nios2/Subdirs: New file.
24318         * sysdeps/nios2/Versions: New file.
24319         * sysdeps/nios2/__longjmp.S: New file.
24320         * sysdeps/nios2/abort-instr.h: New file.
24321         * sysdeps/nios2/backtrace.c: New file.
24322         * sysdeps/nios2/bits/endian.h: New file.
24323         * sysdeps/nios2/bits/fenv.h: New file.
24324         * sysdeps/nios2/bits/link.h: New file.
24325         * sysdeps/nios2/bits/setjmp.h: New file.
24326         * sysdeps/nios2/bsd-_setjmp.S: New file.
24327         * sysdeps/nios2/bsd-setjmp.S: New file.
24328         * sysdeps/nios2/configure: New generated file.
24329         * sysdeps/nios2/configure.ac: New file.
24330         * sysdeps/nios2/crti.S: New file.
24331         * sysdeps/nios2/crtn.S: New file.
24332         * sysdeps/nios2/dl-init.c: New file.
24333         * sysdeps/nios2/dl-machine.h: New file.
24334         * sysdeps/nios2/dl-sysdep.h: New file.
24335         * sysdeps/nios2/dl-tls.h: New file.
24336         * sysdeps/nios2/dl-trampoline.S: New file.
24337         * sysdeps/nios2/gccframe.h: New file.
24338         * sysdeps/nios2/gmp-mparam.h: New file.
24339         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24340         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24341         * sysdeps/nios2/ldsodefs.h: New file.
24342         * sysdeps/nios2/libc-tls.c: New file.
24343         * sysdeps/nios2/libm-test-ulps: New file.
24344         * sysdeps/nios2/machine-gmon.h: New file.
24345         * sysdeps/nios2/math-tests.h: New file.
24346         * sysdeps/nios2/math_private.h: New file.
24347         * sysdeps/nios2/memusage.h: New file.
24348         * sysdeps/nios2/nptl/Makefile: New file.
24349         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24350         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24351         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24352         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24353         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24354         * sysdeps/nios2/nptl/tls.h: New file.
24355         * sysdeps/nios2/preconfigure: New file.
24356         * sysdeps/nios2/s_fma.c: New file.
24357         * sysdeps/nios2/s_fmaf.c: New file.
24358         * sysdeps/nios2/setjmp.S: New file.
24359         * sysdeps/nios2/sfp-machine.h: New file.
24360         * sysdeps/nios2/sotruss-lib.c: New file.
24361         * sysdeps/nios2/stackguard-macros.h: New file.
24362         * sysdeps/nios2/stackinfo.h: New file.
24363         * sysdeps/nios2/start.S: New file.
24364         * sysdeps/nios2/sysdep.h: New file.
24365         * sysdeps/nios2/tls-macros.h: New file.
24366         * sysdeps/nios2/tst-audit.h: New file.
24367         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24368         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24369         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24370         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24371         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24372         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24373         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24374         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24375         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24376         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24377         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24378         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24379         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24380         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24381         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24382         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24383         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24384         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24385         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24386         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24387         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24388         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24389         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24390         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24391         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24392         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24393         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24394         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24395         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24396         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24397         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24398         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24399         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24400         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24401         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24402         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24403         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24404         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24405         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24406         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24407         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24408         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24409         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24410         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24412 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24414         [BZ #17844]
24415         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24416         (getutent): Use weak_alias in non SHARED case
24417         and default_symbol_version in SHARED case.
24418         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24419         (getutent_r, pututline): Likewise.
24420         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24421         (getutid): Likewise.
24422         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24423         (getutid_r): Likewise.
24424         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24425         (getutline): Likewise.
24426         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24427         (getutline_r): Likewise.
24428         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24429         (updwtmp): Likewise.
24431 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24433         [BZ #17848]
24434         * sysdeps/s390/s390-32/memcmp.S
24435         (memcmp_g5): Rename to __memcmp_g5.
24436         * sysdeps/s390/s390-32/memcpy.S
24437         (memcpy_g5): Rename to __memcpy_g5.
24438         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24439         (memcpy_mvcle) Rename to __memcpy_mvcle.
24440         * sysdeps/s390/s390-32/memset.S
24441         (memset_g5): Rename to __memset_g5.
24442         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24443         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24444         and use prefixed functions.
24445         * sysdeps/s390/s390-32/multiarch/memcmp.S
24446         (memcmp_z196): Rename to __memcmp_z196.
24447         (memcmp_z10): Rename to __memcmp_z10.
24448         (memcmp): Set alias to __memcmp_g5.
24449         (bcmp): Set alias to __memcmp_g5.
24450         * sysdeps/s390/s390-32/multiarch/memcpy.S
24451         (memcpy_z196): Rename to __memcpy_z196.
24452         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24453         (memcpy_z10): Rename to __memcpy_z10.
24454         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24455         (memcpy): Set alias to __memcpy_g5.
24456         * sysdeps/s390/s390-32/multiarch/memset.S
24457         (memset_z196): Rename to __memset_z196.
24458         Jump to __memset_mvcle instead of memset_mvcle.
24459         (memset_z10): Rename to __memset_z10.
24460         Jump to __memset_mvcle instead of memset_mvcle.
24461         (memset_mvcle) Rename to __memset_mvcle.
24462         (memset): Set alias to __memset_g5.
24463         * sysdeps/s390/s390-64/memcmp.S
24464         (memcmp_z900): Rename to __memcmp_z900.
24465         * sysdeps/s390/s390-64/memcpy.S
24466         (memcpy_z900): Rename to __memcpy_z900.
24467         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24468         (memcpy_mvcle) Rename to __memcpy_mvcle.
24469         * sysdeps/s390/s390-64/memset.S
24470         (memset_z900): Rename to __memset_z900.
24471         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24472         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24473         and use prefixed functions.
24474         * sysdeps/s390/s390-64/multiarch/memcmp.S
24475         (memcmp_z196): Rename to __memcmp_z196.
24476         (memcmp_z10): Rename to __memcmp_z10.
24477         (memcmp): Set alias to __memcmp_z900.
24478         (bcmp): Set alias to __memcmp_z900.
24479         * sysdeps/s390/s390-64/multiarch/memcpy.S
24480         (memcpy_z196): Rename to __memcpy_z196.
24481         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24482         (memcpy_z10): Rename to __memcpy_z10.
24483         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24484         (memcpy): Set alias to __memcpy_z900.
24485         * sysdeps/s390/s390-64/multiarch/memset.S
24486         (memset_z196): Rename to __memset_z196.
24487         Jump to __memset_mvcle instead of memset_mvcle.
24488         (memset_z10): Rename to __memset_z10.
24489         Jump to __memset_mvcle instead of memset_mvcle.
24490         (memset_mvcle) Rename to __memset_mvcle.
24491         (memset): Set alias to __memset_z900.
24493 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24495         [BZ #17748]
24496         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24497         __fesetenv instead of fesetenv.
24499 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24501         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24502         macro.
24504 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24506         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24507         regression on LE.
24509         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24510         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24511         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24512         strncmp-power8 object.
24513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24514         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24515         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24516         * NEWS: Update.
24518 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24519             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24521         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24522         trailing byte check.
24524 2015-01-13  David S. Miller  <davem@davemloft.net>
24526         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24528 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24530         * login/logout.c (logout): Use memset rather than bzero.
24531         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24532         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24533         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24534         (_gethtbyaddr): Likewise.
24535         * locale/programs/simple-hash.c (bcopy): Macro removed.
24537 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24539         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24540         Add strcmp-power8 object.
24541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24542         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24543         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24544         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24545         __strcmp_power8 implementation.
24546         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24547         * NEWS: Update.
24549         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24550         Add strncpy-power8 and stpncpy-power8 objects.
24551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24552         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24553         implementations.
24554         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24555         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24556         __stpncpy_power8 implementation.
24557         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24558         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24559         __strncpy_power8 implementation.
24560         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24561         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24562         * NEWS: Update.
24564         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24565         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24566         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24568         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24569         strncat-power8 object.
24570         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24571         __strcat_power8 implementation.
24572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24573         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24574         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24575         optimized strcat for power8.
24577         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24578         strcpy-power8 and stpcpy-power8 objects.
24579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24580         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24581         implementations.
24582         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24583         multiarch stpcpy implementation for POWER8.
24584         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24585         multiarch strcpy implementation for POWER8.
24586         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24587         __strcpy_power8 function.
24588         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24589         stpcpy for POWER8.
24590         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24591         strcpy for POWER8.
24592         * NEWS: Update.
24594 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24596         [BZ #16009]
24597         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24598         weights and rules. Use do_xfrm_cached if data fits in cache,
24599         do_xfrm otherwise.  Moved former main loop to...
24600         * (do_xfrm_cached): New function.
24601         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24602         find_idx, find_position and stack_push.
24603         * (find_idx): New function.
24604         * (find_position): Likewise.
24605         * localedata/sort-test.sh: Added test run for do_xfrm.
24606         * localedata/xfrm-test.c (main): Added command line option
24607         -nocache to run the test with strings that are too large for
24608         the STRXFRM cache.
24610 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24612         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24613         variable to lll_futex_wake call, not the value itself.
24615 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24617         [BZ #17803]
24618         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24619         twom64.  Adjust value to 0x1p-64L.
24620         (__scalblnl): Only return standard underflowing result for K <=
24621         -64 not K <= -63; adjust exponent for underflowing result by 64
24622         not 63.
24623         * math/libm-test.inc (scalbn_test_data): Add more tests.
24624         (scalbln_test_data): Likewise.
24626         [BZ #17834]
24627         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24628         0x1p63L.
24629         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24630         not HX.
24631         * math/libm-test.inc (scalbn_test_data): Add more tests.
24632         (scalbln_test_data): Likewise.
24634 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24635             Stefani Seibold  <stefani@seibold.net>
24637         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24638         (sysdep_routines): Add dl-vdso here, ...
24639         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24640         (sysdep_routines): ... not here.
24641         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24642         fallback when vDSO is not presented.
24643         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24644         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24645         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24646         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24647         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24648         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24649         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24650         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24651         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24652         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24653         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24654         fallback configurable symbol when vDSO is not available.
24655         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24656         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24657         be able to redefine fallback symbol when vDSO is not available.
24658         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24659         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24661 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24663         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24664         (TLS_INIT_TP): Add tm_capable initialization.
24665         (TLS_DEFINE_INIT_TP): Likewise.
24666         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24667         TCB.
24668         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24669         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24670         calculation.
24671         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24672         transactoion is lock elision is built and TCB tm_capable is set.
24673         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24675         (INTERNAL_SYSCALL_NCS): Likewise.
24676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24677         (INTERNAL_SYSCALL_NCS): Likewise.
24678         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24680         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24681         for powerpc.
24682         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24683         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24684         and remove it for 32 bits case.
24685         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24686         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24687         initialization.
24688         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24689         Disable lock elision with rdlocks if elision is not available.
24691         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24692         (sysdep_routines): Add lock elision objects.
24693         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24694         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24695         [pthread_mutex_t] (__elision): Add field.
24696         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24697         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24698         elision definitions for powerpc.
24699         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24700         implementation of lock elision for powerpc.
24701         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24702         implementation of timed lock elision for powerpc.
24703         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24704         implementation of trylock with lock elision for powerpc.
24705         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24706         implementaion of unlock for lock elision for powerpc.
24707         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24708         automatic enable lock elision for mutexes.
24709         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24710         transaction execution definitions for powerpc.
24711         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24712         definitions.
24713         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24714         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24715         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24716         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24717         * NEWS: Update.
24719 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24721         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24722         for #include of <shm-directory.h>.
24724 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24726         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24727         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24729 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24731         [BZ #17791]
24732         * NEWS: Mention bug fix.
24733         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24734         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24735         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24737 2015-01-09  Torvald Riegel <triegel@redhat.com>
24739         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24741 2015-01-09  Torvald Riegel <triegel@redhat.com>
24743         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24745 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24747         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24748         pointer and cast to uintptr_t.
24750 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24752         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24753         removed.
24754         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24756 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24758         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24759         of 0.
24761 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24763         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24764         <nptl/pthreadP.h> instead.
24765         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24767         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24768         already defined.
24769         [__SIGRTMIN] (init): Function removed.
24770         [__SIGRTMIN] (initialized): Variable removed.
24771         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24772         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24773         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24774         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24775         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24776         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24777         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24778         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24779         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24780         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24781         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24782         * sysdeps/nptl/allocrtsig.c: New file.
24783         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24784         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24785         * sysdeps/generic/testrtsig.h: File removed.
24787         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24788         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24790         * nptl/nptl-init.c (pthread_functions): Conditionalize
24791         .ptr__nptl_setxid initialization on [SIGSETXID].
24793         * sysdeps/nptl/sys/procfs.h: New file.
24794         * nptl_db/Makefile (headers): Add it.
24795         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24797         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24798         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24799         * nptl/pthread_attr_setaffinity.c: Include it.
24800         * nptl/pthread_setattr_default_np.c: Likewise.
24801         * nptl/check-cpuset.h: New file.
24803 2015-01-08  Richard Henderson  <rth@redhat.com>
24805         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24806         (CFLAGS-tst-execstack-prog.c): Likewise.
24807         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24809 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24810             Sandra Loosemore  <sandra@codesourcery.com>
24811             Andrew Jenner  <andrew@codesourcery.com>
24812             Joseph Myers  <joseph@codesourcery.com>
24813             Nathan Sidwell  <nathan@codesourcery.com>
24815         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24816         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24817         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24818         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24819         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24820         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24821         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24822         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24823         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24824         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24825         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24826         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24827         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24828         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24829         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24830         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24831         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24833 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24835         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24836         timespec struct member in syscall macro.
24837         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24838         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24839         first timeval struct member in syscall macro.
24840         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24842 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24844         [BZ #17748]
24845         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24846         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24847         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24848         __feupdateenv and define as weak alias of __feupdateenv.  Use
24849         libm_hidden_weak.
24850         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24851         libm_hidden_def.
24852         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24853         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24854         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24855         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24856         libm_hidden_def.
24857         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24858         __feupdateenv and define as weak alias of __feupdateenv.  Use
24859         libm_hidden_weak.
24860         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24861         libm_hidden_def.
24862         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24863         __feupdateenv and define as weak alias of __feupdateenv.  Use
24864         libm_hidden_weak.
24865         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24866         libm_hidden_def.
24867         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24868         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24869         (__feupdateenv): Likewise.
24870         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24871         __feupdateenv and define as weak alias of __feupdateenv.  Use
24872         libm_hidden_weak.
24873         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24874         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24875         libm_hidden_def.
24876         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24877         function.
24878         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24879         libm_hidden_def.
24880         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24881         __feupdateenv instead of feupdateenv.
24882         (default_libc_feupdateenv_test): Likewise.
24883         (libc_feresetround_ctx): Likewise.
24885 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24887         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24888         prototype.
24890 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24892         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24893         COLL_SYM in a couple of places to avoid uninitialized variable
24894         wanings on tilegx gcc 4.8.2.
24896 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24898         * sysdeps/aarch64/strcpy.S: New file.
24899         * sysdeps/aarch64/stpcpy.S: New file.
24900         * NEWS: Updated.
24902 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24904         * sysdeps/aarch64/strrchr.S: New file.
24905         * NEWS: Updated.
24907 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24909         [BZ #17658]
24910         * stdlib/setenv.c: Fix memory leak when setting large,
24911         duplicate string.
24913 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24915         [BZ #17273]
24916         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24917         and tabs from buffer before parsing fstab entry.
24918         * misc/tst-mntent.c (main): Add test for mount entry with
24919         trailing spaces and tabs.
24921 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24923         [BZ #17748]
24924         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24925         * math/fesetround.c (fesetround): Rename to __fesetround and
24926         define as weak alias of __fesetround.  Use libm_hidden_weak.
24927         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24928         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24929         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24930         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24931         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24932         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24933         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24934         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24935         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24936         __fesetround_inline.
24937         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24938         __fesetround_inline instead of __fesetround.
24939         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24940         __fesetround and define as weak alias of __fesetround.  Use
24941         libm_hidden_weak.  Call __fesetround_inline instead of
24942         __fesetround.
24943         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24944         __fesetround and define as weak alias of __fesetround.  Use
24945         libm_hidden_weak.
24946         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24947         Likewise.
24948         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24949         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24950         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24951         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24952         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24953         __fesetround and define as weak alias of __fesetround.  Use
24954         libm_hidden_weak.
24955         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24956         __fesetround instead of fesetround.
24957         (default_libc_feholdexcept_setround): Likewise.
24958         (libc_feholdsetround_ctx): Likewise.
24959         (libc_feholdsetround_noex_ctx): Likewise.
24961         [BZ #17748]
24962         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24963         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24964         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24965         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24966         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24967         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24968         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24969         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24970         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24971         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24972         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24973         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24974         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24975         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24976         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24977         libm_hidden_def.
24978         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24979         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24980         Likewise.
24981         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24982         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24983         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24984         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24985         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24986         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24987         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24988         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24989         __fesetenv instead of fesetenv.
24990         (libc_feresetround_noex_ctx): Likewise.
24991         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24992         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24993         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24994         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24995         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24996         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24997         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24998         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24999         (__feupdateenv): Likewise.
25000         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25001         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25002         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25003         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25005 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25007         [BZ #17806]
25008         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25009         addresses have been freed.
25011 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25013         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25014         and nservall.
25016 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25018         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25019         Clean up check_pf allocation pattern. addresses
25021 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25023         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25024         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25025         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25026         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25027         * nptl/pthread_join.c (pthread_join): Likewise.
25028         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25029         * sysdeps/posix/waitid.c (__waitid): Likewise.
25030         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25031         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25032         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25033         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25034         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25035         Likewise.
25036         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25037         (__libc_pread64): Likewise.
25038         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25039         (__libc_pwrite): Likewise.
25040         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25041         (__libc_pwrite64): Likewsie.
25042         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25043         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25044         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25045         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25046         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25047         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25048         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25050         Likewise.
25051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25052         (__libc_pread64): Likewise.
25053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25054         Likewise.
25055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25056         (__libc_pwrite64): Likewise.
25057         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25058         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25059         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25060         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25061         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25062         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25063         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25064         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25065         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25066         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25067         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25068         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25069         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25070         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25071         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25072         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25073         Likewise.
25075 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25077         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25078         (CFLAGS-test-double.c): Likewise.
25079         (CFLAGS-test-ldouble.c): Likewise.
25080         (CPPFLAGS-test-ifloat.c): Likewise.
25081         (CPPFLAGS-test-idouble.c): Likewise.
25082         (CPPFLAGS-test-ildoubl.c): Likewise.
25083         (CFLAGS-test-test-fenv.c): Remove variable.
25084         (CFLAGS-test-misc.c): Likewise.
25086 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25088         [BZ #17797]
25089         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25090         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25091         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25092         CLOCKS_PER_SEC == 1000000.
25093         * time/clocktest.c (main): Replace %ld with %jd and cast to
25094         intmax_t.
25096 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25098         * sysdeps/generic/unwind-resume.h: New file.
25099         * sysdeps/gnu/unwind-resume.c: Include it.
25100         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25101         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25102         argument list.
25103         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25104         global rather than static.
25105         (_Unwind_Resume): Update user.
25106         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25107         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25108         rather than static.  Add __attribute__ ((cold)).
25109         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25110         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25111         * sysdeps/arm/arm-unwind-resume.S: New file.
25112         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25113         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25114         * sysdeps/arm/Makefile [$(subdir) = csu]
25115         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25116         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25117         Add rt-arm-unwind-resume.
25118         [$(subdir) = nptl]
25119         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25120         Add pt-arm-unwind-resume.
25121         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25122         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25124 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25126         [BZ #17748]
25127         * include/fenv.h (__feholdexcept): Declare.  Use
25128         libm_hidden_proto.
25129         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25130         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25131         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25132         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25133         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25134         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25135         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25136         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25137         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25138         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25139         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25140         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25141         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25142         (feholdexcept): Likewise.
25143         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25144         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25145         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25146         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25147         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25148         __feholdexcept instead of feholdexcept.
25149         (default_libc_feholdexcept_setround): Likewise.
25151 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25153         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25154         to avoid using stl/str to align destination.
25156 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25158         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25160 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25162         [BZ #17796]
25163         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25164         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25165         Define as weak alias not strong alias.
25167 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25169         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25170         bltzal with addiupc.
25171         (RTLD_START): Ditto.
25173 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25175         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25176         for __vdso_* functions in declarations.
25177         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25178         definitions.
25179         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25180         INTERNAL_VSYSCALL): Use struct return types to check for error.
25182         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25183         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25184         function with cast from llround().
25185         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25186         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25187         Define.
25189 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25191         [BZ #17793]
25192         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25193         Define as weak alias not strong alias.
25195         [BZ #17635]
25196         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25197         ...
25198         * ctype/ctype-extn.c: ... here.
25199         (__isblank_l): Move to ...
25200         * ctype/ctype-c99_l.c: ... here.  New file.
25201         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25202         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25203         Remove variable.
25204         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25205         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25206         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25207         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25208         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25210         [BZ #17777]
25211         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25212         (posix_fadvise64): Define as weak alias not strong alias.
25213         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25214         (posix_fallocate64): Likewise.
25215         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25216         Remove variable.
25217         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25218         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25219         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25220         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25221         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25223 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25225         [BZ #16191]
25226         * NEWS: Mention bug fix.
25227         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25228         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25229         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25230         (HOST_STACK_END_ADDR): Likewise.
25232 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25234         [BZ #17748]
25235         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25236         * math/fegetround.c (fegetround): Rename to __fegetround and
25237         define as weak alias of __fegetround.  Use libm_hidden_weak.
25238         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25239         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25240         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25241         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25242         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25243         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25244         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25245         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25246         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25247         Undefine after rather than before function definition; use
25248         parentheses around function name in definition.
25249         (__fegetround): Also undefine macro after function definition.
25250         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25251         __fegetround and define as weak alias of __fegetround.  Use
25252         libm_hidden_weak.  Do not undefine as macro.
25253         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25254         Likewise.
25255         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25256         __fegetround and define as weak alias of __fegetround.  Use
25257         libm_hidden_weak.
25258         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25259         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25260         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25261         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25262         __fegetround and define as weak alias of __fegetround.  Use
25263         libm_hidden_weak.
25264         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25265         __fegetround instead of fegetround.
25267         [BZ #17782]
25268         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25269         Condition macro definition on [__USE_MISC].
25271         [BZ #17781]
25272         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25273         (struct sigaction): Change type of sa_flags field to int.
25275         [BZ #17780]
25276         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25277         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25278         __glibc_reserved0.
25280         * nptl/version.c (banner): Use single year in copyright notice.
25282         * NEWS: Update copyright dates.
25283         * catgets/gencat.c (print_version): Likewise.
25284         * csu/version.c (banner): Likewise.
25285         * debug/catchsegv.sh: Likewise.
25286         * debug/pcprofiledump.c (print_version): Likewise.
25287         * debug/xtrace.sh (do_version): Likewise.
25288         * elf/ldconfig.c (print_version): Likewise.
25289         * elf/ldd.bash.in: Likewise.
25290         * elf/pldd.c (print_version): Likewise.
25291         * elf/sotruss.sh: Likewise.
25292         * elf/sprof.c (print_version): Likewise.
25293         * iconv/iconv_prog.c (print_version): Likewise.
25294         * iconv/iconvconfig.c (print_version): Likewise.
25295         * locale/programs/locale.c (print_version): Likewise.
25296         * locale/programs/localedef.c (print_version): Likewise.
25297         * login/programs/pt_chown.c (print_version): Likewise.
25298         * malloc/memusage.sh (do_version): Likewise.
25299         * malloc/memusagestat.c (print_version): Likewise.
25300         * malloc/mtrace.pl: Likewise.
25301         * manual/libc.texinfo: Likewise.
25302         * nptl/version.c (banner): Likewise.
25303         * nscd/nscd.c (print_version): Likewise.
25304         * nss/getent.c (print_version): Likewise.
25305         * nss/makedb.c (print_version): Likewise.
25306         * posix/getconf.c (main): Likewise.
25307         * scripts/test-installation.pl: Likewise.
25308         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25310 2015-01-02  Will Newton  <will.newton@linaro.org>
25312         * sysdeps/arm/armv7/configure: Removed.
25313         * sysdeps/arm/armv7/configure.ac: Likewise.
25315 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25317         * All files with FSF copyright notices: Update copyright dates
25318         using scripts/update-copyrights.
25319         * intl/plural.c: Regenerated.
25320         * locale/programs/charmap-kw.h: Likewise.
25321         * locale/programs/locfile-kw.h: Likewise.
25323 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25325         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25327 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25329         [BZ #17748]
25330         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25331         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25332         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25333         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25334         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25335         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25336         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25337         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25338         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25339         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25340         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25341         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25342         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25343         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25344         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25345         libm_hidden_def.
25346         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25347         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25348         Likewise.
25349         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25350         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25351         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25352         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25353         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25354         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25355         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25356         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25357         __fegetenv instead of fegetenv.
25358         (libc_feholdsetround_noex_ctx): Likewise.
25360 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25362         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25363         (Elf_MIPS_ABIFlags_v0): New structure.
25364         (EF_MIPS_FP64): Define.
25365         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25366         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25367         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25368         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25369         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25370         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25371         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25372         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25373         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25374         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25375         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25376         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25377         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25378         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25379         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25380         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25381         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25382         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25383         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25384         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25385         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25386         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25387         field.
25388         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25389         EF_MIPS_FP64.
25390         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25391         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25392         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25393         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25394         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25395         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25396         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25397         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25398         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25399         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25400         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25401         record the current FP ABI extension.
25402         (mips-mode-switch): Define to show if kernel headers support mode
25403         switching.
25404         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25405         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25406         supported SYSV ABI version to 3.
25407         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25408         feature.
25410 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25411             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25413         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25414         path.
25415         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25417 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25419         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25420         __fegetround and redefine to call __fegetround.  Remove condition
25421         on [!__NO_MATH_INLINES].
25422         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25423         function.
25424         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25425         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25426         Remove macro.
25427         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25428         instead of <fenv_libc.h>.
25429         (__llrintl): Call fegetround instead of __fegetround.
25430         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25431         instead of <fenv_libc.h>.
25432         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25433         (__lrintl): Call fegetround instead of __fegetround.
25434         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25435         instead of <fenv_libc.h>.
25436         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25437         (__rintl): Call fegetround instead of __fegetround.
25439 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25441         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25442         arrays.
25444 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25446         [BZ #17775]
25447         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25448         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25449         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25451 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25453         * sysdeps/i386/tls-macros.h: Include <features.h>.
25454         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25455         (TLS_IE): Likewise.
25456         (TLS_LD): Likewise.
25457         (TLS_GD): Likewise.
25458         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25459         define for GCC >= 5.0.
25461 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25463         * math/test-fenv.c (test_single_exception, set_single_exc,
25464         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25465         feexcp_mask_test, feenable_test, fe_single_test): Add
25466         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25467         case where they are not used.
25468         * math/libm-test.inc: Likewise.
25469         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25470         unused in the absence of FP rounding/exception support.
25471         * stdio-common/tst-printf-round.c: Likewise.
25472         * stdlib/tst-strtod-round.c: Likewise.
25473         * stdlib/tst-strtod-underflow.c: Likewise.
25475 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25477         [BZ #17723]
25478         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25479         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25480         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25481         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25482         libm_hidden_weak.
25483         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25484         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25485         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25486         libm_hidden_def.
25487         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25488         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25489         libm_hidden_weak.
25490         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25491         Likewise.
25492         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25493         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25494         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25495         libm_hidden_weak.
25496         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25497         libm_hidden_def.
25498         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25499         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25500         (__feraiseexcept): Likewise.
25501         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25502         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25503         libm_hidden_weak.
25504         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25505         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25506         libm_hidden_def.
25507         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25508         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25509         Use libm_hidden_def.
25510         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25511         libm_hidden_def.
25512         (feraiseexcept): Define as weak not strong alias.  Use
25513         libm_hidden_weak.
25514         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25515         New inline function.  Factored out of ...
25516         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25517         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25518         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25519         feraiseexcept.
25520         * math/w_acos.c (__acos): Likewise.
25521         * math/w_asin.c (__asin): Likewise.
25522         * math/w_ilogb.c (__ilogb): Likewise.
25523         * math/w_j0.c (y0): Likewise.
25524         * math/w_j1.c (y1): Likewise.
25525         * math/w_jn.c (yn): Likewise.
25526         * math/w_log.c (__log): Likewise.
25527         * math/w_log10.c (__log10): Likewise.
25528         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25529         * sysdeps/aarch64/fpu/math_private.h
25530         (libc_feupdateenv_test_aarch64): Likewise.
25531         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25532         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25533         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25534         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25535         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25536         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25537         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25538         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25539         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25540         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25542 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25544         [BZ #17732]
25545         * io/test-utime.c (main): Replace %ld with %jd and cast to
25546         intmax_t.
25547         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25548         * nptl/tst-mutex5.c: Include <stdint.h>.
25549         (do_test): Replace %ld with %jd and cast to intmax_t.
25550         * posix/tst-regex.c (run_test): Likewise.
25551         (run_test_backwards): Likewise.
25552         * rt/tst-clock.c: Include <stdint.h>.
25553         (clock_test): Replace %ld with %jd and cast to intmax_t.
25554         * rt/tst-cpuclock1.c: Include <stdint.h>.
25555         (do_test): Replace %lu with %ju and cast to uintmax_t.
25556         * rt/tst-cpuclock2.c: Include <stdint.h>.
25557         (do_test): Replace %lu with %ju and cast to uintmax_t.
25558         * rt/tst-mqueue1.c: Include <stdint.h>.
25559         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25560         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25561         intmax_t.
25562         * rt/tst-mqueue4.c (do_test): Likewise.
25563         * rt/tst-timer4.c: Include <stdint.h>.
25564         (check_ts): Replace %ld with %jd and cast to intmax_t.
25565         (do_test): Likewise.
25566         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25567         and cast to intmax_t.
25568         * sysdeps/pthread/tst-timer.c (main): Likewise.
25569         * time/clocktest.c (main): Likewise.
25570         * time/tst-posixtz.c (do_test): Likewise.
25571         * timezone/tst-timezone.c (main): Likewise.
25573 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25574             H.J. Lu  <hongjiu.lu@intel.com>
25576         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25577         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25578         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25579         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25580         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25581         version if bit_Fast_Unaligned_Load is set.
25582         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25583         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25584         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25585         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25586         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25587         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25588         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25589         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25590         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25591         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25592         to 4.
25593         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25594         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25595         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25596         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25598 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25600         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25601         instead of #if to avoid a Wundef warning.
25602         * stdlib/tst-limits.c (do_test): Likewise.
25604         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25605         parallel other exception macros.
25606         (fegetenv): Convert from macro to extern inline so that it applies
25607         retroactively to inline functions already seen by the compiler.
25608         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25610         * posix/Makefile (before-compile): Use $(objpfx) for
25611         posix-conf-vars-def.h.
25613 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25615         * posix/getconf.c (main): Use size_t for type of I.
25616         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25617         NSPEC.
25619         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25620         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25621         * posix/posix-envs.def: Likewise.
25622         * sysdeps/posix/sysconf.c: Likewise.
25623         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25624         (specs): Remove array.
25625         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25626         array.
25628         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25629         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25630         (__sysconf): Use CONF_IS_* macros.
25632         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25633         ($(objpfx)posix-conf-vars-def.h): New target.
25634         * posix/posix-conf-vars.list: New file.
25635         * posix/posix-conf-vars.h: New file.
25636         * posix/confstr.c: Include posix-conf-vars.h.
25637         (confstr): Use CONF_IS_* macros.
25638         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25639         CONF_IS_* macros.
25640         * scripts/gen-posix-conf-vars.awk: New file.
25642 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25644         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25645         fegetround): Add no-op macros to avoid linknamespace issues.
25647         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25648         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25650         * sysdeps/unix/sysv/linux/tile/sysdep.h
25651         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25652         assembly-specific section to avoid a redefinition warning.
25654         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25655         long before casting to pointer to avoid a cast warning.
25657 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25659         * sysdeps/tile/tilegx/Implies: New file.
25661 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25663         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25665 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25667         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25669 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25671         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25672         not define.
25673         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25674         <kernel-features.h>.
25675         (__utimes) [__NR_utimes]: Make code unconditional.
25676         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25677         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25678         (__ASSUME_UTIMES): Do not undefine.
25679         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25680         (__ASSUME_UTIMES): Likewise.
25681         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25682         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25683         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25684         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25686 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25688         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25690 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25692         [BZ #17747]
25693         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25694         alias to weak alias for j0l, y0l.
25695         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25696         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25698         [BZ #17746]
25699         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25700         conversion.
25702 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25704         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25705         to zero if not already defined.
25707 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25709         [BZ #17724]
25710         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25711         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25712         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25713         (char *) casts added.
25714         * sysdeps/ieee754/k_standardf.c: New file.
25715         * sysdeps/ieee754/k_standardl.c: Likewise.
25716         * math/Makefile (libm-support): Remove k_standard.
25717         (libm-calls): Add k_standard.
25719 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25721         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25722         Optimize to avoid an unnecessary FPCR read.
25724 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25726         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25727         Optimize to reduce FPCR/FPSR accesses.
25729 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25731         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25732         Call libc_fetestexcept_aarch64.
25734 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25736         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25737         Call libc_fesetround_aarch64.
25739 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25741         [BZ #17733]
25742         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25743         (__bind): Do not define as weak alias.
25744         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25745         define.
25746         (__getsockname): Do not define as weak alias.
25748 2014-12-22  Will Newton  <will.newton@linaro.org>
25750         * manual/install.texi: Document that we require bison 2.7
25751         or above.
25752         * INSTALL: Regenerate.
25753         * configure.ac: Use AC_CHECK_PROG_VER instead of
25754         AC_PATH_PROG when checking for bison and check for
25755         version 2.7 or above.
25756         * configure: Regenerate.
25758 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25760         [BZ #17745]
25761         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25762         * sysdeps/tile/ffsll.c (ffsll): To here.
25764         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25766 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25768         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25769         if not defined.
25770         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25771         definition.
25772         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25773         hidden ___tls_get_addr.
25774         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25775         hidden __tls_get_addr.
25776         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25777         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25778         Likewise.
25780 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25782         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25783         _dl_init call.
25785 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25787         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25788         from "call _dl_init@PLT".
25789         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25791 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25793         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25794         guarantees.
25796 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25798         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25800 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25802         [BZ #17744]
25803         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25804         strnlen.
25806 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25808         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25809         of multu on MIPSr6.
25810         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25811         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25812         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25813         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25814         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25816 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25818         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25819         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25820         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25821         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25822         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25823         mips32r6/mips64r6.
25824         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25826 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25828         * string/strncat.c (STRNCAT): Simplify implementation.
25830 2014-12-19  David S. Miller  <davem@davemloft.net>
25832         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25833         access the quad as both a long double and as a series of 4 words.
25835         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25836         link_map->l_info array access.
25838 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25840         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25842         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25843         * math/atest-exp2.c (TIMEOUT): Likewise.
25844         * math/atest-sincos.c (TIMEOUT): Likewise.
25846 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25848         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25849         -Wno-error with -fno-builtin-lround.
25851 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25853         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25854         Contains futex constants and functions moved over from ...
25855         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25856         <lowlevellock-futex.h>.
25857         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25858         (lll_timedwait_tid): Add comments and parentheses around macro
25859         arguments.
25861 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25863         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25864         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25865         (__lll_private_flag): Remove.
25866         (lll_futex_wait): Likewise.
25867         (lll_futex_timed_wait): Likewise.
25868         (lll_futex_wake): Likewise.
25869         (lll_futex_requeue): Likewise.
25870         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25871         (__lll_timedwait_tid): Spell out argument names.
25872         (lll_timedwait_tid): Add comments and parentheses around macro
25873         arguments.
25874         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25875         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25877 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25879         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25880         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25881         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25882         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25883         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25884         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25885         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25886         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25887         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25888         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25889         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25890         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25891         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25892         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25893         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25894         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25895         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25896         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25897         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25899 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25901         * sysdeps/x86_64/x32/Makefile: New file.
25903 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25905         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25906         1L with (mp_limb_t) 1.
25908 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25910         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25911         * nptl/libc_pthread_init.c: ... here.
25912         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25913         * nptl/register-atfork.c: ... here.
25915         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25916         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25917         Use assert_perror to check its return value.
25918         (__gai_create_helper_thread): Likewise.
25920         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25922         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25924 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25926         [BZ #17725]
25927         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25928         __profil_counter.
25929         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25930         Likewise.
25931         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25932         Likewise.
25933         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25934         Likewise.
25935         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25936         (profil_counter): Likewise.
25937         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25938         (profil_counter): Likewise.
25939         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25940         Likewise.
25941         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25942         Likewise.
25943         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25944         (profil_counter): Likewise.
25945         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25946         Likewise.
25947         [!__profil_counter] (profil_counter): Define as weak alias of
25948         __profil_counter.
25949         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25950         (profil_counter): Rename to __profil_counter.
25951         [!__profil_counter] (profil_counter): Define as weak alias of
25952         __profil_counter.
25953         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25954         (profil_counter): Rename to __profil_counter.
25955         [!__profil_counter] (profil_counter): Define as weak alias of
25956         __profil_counter.
25957         * sysdeps/posix/profil.c: Update comment referring to
25958         profil_counter.
25959         (__profil): Use __profil_counter instead of profil_counter.
25960         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25961         __profil_counter.  Use __profil_counter_ushort and
25962         __profil_counter_uint in definitions.
25963         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25964         instead of profil_counter_uint and profil_counter_ushort.
25966         [BZ #17722]
25967         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25968         define as weak alias of __inet_makeaddr.
25969         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25970         as weak alias of __inet_addr.
25971         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25972         as weak alias of __inet_pton.  Use libc_hidden_weak.
25973         * include/arpa/inet.h (__inet_pton): Declare.  Use
25974         libc_hidden_proto.
25975         (inet_makeaddr): Don't use libc_hidden_proto.
25976         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25977         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25978         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25979         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25980         Remove variable.
25981         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25982         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25984 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25986         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25988 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25990         * stdio-common/bug-vfprintf-nargs.c (do_test):
25991         Cast value to intptr_t to avoid format warning
25992         for usage with PRIdPTR printing macro.
25994 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25996         * libio/tst-widetext.c (do_test):
25997         Use format type %td instead of %Zd for ptrdiff_t
25998         in order to avoid format warning.
26000 2014-12-17  Andreas Schwab  <schwab@suse.de>
26002         * nscd/mem.c (gc): Add size_t cast to match printf format.
26004 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26006         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26007         (init): Apply PTR_MANGLE to pointers before storing them.
26008         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26009         before using them.
26011 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26013         [BZ #17719]
26014         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26015         define as weak alias of __memrchr.
26016         (__memrchr): Do not define as strong alias of memrchr.
26017         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26018         Remove variable.
26019         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26020         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26021         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26023         [BZ #17717]
26024         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26025         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26026         (if_indextoname): Rename to __if_indextoname and define as weak
26027         alias of __if_indextoname.  Use libc_hidden_weak.
26028         (if_freenameindex): Rename to __if_freenameindex and define as
26029         weak alias of __if_freenameindex.
26030         (if_nameindex): Rename to __if_nameindex and define as weak alias
26031         of __if_nameindex.
26032         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26033         __if_nametoindex and define as weak alias of __if_nametoindex.
26034         Use libc_hidden_weak.
26035         (if_freenameindex): Rename to __if_freenameindex and define as
26036         weak alias of __if_freenameindex.
26037         (if_nameindex): Rename to __if_nameindex and define as weak alias
26038         of __if_nameindex.
26039         (if_indextoname): Rename to __if_indextoname and define as weak
26040         alias of __if_indextoname.  Use libc_hidden_weak.
26041         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26042         __if_nametoindex and define as weak alias of __if_nametoindex.
26043         Use libc_hidden_weak.
26044         (if_freenameindex): Rename to __if_freenameindex and define as
26045         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26046         (if_nameindex_netlink): Use __if_freenameindex instead of
26047         if_freenameindex.
26048         (if_nameindex): Rename to __if_nameindex and define as weak alias
26049         of __if_nameindex.  Use libc_hidden_weak.
26050         (if_indextoname): Rename to __if_indextoname and define as weak
26051         alias of __if_indextoname.  Use libc_hidden_weak.
26052         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26053         libc_hidden_proto.
26054         [!_ISOMAC] (__if_freenameindex): Likewise.
26055         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26056         if_nametoindex.
26057         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26058         variable.
26059         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26060         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26061         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26062         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26063         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26064         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26065         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26067         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26068         Remove variable.
26069         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26070         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26072 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26074         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26075         subscript above bounds'
26077         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26078         bounds.
26080 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26082         * libio/tst-fopenloc.c: Use test-skeleton.c.
26084         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26085         (entry): Rename to ITEM.
26086         (do_test, comp): Adjust.
26088         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26090 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26092         * string/tester.c: Include <libc-internal.h>.
26093         (test_memset): Ignore -Wmemset-transposed-args.
26095 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26097         * misc/tst-mntent2.c (do_test): Fix warning.
26099 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26101         * elf/tst-unique4lib.cc(a): Mark as used.
26103 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26105         [BZ #17630]
26106         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26107         names.
26109 2014-12-16  Allan McRae  <allan@archlinux.org>
26111         * stdio-common/Makefile (tests): Re-add bug26.
26113 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26115         [BZ #17657]
26116         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26117         static array.
26119 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26121         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26122         (__lll_lock_wait): Likewise.
26123         (__lll_timedlock_wait): Likewise.
26124         (__lll_timedwait_tid): Likewise.
26125         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26126         (__lll_robust_timedlock_wait): Likewise.
26127         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26128         (lll_cond_trylock): Likewise.
26129         (__lll_lock): Likewise.
26130         (__lll_robust_lock): Likewise.
26131         (__lll_cond_lock): Likewise.
26132         (lll_robust_cond_lock): Likewise.
26133         (__lll_timedlock): Likewise.
26134         (__lll_robust_timedlock): Likewise.
26135         (__lll_unlock): Likewise.
26136         (__lll_robust_unlock): Likewise.
26137         (lll_wait_tid): Likewise.
26138         (lll_timedwait_tid): Likewise.
26140 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26142         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26144 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26146         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26148 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26150         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26151         * stdio-common/tst-sprintf.c: Likewise.
26153 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26155         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26157 2014-12-15  Jeff Law  <law@redhat.com>
26159         [BZ #16617]
26160         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26161         on the heap.  (CVE-2012-3406)
26162         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26163         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26164         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26166 2014-12-15  Will Newton  <will.newton@linaro.org>
26168         * manual/install.texi: Bump required version of texinfo
26169         to 4.7 from 4.5.
26170         * INSTALL: Regenerated.
26171         * configure.ac: Check for makeinfo version 4.7 and above.
26172         * configure: Regenerated.
26174 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26176         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26177         PREFIX, string constant to insert between directory and name.
26178         * sysdeps/posix/shm_open.c: Update caller.
26179         * sysdeps/posix/shm_unlink.c: Likewise.
26180         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26181         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26182         (SEM_SHM_PREFIX): New macro.
26183         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26184         [$(have-thread-library) = no].
26185         * nptl/Makefile (libpthread-routines): Add shm-directory.
26186         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26187         * sysdeps/nptl/shm-directory.h: New file.
26188         * sysdeps/posix/shm-directory.c
26189         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26190         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26191         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26192         INTERNAL_SYSCALL.
26193         (__where_is_shmfs): Function removed.
26194         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26195         Variables removed.
26196         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26197         Use SHM_GET_NAME.
26198         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26200         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26201         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26202         unconditional for use inside libpthread.
26203         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26205 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26207         * nptl/pthread_getaffinity.c: New file.
26208         * nptl/pthread_setaffinity.c: New file.
26209         * nptl/pthread_getname.c: New file.
26210         * nptl/pthread_setname.c: New file.
26212         * nptl/pthread_create.c (START_THREAD_DEFN)
26213         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26215 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26216             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26218         * resolv/res_send.c (send_vc): Disable warning resplen may
26219         be used uninitialized.
26221 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26223         * nptl/tst-mutex6.c
26224         (ATTR_NULL): New define checks ATTR against NULL.
26225         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26226         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26228 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26230         [BZ #17581]
26231         * malloc/hooks.c
26232         (mem2mem_check): Revert my previous change.
26233         (malloc_check_get_size): Revert my previous change.
26234         (mem2chunk_check): Revert my previous change.
26236 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26238         * sysdeps/posix/shm-directory.c: New file.
26239         * sysdeps/posix/shm-directory.h: New file.
26240         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26241         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26242         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26243         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26244         Transmute EPERM to EACCES.
26245         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26246         from ...
26247         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26248         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26250 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26252         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26253         pointer and cast to uintptr_t.
26254         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26255         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26256         Add cast to avoid warning.
26257         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26259 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26261         * nptl/semaphore.h: Move to ...
26262         * sysdeps/pthread/semaphore.h: ... here.
26263         * Makefile (installed-headers): Change nptl/semaphore.h to
26264         sysdeps/pthread/semaphore.h.
26266 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26268         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26269         generated error format strings.
26271         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26272         -Wformat-extra-args warnings for scanf formats.
26273         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26274         test of zero-length format (duh).
26275         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26276         corner-case scanf format test.
26277         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26278         generated fprintf format string.
26279         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26280         corner-case sprintf format tests.
26281         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26282         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26283         -Wformat-extra-args warnings throughout.
26284         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26285         (CFLAGS-scanf4.c): Likewise.
26286         (CFLAGS-scanf7.c): Likewise.
26287         (CFLAGS-tst-sprintf.c): Likewise.
26288         (CFLAGS-tst-printf.c): Likewise.
26289         (CFLAGS-tst-printfsz.c): Likewise.
26291 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26293         * include/cpio.h: New file.
26294         * include/fmtmsg.h: Likewise.
26296         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26297         corresponding format argument to size_t.
26298         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26299         arguments.
26300         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26301         corresponding format argument to size_t.
26302         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26303         arguments.
26304         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26305         corresponding format argument to size_t.
26306         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26307         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26308         (CFLAGS-tst-mbswcs2.c): Likewise.
26309         (CFLAGS-tst-mbswcs3.c): Likewise.
26310         (CFLAGS-tst-mbswcs4.c): Likewise.
26311         (CFLAGS-tst-mbswcs5.c): Likewise.
26312         (CFLAGS-tst-trans.c): Likewise.
26314 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26316         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26317         rather than assuming they won't contain any '%'s.
26319 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26321         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26322         inhibit_loop_to_libcall to avoid recursive calls.
26323         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26324         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26326 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26328         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26329         prototype.
26331 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26333         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26334         integer value instead of boolean.
26336 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26338         * malloc/malloc.c: Fix powerof2 check.
26340 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26342         * locale/programs/locfile.h (maybe_swap_uint32):
26343         Remove inline and add unused attribute.
26345 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26347         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26348         Truncating assembler expression to a .long expression.
26350 2014-12-11  Andreas Schwab  <schwab@suse.de>
26352         * elf/rtld.c (struct map_args): Constify str member.
26353         (do_preload): Constify fname argument.
26355 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26357         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26358         constants definition.
26360 2014-12-11  Andreas Schwab  <schwab@suse.de>
26362         [BZ #16657]
26363         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26364         FORCE_ELISION instead of DO_ELISION.
26365         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26366         Remove.
26367         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26368         Likewise.
26370         * iconvdata/gconv-modules: Remove duplicate entry.
26372 2014-12-11  Will Newton  <will.newton@linaro.org>
26374         Merge gettext 0.19.3 into intl/.
26376         This involves a number of cosmetic changes to comments
26377         and ANSI function definitions and prototypes throughout
26378         all the files. The gettext copyright header is used but
26379         with the date ranges taken from the glibc copy.
26381         * NEWS: Add gettext merge to 2.21.
26382         * intl/bindtextdom.c: Switch to gettext copyright.
26383         Use ANSI definitions and prototypes.
26384         Use gl_* locking primitives rather than __libc_* ones.
26385         Use __builtin_expect rather than __glibc_likely/unlikely.
26386         * intl/dcgettext.c: Switch to gettext copyright.
26387         Use ANSI definitions and prototypes.
26388         * intl/dcigettext.c: Switch to gettext copyright.
26389         Use ANSI definitions and prototypes.
26390         (INTDIV0_RAISES_SIGFPE): New define.
26391         Use gl_* locking primitives rather than __libc_* ones.
26392         Include eval-plural.h instead of plural-eval.c.
26393         Use __builtin_expect rather than __glibc_likely/unlikely.
26394         * intl/dcngettext.c: Switch to gettext copyright.
26395         Use ANSI definitions and prototypes.
26396         * intl/dgettext.c: Likewise.
26397         * intl/dngettext.c: Likewise.
26398         * intl/plural-eval.c: Renamed to...
26399         * intl/eval-plural.h: ...this.
26400         * intl/explodename.c: Switch to gettext copyright.
26401         Use ANSI definitions and prototypes.
26402         (_nl_explode_name): Use strchr instead of __rawmemchr.
26403         * intl/finddomain.c: Switch to gettext copyright.
26404         Use ANSI definitions and prototypes.
26405         Use gl_* locking primitives rather than __libc_* ones.
26406         (_nl_find_domain): Use malloc rather than alloca for
26407         allocation of temporary locale name.
26408         * intl/gettext.c: Switch to gettext copyright.
26409         Use ANSI definitions and prototypes.
26410         * intl/gettextP.h: Switch to gettext copyright.
26411         Use ANSI definitions and prototypes.
26412         Use gl_* locking primitives rather than __libc_* ones.
26413         * intl/gmo.h: Switch to gettext copyright.
26414         (struct sysdep_string): Move struct segment_pair outside of
26415         struct definition.
26416         * intl/hash-string.c: Use ANSI definitions and prototypes.
26417         * intl/hash-string.h: Switch to gettext copyright.
26418         Use ANSI definitions and prototypes.
26419         * intl/l10nflist.c: Switch to gettext copyright.
26420         Use ANSI definitions and prototypes.
26421         (_nl_normalize_codeset): Avoid integer overflow.
26422         * intl/loadinfo.h: Switch to gettext copyright.
26423         Use ANSI definitions and prototypes.
26424         (LIBINTL_DLL_EXPORTED): New define.
26425         (PATH_SEPARATOR): New define.
26426         * intl/loadmsgcat.c: Switch to gettext copyright.
26427         * intl/localealias.c: Switch to gettext copyright.
26428         Use ANSI definitions and prototypes.
26429         (_nl_expand_alias): Use PATH_SEPARATOR.
26430         * intl/ngettext.c: Switch to gettext copyright.
26431         Use ANSI definitions and prototypes.
26432         * intl/plural-exp.c: Likewise.
26433         * intl/plural-exp.h: Switch to gettext copyright.
26434         Use ANSI definitions and prototypes.
26435         (struct expression): Move definition of enum operator outside
26436         of struct definition.
26437         * intl/plural.c: Regenerate.
26438         * intl/plural.y: Switch to gettext copyright.
26439         Use ANSI definitions and prototypes.
26440         Port to bison 3.0.
26441         * intl/textdomain.c: Switch to gettext copyright.
26442         Use ANSI definitions and prototypes.
26443         Use gl_* locking primitives rather than __libc_* ones.
26445 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26447         * debug/warning-nop.c: Add used atrribute.
26449 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26451         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26453         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26454         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26455         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26457 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26458             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26460         [BZ #17634]
26461         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26462         Undefine after defining function.  Define as weak alias of
26463         __wcschr.  Use libc_hidden_weak.
26464         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26465         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26466         (libc_hidden_def): Also define __GI___wcschr alias.
26467         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26468         __wcschr and define as weak alias of __wcschr.
26469         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26470         __wcschr.
26471         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26472         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26473         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26474         libc_hidden_weak.  Do not use libc_hidden_def.
26475         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26476         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26477         __GI___wcschr alias.
26478         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26479         [IS_IN (libc)] (wcschr): Define as macro expanding to
26480         __redirect_wcschr.
26481         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26482         [IS_IN (libc)] (__wcschr_power6): Likewise.
26483         [IS_IN (libc)] (__wcschr_power7): Likewise.
26484         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26485         instead of wcschr.
26486         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26487         __libc_wcschr.
26488         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26489         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26490         __wcschr and define as weak alias of __wcschr.  Use
26491         libc_hidden_builtin_def.
26492         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26493         as weak alias of __wcschr.  Use libc_hidden_weak.
26494         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26495         wcschr.
26496         * time/era.c (_nl_init_era_entries): Likewise.
26497         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26498         variable.
26499         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26500         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26502 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26504         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26505         format for long int variable.
26507 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26509         [BZ #10672]
26510         * manual/search.texi: (Array Sort Function): Remove claim how to make
26511         qsort stable.
26513 2014-12-10  Andreas Schwab  <schwab@suse.de>
26515         [BZ #12847]
26516         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26517         user-controlled locks.
26519 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26521         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26522         register.
26524 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26526         * configure.ac (--disable-werror): New configure option.
26527         (enable_werror): New AC_SUBST.
26528         * configure: Regenerated.
26529         * config.make.in (enable-werror): New variable.
26530         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26531         -Wno-error=undef.
26532         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26533         * manual/install.texi (Configuring and compiling): Document
26534         --disable-werror.
26535         * INSTALL: Regenerated.
26536         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26537         (CFLAGS-tst-chk2.c): Likewise.
26538         (CFLAGS-tst-chk3.c): Likewise.
26539         (CFLAGS-tst-chk4.cc): Likewise.
26540         (CFLAGS-tst-chk5.cc): Likewise.
26541         (CFLAGS-tst-chk6.cc): Likewise.
26542         (CFLAGS-tst-lfschk1.c): Likewise.
26543         (CFLAGS-tst-lfschk2.c): Likewise.
26544         (CFLAGS-tst-lfschk3.c): Likewise.
26545         (CFLAGS-tst-lfschk4.cc): Likewise.
26546         (CFLAGS-tst-lfschk5.cc): Likewise.
26547         (CFLAGS-tst-lfschk6.cc): Likewise.
26549         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26550         (main): Disable -Wdeprecated-declarations around calls to
26551         register_printf_function.
26553         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26554         (do_test): Disable -Wdiv-by-zero around some calls to
26555         fwrite_unlocked and fread_unlocked.
26557         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26558         (DIAG_POP_NEEDS_COMMENT): Likewise.
26559         (_DIAG_STR1): Likewise.
26560         (_DIAG_STR): Likewise.
26561         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26562         * stdio-common/bug21.c: Include <libc-internal.h>.
26563         (do_test): Disable -Wformat around call to sscanf.
26564         * stdio-common/scanf14.c: Include <libc-internal.h>.
26565         (main): Disable -Wformat around some calls to scanf functions.
26567 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26569         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26571 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26573         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26574         stack variable alignment.
26576 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26578         [BZ #17682]
26579         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26580         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26581         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26582         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26583         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26584         __getrlimit instead of getrlimit.
26585         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26586         __gettimeofday instead of gettimeofday.
26587         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26588         Likewise.
26589         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26590         Likewise.
26591         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26592         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26593         Remove variable.
26594         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26595         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26597 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26599         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26600         for wide-character tests.
26602 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26604         * io/openat64.c: #include <libc-internal.h>
26605         (__openat64): Prototypify.  Use ignore_value on MODE.
26606         * io/openat.c: Likewise.
26607         * misc/reboot.c: #include <libc-internal.h>
26608         (reboot): Prototypify.  Use ignore_value on HOWTO.
26609         * misc/ptrace.c: #include <libc-internal.h>
26610         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26612 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26614         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26615         XPG4, UNIX98 and XOPEN2K.
26616         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26617         Remove variable.
26618         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26620 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26622         * libio/fileops.c: Use ISO C style for function definitions.
26623         * libio/iofopen.c: Likewise.
26624         * libio/wfileops.c: Likewise.
26626         [BZ #17653]
26627         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26628         offset on EOF.
26629         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26630         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26631         (fgets_func): Function pointer to fgets and fgetws.
26632         (do_ftell_test): Add test to verify ftell value after read
26633         EOF.
26634         (do_test): Set fgets_func.
26636         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26637         O_TRUNC flag for w and w+ modes.
26638         (do_rewind_test): Likewise.
26639         (do_ftell_test): Likewise.
26640         (do_write_test): Likewise.
26642         [BZ #17647]
26643         * libio/fileops.c (do_ftell): Seek only when there are
26644         unflushed writes.
26645         * libio/wfileops.c (do_ftell_wide): Likewise.
26646         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26647         test case.
26648         (do_one_test): Call it.
26650 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26652         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26653         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26654         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26655         Remove variable.
26656         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26657         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26658         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26660 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26662         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26663         Remove variable.
26664         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26666         [BZ #17668]
26667         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26668         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26669         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26670         __freeifaddrs.  Use libc_hidden_weak.
26671         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26672         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26673         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26674         __freeifaddrs.  Use libc_hidden_weak.
26675         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26676         __getifaddrs and define as weak alias of __getifaddrs.  Use
26677         libc_hidden_weak.
26678         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26679         __freeifaddrs.  Use libc_hidden_weak.
26680         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26681         Remove variable.
26682         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26683         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26685 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26687         [BZ #17601]
26688         * sysdeps/mips/start.S (__start): Use indirect jump to call
26689         __libc_start_main.
26691 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26693         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26695         * nptl/tst-mutex1.c: Include <stdbool.h>.
26696         [!ATTR] (ATTR_NULL): New macro.
26697         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26698         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26699         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26701         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26702         to char *.
26704         [BZ #17665]
26705         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26706         Change conditional to [__USE_MISC].
26708         [BZ #17664]
26709         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26710         fgets_unlocked.
26711         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26712         __fgets_unlocked.
26713         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26714         fgets_unlocked.
26715         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26716         Remove variable.
26717         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26718         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26719         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26720         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26721         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26722         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26723         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26724         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26725         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26727         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26729 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26731         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26732         Remove strpbrk objects.
26733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26734         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26735         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26736         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26737         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26738         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26740         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26741         Remove strcspn objects.
26742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26743         (__libc_ifunc_impl_list): Remove strcspn implementation.
26744         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26745         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26746         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26747         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26749         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26750         Remove strspn objetcs.
26751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26752         (__libc_ifunc_impl_list): Remove strspn implementation.
26753         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26754         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26755         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26756         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26758 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26760         [BZ #17581]
26761         * malloc/hooks.c
26762         (mem2mem_check): Add a terminator to the chain of checking blocks.
26763         (malloc_check_get_size): Use it here.
26764         (mem2chunk_check): Ditto.
26766 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26768         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26769         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26771 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26773         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26775         * nptl/nptl-init.c: Include libc-internal.h.
26776         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26778         * elf/ldconfig.c (search_dir): Expand comment.
26780 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26782         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26783         variable.
26784         (linknamespace-symlist-stdlibs-tests): Likewise.
26785         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26786         instead of $(objpfx)symlist-stdlibs.
26787         (linknamespace-libs-isoc): New variable.
26788         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26789         (linknamespace-libs-ISO): New variable.
26790         (linknamespace-libs-ISO99): Likewise.
26791         (linknamespace-libs-ISO11): Likewise.
26792         (linknamespace-libs-XPG3): Likewise.
26793         (linknamespace-libs-XPG4): Likewise.
26794         (linknamespace-libs-POSIX): Likewise.
26795         (linknamespace-libs-UNIX98): Likewise.
26796         (linknamespace-libs-XOPEN2K): Likewise.
26797         (linknamespace-libs-POSIX2008): Likewise.
26798         (linknamespace-libs-XOPEN2K8): Likewise.
26799         ($(objpfx)symlist-stdlibs): Replace by
26800         $(linknamespace-symlist-stdlibs-tests).  Use
26801         $(linknamespace-libs-$*) as set of libraries.
26802         ($(linknamespace-header-tests)): Update dependencies.  Use
26803         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26804         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26805         * conform/linknamespace.pl: Remove comment about considering
26806         definitions of symbols from irrelevant libraries.
26808 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26810         [BZ #13862]
26811         * elf/dl-tls.c: Include <atomic.h>.
26812         (oom): Remove #ifdef SHARED/#endif.
26813         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26814         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26815         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26816         big enough.
26817         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26818         * nptl/Makefile (tests): Add tst-stack4.
26819         (modules-names): Add tst-stack4mod.
26820         ($(objpfx)tst-stack4): New.
26821         (tst-stack4mod.sos): Likewise.
26822         ($(objpfx)tst-stack4.out): Likewise.
26823         ($(tst-stack4mod.sos)): Likewise.
26824         (clean): Likewise.
26825         * nptl/tst-stack4.c: New file.
26826         * nptl/tst-stack4mod.c: Likewise.
26828 2014-11-27  J. Brown  <jb999@gmx.de>
26830         * sysdeps/x86/bits/string.h: Add recent CPUs.
26832 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26834         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26835         sigblock.
26837         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26838         feof.
26840         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26841         variable.
26843 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26845         * nscd/connections.c: Include libc-internal.h because of macro
26846         usage ignore_value.
26848 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26850         * string/bits/string3.h (__warn_memset_zero_len): Don't
26851         declare for gcc newer than 5.0.
26852         (memset): Don't test for zero-length __LEN for gcc newer than
26853         5.0.
26855 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26857         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26858         size_t for %zu format.
26860         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26861         difference, not %ju.
26863 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26865         * include/libc-internal.h (ignore_value): New macro.
26866         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26867         with ignore_value.
26869         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26870         definition.
26872         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26873         pthread_cleanup_push to void *.
26875         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26876         Undefine.
26878         [BZ #16619]
26879         [BZ #16740]
26880         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26881         instead of 1L << 52.
26883         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26884         * libio/bug-rewind2.c (do_test): Likewise.
26886         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26887         * debug/test-strcpy_chk-ifunc.c: Likewise.
26888         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26889         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26890         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26891         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26892         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26893         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26894         * Rules [$(multi-arch) = no] (tests): Do not filter out
26895         $(tests-ifunc).
26896         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26897         * debug/Makefile (tests-ifunc): Remove variable.
26898         (tests): Do not add $(tests-ifunc).
26899         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26900         (tests): Do not add $(tests-ifunc).
26901         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26902         [TEST_IFUNC]: Remove conditionals.
26903         * string/test-string.h (TEST_IFUNC): Remove macro.
26904         [TEST_IFUNC]: Remove conditionals.
26906         * string/test-strchr.c [!WIDE] (L): New macro.
26907         [WIDE] (L): Likewise.
26908         (check1): Use CHAR instead of char.  Use L on string and character
26909         constants.
26911 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26913         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26914         tests.
26915         * sysdeps/powerpc/bits/atomic.h
26916         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26917         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26918         (atomic_exchange_and_add_acq): Likewise.
26919         (atomic_exchange_and_add_rel): Likewise.
26920         * sysdeps/powerpc/powerpc32/bits/atomic.h
26921         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26922         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26923         * sysdeps/powerpc/powerpc64/bits/atomic.h
26924         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26925         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26927 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26929         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26930         Change synchronization of __sched_fifo_min_prio and
26931         __sched_fifo_max_prio.
26932         * nptl/pthread_mutexattr_getprioceiling.c
26933         (pthread_mutexattr_getprioceiling): Likewise.
26934         * nptl/pthread_mutexattr_setprioceiling.c
26935         (pthread_mutexattr_setprioceiling): Likewise.
26936         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26937         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26938         Likewise.
26940 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26942         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26943         void.
26945 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26947         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26948         third argument const.
26950 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26952         fnmatch: work around GCC compiler warning bug with uninit var
26953         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26954         This works around a bug with x86-64 GCC 4.9.2 and earlier
26955         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26956         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26957         used uninitialized in this function [-Wmaybe-uninitialized]".
26959 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26961         * posix/bug-regex31.c (main): Return RES not 0.
26963 2014-11-25  Anton Blanchard <anton@samba.org>
26965         * sysdeps/powerpc/bits/atomic.h
26966         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26968 2014-11-24  Sterling Augustine  <saugustine@google.com>
26970         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26972 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26974         [BZ #17608]
26975         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26977 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26979         [BZ #17633]
26980         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26981         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26982         variable.
26983         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26984         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26986 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26988         * string/strncpy.c (strncpy): Improve performance by using memset.
26990 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26992         * string/strcpy.c (strcpy):
26993         Improve performance by using strlen and memcpy.
26995 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26997         * string/strcoll_l.c (get_next_seq): __always_inline.
26998         * string/strcoll_l.c (do_compare): __always_inline.
27000 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27002         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27003         defined.
27004         * include/mqueue.h: Likewise.
27005         * include/stdlib.h: Likewise.
27007         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27008         (get_null_defines): Adjust.
27009         * sunrpc/Makefile: Adjust comment.
27010         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27011         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27012         (CFLAGS-interp.c): Likewise.
27013         (CFLAGS-ldconfig.c): Likewise.
27014         (CPPFLAGS-.os): Likewise.
27015         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27016         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27017         * extra-modules.mk (extra-modules.mk): Likewise.
27018         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27019         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27020         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27021         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27022         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27023         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27024         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27025         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27026         * iconvdata/Makefile (CPPFLAGS): Likewise.
27027         (cpp-srcs-left): Add libof for all iconvdata routines.
27028         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27029         * include/assert.h: Likewise.
27030         * include/ctype.h: Likewise.
27031         * include/errno.h: Likewise.
27032         * include/libc-symbols.h: Likewise.
27033         * include/math.h: Likewise.
27034         * include/netdb.h: Likewise.
27035         * include/resolv.h: Likewise.
27036         * include/stdio.h: Likewise.
27037         * include/stdlib.h: Likewise.
27038         * include/string.h: Likewise.
27039         * include/sys/stat.h: Likewise.
27040         * include/wctype.h: Likewise.
27041         * intl/l10nflist.c: Likewise.
27042         * libidn/idn-stub.c: Likewise.
27043         * libio/libioP.h: Likewise.
27044         * nptl/libc_multiple_threads.c: Likewise.
27045         * nptl/pthreadP.h: Likewise.
27046         * posix/regex_internal.h: Likewise.
27047         * resolv/res_hconf.c: Likewise.
27048         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27049         * sysdeps/arm/memmove.S: Likewise.
27050         * sysdeps/arm/sysdep.h: Likewise.
27051         * sysdeps/generic/_itoa.h: Likewise.
27052         * sysdeps/generic/symbol-hacks.h: Likewise.
27053         * sysdeps/gnu/errlist.awk: Likewise.
27054         * sysdeps/gnu/errlist.c: Likewise.
27055         * sysdeps/i386/i586/memcpy.S: Likewise.
27056         * sysdeps/i386/i586/memset.S: Likewise.
27057         * sysdeps/i386/i686/memcpy.S: Likewise.
27058         * sysdeps/i386/i686/memmove.S: Likewise.
27059         * sysdeps/i386/i686/mempcpy.S: Likewise.
27060         * sysdeps/i386/i686/memset.S: Likewise.
27061         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27062         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27063         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27064         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27065         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27066         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27067         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27068         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27069         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27070         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27071         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27072         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27073         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27074         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27075         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27076         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27077         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27078         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27079         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27080         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27081         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27082         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27083         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27084         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27085         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27086         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27087         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27088         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27089         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27090         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27091         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27092         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27093         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27094         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27095         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27096         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27097         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27098         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27099         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27100         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27101         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27102         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27103         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27104         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27105         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27106         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27107         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27108         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27109         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27110         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27111         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27112         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27113         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27114         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27115         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27116         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27117         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27118         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27119         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27120         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27121         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27122         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27123         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27124         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27125         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27126         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27127         * sysdeps/posix/closedir.c: Likewise.
27128         * sysdeps/posix/opendir.c: Likewise.
27129         * sysdeps/posix/readdir.c: Likewise.
27130         * sysdeps/posix/rewinddir.c: Likewise.
27131         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27132         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27133         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27134         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27135         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27136         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27137         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27138         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27139         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27140         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27141         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27142         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27143         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27144         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27145         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27146         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27147         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27148         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27149         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27150         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27151         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27152         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27153         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27154         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27155         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27156         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27157         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27158         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27159         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27160         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27161         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27162         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27163         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27164         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27165         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27166         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27167         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27168         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27169         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27170         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27171         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27172         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27173         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27174         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27175         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27176         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27177         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27178         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27179         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27180         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27181         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27182         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27183         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27184         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27185         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27186         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27187         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27188         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27189         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27190         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27191         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27192         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27193         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27194         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27195         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27196         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27197         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27198         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27199         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27200         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27201         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27202         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27203         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27204         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27205         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27206         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27207         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27208         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27209         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27210         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27211         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27212         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27213         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27214         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27215         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27216         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27217         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27218         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27219         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27220         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27221         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27222         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27223         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27224         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27225         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27226         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27227         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27228         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27229         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27230         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27231         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27232         * sysdeps/unix/alpha/sysdep.S: Likewise.
27233         * sysdeps/unix/alpha/sysdep.h: Likewise.
27234         * sysdeps/unix/make-syscalls.sh: Likewise.
27235         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27236         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27237         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27238         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27239         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27240         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27241         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27242         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27243         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27244         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27245         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27246         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27247         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27248         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27249         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27250         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27251         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27252         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27253         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27254         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27255         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27256         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27257         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27258         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27259         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27260         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27261         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27264         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27265         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27266         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27267         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27268         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27269         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27270         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27271         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27272         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27273         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27274         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27275         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27276         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27277         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27278         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27279         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27280         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27281         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27282         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27283         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27284         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27285         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27286         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27287         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27288         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27289         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27290         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27291         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27292         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27293         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27294         * sysdeps/x86_64/memcpy.S: Likewise.
27295         * sysdeps/x86_64/memmove.c: Likewise.
27296         * sysdeps/x86_64/memset.S: Likewise.
27297         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27298         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27299         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27300         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27301         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27302         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27303         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27304         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27305         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27306         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27307         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27308         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27309         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27310         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27311         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27312         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27313         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27314         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27315         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27316         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27317         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27318         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27319         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27320         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27321         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27322         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27323         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27324         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27325         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27326         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27327         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27328         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27329         * sysdeps/x86_64/strcmp.S: Likewise.
27331         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27333         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27334         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27335         * elf/rtld-Rules: Likewise.
27336         * elf/setup-vdso.h: Likewise.
27337         * include/assert.h: Likewise.
27338         * include/bits/stdlib-float.h: Likewise.
27339         * include/errno.h: Likewise.
27340         * include/sys/stat.h: Likewise.
27341         * include/unistd.h: Likewise.
27342         * sysdeps/aarch64/setjmp.S: Likewise.
27343         * sysdeps/alpha/setjmp.S: Likewise.
27344         * sysdeps/arm/__longjmp.S: Likewise.
27345         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27346         * sysdeps/arm/setjmp.S: Likewise.
27347         * sysdeps/arm/sysdep.h: Likewise.
27348         * sysdeps/generic/_itoa.h: Likewise.
27349         * sysdeps/generic/dl-sysdep.h: Likewise.
27350         * sysdeps/generic/ldsodefs.h: Likewise.
27351         * sysdeps/i386/dl-tls.h: Likewise.
27352         * sysdeps/i386/setjmp.S: Likewise.
27353         * sysdeps/m68k/setjmp.c: Likewise.
27354         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27355         * sysdeps/mach/hurd/opendir.c: Likewise.
27356         * sysdeps/posix/getcwd.c: Likewise.
27357         * sysdeps/posix/opendir.c: Likewise.
27358         * sysdeps/posix/profil.c: Likewise.
27359         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27360         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27361         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27362         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27363         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27364         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27365         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27366         * sysdeps/s390/dl-tls.h: Likewise.
27367         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27368         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27369         * sysdeps/sh/sh3/setjmp.S: Likewise.
27370         * sysdeps/sh/sh4/setjmp.S: Likewise.
27371         * sysdeps/unix/alpha/sysdep.h: Likewise.
27372         * sysdeps/unix/arm/sysdep.S: Likewise.
27373         * sysdeps/unix/i386/sysdep.S: Likewise.
27374         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27375         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27376         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27377         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27378         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27379         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27380         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27381         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27382         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27383         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27384         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27385         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27386         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27389         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27390         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27391         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27392         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27393         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27394         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27395         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27396         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27397         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27398         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27399         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27400         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27401         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27402         * sysdeps/x86_64/setjmp.S: Likewise.
27404         * include/math.h: Use IS_IN instead of IS_IN_libm.
27405         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27406         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27407         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27408         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27409         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27410         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27411         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27412         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27413         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27414         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27415         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27416         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27417         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27418         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27419         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27420         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27421         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27422         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27423         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27424         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27425         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27426         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27427         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27428         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27429         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27430         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27431         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27432         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27433         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27434         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27435         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27436         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27437         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27439         Likewise.
27440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27441         Likewise.
27442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27443         Likewise.
27444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27445         Likewise.
27446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27447         Likewise.
27448         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27449         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27450         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27451         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27452         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27453         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27459         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27460         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27461         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27462         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27463         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27464         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27465         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27466         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27467         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27468         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27469         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27470         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27471         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27472         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27474         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27476         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27477         * nptl/pthreadP.h: Likewise.
27478         * nptl_db/structs.def: Likewise.
27479         * sysdeps/arm/sysdep.h: Likewise.
27480         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27481         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27482         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27483         * sysdeps/unix/alpha/sysdep.h: Likewise.
27484         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27485         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27486         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27487         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27488         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27489         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27490         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27491         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27492         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27493         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27494         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27495         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27496         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27497         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27500         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27501         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27502         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27503         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27504         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27505         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27506         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27507         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27508         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27509         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27511         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27512         * nptl/pthreadP.h: Likewise.
27513         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27514         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27515         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27516         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27517         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27518         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27519         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27520         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27521         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27522         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27523         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27524         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27526         Likewise.
27527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27528         Likewise.
27529         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27530         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27531         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27532         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27533         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27534         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27535         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27536         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27538         * dlfcn/dladdr.c: Use IS_IN.
27539         * dlfcn/dladdr1.c: Likewise.
27540         * dlfcn/dlclose.c: Likewise.
27541         * dlfcn/dlerror.c: Likewise.
27542         * dlfcn/dlinfo.c: Likewise.
27543         * dlfcn/dlmopen.c: Likewise.
27544         * dlfcn/dlopen.c: Likewise.
27545         * dlfcn/dlsym.c: Likewise.
27546         * dlfcn/dlvsym.c: Likewise.
27548         * include/ifaddrs.h: Use IS_IN.
27549         * inet/check_pf.c: Likewise.
27550         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27551         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27553         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27554         IS_IN_ldconfig.
27555         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27556         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27558         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27559         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27560         IS_IN (libc).
27562         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27564         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27565         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27566         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27567         * include/libc-symbols.h (IS_IN_LIB): New macro.
27568         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27569         * include/netdb.h: Likewise.
27570         * include/stap-probe.h: Remove all uses of IN_LIB.
27572         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27573         instead of IN_MODULE.
27574         * include/libc-symbols.h (IN_MODULE): Define using
27575         MODULE_NAME.
27576         (PASTE_NAME, PASTE_NAME1): New macros.
27577         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27578         of IN_LIB.
27579         (STAP_PROBE_ASM): Likewise.
27581 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27583         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27584         __mach_init in dlopened libc.
27586 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27588         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27589         * sysdeps/arm/preconfigure: Regenerate.
27591 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27593         * nptl/pthread_create.c (__pthread_create_2_1): Set
27594         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27595         when copying values from IATTR into PD.
27597 2014-11-21  Will Newton  <will.newton@linaro.org>
27598             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27600         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27601         Refactor inline-asm.  Also add comment.
27603         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27604         ElfW macro instead of hardcoded Elf64 types.
27605         (la_aarch64_gnu_pltenter): Likewise.
27606         * sysdeps/aarch64/dl-machine.h
27607         (elf_machine_runtime_setup): Use ElfW(Addr).
27609         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27610         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27611         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27612         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27613         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27614         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27615         (R_AARCH64_TLS_DTPMOD): This.
27616         (R_AARCH64_TLS_DTPREL64): Rename to ...
27617         (R_AARCH64_TLS_DTPREL): This.
27618         (R_AARCH64_TLS_TPREL64): Rename to ...
27619         (R_AARCH64_TLS_TPREL): This.
27620         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27621         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27622         R_AARCH64_TLS_TPREL64.
27623         (elf_machine_rela): Likewise.
27625 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27627         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27628         by setting it to 0.  64b atomics are not supported currently.
27630 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27632         [BZ #16469]
27633         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27634         search domain names.
27636 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27638         [BZ #16469]
27639         * NEWS: Update.
27640         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27641         trailing dot.
27642         * posix/tst-getaddrinfo5.c: New.
27643         * posix/Makefile (tests): Add it.
27645 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27647         [BZ #14498]
27648         * NEWS: Fixed.
27649         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27650         after parsing line but before break_if_match.
27651         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27652         if there is a protocol mismatch.
27654 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27656         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27657         because the potential race is on the user-supplied stream.
27659 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27661         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27662         string literal if not passed a buffer.
27663         * manual/job.texi (ctermid): Update reasoning, note deviation
27664         from posix, suggest mtasurace when not passed a buffer, for
27665         future non-preliminary safety notes.
27667 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27669         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27670         of not passing it a buffer.
27671         Reported by Peng Haitao.
27673 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27675         * manual/Makefile ($(objpfx)stamp-summary): Require
27676         check-safety.sh to pass.
27677         * manual/check-safety.sh: Wish for verification that every
27678         @deftypefn and @deftypefun is followed by a @safety remark.
27680 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27682         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27684         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27685         PTHREAD_CANCEL_ASYNCHRONOUS.
27686         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27687         send SIGCANCEL.
27689         * nptl/default-sched.h: New file.
27690         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27691         * nptl/pthread_create.c: Include it.
27692         (__pthread_create_2_1): Use collect_default_sched instead of making
27693         Linux syscalls here directly.
27695 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27697         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27698         __pthread_once): Use C11 atomics.
27700 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27702         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27704 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27706         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27707         atomic_thread_fence_acquire, atomic_thread_fence_release,
27708         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27709         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27710         atomic_compare_exchange_weak_relaxed,
27711         atomic_compare_exchange_weak_acquire,
27712         atomic_compare_exchange_weak_release,
27713         atomic_exchange_acquire, atomic_exchange_release,
27714         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27715         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27716         atomic_fetch_and_acquire,
27717         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27719 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27721         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27722         USE_ATOMIC_COMPILER_BUILTINS): Define.
27723         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27724         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27725         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27726         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27727         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27728         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27729         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27730         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27731         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27732         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27733         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27734         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27735         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27736         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27737         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27738         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27739         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27740         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27741         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27742         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27743         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27744         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27745         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27746         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27747         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27748         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27749         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27750         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27751         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27752         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27753         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27754         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27755         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27756         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27757         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27758         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27759         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27760         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27761         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27762         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27764 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27766         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27767         the sched_priority value here.  It was already checked when the user
27768         called pthread_attr_setschedparam.
27770         * nptl/tst-bad-schedattr.c: New file.
27771         * nptl/Makefile (tests): Add it.
27773 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27774             Florian Weimer  <fweimer@redhat.com>
27775             Joseph Myers  <joseph@codesourcery.com>
27776             Adam Conrad  <adconrad@0c3.net>
27777             Andreas Schwab  <schwab@suse.de>
27778             Brooks  <bmoses@google.com>
27780         [BZ #17625]
27781         * wordexp-test.c (__dso_handle): Add prototype.
27782         (__register_atfork): Likewise.
27783         (__app_register_atfork): New function.
27784         (registered_forks): New global.
27785         (register_fork): New function.
27786         (test_case): Add 3 new tests for WRDE_CMDSUB.
27787         (main): Call __app_register_atfork.
27788         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27789         fork count is non-zero fail the test.
27790         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27791         is set.
27792         (parse_dollars): Remove check for WRDE_NOCMD.
27793         (parse_dquote): Likewise.
27795 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27797         * Makeconfig (built-modules): List non-library modules to be
27798         built.
27799         (module-cppflags): Include libc-modules.h for
27800         everything except shlib-versions.v.i.
27801         (CPPFLAGS): Use it.
27802         (before-compile): Add libc-modules.h.
27803         ($(common-objpfx)libc-modules.h,
27804         $(common-objpfx)libc-modules.stmp): New targets.
27805         (common-generated): Add libc-modules.h and libc-modules.stmp.
27806         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27807         * include/libc-symbols.h: Don't include libc-modules.h.
27808         * include/libc-modules.h: Remove file.
27809         * scripts/gen-libc-modules.awk: New script to generate
27810         libc-modules.h.
27811         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27812         Depend on libc-modules.stmp.
27814         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27816         * Makeconfig (in-module): Get value of libof set for the
27817         translation unit.
27818         (CPPFLAGS): Use $(in-module).
27819         * Makerules: Don't suffix routine names for nonlib.
27820         * include/libc-modules.h: New file.
27821         * include/libc-symbols.h: Include libc-modules.h
27822         (IS_IN): New macro to replace IS_IN_* macros.
27823         * elf/Makefile: Set libof-* for each routine.
27824         * elf/rtld-Rules: Likewise.
27825         * extra-modules.mk: Likewise.
27826         * iconv/Makefile: Likewise.
27827         * iconvdata/Makefile: Likewise.
27828         * locale/Makefile: Likewise.
27829         * malloc/Makefile: Likewise.
27830         * nss/Makefile: Likewise.
27831         * sysdeps/gnu/Makefile: Likewise.
27832         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27833         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27834         * sysdeps/s390/s390-64/Makefile: Likewise.
27835         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27836         CPPFLAGS for nscd instead of nonlib.
27838 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27840         * nptl/createthread.c: New file.
27842         * nptl/createthread.c: Moved ...
27843         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27845         * nptl/createthread.c: Add proper top-line comment.
27846         (do_clone): Folded into ...
27847         (create_thread): ... here.  Take new arguments STOPPED_START and
27848         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27849         increment __nptl_threads, do event-reporting logic, do
27850         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27851         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27852         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27853         just send SIGCANCEL.
27854         * nptl/pthread_create.c: Forward-declare create_thread before
27855         including createthread.c.
27856         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27857         declaration, and new macro START_THREAD_SELF to replace argument.
27858         Remove return statement.
27859         (report_thread_creation): New function.
27860         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27861         synchronization logic, and __nptl_nthreads increment here, around
27862         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27863         PD->parent_cancelhandling here, before create_thread.  When
27864         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27865         __deallocate_stack, and ENOMEM translation here.
27867 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27869         [BZ #17616]
27870         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27871         (mptwo): Rename to __mptwo.
27872         (__inv): Use __mptwo instead of mptwo.
27873         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27874         (mptwo): Rename to __mptwo.
27875         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27876         of mpone and __mptwo instead of mptwo.
27877         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27878         instead of mpone.
27879         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27880         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27881         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27882         of mpone and __mptwo instead of mptwo.
27883         (__mpranred): Use __mpone instead of mpone.
27884         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27885         variable.
27886         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27887         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27888         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27889         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27890         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27891         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27892         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27893         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27894         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27895         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27896         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27897         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27898         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27899         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27900         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27901         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27902         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27903         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27904         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27906 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27908         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27909         replace BSD Handler xref with BSD Signal Handling.
27911 2014-11-17  Richard Henderson  <rth@redhat.com>
27913         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27914         (_FP_PACK_RAW_2): Remove.
27915         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27916         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27917         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27918         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27919         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27920         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27921         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27922         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27923         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27924         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27925         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27926         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27927         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27928         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27929         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27930         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27932 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27934         * signal/signal.h [__USE_MISC]
27935         (struct sigvec): Remove type.
27936         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27937         (sigvec): Remove declaration.
27938         * sysdeps/posix/sigvec.c: Moved ...
27939         * signal/sigvec.c: ... here, replacing old file.
27940         (struct sigvec): New type, copied from old signal.h definition.
27941         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27942         (__sigvec): Convert definition to prototype.
27943         (sigvec): Replace weak_alias with compat_symbol.
27944         * signal/Versions (libc: GLIBC_2.21): New version set.
27945         * include/signal.h: Remove __sigvec declaration.
27946         * sysdeps/unix/bsd/sigvec.c: Remove file.
27947         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27948         * manual/signal.texi (BSD Handler): Remove subsection.
27949         Move siginterrupt up to ...
27950         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27951         (Blocking in BSD): Fold subsection into its parent.
27952         * NEWS: Mention sigvec removal.
27954 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27956         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27957         (DLA_FMS): Make definition conditional only on [__FMA4__].
27958         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27959         definition.
27961         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27962         Make definition conditional only on [PROF].
27963         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27964         definition.
27965         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27966         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27968         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27969         !__GNUC__].
27970         * include/signal.h (__sigpause): Move declaration above call to
27971         libc_hidden_proto.
27972         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27973         variable.
27974         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27975         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27977 2014-11-14  David S. Miller  <davem@davemloft.net>
27979         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27980         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27982 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27984         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27985         * configure: Regenerated.
27986         * manual/install.texi (Tools for Compilation): Document a
27987         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27988         compiler verified to work.
27989         * INSTALL: Regenerated.
27991         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27992         redeclare with asm name.
27993         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27994         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27995         including <string.h>.
27996         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27997         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27998         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27999         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28000         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28001         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28002         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28004 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28006         * stdlib/strtol.c (__strtol): Use prototype definition.
28008         [BZ #17594]
28009         * stdlib/strtol.c (SYM__): New macro.
28010         (SYM__1): Likewise.
28011         (__strtol): Likewise.
28012         (strtol): Rename to __strtol and define as weak alias of
28013         __strtol.  Use libc_hidden_weak.
28015 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28017         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28018         Use numbered labels in inline assembly.
28020 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28022         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28023         Add setjmp LIBC_PROBE.
28024         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28025         Likewise.
28026         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28027         Add longjmp, longjmp_target LIBC_PROBE.
28028         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28029         Likewise.
28031 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28033         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28034         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28035         to get rid of unused variable warning.
28037 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28039         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28040         Check for unwind_backtrace ==  NULL only in SHARED case.
28041         (__backchain_backtrace): Compile only in SHARED case.
28042         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28043         Likewise.
28044         (__backchain_backtrace): Declare as static.
28046 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28048         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28049         (__libc_multiple_threads_ptr): Variable moved ...
28050         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28052 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28054         * conform/GlibcConform.pm: New file.
28055         * conform/conformtest.pl: Use GlibcConform module.
28056         * conform/linknamespace.pl: New file.
28057         * conform/list-header-symbols.pl: Likewise.
28058         * conform/Makefile (linknamespace-symlists-base): New variable.
28059         (linknamespace-symlists-tests): Likewise.
28060         (linknamespace-header-base): Likewise.
28061         (linknamespace-header-tests): Likewise.
28062         (tests-special): Add new tests.
28063         ($(linknamespace-symlists-tests)): New rule.
28064         (linknamespace-libs): New variable.
28065         ($(objpfx)symlist-stdlibs): New rule.
28066         ($(linknamespace-header-tests)): Likewise.
28067         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28068         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28069         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28070         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28071         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28072         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28073         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28074         (test-xfail-ISO/math.h/linknamespace): Likewise.
28075         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28076         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28077         (test-xfail-ISO/time.h/linknamespace): Likewise.
28078         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28079         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28080         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28081         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28082         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28083         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28084         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28085         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28086         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28087         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28088         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28089         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28090         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28091         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28092         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28093         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28094         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28095         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28096         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28097         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28098         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28099         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28100         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28101         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28102         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28103         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28104         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28105         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28106         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28107         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28108         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28109         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28110         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28111         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28112         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28113         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28114         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28115         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28116         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28117         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28118         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28119         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28120         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28121         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28122         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28123         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28124         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28125         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28126         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28127         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28128         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28129         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28130         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28131         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28132         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28133         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28134         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28135         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28136         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28137         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28138         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28139         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28140         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28141         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28142         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28143         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28144         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28145         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28146         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28147         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28148         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28149         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28150         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28151         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28152         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28153         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28154         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28155         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28156         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28157         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28158         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28159         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28160         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28161         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28162         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28163         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28164         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28165         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28166         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28167         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28168         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28169         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28170         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28171         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28172         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28173         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28174         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28175         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28176         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28177         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28178         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28179         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28180         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28181         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28182         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28183         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28184         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28185         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28186         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28187         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28188         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28189         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28190         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28191         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28192         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28193         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28194         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28195         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28196         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28197         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28198         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28199         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28200         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28201         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28202         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28203         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28204         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28205         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28206         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28207         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28208         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28209         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28210         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28211         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28212         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28213         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28214         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28215         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28216         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28217         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28218         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28219         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28220         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28221         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28222         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28223         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28224         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28225         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28226         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28227         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28229         [BZ #17589]
28230         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28231         of fgets_unlocked.
28233         [BZ #17585]
28234         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28235         (memmem): Rename to __memmem and define as weak alias of
28236         __memmem.  Use libc_hidden_weak.
28237         (__memmem): Use libc_hidden_def.
28238         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28239         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28240         memmem.
28242         [BZ #17582]
28243         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28244         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28245         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28246         and define as weak alias of __fgets_unlocked.  Use
28247         libc_hidden_weak.
28248         (__fgets_unlocked): Use libc_hidden_def.
28249         * include/stdio.h (__fgets_unlocked): Declare.  Use
28250         libc_hidden_proto.
28251         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28252         __fgets_unlocked instead of fgets_unlocked.
28253         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28254         (GET_NPROCS_CONF_PARSER): Likewise.
28255         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28256         (GET_NPROCS_CONF_PARSER): Likewise.
28258         [BZ #17574]
28259         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28260         weak alias of __wmemset.  Use libc_hidden_weak.
28261         (__wmemset): Use libc_hidden_def.
28262         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28263         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28264         of wmemset.
28266         [BZ #17573]
28267         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28268         with asm name __mempcpy.
28269         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28271         [BZ #17572]
28272         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28273         and define as weak alias of __rawmemchr.
28274         (__rawmemchr): Do not define as strong alias of rawmemchr.
28276         [BZ #17571]
28277         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28278         alias of __qsort_r.
28279         (qsort): Call __qsort_r instead of qsort_r.
28280         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28281         (__qsort_r): Declare.  Call libc_hidden_proto.
28282         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28283         instead of qsort_r.
28284         * nscd/gai.c (__qsort_r): Define to qsort_r.
28285         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28286         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28287         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28289         [BZ #17570]
28290         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28291         define as weak alias of __malloc_info.
28293         [BZ #17584]
28294         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28295         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28296         (__rewinddir): Use libc_hidden_def.
28297         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28298         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28299         (__rewinddir): Use libc_hidden_def.
28300         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28301         weak alias of __rewinddir.  Don't use libc_hidden_def.
28302         (__rewinddir): Use libc_hidden_def.
28303         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28304         (__rewinddir): Use libc_hidden_proto.
28305         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28306         rewinddir.
28307         (__getcwd): Use __rewinddir instead of rewinddir.
28309         [BZ #17583]
28310         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28311         alias of __fileno.  Use libc_hidden_weak.
28312         (__fileno): Use libc_hidden_def.
28313         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28314         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28315         alias of __ftello.
28316         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28317         __ftello.
28318         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28319         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28320         libc_hidden_def.
28321         (fread_unlocked): Don't use libc_hidden_ver.
28322         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28323         and define as weak alias of __fread_unlocked.  Don't use
28324         libc_hidden_def.
28325         (__fread_unlocked): Use libc_hidden_def.
28326         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28327         (ftello): Don't use libc_hidden_proto.
28328         (__ftello): Declare.  Use libc_hidden_proto.
28329         (fread_unlocked): Don't use libc_hidden_proto.
28330         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28331         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28332         and __ftello instead of fileno, fread_unlocked and ftello.
28334 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28336         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28337         GOT12.
28338         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28339         Likewise.
28340         (_dl_start_user): Likewise.
28341         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28343 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28344             Siddhesh Poyarekar  <siddhesh@redhat.com>
28346         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28347         Move argv and envp down instead of moving argc up.
28348         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28350 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28352         [BZ #17506]
28353         * test-skeleton.c (main): Return successful if one of
28354         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28355         * string/tst-strcoll-overflow.c: Define expected status.
28357 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28359         [BZ #17475]
28360         * locale/iso-639.def: Define Bhili and Tulu language codes.
28362 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28364         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28366 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28368         [BZ #17555]
28369         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28371 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28373         * configure.ac: Updated check of minimal required version to
28374         2.22.
28375         * manual/install.texi (Tools for Compilation): Updated version
28376         number.
28377         * configure: Regenerated.
28378         * INSTALL: Likewise.
28380 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28382         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28383         __tls_get_addr.
28385 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28387         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28388         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28389         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28390         libc_hidden_weak.
28391         (waitpid): Define as alias of __waitpid.
28392         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28393         __waitpid.
28394         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28395         libc_hidden_weak.
28396         (waitpid): Define as alias of __waitpid.
28397         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28398         __libc_waitpid alias.
28399         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28400         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28401         Likewise.
28402         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28403         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28404         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28405         alias.
28406         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28407         __waitpid.
28408         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28409         libc_hidden_weak.
28410         (waitpid): Define as alias of __waitpid.
28412 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28414         * manual/llio.texi: Add comment that write safety has been
28415         fixed in Linux.
28417         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28418         (localplt-build-dso): Add elf/ld.so.
28419         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28420         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28421         and free for ld.so.
28422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28423         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28425         Likewise.
28426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28427         Likewise.
28428         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28429         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28430         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28431         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28432         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28433         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28434         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28435         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28436         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28437         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28438         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28440 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28442         [BZ #14132]
28443         * include/libc-symbols.h (INTUSE): Remove macro.
28444         (INTDEF): Likewise.
28445         (INTVARDEF): Likewise.
28446         (_INTVARDEF): Likewise.
28447         (INTDEF2): Likewise.
28448         (INTVARDEF2): Likewise.
28449         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28450         rtld_hidden_def instead of INTVARDEF.
28451         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28452         (_dl_starting_up_internal): Remove declaration.
28453         (_dl_starting_up): Use rtld_hidden_proto.
28454         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28455         declaration.
28456         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28457         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28458         _dl_starting_up.
28459         * elf/dl-writev.h (_dl_writev): Likewise.
28460         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28461         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28462         _dl_starting_up_internal.
28464 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28466         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28467         test-skeleton.c.
28469 2014-11-05  Will Newton  <will.newton@linaro.org>
28471         * benchtests/Makefile: (bench-malloc): Add malloc thread
28472         scalability benchmark.
28473         * benchtests/bench-malloc-threads.c: New file.
28475 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28477         * sysdeps/aarch64/strchrnul.S: New file.
28479 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28481         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28482         definition.
28483         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28484         Likwise.
28485         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28486         Likewise.
28487         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28488         Likewise.
28489         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28490         Likewise.
28491         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28492         Likewise.
28494 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28496         * catgets/test-gencat.c: Use test-skeleton.c.
28497         * catgets/tst-catgets.c: Likewise.
28498         * csu/tst-empty.c: Likewise.
28499         * elf/tst-audit2.c: Likewise.
28500         * elf/tst-global1.c: Likewise.
28501         * elf/tst-pathopt.c: Likewise.
28502         * elf/tst-piemod1.c: Likewise.
28503         * elf/tst-tls10.c: Likewise.
28504         * elf/tst-tls11.c: Likewise.
28505         * elf/tst-tls12.c: Likewise.
28506         * gnulib/tst-gcc.c: Likewise.
28507         * iconvdata/tst-e2big.c: Likewise.
28508         * iconvdata/tst-loading.c: Likewise.
28509         * iconv/tst-iconv1.c: Likewise.
28510         * iconv/tst-iconv2.c: Likewise.
28511         * inet/test-inet6_opt.c: Likewise.
28512         * inet/tst-gethnm.c: Likewise.
28513         * inet/tst-network.c: Likewise.
28514         * inet/tst-ntoa.c: Likewise.
28515         * intl/tst-codeset.c: Likewise.
28516         * intl/tst-gettext2.c: Likewise.
28517         * intl/tst-gettext3.c: Likewise.
28518         * intl/tst-ngettext.c: Likewise.
28519         * intl/tst-translit.c: Likewise.
28520         * io/test-stat.c: Likewise.
28521         * libio/test-fmemopen.c: Likewise.
28522         * libio/tst-freopen.c: Likewise.
28523         * libio/tst-sscanf.c: Likewise.
28524         * libio/tst-ungetwc1.c: Likewise.
28525         * libio/tst-ungetwc2.c: Likewise.
28526         * libio/tst-widetext.c: Likewise.
28527         * localedata/tst-ctype.c: Likewise.
28528         * localedata/tst-digits.c: Likewise.
28529         * localedata/tst-leaks.c: Likewise.
28530         * localedata/tst-mbswcs1.c: Likewise.
28531         * localedata/tst-mbswcs2.c: Likewise.
28532         * localedata/tst-mbswcs3.c: Likewise.
28533         * localedata/tst-mbswcs4.c: Likewise.
28534         * localedata/tst-mbswcs5.c: Likewise.
28535         * localedata/tst-setlocale.c: Likewise.
28536         * localedata/tst-trans.c: Likewise.
28537         * localedata/tst-wctype.c: Likewise.
28538         * localedata/tst-xlocale1.c: Likewise.
28539         * login/tst-grantpt.c: Likewise.
28540         * malloc/tst-calloc.c: Likewise.
28541         * malloc/tst-malloc.c: Likewise.
28542         * malloc/tst-mallocstate.c: Likewise.
28543         * malloc/tst-mcheck.c: Likewise.
28544         * malloc/tst-mtrace.c: Likewise.
28545         * malloc/tst-obstack.c: Likewise.
28546         * math/atest-exp2.c: Likewise.
28547         * math/atest-exp.c: Likewise.
28548         * math/atest-sincos.c: Likewise.
28549         * math/test-matherr.c: Likewise.
28550         * math/test-misc.c: Likewise.
28551         * math/test-powl.c: Likewise.
28552         * math/tst-definitions.c: Likewise.
28553         * misc/tst-dirname.c: Likewise.
28554         * misc/tst-efgcvt.c: Likewise.
28555         * misc/tst-fdset.c: Likewise.
28556         * misc/tst-hsearch.c: Likewise.
28557         * misc/tst-mntent2.c: Likewise.
28558         * nptl/tst-sem7.c: Likewise.
28559         * nptl/tst-sem8.c: Likewise.
28560         * nptl/tst-sem9.c: Likewise.
28561         * nss/test-netdb.c: Likewise.
28562         * posix/tst-fnmatch.c: Likewise.
28563         * posix/tst-getlogin.c: Likewise.
28564         * posix/tst-gnuglob.c: Likewise.
28565         * posix/tst-mmap.c: Likewise.
28566         * pwd/tst-getpw.c: Likewise.
28567         * resolv/tst-inet_ntop.c: Likewise.
28568         * rt/tst-timer.c: Likewise.
28569         * stdio-common/test-fseek.c: Likewise.
28570         * stdio-common/test-popen.c: Likewise.
28571         * stdio-common/test-vfprintf.c: Likewise.
28572         * stdio-common/tst-cookie.c: Likewise.
28573         * stdio-common/tst-fileno.c: Likewise.
28574         * stdio-common/tst-gets.c: Likewise.
28575         * stdio-common/tst-obprintf.c: Likewise.
28576         * stdio-common/tst-perror.c: Likewise.
28577         * stdio-common/tst-sprintf2.c: Likewise.
28578         * stdio-common/tst-sprintf3.c: Likewise.
28579         * stdio-common/tst-sprintf.c: Likewise.
28580         * stdio-common/tst-swprintf.c: Likewise.
28581         * stdio-common/tst-tmpnam.c: Likewise.
28582         * stdio-common/tst-unbputc.c: Likewise.
28583         * stdio-common/tst-wc-printf.c: Likewise.
28584         * stdlib/tst-environ.c: Likewise.
28585         * stdlib/tst-fmtmsg.c: Likewise.
28586         * stdlib/tst-limits.c: Likewise.
28587         * stdlib/tst-rand48-2.c: Likewise.
28588         * stdlib/tst-rand48.c: Likewise.
28589         * stdlib/tst-random2.c: Likewise.
28590         * stdlib/tst-random.c: Likewise.
28591         * stdlib/tst-strtol.c: Likewise.
28592         * stdlib/tst-strtoll.c: Likewise.
28593         * stdlib/tst-tls-atexit.c: Likewise.
28594         * stdlib/tst-xpg-basename.c: Likewise.
28595         * string/test-ffs.c: Likewise.
28596         * string/tst-bswap.c: Likewise.
28597         * string/tst-inlcall.c: Likewise.
28598         * string/tst-strtok.c: Likewise.
28599         * string/tst-strxfrm.c: Likewise.
28600         * sysdeps/x86_64/tst-audit10.c: Likewise.
28601         * sysdeps/x86_64/tst-audit3.c: Likewise.
28602         * sysdeps/x86_64/tst-audit4.c: Likewise.
28603         * sysdeps/x86_64/tst-audit5.c: Likewise.
28604         * time/tst-ftime_l.c: Likewise.
28605         * time/tst-getdate.c: Likewise.
28606         * time/tst-mktime3.c: Likewise.
28607         * time/tst-mktime.c: Likewise.
28608         * time/tst-posixtz.c: Likewise.
28609         * time/tst-strptime2.c: Likewise.
28610         * time/tst-strptime3.c: Likewise.
28611         * wcsmbs/tst-btowc.c: Likewise.
28612         * wcsmbs/tst-mbrtowc.c: Likewise.
28613         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28614         * wcsmbs/tst-wchar-h.c: Likewise.
28615         * wcsmbs/tst-wcpncpy.c: Likewise.
28616         * wcsmbs/tst-wcrtomb.c: Likewise.
28617         * wcsmbs/tst-wcsnlen.c: Likewise.
28618         * wcsmbs/tst-wcstof.c: Likewise.
28620 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28622         [BZ #14132]
28623         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28624         INTDEF.
28625         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28626         declaration.
28627         (_dl_mcount): Use rtld_hidden_proto.
28628         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28629         _dl_mcount.
28630         * elf/rtld.c (_rtld_global_ro): Likewise.
28632         [BZ #14132]
28633         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28634         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28635         of _dl_init_internal.
28636         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28637         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28638         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28639         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28640         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28641         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28642         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28643         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28644         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28645         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28646         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28647         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28648         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28649         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28650         * sysdeps/tile/dl-start.S (_start): Likewise.
28651         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28652         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28654         [BZ #14132]
28655         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28656         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28657         (rtld_progname): Make macro definition unconditional.
28658         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28659         INTDEF.
28660         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28661         (dl_main): Likewise.
28662         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28663         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28664         instead of _dl_argv_internal.
28665         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28666         __GI__dl_argv instead of INTUSE(_dl_argv).
28667         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28668         __GI__dl_argv instead of _dl_argv_internal.
28670         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28671         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28672         macro.
28673         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28674         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28675         New macro.
28676         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28677         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28678         macro.
28679         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28680         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28682 2014-11-04  Andreas Schwab  <schwab@suse.de>
28684         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28686 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28688         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28689         mtvsrd instruction in binary form.
28691 2014-11-03  Andreas Schwab  <schwab@suse.de>
28693         [BZ #17522]
28694         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28695         for less than MB_LEN_MAX use a local buffer of that size.
28696         * libio/tst-fputws.c: New file.
28697         * libio/Makefile (tests): Add tst-fputws.
28699 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28701         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28702         the size of the fpu_fr.fpu_dregs[] array.
28704 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28706         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28707         (__nanosleep): Do not define as alias.
28708         (nanosleep): Define as alias of __nanosleep.
28709         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28710         __libc_nanosleep name.
28712 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28714         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28715         install.texi in comment.
28717 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28719         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28720         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28721         ... add here and use lwsync or sync ...
28722         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28723         ... and add here using lwsync.
28725 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28727         * elf/dl-machine-reject-phdr.h: New file.
28728         * elf/dl-load.c: #include that.
28729         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28730         if that returned true.
28732 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28734         [BZ #17496]
28735         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28736         gen-as-const-headers chunk.  Add a big scare comment after the last
28737         safe place to touch before-compile.
28739 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28741         * manual/install.texi (Tools for Compilation): Update autoconf
28742         version requirements.
28743         * INSTALL: Regenerated.
28745         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28746         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28747         (__libc_pselect): Likewise.
28749         [BZ #14138]
28750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28755 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28757         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28758         correct barrier instruction.
28759         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28760         Likewise.
28761         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28762         Likewise.
28764 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28766         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28767         after defining inlines.  Instead, just use parens to defeat macro
28768         expansion of __isctype in its declaration.
28770 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28772         * include/sys/uio.h (__libc_readv): Remove declaration.
28773         (__libc_writev): Likewise.
28774         * misc/readv.c (__libc_readv): Rename to __readv.
28775         (__readv): Do not define as alias.
28776         (readv): Define as alias of __readv.
28777         * misc/writev.c (__libc_writev): Rename to __writev.
28778         (__writev): Do not define as alias.
28779         (writev): Define as alias of __writev.
28780         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28781         (__readv): Do not define as alias.
28782         (readv): Define unconditionally as alias of __readv.
28783         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28784         (__writev): Do not define as alias.
28785         (writev): Define unconditionally as alias of __writev.
28786         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28787         name.
28788         (writev): Do not define __libc_writev name.
28790 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28792         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28793         (convert_charseq): New function, broken out of ...
28794         (use_from_charmap): ... here.  Call it.
28795         (use_to_charmap): Use convert_charseq and free instead of duplicating
28796         its code with a variable-length stack struct.
28798 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28800         * include/fcntl.h (__libc_creat): Remove declaration.
28801         * io/creat.c (__libc_creat): Rename to creat.
28802         (creat): Do not define as alias.
28803         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28804         of creat instead of __libc_creat.
28805         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28806         to creat.
28807         (creat): Do not define as alias.
28808         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28809         __libc_creat.
28810         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28811         __libc_creat name.
28812         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28813         Likewise.
28815 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28817         * manual/llio.texi: Add comments discussing why write() may be
28818         considered MT-unsafe on Linux.
28820 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28822         * dl-load.c (local_strdup): Remove.
28823         (expand_dynamic_string_token): Use __strdup.
28824         (decompose_rpath): Likewise.
28825         (_dl_map_object): Likewise.
28827 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28829         [BZ #14132]
28830         * sysdeps/generic/unwind-dw2-fde.c
28831         (__register_frame_info_bases_internal): Do not declare.
28832         (__register_frame_info_table_bases_internal): Likewise.
28833         (__deregister_frame_info_bases_internal): Likewise.
28834         (__register_frame_info_bases): Declare and use hidden_proto before
28835         definition.  Use hidden_def instead of INTDEF.
28836         (__register_frame_info_table_bases): Likewise.
28837         (__deregister_frame_info_bases): Likewise.
28838         (__register_frame_info): Do not use INTUSE.
28839         (__register_frame): Likewise.
28840         (__register_frame_info_table): Likewise.
28841         (__register_frame_table): Likewise.
28842         (__deregister_frame_info): Likewise.
28843         (__deregister_frame): Likewise.
28845 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28847         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28848         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28849         not undefine.
28850         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28851         Likewise.
28852         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28853         Likewise.
28855 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28857         [BZ #14138]
28858         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28859         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28860         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28861         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28862         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28863         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28864         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28865         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28866         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28867         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28868         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28869         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28870         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28871         syscall.
28872         (setfsuid): Likewise.
28873         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28874         (setfsuid): Likewise.
28875         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28876         (setfsuid): Likewise.
28877         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28878         Likewise.
28879         (setfsuid): Likewise.
28880         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28881         (setfsuid): Likewise.
28882         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28883         Likewise.
28884         (setfsuid): Likewise.
28886 2014-10-27  Andreas Schwab  <schwab@suse.de>
28888         [BZ #17501]
28889         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28890         check for Slow_SSE4_2 feature bit.
28891         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28892         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28893         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28894         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28896 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28898         * configure.ac: Validate compiler version with a empirical test of
28899         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28900         $CC -v output.
28901         * configure: Regenerated.
28903         * inet/htons.c (htons): Prototypify.
28904         * inet/htonl.c (htonl): Likewise.
28906 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28908         * string/strncat.c (strncat): Improve performance by using strlen.
28910 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28912         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28914 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28916         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28917         Call libc_fetestexcept_aarch64.
28919 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28921         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28922         Call libc_feholdexcept_aarch64.
28924 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28926         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28927         Call get_rounding_mode.
28929 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28931         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28932         Simplify logic.
28934 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28936         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28937         Simplify logic.
28939 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28941         [BZ #14138]
28942         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28943         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28944         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28945         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28946         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28947         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28948         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28949         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28950         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28951         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28952         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28953         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28954         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28955         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28956         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28957         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28958         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28959         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28960         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28961         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28962         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28963         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28964         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28965         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28966         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28967         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28968         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28969         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28970         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28971         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28972         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28973         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28974         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28975         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28976         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28977         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28978         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28979         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28980         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28981         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28982         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28983         syscall.
28984         (geteuid): Likewise.
28985         (getgid): Likewise.
28986         (getuid): Likewise.
28987         (getresgid): Likewise.
28988         (getresuid): Likewise.
28989         (getgroups): Likewise.
28990         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28991         (geteuid): Likewise.
28992         (getgid): Likewise.
28993         (getuid): Likewise.
28994         (getresgid): Likewise.
28995         (getresuid): Likewise.
28996         (getgroups): Likewise.
28997         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28998         (geteuid): Likewise.
28999         (getgid): Likewise.
29000         (getuid): Likewise.
29001         (getresgid): Likewise.
29002         (getresuid): Likewise.
29003         (getgroups): Likewise.
29004         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29005         Likewise.
29006         (geteuid): Likewise.
29007         (getgid): Likewise.
29008         (getuid): Likewise.
29009         (getresgid): Likewise.
29010         (getresuid): Likewise.
29011         (getgroups): Likewise.
29012         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29013         (geteuid): Likewise.
29014         (getgid): Likewise.
29015         (getuid): Likewise.
29016         (getresgid): Likewise.
29017         (getresuid): Likewise.
29018         (getgroups): Likewise.
29019         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29020         Likewise.
29021         (geteuid): Likewise.
29022         (getgid): Likewise.
29023         (getuid): Likewise.
29024         (getgroups): Likewise.
29026         [BZ #14138]
29027         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29028         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29029         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29030         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29031         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29032         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29033         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29034         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29035         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29036         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29037         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29038         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29039         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29040         __chown.
29041         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29042         (lchown): Likewise.
29043         (fchown): Likewise.
29044         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29045         Likewise.
29046         (lchown): Likewise.
29047         (fchown): Likewise.
29048         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29049         (lchown): Likewise.
29050         (fchown): Likewise.
29051         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29052         Likewise.
29053         (lchown): Likewise.
29054         (fchown): Likewise.
29056 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29058         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29059         Simplify logic.
29061 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29063         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29064         Cleanup logic.
29066 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29068         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29069         Remove unused include.
29071 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29073         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29074         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29075         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29076         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29078 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29079             Helge Deller <deller@gmx.de>
29081         [BZ #17508]
29082         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29083         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29084         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29086 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29088         [BZ #14132]
29089         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29090         Remove macro definition.
29091         (__ashrdi3_v_glibc20): Likewise.
29092         (__lshrdi3_v_glibc20): Likewise.
29093         (__cmpdi2_v_glibc20): Likewise.
29094         (__ucmpdi2_v_glibc20): Likewise.
29095         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29096         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29097         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29098         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29099         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29100         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29102 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29104         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29105         old GNU extension [0] syntax.
29106         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29107         alloca rather than an array member with variable length.
29108         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29109         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29110         (parse_opt): ... here.  Likewise use alloca there.
29111         Validate the -i argument before checking for rootness.
29112         (send_shutdown): New function, broken out of ...
29113         (parse_opt): ... here.
29115 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29117         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29118         macro to get at the _rt_local_ro field.
29119         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29120         ([PIC] case) or _dl_hwcap ([!PIC] case).
29121         * sysdeps/arm/setjmp.S: Likewise.
29123         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29124         * sysdeps/arm/configure.ac: New check to define it.
29125         * sysdeps/arm/configure: Regenerated.
29126         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29127         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29128         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29129         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29130         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29131         Use move/movt pair instead of a load.
29132         (LDST_GLOBAL): Macro removed.
29133         (LDR_GLOBAL): New macro replaces it.
29134         (LDR_HIDDEN): New macro.
29135         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29136         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29138         * setjmp/tst-setjmp-static.c: New file.
29139         * setjmp/Makefile (tests): Add it.
29140         (tests-static): New variable.
29142 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29144         [BZ #17485]
29145         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29147 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29149         [BZ #14132]
29150         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29152 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29154         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29156 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29158         * io/fts.c (dirent_not_directory): New function.
29159         (fts_build): Call it.
29161 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29163         * nptl/version.c (__nptl_main): Use normal __write rather than
29164         INTERNAL_SYSCALL.
29165         (banner): Update copyright years.
29167         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29168         gettimeofday.
29169         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29170         * nptl/pthread_cond_timedwait.c: Likewise.
29171         * nptl/pthread_mutex_timedlock.c: Likewise.
29172         * nptl/sem_timedwait.c: Likewise.
29174         * sysdeps/nptl/bits/libc-lock.h
29175         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29176         (__libc_lock_init_recursive): Return void, not 0.
29177         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29178         (__libc_rwlock_init): Likewise.
29179         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29181 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29183         [BZ #15215]
29184         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29185         (__pthread_once_slow): ... here.
29186         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29187         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29189 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29191         [BZ #15215]
29192         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29193         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29194         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29195         * nptl/pthread_once.c (__pthread_once): Likewise.
29196         Update comments.
29198 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29200         [BZ #14138]
29201         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29202         name.
29203         (writev): Use __libc_writev as strong name.
29204         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29205         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29207 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29209         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29211         * sysdeps/i386/nptl/tls.h
29212         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29213         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29214         New macros.
29215         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29216         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29217         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29218         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29219         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29220         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29222         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29223         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29224         on [__NR_futex].
29225         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29226         broken out of ...
29227         (__pthread_mutex_init): ... here.  Call it.
29228         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29229         Conditionalize PI cases on [__NR_futex].
29230         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29231         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29232         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29234         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29235         conditional on [SIGSETXID].
29236         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29237         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29238         is defined.  Likewise for SIGSETXID.
29239         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29240         Conditionalize definitions on [SIGSETXID].
29241         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29242         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29243         unblocking on [SIGCANCEL].
29245         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29246         [__NR_set_robust_list].
29248 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29250         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29251         (do_compare): Likewise.
29253 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29255         [BZ #15884]
29256         * string/strcoll_l.c: Don't include stdio.h.
29257         (coll_seq): Remove members idxarr and rulearr.
29258         (get_next_seq_cached): Remove function.
29259         (get_next_seq): Likewise.
29260         (get_next_seq_nocache): Rename to get_next_seq.
29261         (do_compare): Remove function.
29262         (do_compare_nocache): Rename to do_compare.
29263         (STRCOLL): Remove weight and rules cache.
29265 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29267         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29268         * sysdeps/arm/sfp-machine.h: ... to here.
29269         * sysdeps/arm/Implies: Remove arm/soft-fp.
29271 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29273         * conform/data/sys/utsname.h-data (*_t): Allow.
29274         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29275         [POSIX] (WEXITED): Do not expect constant.
29276         [POSIX] (WSTOPPED): Likewise.
29277         [POSIX] (WNOHANG): Likewise.
29278         [POSIX] (WNOWAIT): Likewise.
29279         [POSIX] (siginfo_t): Do not expect type or elements.
29280         [POSIX] (pid_t): Do not expect type.
29281         [POSIX] (signal.h): Do not allow header.
29282         [POSIX] (sys/resource.h): Likewise.
29283         [POSIX] (si_*): Do not allow pattern.
29284         [POSIX] (W*): Likewise.
29285         [POSIX] (P_*): Likewise.
29286         [POSIX] (BUS_*): Likewise.
29287         [POSIX] (CLD_*): Likewise.
29288         [POSIX] (FPE_*): Likewise.
29289         [POSIX] (ILL_*): Likewise.
29290         [POSIX] (POLL_*): Likewise.
29291         [POSIX] (SEGV_*): Likewise.
29292         [POSIX] (SI_*): Likewise.
29293         [POSIX] (TRAP_*): Likewise.
29294         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29295         variable.
29297 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29299         [BZ #12926]
29300         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29301         infinite loop when __recvmsg returns 0.
29303 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29305         * CANCEL-FCT-WAIVE: Remove file.
29306         * CANCEL-FILE-WAIVE: Likewise.
29308         [BZ #14132]
29309         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29310         instead of INTVARDEF.
29311         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29312         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29313         rtld_hidden_data_def instead of INTVARDEF.
29314         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29315         * elf/dl-deps.c (expand_dst): Likewise.
29316         * elf/dl-load.c (_dl_dst_count): Likewise.
29317         (_dl_dst_substitute): Likewise.
29318         (decompose_rpath): Likewise.
29319         (_dl_init_paths): Likewise.
29320         (open_path): Likewise.
29321         (_dl_map_object): Likewise.
29322         * elf/rtld.c (dl_main): Likewise.
29323         (process_dl_audit): Likewise.
29324         (process_envvars): Likewise.
29325         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29326         Remove declaration.
29327         (__libc_enable_secure): Use rtld_hidden_proto.
29329 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29331         * elf/dl-load.c
29332         (add_path): New function broken out of _dl_rtld_di_serinfo.
29333         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29335 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29337         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29338         parentheses around macro arguments.
29339         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29340         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29341         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29342         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29343         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29344         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29345         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29346         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29347         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29348         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29349         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29350         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29351         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29352         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29353         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29354         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29355         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29356         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29357         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29358         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29359         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29360         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29361         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29362         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29363         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29364         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29365         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29366         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29367         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29368         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29369         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29370         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29371         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29372         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29373         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29374         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29375         Likewise.
29376         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29377         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29378         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29379         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29380         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29381         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29382         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29383         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29384         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29385         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29386         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29387         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29388         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29389         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29390         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29391         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29392         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29393         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29394         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29395         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29396         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29397         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29398         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29399         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29400         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29401         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29402         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29403         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29404         (_FP_FRAC_SRS_1): Likewise.
29405         (_FP_FRAC_CLZ_1): Likewise.
29406         (_FP_MUL_MEAT_1_imm): Likewise.
29407         (_FP_MUL_MEAT_1_wide): Likewise.
29408         (_FP_MUL_MEAT_1_hard): Likewise.
29409         (_FP_SQRT_MEAT_1): Likewise.
29410         (_FP_FRAC_ASSEMBLE_1): Likewise.
29411         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29412         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29413         (__FP_CLZ_2): Likewise.
29414         (_FP_MUL_MEAT_2_wide): Likewise.
29415         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29416         (_FP_MUL_MEAT_2_gmp): Likewise.
29417         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29418         (_FP_SQRT_MEAT_2): Likewise.
29419         (_FP_FRAC_ASSEMBLE_2): Likewise.
29420         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29421         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29422         (_FP_FRAC_CLZ_4): Likewise.
29423         (_FP_MUL_MEAT_4_wide): Likewise.
29424         (_FP_MUL_MEAT_4_gmp): Likewise.
29425         (_FP_SQRT_MEAT_4): Likewise.
29426         (_FP_FRAC_ASSEMBLE_4): Likewise.
29427         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29428         * soft-fp/op-common.h (_FP_CMP): Likewise.
29429         (_FP_CMP_EQ): Likewise.
29430         (_FP_CMP_UNORD): Likewise.
29431         (_FP_TO_INT): Likewise.
29432         (_FP_FROM_INT): Likewise.
29433         [!__FP_CLZ] (__FP_CLZ): Likewise.
29434         (_FP_DIV_HELP_imm): Likewise.
29435         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29436         Likewise.
29437         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29438         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29439         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29440         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29441         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29442         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29443         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29444         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29445         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29446         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29447         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29448         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29449         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29450         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29451         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29452         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29453         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29454         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29455         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29456         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29457         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29458         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29459         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29460         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29461         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29462         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29463         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29464         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29465         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29466         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29467         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29468         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29469         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29470         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29471         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29472         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29473         (FP_UNPACK_RAW_SP): Likewise.
29474         (FP_PACK_RAW_S): Likewise.
29475         (FP_PACK_RAW_SP): Likewise.
29476         (FP_UNPACK_S): Likewise.
29477         (FP_UNPACK_SP): Likewise.
29478         (FP_UNPACK_SEMIRAW_S): Likewise.
29479         (FP_UNPACK_SEMIRAW_SP): Likewise.
29480         (FP_PACK_S): Likewise.
29481         (FP_PACK_SP): Likewise.
29482         (FP_PACK_SEMIRAW_S): Likewise.
29483         (FP_PACK_SEMIRAW_SP): Likewise.
29484         (_FP_SQRT_MEAT_S): Likewise.
29485         (FP_CMP_S): Likewise.
29486         (FP_CMP_EQ_S): Likewise.
29487         (FP_CMP_UNORD_S): Likewise.
29488         (FP_TO_INT_S): Likewise.
29489         (FP_FROM_INT_S): Likewise.
29491         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29493         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29494         (FP_EX_INVALID_IMZ): Likewise.
29495         (FP_EX_INVALID_IMZ_FMA): Likewise.
29496         (FP_EX_INVALID_ISI): Likewise.
29497         (FP_EX_INVALID_ZDZ): Likewise.
29498         (FP_EX_INVALID_IDI): Likewise.
29499         (FP_EX_INVALID_SQRT): Likewise.
29500         (FP_EX_INVALID_CVI): Likewise.
29501         (FP_EX_INVALID_VC): Likewise.
29502         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29503         "invalid" exceptions.
29504         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29505         (_FP_ADD_INTERNAL): Likewise.
29506         (_FP_MUL): Likewise.
29507         (_FP_FMA): Likewise.
29508         (_FP_DIV): Likewise.
29509         (_FP_CMP_CHECK_NAN): Likewise.
29510         (_FP_SQRT): Likewise.
29511         (_FP_TO_INT): Likewise.
29512         (FP_EXTEND): Likewise.
29514 2014-10-09  Allan McRae  <allan@archlinux.org>
29516         * po/fr.po: Update French translation from translation project.
29518 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29520         [BZ #14132]
29521         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29522         of INTDEF.
29523         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29524         (__cxa_atexit): Use libc_hidden_proto.
29525         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29527         [BZ #14132]
29528         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29529         declaration.
29530         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29531         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29532         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29533         [!_ISOMAC] (__iswctype_internal): Likewise.
29534         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29535         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29536         alias.
29537         (fcntl): Remove __fcntl_internal alias.
29538         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29539         __connect_internal alias.
29540         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29541         Likewise.
29543         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29544         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29545         FP_DENORM_ZERO.
29546         (_FP_CHECK_FLUSH_ZERO): New macro.
29547         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29548         (_FP_CMP): Likewise.
29549         (_FP_CMP_EQ): Likewise.
29550         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29551         FP_DENORM_ZERO.
29552         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29553         (FP_TRUNC): Likewise.
29555         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29556         treated as invalid conversion, not as normal exponent.
29558         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29559         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29560         (_FP_CMP_EQ): Likewise.
29561         (_FP_CMP_UNORD): Likewise.
29562         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29563         (FP_CMP_EQ_D): Likewise.
29564         (FP_CMP_UNORD_D): Likewise.
29565         * soft-fp/extended.h (FP_CMP_E): Likewise.
29566         (FP_CMP_EQ_E): Likewise.
29567         (FP_CMP_UNORD_E): Likewise.
29568         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29569         (FP_CMP_EQ_Q): Likewise.
29570         (FP_CMP_UNORD_Q): Likewise.
29571         * soft-fp/single.h (FP_CMP_S): Likewise.
29572         (FP_CMP_EQ_S): Likewise.
29573         (FP_CMP_UNORD_S): Likewise.
29574         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29575         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29576         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29577         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29578         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29579         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29580         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29581         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29582         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29583         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29584         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29585         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29586         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29587         to FP_CMP_Q.
29588         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29589         FP_CMP_Q.
29590         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29591         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29592         FP_CMP_EQ_Q.
29593         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29594         FP_CMP_Q.
29595         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29596         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29597         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29598         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29599         FP_CMP_EQ_Q.
29600         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29601         FP_CMP_Q.
29602         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29603         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29604         FP_CMP_EQ_Q.
29605         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29606         FP_CMP_Q.
29607         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29608         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29609         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29610         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29611         FP_CMP_EQ_Q.
29613         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29614         a subnormal result, set the underflow exception if trapping on
29615         underflow is enabled.
29616         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29617         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29618         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29619         redefine to 0.
29620         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29621         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29622         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29623         * soft-fp/extendxftf2.c (__extendxftf2): Use
29624         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29626         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29627         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29628         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29629         FP_HANDLE_EXCEPTIONS.
29630         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29631         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29632         FP_HANDLE_EXCEPTIONS.
29633         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29634         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29635         FP_HANDLE_EXCEPTIONS.
29636         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29637         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29638         FP_HANDLE_EXCEPTIONS.
29640 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29642         [BZ #14132]
29643         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29644         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29645         use INTUSE.
29646         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29647         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29648         Remove alias.
29649         (__adjtimex): Define using libc_hidden_ver.
29650         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29651         Remove declaration.
29652         (ntp_gettime): Call __adjtimex directly.
29653         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29654         Remove declaration.
29655         (ntp_gettimex): Call __adjtimex directly.
29656         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29657         __adjtimex_internal alias.
29659 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29661         [BZ #17460]
29662         * nscd/nscd.c (more_help): Rewrite list of tables collection
29663         using xstrdup and asprintf.
29665         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29667 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29668             Roland McGrath  <roland@hack.frob.com>
29670         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29671         (do_lookup_unique): ... local function 'enter' here; update callers.
29673 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29675         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29676         compat_symbol calls on [SHARED].
29677         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29678         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29679         Remove.
29680         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29681         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29682         (oldsetrlimit): Remove.
29683         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29685         (lchown): New syscall entry.
29686         (oldsetrlimit): Remove.
29687         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29688         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29689         (oldsetrlimit): Remove.
29690         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29692         [BZ #14138]
29693         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29694         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29695         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29696         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29697         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29698         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29699         (fchown): Likewise.
29700         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29701         (fchown): Likewise.
29702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29703         Likewise.
29705 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29707         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29708         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29709         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29710         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29711         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29712         Likewise.
29713         (__old_sem_post): Likewise.
29715 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29717         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29718         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29719         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29720         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29721         Use INLINE_VSYSCALL macro.
29722         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29723         __vdso_clock_gettime.
29724         * sysdeps/unix/sysv/linux/tile/init-first.c
29725         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29726         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29727         __vdso_clock_gettime.
29729         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29730         to set up frame more cleanly.
29732         * sysdeps/tile/memcmp.c: New file.
29734         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29736         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29737         * sysdeps/tile/tilegx/strcasestr.c: New file.
29738         * sysdeps/tile/tilegx/strnlen.c: New file.
29739         * sysdeps/tile/tilegx/strstr.c: New file.
29741         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29743 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29745         * nptl/tst-setuid3.c: Write errors to stdout.
29747 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29749         * elf/dl-deps.c
29750         (preload): New functions broken out of _dl_map_object_deps.
29751         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29753 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29755         [BZ #14138]
29756         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29757         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29759 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29761         * sysdeps/mips/strcmp.S: New.
29763 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29765         [BZ #14138]
29766         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29767         (linkat): Likewise.
29768         (mkdirat): Likewise.
29769         (readlinkat): Likewise.
29770         (renameat): Likewise.
29771         (symlinkat): Likewise.
29772         (unlinkat): Likewise.
29773         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29774         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29775         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29776         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29777         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29778         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29779         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29781 2014-09-30  Will Newton  <will.newton@linaro.org>
29783         * math/math.h: Define long double math functions if
29784         _LIBC_TEST is defined.
29785         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29787         * localedata/Makefile: Move assignment to tests-special
29788         into an ifdef testing run-built-tests.
29789         * timezone/Makefile: Likewise.
29791 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29793         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29794         with $(BASH) not $(SHELL).
29796 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29797             Matthew LeGendre  <legendre1@llnl.gov>
29799         [BZ #17411]
29800         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29801         l_reloc_result.
29803 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29805         * stdio-common/printf_fp.c
29806         (hack_digit): New function, broken out of ...
29807         (__printf_fp): ... local function here.  Update call sites.
29808         hack_digit now takes an additional parameter that is a pointer
29809         to a struct of the referenced locals.  Those locals moved inside
29810         the struct and references updated.
29812 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29814         * aclocal.m4: Require autoconf 2.69.
29815         * configure: Regenerated.
29816         * sysdeps/aarch64/configure: Likewise.
29817         * sysdeps/alpha/configure: Likewise.
29818         * sysdeps/arm/armv7/configure: Likewise.
29819         * sysdeps/arm/configure: Likewise.
29820         * sysdeps/ia64/configure: Likewise.
29821         * sysdeps/mach/configure: Likewise.
29822         * sysdeps/mips/configure: Likewise.
29823         * sysdeps/s390/configure: Likewise.
29824         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29827         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29828         file.
29829         * sysdeps/ia64/configure.ac: Likewise.
29831 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29834         specify symbol version for ld.so.  Do not include entry for
29835         libpthread.
29836         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29837         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29838         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29840         [BZ #14171]
29841         * Makeconfig [$(build-shared) = yes]
29842         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29843         makefiles.
29844         [$(build-shared) = yes && $(soversions.mk-done) = t]
29845         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29846         [$(build-shared) = yes && $(soversions.mk-done) = t]
29847         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29848         to Makerules.
29849         [$(build-shared) = yes && $(soversions.mk-done) = t]
29850         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29851         here.
29852         [$(build-shared) = yes && $(soversions.mk-done) = t]
29853         (common-generated): Don't append gnu/lib-names.h and
29854         gnu/lib-names.stmp here.
29855         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29856         (lib-names-h-abi): New variable.
29857         [$(build-shared) = yes && $(soversions.mk-done) = t]
29858         (lib-names-stmp-abi): Likewise.
29859         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29860         abi-variants] (before-compile): Append
29861         $(common-objpfx)$(lib-names-h-abi).
29862         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29863         abi-variants] (common-generated): Append gnu/lib-names.h.
29864         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29865         abi-variants] (install-others-nosubdir): Depend on
29866         $(inst_includedir)/$(lib-names-h-abi).
29867         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29868         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29869         [$(build-shared) = yes && $(soversions.mk-done) = t]
29870         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29871         [$(build-shared) = yes && $(soversions.mk-done) = t]
29872         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29873         [$(build-shared) = yes && $(soversions.mk-done) = t]
29874         (common-generated): Append $(lib-names-h-abi) and
29875         $(lib-names-stmp-abi).
29876         * scripts/lib-names.awk: Do not handle multi being set.
29877         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29878         Remove variable.
29879         (abi-lp64_be-ld-soname): Likewise.
29880         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29881         Likewise.
29882         (abi-hard-ld-soname): Likewise.
29883         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29884         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29885         Remove variable.
29886         (abi-o32_hard-ld-soname): Likewise.
29887         (abi-o32_soft_2008-ld-soname): Likewise.
29888         (abi-o32_hard_2008-ld-soname): Likewise.
29889         (abi-n32_soft-ld-soname): Likewise.
29890         (abi-n32_hard-ld-soname): Likewise.
29891         (abi-n32_soft_2008-ld-soname): Likewise.
29892         (abi-n32_hard_2008-ld-soname): Likewise.
29893         (abi-n64_soft-ld-soname): Likewise.
29894         (abi-n64_hard-ld-soname): Likewise.
29895         (abi-n64_soft_2008-ld-soname): Likewise.
29896         (abi-n64_hard_2008-ld-soname): Likewise.
29897         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29898         Likewise.
29899         (abi-64-v2-ld-soname): Likewise.
29900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29901         ld.so entries.
29902         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29903         variable.
29904         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29905         entry.
29906         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29907         variable.
29908         (abi-64-ld-soname): Likewise.
29909         (abi-x32-ld-soname): Likewise.
29910         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29911         entry.
29912         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29914 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29916         [BZ #14138]
29917         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29918         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29919         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29920         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29921         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29922         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29923         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29924         syscall entry for GLIBC_2.2 symbol version.
29925         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29926         Likewise.
29927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29928         (setrlimit): Likewise.
29929         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29930         Likewise.
29932 2014-09-23  Will Newton  <will.newton@linaro.org>
29934         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29935         _LINUX_ARM_SYSDEP_H include guard too.
29936         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29937         define.
29939 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29941         * sysdeps/unix/sysv/linux/eventfd.c:
29942         Make first argument unsigned.
29943         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29944         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29946 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29948         [BZ #16852]
29949         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29950         * socket/sys/socket.h: Likewise.
29951         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29953 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29955         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29957 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29959         * time/tst-ftime.c: New test.
29960         * time/Makefile (tests): Add tst-ftime.
29962 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29964         * soft-fp/extended.h: Fix comment formatting.
29965         * soft-fp/op-1.h: Likewise.
29966         * soft-fp/op-2.h: Likewise.
29967         * soft-fp/op-4.h: Likewise.
29968         * soft-fp/op-8.h: Likewise.
29969         * soft-fp/op-common.h: Likewise.
29970         * soft-fp/soft-fp.h: Likewise.
29972         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29974 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29976         [BZ #6652]
29977         * Makeconfig (soversions-default-setname): Remove variable.
29978         ($(common-objpfx)soversions.i): Don't pass default_setname to
29979         soversions.awk.
29980         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29981         oldest_abi to abi-versions.awk.
29982         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29983         * config.make.in (oldest-abi): Remove variable.
29984         * configure.ac (--enable-oldest-abi): Remove configure option.
29985         * configure: Regenerated.
29986         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29987         text.
29988         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29989         * scripts/soversions.awk: Do not handle default_setname variable.
29990         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29991         variable.
29992         * sysdeps/mach/hurd/configure: Regenerated.
29993         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29994         variable.
29995         * sysdeps/unix/sysv/linux/configure: Regenerated.
29997 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29999         * elf/Makefile (CFLAGS-interp.c): Remove.
30000         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30001         path string.
30002         * elf/interp.c: Include generated runtime-linker.h
30004         * Makerules (lib%.so): Don't include $(+interp) in
30005         prerequisites.
30006         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30007         * dlfcn/eval.c: Remove file.
30009         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30010         macros.
30012         [BZ #17266]
30013         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30014         4.2 and newer.
30016         [BZ #17370]
30017         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30019 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30020             Jakub Jelinek  <jakub@redhat.com>
30022         [BZ #17266]
30023         * libio/stdio.h: Check definition of __fortify_function
30024         instead of __extern_always_inline to include bits/stdio2.h.
30025         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30026         check if __extern_always_inline is defined.
30027         [__USE_MISC || __USE_XOPEN]: Likewise.
30028         [__USE_ISOC99] Likewise.
30029         * misc/sys/cdefs.h (__fortify_function): Define only if
30030         __extern_always_inline is defined.
30031         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30032         __extern_always_inline and __extern_inline only for g++-4.3
30033         and newer or a compatible gcc.
30035 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30037         [BZ #17371]
30038         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30039         last change to handle zero prefix length.
30041 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30043         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30044         _SC_REGEX_VERSION.
30046         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30047         _POSIX_RAW_SOCKETS.
30049 2014-09-13  Allan McRae  <allan@archlinux.org>
30051         * po/ru.po: Update Russian translation from translation project.
30053 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30055         * locale/programs/locale.c (show_locale_vars): Inline local function
30056         into its sole call site.  Clean up some style nits.
30057         (print_item): New function, broken out of ...
30058         (show_info): ... local function here.  Clean up style nits.
30060         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30061         out of ...
30062         (set_class_defaults): ... local function set_default here.
30063         Define set_default as a macro locally to pass constant parameters.
30064         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30065         rather than a shared local.
30067         * stdlib/rpmatch.c (try): New function, broken out of ...
30068         (rpmatch): ... local function here.  Also, prototypify definition.
30070 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30072         * scripts/soversions.awk: Do not handle configuration names.
30073         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30074         vendor and os variables to soversions.awk.
30075         * configure.ac: Do not modify gnu-* host_os.
30076         * configure: Regenerated
30077         * shlib-versions: Remove first column with configuration names.
30078         * nptl/shlib-versions: Likewise.
30079         * nptl_db/shlib-versions: Likewise.
30080         * sysdeps/hppa/shlib-versions: Likewise.
30081         * sysdeps/m68k/shlib-versions: Likewise.
30082         * sysdeps/mach/hurd/shlib-versions: Likewise.
30083         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30084         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30085         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30086         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30087         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30088         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30089         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30090         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30092         Likewise.
30093         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30094         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30095         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30096         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30097         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30098         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30099         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30100         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30103         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30105         Regenerated.
30106         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30108         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30110         * shlib-versions: Remove OS-specific entries.  Moved to files in
30111         sysdeps.
30112         * sysdeps/mach/hurd/shlib-versions: New file.
30113         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30115         * nptl/shlib-versions: Remove architecture-specific entries.
30116         Moved to files in sysdeps.
30117         * shlib-versions: Likewise.
30118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30119         file.
30120         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30121         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30122         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30123         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30125         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30126         (UDP_NO_CHECK6_RX): Likewise.
30128 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30130         * sysdeps/posix/sysconf.c (__sysconf): Spell
30131         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30133 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30135         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30136         loading.
30137         * iconv/Versions (__gconv_transliterate): Export for use from
30138         gconv modules.
30139         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30140         (struct __gconv_trans_data, __gconv_trans_fct,
30141         __gconv_trans_context_fct, __gconv_trans_query_fct,
30142         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30143         definitions.
30144         (struct __gconv_step_data): Remove __trans member.
30145         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30146         longer hidden.  Remove unused trans_data argument.
30147         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30148         (__gconv_translit_find): Remove declaration.
30149         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30150         prototype.
30151         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30152         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30153         trans_data argument.  Add hidden definition.
30154         (__gconv_translit_find): Remove.
30155         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30156         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30157         * iconv/skeleton.c: Remove transliteration initialization.
30158         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30159         __gconv_step_data initialization.
30160         * libio/iofwide.c (__libio_translit_): Remove.
30161         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30162         * wcsmbs/btowc.c (__btowc): Likewise.
30163         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30164         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30165         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30166         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30167         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30168         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30169         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30170         * wcsmbs/wctob.c (wctob): Likewise.
30172 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30174         [BZ #16194]
30175         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30176         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30177         register usage.
30178         * sysdeps/x86/Makefile: Adjust.
30180 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30181             Roland McGrath  <roland@hack.frob.com>
30183         * locale/weight.h: Add include guard.
30184         (findidx): Make static rather than auto; take new parameters
30185         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30186         * locale/weightwc.h: Likewise.
30187         * posix/fnmatch_loop.c
30188         (FCT): Change type of EXTRA from int32_t to wint_t.
30189         Don't include either header inside the function.
30190         Call FINDIDX rather than findidx, and pass new arguments.
30191         #undef FINDIDX at the end of the file.
30192         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30193         FINDIDX before including fnmatch_loop.c for the non-wide version.
30194         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30195         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30196         for the wide version.
30197         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30198         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30199         Pass new arguments to findidx.
30200         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30201         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30202         Don't #include it inside the function.  Pass new arguments to findidx.
30203         * posix/regex_internal.h
30204         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30205         (re_string_elem_size_at): Don't #include it inside the function.
30206         Pass new arguments to findidx.
30207         * string/strcoll_l.c: #include WEIGHT_H at top level.
30208         (get_next_seq): Don't #include it inside the function.
30209         Pass new arguments to findidx.
30210         (get_next_seq_nocache): Likewise.
30211         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30212         (STRXFRM): Don't #include it inside the function.
30213         Pass new arguments to findidx.
30215 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30217         [BZ #17344]
30218         * malloc/malloc.c (unlink): Turn asserts into a call to
30219         malloc_printerr.
30221 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30223         [BZ #17370]
30224         * libio/wfileops (do_ftell_wide): Free OUT.
30226 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30228         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30230 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30232         [BZ #17363]
30233         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30234         group if the current group is empty.
30236 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30238         * benchtests/bench-memset.c (test_main): Add more test from size
30239         from 32 to 512 bytes.
30240         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30241         Add POWER8 memset object.
30242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30243         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30244         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30245         implementation.
30246         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30247         Likewise.
30248         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30249         multiarch POWER8 memset optimization.
30250         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30251         POWER8 memset optimization.
30253         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30254         Remove bzero multiarch objects.
30255         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30256         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30257         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30258         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30259         Remove define.
30260         [__bzero]: Redefine to specific name.
30261         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30262         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30263         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30264         define.
30265         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30266         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30268 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30270         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30271         warnings into errors.
30273         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30274         __cxa_thread_atexit_impl prototype.
30276 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30278         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30279         Fix capitalization of error message.
30281 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30283         * sysdeps/mips/preconfigure: Modify ABI tests.
30285 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30287         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30289 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30290             Carlos O'Donell  <carlos@systemhalted.org>
30292         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30293         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30294         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30295         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30296         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30297         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30298         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30299         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30300         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30301         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30302         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30303         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30304         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30305         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30306         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30307         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30308         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30309         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30310         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30311         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30312         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30313         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30314         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30315         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30316         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30317         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30318         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30319         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30320         Deconditionalize the code that was previously under [RESET_PID].
30321         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30322         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30323         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30324         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30325         include sysdep.h.
30327 2014-09-08  Allan McRae  <allan@archlinux.org>
30329         * version.h (RELEASE): Set to "development".
30330         (VERSION): Set to "2.20.90"
30332 2014-09-07  Allan McRae  <allan@archlinux.org
30334         * version.h (RELEASE): Set to "stable".
30335         (VERSION): Set to "2.20"
30336         * include/features.h (__GLIBC_MINOR__): Set to 20.
30338         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30339         Liebler.
30341         * po/ko.po: Update Korean translation from translation project.
30343 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30345         [BZ #17354]
30346         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30347         macro for handling signed relocations.
30349 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30351         [BZ #17325]
30352         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30353         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30354         assert.
30355         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30356         * iconvdata/ibm935.c (BODY): Likewise.
30357         * iconvdata/ibm937.c (BODY): Likewise.
30358         * iconvdata/ibm939.c (BODY): Likewise.
30359         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30360         assert.
30361         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30362         script.
30363         * iconvdata/run-iconv-test.sh: New test loop for checking for
30364         decoder crashers.
30366 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30368         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30369         libm_hidden_ver.
30371 2014-09-01  Allan McRae  <allan@archlinux.org>
30373         * po/eo.po: Update Esperanto translation from translation project.
30375         * po/ca.po: Update Catalan translation from translation project.
30377 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30379         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30380         __proc_dostop call.
30382 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30384         [BZ #17319]
30385         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30386         to call set_thread_area instead of hand written asm.
30387         (__NR_set_thread_area): Removed define.
30388         (TLS_FLAG_WRITABLE): Likewise.
30389         (__ASSUME_SET_THREAD_AREA): Remove check.
30390         (TLS_EBX_ARG): Remove define.
30391         (TLS_LOAD_EBX): Likewise.
30393 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30395         Simplify atomicity of socket creation in bind.
30397         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30398         looking up the name after linking the file.
30400 2014-08-27  Allan McRae  <allan@archlinux.org>
30402         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30404 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30406         [BZ #17187]
30407         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30408         trans_compare, open_translit, __gconv_translit_find):
30409         Remove module loading code.
30411 2014-08-26  Allan McRae  <allan@archlinux.org>
30413         * po/vi.po: Update Vietnamese translation from translation project.
30415         * po/uk.po: Update Ukrainian translation from translation project.
30417         * po/fr.po: Update French translation from translation project.
30419         * po/ru.po: Update Russian translation from translation project.
30421         * po/pl.po: Update Polish translation from translation project.
30423         * po/cs.po: Update Czech translation from translation project.
30425         * po/de.po: Update German translation from translation project.
30427         * po/bg.po: Update Bulgarian translation from translation project.
30429         * po/sv.po: Update Sweedish translation from translation project.
30431         * po/nl.po: Update Dutch translation from translation project.
30433         * po/es.po: Update Spanish translation from translation project.
30435 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30437         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30439         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30440         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30441         (CPPFLAGS-iconvconfig): Likewise.
30442         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30444         * include/libc-symbols.h: Remove unnecessary check for
30445         NOT_IN_libc.
30446         * nptl/pthreadP.h: Likewise.
30447         * sysdeps/aarch64/setjmp.S: Likewise.
30448         * sysdeps/alpha/setjmp.S: Likewise.
30449         * sysdeps/arm/sysdep.h: Likewise.
30450         * sysdeps/i386/setjmp.S: Likewise.
30451         * sysdeps/m68k/setjmp.c: Likewise.
30452         * sysdeps/posix/getcwd.c: Likewise.
30453         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30454         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30455         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30456         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30457         * sysdeps/sh/sh3/setjmp.S: Likewise.
30458         * sysdeps/sh/sh4/setjmp.S: Likewise.
30459         * sysdeps/unix/alpha/sysdep.h: Likewise.
30460         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30461         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30462         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30463         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30466         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30467         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30468         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30469         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30470         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30471         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30472         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30473         * sysdeps/x86_64/setjmp.S: Likewise.
30475 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30477         [BZ #17263]
30478         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30479         <stdint.h>.
30480         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30481         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30483 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30485         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30487         [BZ #17262]
30488         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30489         and __x86_64__ when disabling x87 inline functions.
30491 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30493         [BZ #17259]
30494         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30495         asm statement with __cpuid_count.
30497 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30499         * configure.ac: Change __ehdr_start code to dereference the struct.
30500         Run readelf on the output to look for relocations.
30501         * configure: Regenerated.
30503 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30505         [BZ #17261]
30506         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30507         value to 0.
30508         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30510 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30512         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30514 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30516         [BZ #16892]
30517         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30518         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30520 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30522         * malloc/malloc.c: Fix typo in comment.
30524 2014-08-09  Allan McRae  <allan@archlinux.org>
30526         * Regenerate libc.po.
30528 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30530         * intl/tst-gettext2.sh: Check every lang file for creation.
30532 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30534         * sysdeps/aarch64/fpu/math_private.h
30535         (libc_feholdsetround_noex_aarch64_ctx): New function.
30537 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30539         * sysdeps/arm/armv6/strcpy.S (strcpy):
30540         Fix performance issue in misaligned cases.
30542 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30544         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30545         Move definition from termios.h.
30546         (struct termio): Likewise.
30547         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30548         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30549         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30550         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30551         Likewise.
30552         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30553         Move definition to ioctl-types.h
30554         (struct termio): Likewise.
30555         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30556         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30557         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30558         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30559         Likewise.
30561 2014-08-05  Richard Henderson  <rth@redhat.com>
30563         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30564         exceptions.
30565         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30566         Add fraiseexcpt.
30567         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30568         Use __feraiseexcept.
30569         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30570         Protect libm symbols with IS_IN_libm.
30572         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30574 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30576         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30578 2014-08-04  Will Newton  <will.newton@linaro.org>
30580         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30581         file.
30583 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30585         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30586         variants for each function.
30588 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30590         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30591         appended ...
30592         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30593         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30594         appended ...
30595         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30596         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30597         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30598         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30599         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30600         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30601         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30602         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30603         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30604         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30605         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30606         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30607         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30608         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30609         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30610         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30611         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30612         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30613         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30614         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30615         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30616         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30617         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30618         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30619         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30620         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30621         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30622         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30623         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30624         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30625         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30626         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30627         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30628         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30629         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30630         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30631         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30632         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30633         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30634         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30635         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30636         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30637         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30638         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30639         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30640         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30641         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30642         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30643         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30644         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30645         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30646         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30647         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30648         Update #include.
30649         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30650         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30652 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30654         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30655         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30656         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30657         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30658         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30659         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30661 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30663         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30664         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30665         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30666         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30668 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30670         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30671         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30672         (__libc_vfork): Define function under this name.
30673         (__vfork): Define as an alias.
30674         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30675         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30677 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30679         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30680         that was previously under [RESET_PID].
30681         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30683 2014-08-04  Andreas Schwab  <schwab@suse.de>
30685         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30687 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30689         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30690         (main): Likewise.
30692 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30694         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30696 2014-08-01  Richard Henderon  <rth@redhat.com>
30698         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30699         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30700         typo in exact zero test.
30701         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30702         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30703         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30705 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30707         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30708         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30709         * sysdeps/arm/sysdep.h: ... here.
30710         [!__ASSEMBLER__]: Include <stdint.h>.
30712 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30714         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30715         (HAVE_WCTYPE_H): Likewise.
30716         (HAVE_ISWCTYPE): Likewise.
30717         (ENABLE_NLS): Likewise.
30718         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30719         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30721         * posix/regex_internal.c: Check if DEBUG is defined and is
30722         set.
30724         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30725         (HAVE_MBSRTOWCS): Likewise.
30726         * posix/fnmatch.c: Include string.h unconditionally.
30728 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30730         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30731         reversal.
30733 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30735         * sysdeps/generic/safe-fatal.h: New file.
30736         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30737         * nptl/forward.c: Include it.
30738         (__pthread_unwind): Use __safe_fatal as default action, rather
30739         than a bogus use of INTERNAL_SYSCALL that could never work.
30741         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30742         * configure.ac (libc_cv_builtin_trap): New test.
30743         * configure: Regenerated.
30744         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30745         (ABORT_INSTRUCTION): Define using __builtin_trap.
30747         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30748         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30749         * sysdeps/nptl/nptl-signals.h: New file.
30750         * nptl/pthreadP.h: Include <nptl-signals.h>.
30752 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30754         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30755         (ONE_DIRECTION): Define.
30756         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30757         (ONE_DIRECTION): Define.
30758         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30759         (ONE_DIRECTION): Define.
30761 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30763         * sysdeps/s390/Makefile: Delete file.
30764         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30765         * sysdeps/s390/__longjmp.c: Delete file.
30766         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30767         Remove fields __flags and __reserved.
30768         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30769         and add versioning.
30770         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30771         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30772         * sysdeps/s390/rtld-setjmp.S: Likewise.
30773         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30774         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30775         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30776         * sysdeps/s390/s390-32/setjmp.S: ... here.
30777         Add versioning.
30778         (__sigsetjmp): Remove setting __flags field.
30779         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30780         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30781         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30782         * sysdeps/s390/s390-64/setjmp.S: ... here.
30783         Add versioning.
30784         (__sigsetjmp): Remove setting __flags field.
30785         * sysdeps/s390/setjmp.S: Delete file.
30786         * sysdeps/s390/sigjmp.c: Likewise.
30787         * sysdeps/s390/v1-longjmp.c: Likewise.
30788         * sysdeps/s390/v1-setjmp.h: Likewise.
30789         * sysdeps/s390/v1-sigjmp.c: Likewise.
30790         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30791         Remove v1-longjmp_chk.
30792         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30793         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30794         Include debug/longjmp_chk.c and add versioning.
30795         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30796         Include nptl/pt-longjmp.c and add versioning.
30797         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30798         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30799         Include __longjmp.c.
30800         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30801         Move to ...
30802         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30803         (__getcontext): Remove setting __flags field.
30804         Add versioning.
30805         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30806         Don't restore upper high grps.
30807         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30808         Likewise.
30809         (__swapcontext): Remove setting uc_flags field.
30810         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30811         Delete file.
30812         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30813         Include __longjmp.c.
30814         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30815         Move to ...
30816         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30817         (__getcontext): Remove setting __flags field.
30818         Add versioning.
30819         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30820         (__swapcontext): Remove setting uc_flags field.
30821         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30822         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30823         Remove fields uc_high_gprs and __reserved.
30824         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30825         New file with reverted content.
30826         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30827         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30828         Regenerated.
30829         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30830         Regenerated.
30832 2014-07-31  Andreas Schwab  <schwab@suse.de>
30834         * config.h.in (HAVE_IFUNC): Define to 0.
30835         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30836         definedness.
30838 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30840         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30841         memmove-avx-unaligned, memcpy-avx-unaligned and
30842         mempcpy-avx-unaligned.
30843         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30844         Add tests for AVX memcpy functions.
30845         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30846         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30847         memcpy_chk.
30848         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30849         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30850         memmove_chk.
30851         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30852         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30853         mempcpy_chk.
30854         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30855         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30856         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30858 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30860         [BZ #17213]
30861         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30862         powerpc64le.
30864 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30866         [BZ #16839]
30867         * manual/llio.texi: Add section about open file description locks.
30868         * manual/examples/ofdlocks.c: Example of open file description
30869         lock usage.
30870         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30871         F_OFD_SETLK, and F_OFD_SETLKW.
30873 2014-07-23  Allan McRae  <allan@archlinux.org>
30875         * po/es.po: Update Spanish translation from translation project.
30877 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30879         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30881 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30883         [BZ #17078]
30884         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30885         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30886         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30888 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30890         [BZ #17088]
30891         * math/fesetenv.c (__fesetenv)
30892         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30893         * math/feupdateenv.c (__feupdateenv)
30894         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30896         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30897         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30898         (__ASSUME_SOCKETCALL): Do not define.
30900         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30901         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30902         (__ASSUME_SOCKETCALL): Do not define.
30903         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30904         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30905         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30906         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30907         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30908         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30909         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30910         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30912         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30913         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30914         (__ASSUME_SOCKETCALL): Do not define.
30915         (__ASSUME_IPC64): Define unconditionally.
30916         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30917         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30918         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30919         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30920         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30921         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30922         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30923         Likewise.
30925         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30926         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30927         (__ASSUME_SOCKETCALL): Do not define.
30928         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30929         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30930         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30931         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30932         (__ASSUME_REQUEUE_PI): Define unconditionally.
30933         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30934         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30935         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30936         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30937         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30938         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30940         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30941         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30942         (__ASSUME_SOCKETCALL): Do not define.
30943         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30944         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30945         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30946         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30947         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30948         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30950         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30951         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30952         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30953         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30954         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30955         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30956         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30957         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30958         (__ASSUME_GETCPU_SYSCALL): Likewise.
30960         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30961         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30962         cases for individual architectures.
30963         * sysdeps/gnu/configure: Regenerated.
30964         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30965         LIBC_SLIBDIR_RTLDDIR.
30966         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30967         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30968         LIBC_SLIBDIR_RTLDDIR.
30969         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30971         LIBC_SLIBDIR_RTLDDIR.
30972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30973         Regenerated.
30974         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30975         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30976         file.
30977         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30978         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30979         file.
30980         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30981         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30982         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30983         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30985         * sysdeps/aarch64/shlib-versions: Move to ...
30986         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30987         * sysdeps/alpha/shlib-versions: Move to ...
30988         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30989         * sysdeps/arm/shlib-versions: Move to ...
30990         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30991         * sysdeps/hppa/shlib-versions: Move all contents except for
30992         libgcc_s entry to ...
30993         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30994         entry from ...
30995         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30996         * sysdeps/ia64/shlib-versions: Move to ...
30997         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30998         entry from ...
30999         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31000         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31001         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31002         * sysdeps/microblaze/shlib-versions: Move to ...
31003         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31004         * sysdeps/mips/shlib-versions: Move to ...
31005         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31006         entry from ...
31007         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31008         * sysdeps/tile/shlib-versions: Move to ...
31009         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31010         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31011         from ...
31012         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31013         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31014         entry from ...
31015         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31017 2014-07-17  Will Newton  <will.newton@linaro.org>
31019         * sysdeps/arm/bits/atomic.h
31020         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31021         (__arch_compare_and_exchange_bool_16_int): Likewise.
31022         (__arch_compare_and_exchange_bool_64_int): Likewise.
31024         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31025         into an #else block.
31027 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31029         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31030         just Linux configurations.  Test empirically that the compiler sets
31031         __ARM_EABI__, rather than using the tuple to decide.
31032         * sysdeps/arm/preconfigure: Regenerated.
31033         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31034         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31035         contents appended ...
31036         * sysdeps/arm/configure.ac: ... here.
31037         * sysdeps/arm/configure: Regenerated.
31039 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31041         * nptl/pthread_kill.c: New file.
31042         * nptl/pthread_sigmask.c: New file.
31043         * nptl/pthread_sigqueue.c: New file.
31045         * sysdeps/nptl/lowlevellock.h: New file.
31046         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31047         * sysdeps/nptl/lowlevellock-futex.h: New file.
31049         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31050         Remove dead declarations.
31052 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31054         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31055         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31056         config-cflags-avx2.
31057         * sysdeps/x86_64/configure.ac: Likewise.
31058         * sysdeps/i386/configure: Regenerated.
31059         * sysdeps/x86_64/configure: Likewise.
31060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31061         memset-avx2 only if config-cflags-avx2 is yes.
31062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31063         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31064         defined.
31065         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31066         only if HAVE_AVX2_SUPPORT is defined.
31067         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31069 2014-07-14  Alan Modra  <amodra@gmail.com>
31071         [BZ #17153]
31072         * elf/elf.h (DT_PPC64_NUM): Correct value.
31073         * NEWS: Add to fixed bug list.
31075 2014-07-13  Jim Meyering  <meyering@fb.com>
31077         [BZ 17150]
31078         regex: don't deref NULL upon heap allocation failure
31079         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31080         failure in one more place.
31081         To trigger the segfault, configure grep -with-included-regex,
31082         build it, and run these commands:
31083         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31085 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31087         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31089 2014-07-11  Richard Henderson  <rth@redhat.com>
31091         * sysdeps/aarch64/libm-test-ulps: Update.
31093 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31095         [BZ #17135]
31096         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31097         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31098         (__nptl_setxid): Initialize error member.  Call
31099         __nptl_setxid_error.
31100         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31101         * nptl/descr.h (struct xid_command): Add error member.
31102         * nptl/tst-setuid3.c: New file.
31103         * nptl/Makefile (tests): Add it.
31105 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31107         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31108         New define.
31109         (__lll_trylock): Use __lll_base_trylock.
31110         (__lll_cond_trylock): Likewise.
31112 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31114         * nptl/pthread_create.c (start_thread): Use atomic_or and
31115         lll_futex_wake directly rather than lll_robust_dead.
31116         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31117         (lll_robust_dead): Macro removed.
31118         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31119         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31120         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31121         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31122         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31123         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31124         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31125         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31126         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31127         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31128         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31129         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31130         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31131         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31132         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31134         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31135         Use atomic_compare_and_exchange_val_acq directly rather than
31136         lll_robust_trylock.
31137         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31138         (__lll_robust_trylock, lll_robust_trylock): Removed.
31139         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31140         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31141         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31142         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31143         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31144         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31145         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31146         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31147         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31148         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31149         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31150         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31151         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31152         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31154 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31156         * manual/locale.texi (Locale Names): New section documenting
31157         locale name syntax.  Adjust menu and node chaining accordingly.
31158         (Choosing Locale): Reference Locale Names, Locale Categories.
31159         Mention setting LC_ALL=C.  Reflect that name syntax is now
31160         documented.
31161         (Locale Categories): New section title.  Reference Locale Names.
31162         LC_ALL is an environment variable, but not a category.
31163         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31164         description, now in Locale Name.  Reference that section.  Locale
31165         name syntax is now documented.
31167 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31169         [BZ #17137]
31170         * locale/findlocale.c (name_present, valid_locale_name): New
31171         functions.
31172         (_nl_find_locale): Use the loc_name variable to store name
31173         candidates.  Call name_present and valid_locale_name to check and
31174         validate locale names.  Return an error if the locale is invalid.
31176 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31178         * locale/setlocale.c (setlocale): Use strdup for allocating
31179         composite name copy.
31181 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31183         Sync up with gnulib.
31184         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31185         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31186         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31187         and _GL_ARG_NONNULL.
31188         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31189         [!_LIBC]: Include code for Windows and Cygwin.
31190         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31191         Include prototype for int strerror_r.
31192         [!_LIBC] (is_open): New function.
31193         (flush_stdout): New function.
31194         (print_errno_message): Use it.
31195         (error): Likewise.
31196         (error_at_line): Likewise.
31197         (error_tail) Add function attribute macros.  Use
31198         __builtin_expect.
31200         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31202         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31204         * io/ftw.c: Include sys/param.h unconditionally.
31206         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31208         [BZ #17125]
31209         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31210         libc_freeres_ptr.
31211         (freecache): New function to free CACHE on exit.
31213         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31214         initialization.
31216 2014-07-09  David S. Miller  <davem@davemloft.net>
31218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31220         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31221         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31222         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31223         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31224         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31225         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31226         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31227         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31228         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31229         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31230         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31231         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31232         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31234 2014-07-09  Andreas Schwab  <schwab@suse.de>
31236         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31237         output.
31238         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31239         (do_test): Likewise.
31241         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31243 2014-07-09  Will Newton  <will.newton@linaro.org>
31245         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31246         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31247         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31248         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31249         * sysdeps/hppa/start.S (_start): Likewise.
31251 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31253         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31255         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31256         defined.
31258 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31260         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31261         after checking that it is non-NULL.
31263         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31265 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31267         * sysdeps/powerpc/memmove.c: Remove file.
31268         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31269         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31270         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31271         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31272         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31273         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31274         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31275         string memmove instead of removed powerpc one.
31277         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31278         [weak_alias]: Fix compiler warning due trailing data.
31279         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31280         [weak_alias]: Likewise.
31281         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31282         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31284         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31285         (__libc_ifunc_impl_list): Add memmove functions.
31287 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31289         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31290         Remove code.
31291         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31292         Likewise.
31293         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31294         Likewise.
31295         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31296         Likewise.
31297         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31298         Likewise.
31299         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31300         Likewise.
31301         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31302         Likewise.
31303         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31304         Likewise.
31305         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31306         Likewise.
31307         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31308         Likewise.
31309         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31310         Likewise.
31311         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31312         Likewise.
31313         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31314         Likewise.
31315         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31316         Likewise.
31317         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31318         Likewise.
31319         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31320         Likewise.
31321         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31322         Likewise.
31324 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31326         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31327         to avoid alignment traps in non-cacheable memory.
31328         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31330         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31331         multiarch objects.
31332         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31333         file: multiarch power7 memmove.
31334         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31335         multiarch default memmove.
31336         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31337         multiarch memove for powerpc32/power4.
31339         * string/bcopy.c: Use full path to include memmove.c.
31340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31341         multiarch objects.
31342         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31343         bcopy for powerpc64.
31344         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31345         bcopy for powerpc64.
31346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31347         and memmove implementations.
31348         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31349         optimized multiarch memmove for POWER7/powerpc64.
31350         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31351         default multiarch memmove for powerpc64.
31352         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31353         multiarch for powerpc64.
31354         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31355         for POWER7/powerpc64.
31356         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31357         memmove for POWER7/powerpc64.
31359         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31360         glibc default one.
31362         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31363         __ELF_NATIVE_CLASS equal to 64.
31365 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31367         * sysdeps/nptl/lowlevellock.h: File removed.
31369         * NEWS: NPTL is no longer an add-on!
31370         * nptl/internaltypes.h: Moved ...
31371         * sysdeps/nptl/internaltypes.h: ... here.
31372         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31373         * sysdeps/nptl/fork.c: Likewise.
31374         * sysdeps/nptl/gai_misc.h: Likewise.
31375         * sysdeps/nptl/librt-cancellation.c: Likewise.
31376         * sysdeps/nptl/jmp-unwind.c: Likewise.
31377         * sysdeps/nptl/setxid.h: Likewise.
31378         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31379         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31380         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31381         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31382         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31383         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31384         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31385         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31386         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31387         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31388         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31389         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31390         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31391         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31392         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31393         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31394         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31395         * nptl/Makeconfig: Moved ...
31396         * sysdeps/nptl/Makeconfig: ... here.
31397         * nptl/configure: File removed.
31398         * nptl/ANNOUNCE: File removed.
31399         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31400         * sysdeps/unix/sysv/linux/configure: Regenerated.
31402         * nptl/Makefile (routines): Add libc_pthread_init,
31403         libc_multiple_threads, register-atfork and unregister-atfork.
31404         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31405         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31406         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31407         pthread-pi-defines.sym, structsem.sym.
31408         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31409         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31410         [$(subdir) = nptl] (tests): Add tst-setgetname.
31411         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31412         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31413         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31414         [!LIBC_SIGACTION]: Remove aliases.
31415         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31416         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31417         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31418         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31419         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31420         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31421         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31422         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31423         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31424         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31425         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31426         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31427         __libc_allocate_rtsig_private.
31428         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31429         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31430         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31431         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31432         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31433         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31434         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31435         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31436         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31437         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31438         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31439         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31440         * nptl/internaltypes.h: ... here.
31441         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31442         * sysdeps/nptl/jmp-unwind.c: ... here.
31443         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31444         * nptl/libc-lowlevellock.c: ... here.
31445         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31446         * nptl/libc_multiple_threads.c: ... here.
31447         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31448         * nptl/libc_pthread_init.c: ... here.
31449         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31450         * nptl/lowlevelbarrier.sym: ... here.
31451         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31452         * nptl/lowlevelcond.sym: ... here.
31453         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31454         * nptl/lowlevellock.c: ... here.
31455         * nptl/lowlevellock.h: Moved ...
31456         * sysdeps/nptl/lowlevellock.h: ... here.
31457         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31458         * nptl/lowlevelrobustlock.c: ... here.
31459         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31460         * nptl/lowlevelrobustlock.sym: ... here.
31461         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31462         * nptl/lowlevelrwlock.sym: ... here.
31463         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31464         * nptl/pt-fork.c: ... here.
31465         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31466         * nptl/pthread-pi-defines.sym: ... here.
31467         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31468         * nptl/pthread_attr_getaffinity.c: ... here.
31469         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31470         * nptl/pthread_attr_setaffinity.c: ... here.
31471         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31472         * nptl/pthread_mutex_cond_lock.c: ... here.
31473         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31474         Update #include.
31475         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31476         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31477         * nptl/pthread_once.c: ... here, replacing old file.
31478         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31479         * nptl/pthread_yield.c: ... here.
31480         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31481         * nptl/register-atfork.c: ... here.
31482         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31483         * nptl/sem_post.c: ... here.
31484         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31485         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31486         * nptl/sem_timedwait.c: ... here.
31487         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31488         * nptl/sem_trywait.c: ... here.
31489         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31490         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31491         * nptl/sem_wait.c: ... here.
31492         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31493         * nptl/structsem.sym: ... here.
31494         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31495         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31496         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31497         * nptl/unregister-atfork.c: ... here.
31498         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31499         * nptl/unwindbuf.sym: ... here.
31500         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31501         * sysdeps/nptl/fork.c: ... here.
31502         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31503         * sysdeps/nptl/fork.h: ... here.
31504         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31505         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31506         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31507         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31508         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31509         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31510         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31511         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31512         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31513         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31514         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31515         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31516         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31517         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31518         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31519         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31520         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31521         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31522         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31523         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31524         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31525         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31526         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31527         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31528         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31529         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31530         * sysdeps/unix/sysv/linux/raise.c: ... here.
31531         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31532         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31533         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31534         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31535         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31536         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31537         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31538         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31539         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31540         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31541         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31542         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31543         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31544         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31545         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31547 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31549         * sysdeps/generic/memcopy.h: Add comment for
31550         MEMCPY_OK_FOR_FWD_MEMMOVE.
31552 2014-07-04  Will Newton  <will.newton@linaro.org>
31554         * string/memchr.c: Merge from gnulib.
31555         [_LIBC]: Remove conditionals.
31556         (__ptr_t): Remove define.
31557         (LONG_MAX_32_BITS): Likewise.
31558         (LONG_MAX): Likewise.
31559         (MEMCHR): Use ANSI prototype and optimize algorithm.
31561         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31563 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31565         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31566         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31568         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31569         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31570         in a bare environment with no <stdlib.h> installed.
31571         * sysdeps/nptl/configure: Regenerated.
31573         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31575         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31576         AC_EGREP_CPP for kernel header checks, so they only succeed if
31577         including <linux/version.h> actually works right.
31578         * sysdeps/unix/sysv/linux/configure: Regenerated.
31580         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31581         value so it's not diagnosed as unused.
31583         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31584         thing) with "ifeq ($(subdir),rt)".
31586 2014-07-03  Richard Henderson  <rth@redhat.com>
31588         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31589         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31590         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31592         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31593         (math_force_eval): New.
31595         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31596         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31598         * sysdeps/alpha/fpu/s_round.c: Remove file.
31599         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31601         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31602         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31603         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31604         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31605         (_dl_start, print_statistics): Likewise.
31606         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31607         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31609         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31610         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31611         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31612         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31613         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31614         (HP_SMALL_TIMING_AVAIL): Define.
31615         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31616         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31617         (HP_SMALL_TIMING_AVAIL): Define.
31618         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31619         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31621         * sysdeps/aarch64/hp-timing.h: New file.
31623         * sysdeps/generic/hp-timing.h: Remove dead comment.
31624         * sysdeps/generic/hp-timing-common.h: New file.
31625         * sysdeps/alpha/hp-timing.h: Include it.
31626         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31627         * sysdeps/i386/i686/hp-timing.h: Likewise.
31628         * sysdeps/ia64/hp-timing.h: Likewise.
31629         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31630         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31631         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31632         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31633         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31634         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31635         (hp_timing_t): New.
31637         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31638         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31639         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31640         * elf/rtld.c (_dl_start_final): Likewise.
31641         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31642         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31643         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31644         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31645         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31646         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31647         (HP_TIMING_DIFF_INIT): Remove.
31648         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31649         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31650         (HP_TIMING_DIFF_INIT): Remove.
31651         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31652         * sysdeps/i386/i686/hp-timing.c: Remove file.
31653         * sysdeps/x86_64/hp-timing.c: Remove file.
31654         * sysdeps/ia64/hp-timing.c: Remove file.
31655         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31656         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31657         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31658         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31660         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31661         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31662         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31663         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31664         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31665         (HP_TIMING_ACCUM): Remove.
31666         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31667         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31668         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31670         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31671         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31672         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31673         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31674         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31675         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31676         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31677         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31679         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31681 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31683         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31685 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31687         Sync up with gettext.
31688         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31689         [_MSC_VER]: Include malloc.h
31690         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31691         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31692         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31693         TEMP_FAILURE_RETRY.  Cast return of alloca.
31694         [!_LIBC] Call gl_rwlock_init.
31695         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31697 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31699         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31700         before checking its value.
31702 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31704         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31706         * debug/memcpy_chk.c: Don't include pagecopy.h.
31707         * debug/mempcpy_chk.c: Likewise.
31708         * string/memcpy.c: Likewise.
31709         * string/memmove.c: Likewise.
31710         * sysdeps/powerpc/memmove.c: Likewise.
31711         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31712         definition of PAGE_COPY_FWD_MAYBE here...
31713         * sysdeps/generic/pagecopy.h: ... from here.
31714         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31716 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31717             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31719         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31721         optimizations.
31722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31723         (__libc_ifunc_impl_list): Likewise.
31724         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31725         multiarch strcat for PPC64.
31726         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31727         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31729 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31731         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31733 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31735         * intl/loadmsgcat.c: Remove declaration of
31736         get_sysdep_segment_value.
31737         (get_sysdep_segment_value): Use ISO C style.
31738         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31739         semicolon.  Fix typo and formatting in comment.
31740         (_nl_unload_domain): Use ISO C style.
31742         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31744 2014-07-02  Will Newton  <will.newton@linaro.org>
31746         * malloc/obstack.c: Merge from gnulib master.
31747         [HAVE_CONFIG_H]: Remove conditional code.
31748         [!_LIBC]: Include config.h.
31749         [!ELIDE_CODE]: Don't include inttypes.h, include
31750         stdint.h unconditionally.
31751         (print_and_abort): Mark as _Noreturn.
31752         (_obstack_allocated_p): Mark as __attribute_pure__.
31753         (obstack_free): Rename to __obstack_free.
31754         [!__attribute__]: Remove conditional code.
31755         * malloc/obstack.h: Merge from gnulib master.
31756         [__cplusplus]: Move conditional down.
31757         [!__attribute_pure__]: Define __attribute_pure__ here
31758         if it is not already defined.
31759         (_obstack_memory_used): Mark as __attribute_pure__.
31760         [!__obstack_free]: Define as obstack_free.
31761         [__GNUC__]: Remove check for ancient NeXT gcc.
31763 2014-07-02  Will Newton  <will.newton@linaro.org>
31764             Paul Eggert  <eggert@cs.ucla.edu>
31766         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31768 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31770         * resolv/gethnamaddr.c: Add comment warning that the file is
31771         not maintained.
31773 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31775         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31776         entries.
31778         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31779         entry for aio_cancel and aio_cancel64.
31780         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31781         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31782         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31783         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31784         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31785         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31786         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31787         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31788         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31789         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31790         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31791         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31792         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31794 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31796         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31797         * nptl/pthread_mutex_lock.c: Likewise.
31798         * nptl/pthread_mutex_timedlock.c: Likewise.
31799         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31801 2014-07-01  Richard henderson  <rth@redhat.com>
31803         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31804         (__isnan, __isnanl): Remove.
31805         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31807         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31809 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31811         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31813 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31815         * resolv/nss_dns/dns-host.c (getanswer_r)
31816         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31818 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31820         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31821         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31822         undefine.
31823         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31824         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31826 2014-07-01  Roland McGrath <roland@hack.frob.com>
31828         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31829         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31831         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31832         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31834         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31835         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31836         ... here.
31837         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31838         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31840         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31841         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31842         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31843         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31845         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31846         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31847         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31848         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31849         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31850         Moved ...
31851         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31852         ... here.
31853         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31854         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31855         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31856         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31857         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31858         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31859         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31860         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31861         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31862         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31863         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31864         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31865         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31866         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31867         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31868         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31869         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31870         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31871         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31872         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31873         ... here.
31874         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31875         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31876         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31877         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31878         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31879         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31880         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31881         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31883 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31885         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31886         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31887         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31888         Add sysdep.
31890 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31894 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31896         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31897         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31899         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31901         * sysdeps/arm/libm-test-ulps: Regenerated.
31903 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31904             Roland McGrath <roland@hack.frob.com>
31906         * test-skeleton.c (signal_handler): Kill the whole process group
31907         before killing the child individually.
31908         (main): Report any failure on `setpgid'.
31910 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31912         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31913         from _TLS_H to _ARM_NPTL_TLS_H.
31914         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31915         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31917 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31919         [BZ #16539]
31920         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31921         (__expm1l): Return argument unchanged when small but not
31922         subnormal.
31924         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31925         include macro name.
31926         (_FP_UNPACK_RAW_1_P): Likewise.
31927         (_FP_PACK_RAW_1): Likewise.
31928         (_FP_PACK_RAW_1_P): Likewise.
31929         (_FP_MUL_MEAT_1_wide): Likewise.
31930         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31931         (_FP_MUL_MEAT_1_hard): Likewise.
31932         (_FP_DIV_MEAT_1_imm): Likewise.
31933         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31934         (_FP_DIV_MEAT_1_udiv): Likewise.
31935         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31936         (_FP_UNPACK_RAW_2): Likewise.
31937         (_FP_UNPACK_RAW_2_P): Likewise.
31938         (_FP_PACK_RAW_2): Likewise.
31939         (_FP_PACK_RAW_2_P): Likewise.
31940         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31941         (_FP_MUL_MEAT_2_wide): Likewise.
31942         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31943         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31944         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31945         (_FP_MUL_MEAT_2_gmp): Likewise.
31946         (_FP_DIV_MEAT_2_udiv): Likewise.
31947         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31948         (_FP_FRAC_SRL_4): Likewise.
31949         (_FP_FRAC_SRST_4): Likewise.
31950         (_FP_FRAC_SRS_4): Likewise.
31951         (_FP_UNPACK_RAW_4): Likewise.
31952         (_FP_UNPACK_RAW_4_P): Likewise.
31953         (_FP_PACK_RAW_4): Likewise.
31954         (_FP_PACK_RAW_4_P): Likewise.
31955         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31956         (_FP_MUL_MEAT_4_wide): Likewise.
31957         (_FP_MUL_MEAT_4_gmp): Likewise.
31958         (umul_ppppmnnn): Likewise.
31959         (_FP_DIV_MEAT_4_udiv): Likewise.
31960         (__FP_FRAC_ADD_4): Likewise.
31961         (__FP_FRAC_SUB_3): Likewise.
31962         (__FP_FRAC_SUB_4): Likewise.
31963         (__FP_FRAC_DEC_3): Likewise.
31964         (__FP_FRAC_DEC_4): Likewise.
31965         (__FP_FRAC_ADDI_4): Likewise.
31966         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31967         (_FP_FRAC_SRL_8): Likewise.
31968         (_FP_FRAC_SRS_8): Likewise.
31970         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31971         include macro name.
31972         (FP_UNPACK_RAW_EP): Likewise.
31973         (FP_PACK_RAW_E): Likewise.
31974         (FP_PACK_RAW_EP): Likewise.
31975         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31976         (_FP_ISSIGNAN): Likewise.
31977         (_FP_ADD_INTERNAL): Likewise.
31978         (_FP_FMA): Likewise.
31979         (_FP_CMP): Likewise.
31980         (_FP_SQRT): Likewise.
31981         (_FP_TO_INT): Likewise.
31982         (_FP_FROM_INT): Likewise.
31983         (FP_EXTEND): Likewise.
31984         (_FP_DIV_MEAT_N_loop): Likewise.
31986 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31988         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31989         throughout.
31991 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31993         [BZ #17097]
31994         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31995         result with correct sign in case of exponents that produce
31996         overflow except for X very close to 1.
31998 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32000         mktime: merge #if/#ifdef usage from glibc
32001         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32002         as that works with both Glibc's and Gnulib's style.
32003         See thread starting at Siddhesh Poyarekar's bug report at:
32004         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32006 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32008         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32009         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32010         * sysdeps/tile/tilegx/memmove.c: Remove file.
32012 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32014         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32015         abi-name definition.
32016         * scripts/soversions.awk: Do not handle or generate ABI lines.
32017         * shlib-versions: Remove ABI entries.
32018         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32019         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32021 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32024         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32025         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32026         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32027         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32028         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32030         Moved ...
32031         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32032         ... here.
32033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32034         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32036         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32038         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32040         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32042         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32043         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32044         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32046         Moved ...
32047         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32049         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32051         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32053         Moved ...
32054         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32056         Moved ...
32057         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32059         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32060         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32061         Moved ...
32062         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32063         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32064         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32065         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32066         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32067         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32068         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32069         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32070         Moved ...
32071         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32072         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32073         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32074         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32075         Moved ...
32076         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32077         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32078         Moved ...
32079         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32080         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32081         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32082         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32083         Moved ...
32084         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32085         ... here.
32086         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32087         Identical file removed.
32088         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32089         Moved ...
32090         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32091         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32092         Identical file removed.
32093         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32094         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32095         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32096         Moved ...
32097         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32098         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32099         Identical file removed.
32100         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32101         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32102         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32103         Identical file removed.
32104         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32105         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32106         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32107         Identical file removed.
32108         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32109         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32110         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32111         Identical file removed.
32112         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32113         Moved ...
32114         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32115         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32116         Identical file removed.
32117         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32118         Moved ...
32119         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32120         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32121         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32122         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32123         Identical file removed.
32124         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32125         Moved ...
32126         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32127         ... here.
32128         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32129         Identical file removed.
32130         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32131         Moved ...
32132         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32133         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32134         Identical file removed.
32135         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32136         Moved ...
32137         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32138         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32139         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32140         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32141         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32142         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32143         Moved ...
32144         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32145         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32146         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32148         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32149         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32150         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32151         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32152         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32154 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32156         [BZ #17092]
32157         * nscd/nscd.c (monitor_child): Return exit status of child
32158         instead of return value from wait syscall.
32160 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32162         * configure.ac (libc_commonpagesize): Remove variable.
32163         (libc_relro_required): Likewise.
32164         (libc_cv_z_relro): Remove configure test.
32165         * configure: Regenerated.
32166         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32167         variable.
32168         (libc_relro_required): Likewise.
32169         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32170         (libc_relro_required): Likewise.
32171         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32172         (libc_relro_required): Likewise.
32173         * sysdeps/arm/preconfigure: Regenerated.
32174         * sysdeps/ia64/preconfigure: Remove file.
32175         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32176         variable.
32177         (libc_relro_required): Likewise.
32179         [BZ #16561]
32180         [BZ #16562]
32181         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32182         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32183         recompute overflowing results in original rounding mode.
32184         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32185         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32186         recompute overflowing results in original rounding mode.
32187         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32188         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32189         recompute overflowing results in original rounding mode.
32190         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32191         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32192         recompute overflowing results in original rounding mode.
32193         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32194         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32195         recompute overflowing results in original rounding mode.
32196         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32197         (libc_feholdsetround_ctx): New macro.
32198         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32199         * sysdeps/i386/fpu/libm-test-ulps: Update.
32200         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32202 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32204         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32205         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32206         corresponding .cpsetup call.
32208 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32210         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32211         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32212         * sysdeps/arm/Makefile [$(subdir) = csu]
32213         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32214         (static-only-routines): Add aeabi_read_tp here.
32215         (shared-only-routines): Add libc-aeabi_read_tp here.
32216         (CFLAGS-libc-start.c): Add -fexceptions here.
32217         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32218         (sysdep_routines, static-only-routines, shared-only-routines):
32219         Don't add to these here.
32220         (CFLAGS-libc-start.c): Likewise.
32222         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32223         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32224         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32225         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32226         * sysdeps/arm/Makefile [$(subdir) = rt]
32227         (librt-sysdep_routines, librt-shared-only-routines):
32228         Append rt-aeabi_unwind_cpp_pr1 here.
32229         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32230         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32231         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32232         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32233         Append nptl-aeabi_unwind_cpp_pr1 here.
32234         (tests): Filter out tst-cleanupx4 here.
32235         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32236         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32237         Don't do those here.
32239 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32241         * scripts/list-sources.sh: Do not handle ports specially.
32243 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32245         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32246         * sysdeps/arm/feupdateenv.c: Likewise.
32248         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32250 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32252         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32253         trailing whitespace removed.
32254         * scripts/config.guess: Update to version 2014-03-23.
32255         * scripts/config.sub: Update to version 2014-05-01
32256         * scripts/install-sh: Update to version 2013-12-25.23.
32257         * scripts/move-if-change: Update from gnulib.
32259 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32261         * debug/memmove_chk.c: Remove pagecopy.h include.
32263 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32265         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32266         identical to gnulib mktime.
32268 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32270         * configure.ac: Do not test for machine being rs6000.  Do not test
32271         for powerpc*-*soft.
32272         * configure: Regenerated.
32274         [BZ #11505]
32275         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32276         test.
32277         * configure: Regenerated.
32278         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32279         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32280         Remove configure test.
32281         * sysdeps/arm/configure: Regenerated.
32282         * sysdeps/nptl/configure.ac: Do not check
32283         libc_cv_asm_cfi_directives.
32284         * sysdeps/nptl/configure: Regenerated.
32285         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32286         * sysdeps/x86_64/nptl/configure: Remove generated file.
32287         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32288         unconditional.
32289         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32291 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32293         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32294         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32295         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32296         it is defined.
32298         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32299         instead of whether it is defined.
32300         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32301         * sysdeps/hppa/dl-machine.h: Likewise.
32302         * sysdeps/ia64/dl-machine.h: Likewise.
32303         * sysdeps/m68k/dl-machine.h: Likewise.
32304         * sysdeps/microblaze/dl-machine.h: Likewise.
32305         * sysdeps/mips/dl-machine.: Likewise.
32306         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32307         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32308         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32309         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32310         * sysdeps/sh/dl-machine.h: Likewise.
32311         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32312         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32313         * sysdeps/tile/dl-machine.h: Likewise.
32314         * sysdeps/x86_64/dl-machine.h: Likewise.
32316         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32317         code.
32318         (verify_persistent_db): Likewise.
32320 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32323         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32325         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32327         Moved ...
32328         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32329         ... here.
32330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32331         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32333         Identical file removed.
32334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32335         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32337         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32339         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32341         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32343         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32345         Moved ...
32346         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32348         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32350         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32352         Moved ...
32353         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32355         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32357         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32359         Identical file removed.
32360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32361         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32363         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32365         Moved ...
32366         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32367         ... here.
32368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32369         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32371         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32373         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32375         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32377         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32379         Moved ...
32380         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32382         Moved ...
32383         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32385         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32387         Moved ...
32388         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32390         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32392         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32393         folded into ...
32394         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32395         * sysdeps/unix/sysv/linux/s390/Versions
32396         (libpthread: GLIBC_2.19): New version set.
32397         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32398         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32399         (librt: GLIBC_2.3.3): New version set.
32400         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32401         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32402         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32403         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32404         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32405         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32406         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32407         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32408         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32409         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32410         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32411         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32412         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32413         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32414         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32415         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32416         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32417         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32418         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32419         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32420         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32421         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32422         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32423         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32424         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32425         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32426         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32427         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32428         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32429         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32430         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32431         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32432         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32433         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32434         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32435         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32436         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32437         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32438         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32439         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32440         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32441         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32442         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32443         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32444         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32446         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32447         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32448         (__libc_vfork): Define the function under this name.
32449         [!NOT_IN_libc] (__vfork): Make this an alias.
32450         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32451         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32452         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32453         (__libc_vfork): Define the function under this name.
32454         [!NOT_IN_libc] (__vfork): Make this an alias.
32455         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32456         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32457         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32458         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32459         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32460         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32462         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32463         code that was previously under [RESET_PID].
32464         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32465         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32466         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32468         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32469         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32470         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32471         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32472         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32473         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32474         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32475         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32476         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32477         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32478         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32479         Moved ...
32480         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32481         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32482         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32483         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32484         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32485         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32486         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32487         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32488         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32489         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32490         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32491         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32492         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32493         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32494         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32495         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32496         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32497         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32498         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32499         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32500         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32501         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32502         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32503         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32504         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32505         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32506         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32507         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32508         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32510 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32512         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32513         that was previously under [RESET_PID].
32514         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32516 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32518         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32519         not undefine and redefine.
32520         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32521         [O_CLOEXEC]: Make code unconditional.
32522         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32523         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32524         <kernel-features.h>.
32525         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32526         conditional variable definition.
32527         (shm_open) [O_CLOEXEC]: Make code unconditional.
32528         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32529         code.
32531         * configure.ac (USE_REGPARMS): Don't define here.
32532         * configure: Regenerated.
32533         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32534         * sysdeps/i386/configure: Regenerated.
32536         * nptl/createthread.c: Don't include kernel-features.h.
32537         * nptl/pthread_cancel.c: Likewise.
32538         * nptl/pthread_condattr_setclock.c: Likewise.
32539         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32540         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32541         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32542         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32543         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32544         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32545         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32546         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32547         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32548         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32549         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32550         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32551         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32552         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32553         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32554         * nscd/gai.c: Likewise.
32555         * nss/nss_db/db-open.c: Likewise.
32556         * sysdeps/generic/ldsodefs.h: Likewise.
32557         * sysdeps/sh/nptl/tls.h: Likewise.
32558         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32559         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32560         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32561         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32562         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32563         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32564         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32565         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32566         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32567         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32568         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32569         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32570         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32571         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32572         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32573         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32574         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32575         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32576         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32577         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32578         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32579         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32580         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32581         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32582         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32583         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32584         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32585         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32586         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32587         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32588         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32589         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32590         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32591         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32592         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32593         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32594         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32595         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32596         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32597         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32598         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32599         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32600         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32601         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32602         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32603         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32604         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32605         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32606         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32607         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32608         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32609         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32610         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32611         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32612         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32613         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32614         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32615         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32638         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32639         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32640         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32641         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32642         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32643         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32644         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32645         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32646         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32647         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32648         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32649         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32650         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32651         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32652         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32653         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32654         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32655         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32656         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32657         * sysdeps/unix/sysv/linux/system.c: Likewise.
32658         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32659         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32660         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32661         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32662         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32663         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32664         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32666         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32667         * configure: Regenerated.
32668         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32670         * configure.ac (base_machine): Do not set specially for particular
32671         machines here.
32672         * configure: Regenerated.
32673         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32674         settings from configure.ac.
32675         * sysdeps/i386/preconfigure: New file.
32676         * sysdeps/s390/preconfigure: Likewise.
32677         * sysdeps/sh/preconfigure: Likewise.
32678         * sysdeps/sparc/preconfigure: Likewise.
32680 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32682         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32683         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32684         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32685         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32686         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32687         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32688         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32689         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32690         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32691         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32692         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32693         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32694         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32695         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32696         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32697         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32698         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32699         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32700         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32702         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32703         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32704         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32705         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32706         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32707         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32708         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32709         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32710         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32711         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32712         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32713         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32714         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32715         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32716         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32717         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32718         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32719         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32720         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32721         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32722         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32723         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32724         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32725         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32726         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32727         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32728         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32729         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32730         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32731         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32732         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32733         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32734         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32735         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32736         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32737         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32738         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32739         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32742         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32744         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32746         Moved ...
32747         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32748         ... here.
32749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32750         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32752         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32754         Moved ...
32755         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32757         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32759         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32761         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32763         Moved ...
32764         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32766         Moved ...
32767         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32769         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32771         Moved ...
32772         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32774         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32776         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32778         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32780         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32782         Moved ...
32783         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32784         ... here.
32785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32786         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32788         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32790         Moved ...
32791         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32793         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32795         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32797         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32799         Moved ...
32800         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32802         Moved ...
32803         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32805         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32807         Moved ...
32808         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32810         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32812         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32814 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32816         * timezone/checktab.awk: Update from tzcode 2014e.
32817         * timezone/private.h: Likewise.
32818         * timezone/tzfile.h: Likewise.
32819         * timezone/zdump.c: Likewise.
32820         * timezone/zic.c: Likewise.
32822         * sysdeps/unix/sysv/linux/kernel-features.h
32823         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32824         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32825         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32826         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32827         Remove conditional code.
32829 2014-06-25  Will Newton  <will.newton@linaro.org>
32831         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32832         (_dl_arm_cap_flags): Add HWCAP2 values.
32833         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32834         (_DL_HWCAP_COUNT): Increase to 37.
32835         (_DL_HWCAP_LAST): New define.
32836         (_DL_HWCAP2_LAST): New define.
32837         (_dl_procinfo): Add support for printing
32838         AT_HWCAP2 entries.
32839         (_dl_string_hwcap): Use _dl_hwcap_string.
32841 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32845 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32847         * README: Do not mention ports directory.
32849         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32850         Remove macro.
32851         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32852         <kernel-features.h>.
32853         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32854         conditional variable definition.
32855         (__futimes): Update comment.
32856         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32857         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32859         [BZ #16560]
32860         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32861         arguments close to 0.
32862         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32863         Likewise.
32864         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32865         Likewise.
32866         * math/auto-libm-test-in: Add more tests of exp10.
32867         * math/auto-libm-test-out: Regenerated.
32868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32870         * sysdeps/unix/sysv/linux/kernel-features.h
32871         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32872         * sysdeps/unix/sysv/linux/readv.c: Do not include
32873         <kernel-features.h>.
32874         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32875         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32876         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32877         unconditional.
32878         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32879         conditional code.
32880         * sysdeps/unix/sysv/linux/writev.c: Do not include
32881         <kernel-features.h>.
32882         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32883         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32884         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32885         unconditional.
32886         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32887         conditional code.
32889 2014-06-25  Will Newton  <will.newton@linaro.org>
32891         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32892         comment changes throughout the file.  Remove checks
32893         for HAVE_*_H definitions that are not required.
32894         (__gen_tempname): Call abort if an unknown kind value is
32895         passed.
32897 2014-06-25  Andreas Schwab  <schwab@suse.de>
32899         [BZ #17086]
32900         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32901         scalbln, scalblnf, scalblnl in libc.
32903 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32905         [BZ #17086]
32906         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32907         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32908         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32910 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32912         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32913         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32914         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32915         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32916         Update #include.
32917         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32918         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32919         Update #include.
32920         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32921         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32922         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32923         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32924         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32925         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32926         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32927         * sysdeps/x86/bits/semaphore.h: ... here.
32928         * sysdeps/x86/nptl/elide.h: Moved ...
32929         * sysdeps/x86/elide.h: ... here.
32930         * sysdeps/x86_64/nptl/Implies: File removed.
32931         * sysdeps/i386/nptl/Implies: File removed.
32933 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32935         [BZ #16539]
32936         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32937         return the argument for normal arguments with exponent below -64.
32938         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32939         Likewise.
32940         * math/auto-libm-test-in: Add another test of expm1.
32941         * math/auto-libm-test-out: Regenerated.
32943         [BZ #16287]
32944         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32945         calling __erfcl for arguments at least 16.
32946         * math/auto-libm-test-in: Add more tests of erf.
32947         * math/auto-libm-test-out: Regenerated.
32949         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32950         individual architectures.
32951         * sysdeps/unix/sysv/linux/configure: Regenerated.
32952         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32953         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32954         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32955         (ldd_rewrite_script): Define variable.
32956         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32958         file.
32959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32960         generated file.
32961         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32962         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32963         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32964         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32965         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32966         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32967         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32968         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32970 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32972         [BZ #17084]
32973         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32974         Rename member __data.d to __data.__elision_data.
32976 2014-06-24  Wilco  <wdijkstr@arm.com>
32978         * NEWS: Add 16918 to fixed bug list.
32980 2014-06-24  Wilco  <wdijkstr@arm.com>
32982         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32984 2014-06-24  Wilco  <wdijkstr@arm.com>
32986         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32987         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32988         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32989         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32990         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32991         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32992         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32993         Use _FPU_MASK_RM.
32995 2014-06-24  Wilco  <wdijkstr@arm.com>
32997         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32999 2014-06-24  Wilco  <wdijkstr@arm.com>
33001         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33002         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33003         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33004         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33006 2014-06-24  Wilco  <wdijkstr@arm.com>
33008         [BZ #16918]
33009         * sysdeps/arm/feupdateenv.c (feupdateenv):
33010         Rewrite to reduce FPSCR accesses and fix return value.
33012 2014-06-24  Wilco  <wdijkstr@arm.com>
33014         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33015         Optimize to avoid unnecessary FPSCR writes.
33016         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33017         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33018         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33019         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33021 2014-06-24  Wilco  <wdijkstr@arm.com>
33023         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33024         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33025         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33026         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33027         Call libc_fetestexcept_vfp.
33028         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33029         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33030         __SOFTFP__ ifdef so that they can be built for softfp.
33032 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33034         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33035         argument type signed char.
33037         * Makerules (check-abi): Dump diff of symlist if the test
33038         fails.
33040 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33042         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33043         using abort.
33045         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33046         Remove unused variable ST.
33048 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33050         [BZ #16354]
33051         [BZ #17061]
33052         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33053         small arguments before calling __expm1.
33054         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33055         small arguments before calling __expm1f.
33056         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33057         small arguments before calling __expm1l.
33058         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33059         Likewise.
33060         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33061         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33062         spurious underflow for some cosh tests.
33063         * math/auto-libm-test-out: Regenerated.
33064         * sysdeps/i386/fpu/libm-test-ulps: Update.
33066         [BZ #17050]
33067         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33068         (__ieee754_y1): Set errno if return value overflows.
33069         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33070         (__ieee754_y1f): Set errno if return value overflows.
33071         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33072         (__ieee754_y1l): Set errno if return value overflows.
33073         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33074         (__ieee754_y1l): Set errno if return value overflows.
33075         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33076         * math/auto-libm-test-out: Regenerated.
33078         * math/gen-auto-libm-tests.c: Document use of
33079         ignore-zero-inf-sign.
33080         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33081         (input_flags): Add ignore-zero-inf-sign.
33082         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33083         * math/gen-libm-test.pl (generate_testfile): Handle
33084         ignore-zero-inf-sign.
33085         * math/auto-libm-test-in: Mark some cpow tests with
33086         ignore-zero-inf-sign and some with xfail-rounding.
33087         * math/auto-libm-test-out: Regenerated.
33088         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33089         * sysdeps/i386/fpu/libm-test-ulps: Update.
33090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33092         [BZ #16315]
33093         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33094         overflowing or underflowing operations take place with sign of
33095         result.
33096         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33097         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33098         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33099         (__ieee754_pow): Recompute overflowing and underflowing results in
33100         original rounding mode.
33101         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33102         (__powl_helper): Allow negative argument X and scale negated value
33103         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33104         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33105         overflowing or underflowing operations take place with sign of
33106         result.
33107         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33108         Include <math.h>.
33109         * math/auto-libm-test-in: Add more tests of pow.
33110         * math/auto-libm-test-out: Regenerated.
33111         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33112         (pow_tonearest_test_data): Remove.
33113         (pow_test_tonearest): Likewise.
33114         (pow_towardzero_test_data): Likewise.
33115         (pow_test_towardzero): Likewise.
33116         (pow_downward_test_data): Likewise.
33117         (pow_test_downward): Likewise.
33118         (pow_upward_test_data): Likewise.
33119         (pow_test_upward): Likewise.
33120         (main): Don't call removed functions.
33121         * sysdeps/i386/fpu/libm-test-ulps: Update.
33122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33124 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33127         Moved ...
33128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33130         Moved ...
33131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33133         Moved ...
33134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33136         Moved ...
33137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33139         File removed.
33140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33141         File removed.
33142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33143         File removed.
33144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33145         File removed.
33146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33147         File removed.
33148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33149         File removed.
33150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33151         File removed.
33152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33153         File removed.
33154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33155         File removed.
33156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33157         File removed.
33158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33159         File removed.
33160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33161         File removed.
33162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33163         Moved ...
33164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33166         Moved ...
33167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33168         ... here.
33169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33170         Moved ...
33171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33173         Moved ...
33174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33176         Moved ...
33177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33179         Moved ...
33180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33182         Moved ...
33183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33185         Moved ...
33186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33188         Moved ...
33189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33192         ... here.
33193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33194         Moved ...
33195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33197         Moved ...
33198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33199         ... here.
33200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33201         Moved ...
33202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33203         ... here.
33204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33205         Moved ...
33206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33207         ... here.
33208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33209         Moved ...
33210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33212         Moved ...
33213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33217         Moved ...
33218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33219         ... here.
33220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33221         Moved ...
33222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33223         ... here.
33224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33225         Moved ...
33226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33228         Moved ...
33229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33231         Moved ...
33232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33234         Moved ...
33235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33237         Moved ...
33238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33239         ... here.
33240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33241         Moved ...
33242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33244         Moved ...
33245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33247         Moved ...
33248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33250         Moved ...
33251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33255         Moved ...
33256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33258         Moved ...
33259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33261         Moved ...
33262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33263         ... here.
33264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33265         Moved ...
33266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33267         ... here.
33268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33269         Moved ...
33270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33271         ... here.
33272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33273         Moved ...
33274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33276         Moved ...
33277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33279         Moved ...
33280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33282         Moved ...
33283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33284         ... here.
33285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33286         Moved ...
33287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33288         ... here.
33289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33290         Moved ...
33291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33292         ... here.
33293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33294         Moved ...
33295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33297         Moved ...
33298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33300 2014-06-23  Will Newton  <will.newton@linaro.org>
33301             Wilco  <wdijkstr@arm.com>
33303         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33304         implementation.  Include get-rounding-mode.h.
33305         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33306         [!libc_feholdsetround_noex_ctx]: Define
33307         libc_feholdsetround_noex_ctx.
33308         [!libc_feholdsetround_noexf_ctx]: Define
33309         libc_feholdsetround_noexf_ctx.
33310         [!libc_feholdsetround_noexl_ctx]: Define
33311         libc_feholdsetround_noexl_ctx.
33312         (libc_feholdsetround_ctx): New function.
33313         (libc_feresetround_ctx): New function.
33314         (libc_feholdsetround_noex_ctx): New function.
33315         (libc_feresetround_noex_ctx): New function.
33317 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33319         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33320         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33321         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33322         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33323         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33324         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33326         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33327         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33328         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33329         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33330         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33331         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33332         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33333         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33334         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33335         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33336         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33337         Moved ...
33338         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33339         ... here.
33340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33341         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33343         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33344         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33345         Moved ...
33346         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33347         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33348         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33349         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33350         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33351         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33352         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33353         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33354         Moved ...
33355         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33356         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33357         Moved ...
33358         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33359         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33360         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33361         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33362         Moved ...
33363         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33364         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33365         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33366         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33367         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33368         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33369         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33370         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33371         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33372         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33373         Moved ...
33374         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33375         ... here.
33376         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33377         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33378         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33379         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33380         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33381         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33382         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33383         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33384         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33385         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33386         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33387         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33388         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33389         Moved ...
33390         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33391         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33392         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33393         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33394         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33395         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33396         Moved ...
33397         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33398         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33399         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33400         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33401         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33403         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33404         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33405         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33406         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33407         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33408         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33409         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33410         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33411         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33412         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33413         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33414         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33415         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33416         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33417         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33418         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33419         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33420         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33421         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33422         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33423         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33424         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33425         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33426         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33427         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33428         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33429         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33430         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33432 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33434         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33435         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33436         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33437         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33438         (IPV6_PMTUDISC_INTERFACE): Likewise.
33439         (IPV6_PMTUDISC_OMIT): Likewise.
33441 2014-06-23  Andreas Schwab  <schwab@suse.de>
33443         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33444         Remove unused errout label.
33446 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33448         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33449         macro: hardware supports Vector Crypto instructions.
33451 2014-06-23  Will Newton  <will.newton@linaro.org>
33453         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33454         rather than __builtin_expect.
33456         * elf/dl-lookup.c (undefined_msg): Remove variable.
33457         (_dl_lookup_symbol_x): Replace undefined_msg with string
33458         literal.
33460         * elf/dl-lookup.c (do_lookup_unique): New function.
33461         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33462         to a separate function.
33464 2014-06-23  Andreas Schwab  <schwab@suse.de>
33466         [BZ #17079]
33467         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33468         before reading the next line.
33470 2014-06-23  Will Newton  <will.newton@linaro.org>
33472         * test-skeleton.c (signal_handler): Use printf and %m
33473         rather than perror.  Use printf rather than fprintf to
33474         stderr.  Use puts rather than fputs to stderr.
33475         (main): Likewise.
33477 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33479         * nscd/nscd.c (thread_info_t): Remove typedef.
33480         (thread_info): Remove variable.
33482 2014-06-21  Allan McRae  <allan@archlinux.org>
33484         * NEWS: Mention CVE-2014-4043.
33486 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33488         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33489         * nptl/smp.h: ... here.
33491         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33493         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33494         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33495         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33496         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33498         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33499         * nptl/stack-aliasing.h: New file.
33500         * sysdeps/i386/i686/stack-aliasing.h: New file.
33501         * sysdeps/i386/i686/nptl/Makefile: File removed.
33502         * sysdeps/x86_64/stack-aliasing.h: New file.
33503         * sysdeps/x86_64/nptl/Makefile
33504         (CFLAGS-pthread_create.c): Variable removed.
33506         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33507         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33508         old file.
33509         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33510         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33511         old file.
33513 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33515         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33516         (__ASSUME_SIGFRAME_V2): Remove macro.
33517         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33518         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33519         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33520         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33521         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33522         Declare as function.  Remove conditional macro definitions.
33523         (__default_rt_sa_restorer): Likewise.
33524         (__default_sa_restorer_v1): Remove declaration.
33525         (__default_sa_restorer_v2): Likewise.
33526         (__default_rt_sa_restorer_v1): Likewise.
33527         (__default_rt_sa_restorer_v2): Likewise.
33528         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33529         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33530         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33532 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33534         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33535         (libpthread-routines): Add sysdep.
33536         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33537         * sysdeps/unix/sysv/linux/sparc/Versions
33538         (libpthread: GLIBC_2.3.3): New version set.
33539         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33540         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33541         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33542         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33543         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33544         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33545         Moved ...
33546         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33547         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33548         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33549         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33550         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33551         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33552         * sysdeps/sparc/nptl/sem_init.c: ... here.
33553         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33554         * sysdeps/sparc/nptl/sem_post.c: ... here.
33555         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33556         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33557         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33558         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33559         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33560         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33561         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33562         (libpthread-routines): Add cpu_relax.
33563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33564         File removed.
33565         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33566         (librt: GLIBC_2.3.3): New version set.
33567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33568         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33569         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33570         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33573         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33575         Moved ...
33576         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33578         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33580         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33582         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33584         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33586         Moved ...
33587         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33588         Update #include.
33589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33590         Moved ...
33591         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33592         Update #include.
33593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33594         Moved ...
33595         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33596         Update #include.
33597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33598         Moved ...
33599         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33600         Update #include.
33601         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33602         Moved ...
33603         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33604         Update #include.
33605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33606         Moved ...
33607         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33608         Update #include.
33609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33610         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33612         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33614         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33616         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33618         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33620         Moved ...
33621         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33623         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33624         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33625         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33627 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33629         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33630         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33631         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33632         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33633         * nscd/nscd.c: Likewise.
33634         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33635         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33636         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33637         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33639         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33640         <kernel-features.h>.
33641         (init_mq_netlink): Remove conditional have_sock_cloexec
33642         definitions.  Remove code conditional on have_sock_cloexec < 0.
33643         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33644         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33645         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33646         <kernel-features.h>.
33647         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33648         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33650 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33653         Add tests for memset_chk and memset.
33655         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33656         with AVX2_Usable.
33658 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33660         [BZ #16046]
33661         * elf/tst-dl-iter-static.c: New file.
33662         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33664         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33665         error.
33667 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33669         * sysdeps/unix/sysv/linux/kernel-features.h
33670         (__ASSUME_F_GETOWN_EX): Remove macro.
33671         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33672         <kernel-features.h>.
33673         (miss_F_GETOWN_EX): Remove variable or macro.
33674         (do_fcntl): Do not check miss_F_GETOWN_EX.
33675         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33677         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33678         Remove macro.
33679         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33680         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33681         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33683         * sysdeps/unix/sysv/linux/kernel-features.h
33684         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33685         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33686         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33687         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33689 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33691         [BZ #17075]
33692         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33693         Fix calculation of the symbol's value.
33694         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33695         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33696         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33697         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33698         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33699         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33700         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33701         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33702         (modules-names): Add `tst-armtlsdescmod',
33703         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33704         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33705         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33706         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33707         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33708         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33709         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33710         ($(objpfx)tst-armtlsdescloc): New dependency.
33711         ($(objpfx)tst-armtlsdescextnow): Likewise.
33712         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33713         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33714         TLS scheme support.
33715         * sysdeps/arm/configure: Regenerate.
33717 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33719         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33720         (__atfct_seterrno_2): Likewise.
33721         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33722         <kernel-features.h>.
33723         (__ASSUME_ATFCTS): Do not undefine and redefine.
33724         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33725         (__have_atfcts): Remove conditional definition.
33726         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33727         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33728         unreachable if [__ASSUME_ATFCTS].
33729         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33730         not undefine and redefine.
33731         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33732         <kernel-features.h>.
33733         (faccessat) [__NR_faccessat]: Make code unconditional.
33734         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33735         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33736         <kernel-features.h>.
33737         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33738         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33739         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33740         <kernel-features.h>.
33741         (fchownat) [__NR_fchownat]: Make code unconditional.
33742         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33743         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33744         <kernel-features.h>.
33745         (futimesat) [__NR_futimesat]: Make code unconditional.
33746         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33747         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33748         <kernel-features.h>.
33749         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33750         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33751         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33752         <kernel-features.h>.
33753         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33754         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33755         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33756         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33757         <kernel-features.h>.
33758         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33759         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33760         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33761         <kernel-features.h>.
33762         (linkat) [__NR_linkat]: Make code unconditional.
33763         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33764         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33765         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33766         <kernel-features.h>.
33767         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33768         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33769         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33770         <kernel-features.h>.
33771         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33772         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33773         * sysdeps/unix/sysv/linux/openat.c: Do not include
33774         <kernel-features.h>.
33775         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33776         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33777         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33778         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33779         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33780         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33781         <kernel-features.h>.
33782         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33783         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33784         result of INLINE_SYSCALL directly, not via int variable.
33785         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33786         <kernel-features.h>.
33787         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33788         (renameat) [__NR_renameat]: Make code unconditional.
33789         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33790         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33791         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33792         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33793         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33794         (__ASSUME_ATFCTS): Do not undefine and redefine.
33795         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33796         <kernel-features.h>.
33797         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33798         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33799         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33800         <kernel-features.h>.
33801         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33802         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33803         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33804         (__ASSUME_ATFCTS): Do not undefine and redefine.
33805         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33806         <kernel-features.h>.
33807         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33808         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33809         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33810         <kernel-features.h>.
33811         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33812         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33814 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33816         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33818 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33820         [BZ #17069]
33821         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33822         constructed tree before returning error.
33823         * posix/bug-regexp36.c: Expand test case.
33825 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33827         [BZ #6803]
33828         * math/libm-test.inc (scalbln_test_date):
33829         Add errno expectations.
33830         * math/w_scalblnf.c: New File.
33831         Add wrapper which checks for setting errno to ERANGE.
33832         Add weak_alias for corresponding scalbln function.
33833         * math/w_scalbln.c: Likewise.
33834         * math/w_scalblnl.c: Likewise.
33835         * math/Makefile (libm-calls): Add w_scalbln.
33836         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33837         Remove weak_alias for corresponding scalbln function.
33838         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33839         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33840         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33841         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33842         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33843         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33844         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33845         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33846         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33847         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33848         Remove long_double_symbol for scalblnl function in libm, libc.
33849         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33850         Add wrapper which checks for setting errno to ERANGE.
33851         Add long_double_symbol for scalblnl function in libm, libc.
33852         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33853         Remove long_double_symbol for scalblnl in libm.
33854         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33855         Add wrapper which checks for setting errno to ERANGE.
33856         Add long_double_symbol for scalblnl function in libm.
33857         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33858         Do not use wrapper because of own implementation.
33860 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33862         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33863         3 bytes for __pad1 for x32.
33864         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33866 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33867             H.J. Lu  <hongjiu.lu@intel.com>
33869         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33870         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33871         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33872         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33873         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33875 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33877         [BZ #17069]
33878         * posix/regcomp.c (parse_expression): Deallocate partially
33879         constructed tree before returning error.
33880         * posix/Makefile.c (tests): Add bug-regex36.
33881         (generated): Add bug-regex36.mtrace.
33882         (tests-special): Add $(objpfx)bug-regex36-mem.out
33883         (bug-regex36-ENV): New variable.
33884         ($(objpfx)bug-regex36-mem.out): New rule.
33885         * posix/bug-regex36.c: New file.
33887 2014-06-19  Will Newton  <will.newton@linaro.org>
33889         * malloc/malloc.c (systrim): If extra is zero then return
33890         early.
33892 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33894         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33896 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33898         * sysdeps/aarch64/strchr.S: New file.
33900 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33902         [BZ #17022]
33903         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33904         from arguments -2 or below.
33905         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33906         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33908 2014-06-18  Andreas Schwab  <schwab@suse.de>
33910         [BZ #17062]
33911         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33912         of a bracket expr not to run off the end of the string.
33913         * posix/Makefile (tests): Add tst-fnmatch3.
33914         * posix/tst-fnmatch3.c: New file.
33916 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33918         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33919         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33920         [$(cross-compiling) = no]: Likewise.
33921         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33922         [$(cross-compiling) = no]: Likewise.
33924 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33926         [BZ #17031]
33927         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33928         double, adjusted for any remainder from the high double.
33929         * math/libm-test.inc (nearbyint): Add tests.
33930         (rint): Likewise.
33932 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33934         * nptl/sysdeps/powerpc/Makefile: Moved ...
33935         * sysdeps/powerpc/nptl/Makefile: ... here.
33936         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33937         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33938         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33939         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33940         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33941         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33942         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33943         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33944         * nptl/sysdeps/powerpc/tls.h: Moved ...
33945         * sysdeps/powerpc/nptl/tls.h: ... here.
33947 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33949         [BZ #16681]
33950         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33951         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33952         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33953         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33954         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33955         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33956         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33957         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33958         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33960 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33962         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33964 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33966         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33967         defined operator.
33969         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33970         $TIMEOUTFACTOR.
33972 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33974         [BZ #17058]
33975         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33976         non-executed part of the test.
33978 2014-06-16  Andreas Schwab  <schwab@suse.de>
33980         * string/bits/string2.h (strdup, strndup): Update feature guard.
33982 2014-06-14  David S. Miller  <davem@davemloft.net>
33984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33986 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33988         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33989         that was previously under [RESET_PID].
33990         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33992         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33993         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33994         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33995         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33996         (__libc_vfork): New strong alias.
33997         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33999 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34001         * sysdeps/generic/elide.h: New file.
34003 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34005         * Makefile (installed-headers): Adjust path of pthread.h header.
34007 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34009         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34010         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34011         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34012         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34014         * nptl/sysdeps/s390/Makefile: Moved ...
34015         * sysdeps/s390/nptl/Makefile: ... here.
34016         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34017         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34018         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34019         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34020         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34021         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34022         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34023         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34024         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34025         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34026         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34027         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34028         * nptl/sysdeps/s390/tls.h: Moved ...
34029         * sysdeps/s390/nptl/tls.h: ... here.
34031         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34032         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34034 2014-06-13  David S. Miller  <davem@davemloft.net>
34036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34037         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34038         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34039         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34041         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34042         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34043         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34044         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34045         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34046         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34047         Remove RESET_PID cpp guards.
34048         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34049         Remove RESET_PID cpp guards.
34050         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34052 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34054         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34055         __sp to uintptr_t.
34057 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34059         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34060         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34061         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34062         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34063         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34064         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34065         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34066         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34067         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34068         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34069         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34070         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34071         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34072         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34073         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34074         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34075         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34076         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34077         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34078         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34080         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34081         (pthread_rwlock_rdlock): Add elision.
34082         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34083         (pthread_rwlock_wrlock): Add elision.
34084         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34085         (pthread_rwlock_trywrlock): Add elision.
34086         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34087         (pthread_rwlock_tryrdlock): Add elision.
34088         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34089         (pthread_rwlock_tryrdlock): Add elision unlock.
34090         * nptl/sysdeps/pthread/pthread.h:
34091         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34092         (PTHREAD_RWLOCK_INITIALIZER,
34093         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34094         Handle new elision field.
34095         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34096         * sysdeps/arm/nptl/bits/pthreadtypes.h
34097         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34098         * sysdeps/sh/nptl/bits/pthreadtypes.h
34099         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34100         * sysdeps/tile/nptl/bits/pthreadtypes.h
34101         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34102         * sysdeps/a/nptl/bits/pthreadtypes.h
34103         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34104         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34105         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34106         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34107         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34108         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34109         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34110         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34111         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34112         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34113         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34114         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34115         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34116         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34117         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34118         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34119         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34120         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34121         (elision_init): Set try_xbegin to zero when no RTM.
34122         * sysdeps/x86/nptl/bits/pthreadtypes.h
34123         (pthread_rwlock_t): Change __pad1 to __rwelision.
34124         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34126 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34128         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34129         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34130         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34131         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34133 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34135         [BZ #16996]
34136         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34137         that the cached result has been set before returning it.
34139 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34141         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34142         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34143         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34144         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34145         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34146         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34148         * nptl/sysdeps/sparc/Makefile: Moved ...
34149         * sysdeps/sparc/nptl/Makefile: ... here.
34150         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34151         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34152         * nptl/sysdeps/sparc/tls.h: Moved ...
34153         * sysdeps/sparc/nptl/tls.h: ... here.
34154         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34155         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34156         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34157         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34158         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34159         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34160         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34161         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34162         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34163         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34164         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34165         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34166         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34167         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34168         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34169         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34170         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34171         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34172         Update #include.
34173         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34174         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34175         Update #include.
34176         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34177         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34178         Update #include.
34179         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34180         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34181         Update #include.
34183         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34185         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34186         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34188         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34189         (struct list_links): Type removed.
34190         (struct thread_node, struct timer_node): Replace struct list_links
34191         with struct list_head.
34192         (list_unlink_ip): Likewise.
34193         * sysdeps/pthread/timer_routines.c
34194         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34195         (list_append, list_insbefore): Likewise.
34196         (list_init): Function removed.
34197         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34198         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34199         * sysdeps/pthread/Makefile: ... here, new file.
34201         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34202         * sysdeps/nptl/Implies: ... here.
34203         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34204         * nptl/sysdeps/pthread/list.h: Moved ...
34205         * include/list.h: ... here.
34206         * nptl/sysdeps/pthread/createthread.c: Moved ...
34207         * nptl/createthread.c: ... here.
34208         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34209         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34210         * nptl/pt-longjmp.c: ... here.
34211         * nptl/sysdeps/pthread/Makefile: Moved ...
34212         * sysdeps/nptl/Makefile: ... here.
34213         * nptl/sysdeps/pthread/Subdirs: Moved ...
34214         * sysdeps/nptl/Subdirs: ... here.
34215         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34216         * sysdeps/nptl/aio_misc.h: ... here.
34217         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34218         * sysdeps/nptl/bits/libc-lock.h: ... here.
34219         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34220         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34221         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34222         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34223         * nptl/sysdeps/pthread/configure: Moved ...
34224         * sysdeps/nptl/configure: ... here.
34225         * nptl/sysdeps/pthread/configure.ac: Moved ...
34226         * sysdeps/nptl/configure.ac: ... here.
34227         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34228         * sysdeps/nptl/gai_misc.h: ... here.
34229         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34230         * sysdeps/nptl/librt-cancellation.c: ... here.
34231         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34232         * sysdeps/nptl/malloc-machine.h: ... here.
34233         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34234         * sysdeps/nptl/pthread-functions.h: ... here.
34235         * nptl/sysdeps/pthread/pthread.h: Moved ...
34236         * sysdeps/nptl/pthread.h: ... here.
34237         * nptl/sysdeps/pthread/setxid.h: Moved ...
34238         * sysdeps/nptl/setxid.h: ... here.
34239         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34240         * sysdeps/nptl/sigfillset.c: ... here.
34241         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34242         * sysdeps/nptl/tcb-offsets.h: ... here.
34243         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34244         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34245         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34246         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34247         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34248         * sysdeps/pthread/allocalim.h: ... here.
34249         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34250         * sysdeps/pthread/bits/sigthread.h: ... here.
34251         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34252         * sysdeps/pthread/flockfile.c: ... here.
34253         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34254         * sysdeps/pthread/ftrylockfile.c: ... here.
34255         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34256         * sysdeps/pthread/funlockfile.c: ... here.
34257         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34258         * sysdeps/pthread/posix-timer.h: ... here.
34259         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34260         * sysdeps/pthread/timer_create.c: ... here.
34261         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34262         * sysdeps/pthread/timer_delete.c: ... here.
34263         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34264         * sysdeps/pthread/timer_getoverr.c: ... here.
34265         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34266         * sysdeps/pthread/timer_gettime.c: ... here.
34267         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34268         * sysdeps/pthread/timer_routines.c: ... here.
34269         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34270         * sysdeps/pthread/timer_settime.c: ... here.
34271         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34272         * sysdeps/pthread/tst-timer.c: ... here.
34273         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34274         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34276         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34277         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34279         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34280         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34281         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34282         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34283         Update #include target.
34284         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34285         * sysdeps/i386/i686/nptl/Makefile: ... here.
34286         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34287         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34288         Update #include target.
34289         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34290         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34291         * nptl/sysdeps/i386/Makefile: Moved ...
34292         * sysdeps/i386/nptl/Makefile: ... here.
34293         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34294         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34295         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34296         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34297         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34298         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34299         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34300         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34301         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34302         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34303         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34304         * nptl/sysdeps/i386/tls.h: Moved ...
34305         * sysdeps/i386/nptl/tls.h: ... here.
34307         * sysdeps/sh/Makefile [$(subdir) = csu]
34308         (gen-as-const-headers): Add tcb-offsets.sym.
34309         * nptl/sysdeps/sh/Makefile: File removed.
34310         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34311         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34312         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34313         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34314         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34315         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34316         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34317         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34318         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34319         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34320         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34321         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34322         * nptl/sysdeps/sh/tls.h: Moved ...
34323         * sysdeps/sh/nptl/tls.h: ... here.
34324         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34325         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34326         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34327         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34328         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34329         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34330         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34331         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34332         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34333         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34334         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34335         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34336         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34337         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34338         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34339         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34340         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34341         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34342         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34343         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34344         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34345         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34346         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34347         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34348         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34349         Moved ...
34350         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34351         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34352         Moved ...
34353         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34354         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34355         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34356         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34357         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34358         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34359         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34360         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34361         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34362         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34363         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34364         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34365         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34366         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34367         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34368         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34369         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34370         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34371         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34373 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34375         * posix/spawn_faction_addopen.c: Include string.h.
34377 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34379         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34380         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34381         * nptl/sysdeps/x86_64/Makefile: Moved ...
34382         * sysdeps/x86_64/nptl/Makefile: ... here.
34383         * nptl/sysdeps/x86_64/configure: Moved ...
34384         * sysdeps/x86_64/nptl/configure: ... here.
34385         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34386         * sysdeps/x86_64/nptl/configure.ac: ... here.
34387         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34388         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34389         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34390         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34391         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34392         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34393         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34394         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34395         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34396         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34397         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34398         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34399         * nptl/sysdeps/x86_64/tls.h: Moved ...
34400         * sysdeps/x86_64/nptl/tls.h: ... here.
34401         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34402         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34403         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34404         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34406         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34408 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34412 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34414         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34415         type.
34416         [POSIX] (off_t): Likewise.
34417         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34418         [POSIX] (S_ISBLK): Require macro.
34419         [POSIX] (S_ISCHR): Likewise.
34420         [POSIX] (S_ISDIR): Likewise.
34421         [POSIX] (S_ISFIFO): Likewise.
34422         [POSIX] (S_ISREG): Likewise.
34423         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34424         optional-macro.
34425         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34426         type.
34427         [POSIX] (time_t): Likewise.
34428         [POSIX] (timer_t): Likewise.
34430 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34432         [BZ #17048]
34433         * posix/spawn_int.h (struct __spawn_action): Make the path string
34434         non-const to support deallocation.
34435         * posix/spawn_faction_addopen.c
34436         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34437         * posix/spawn_faction_destroy.c
34438         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34439         path in all spawn_do_open actions.
34440         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34441         posix_spawn_file_actions_addopen.
34443 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34445         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34446         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34447         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34448         conditional code always true.
34449         (__libc_vfork): New alias.
34451 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34453         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34454         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34456         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34458         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34459         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34461         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34462         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34464         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34465         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34467 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34469         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34470         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34471         multiarch strcmp for PPC64.
34472         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34473         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34475         multiarch optimizations.
34476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34477         (__libc_ifunc_impl_list): Likewise.
34479 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34481         * benchtests/scripts/validate_benchout.py: New script.
34482         * benchtests/Makefile (bench-func): Call it.
34483         * benchtests/scripts/benchout.schema.json: New file.
34485 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34487         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34488         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34489         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34490         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34491         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34492         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34493         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34494         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34495         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34496         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34497         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34498         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34499         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34500         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34501         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34502         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34504         Moved ...
34505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34506         ... here.
34507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34508         Moved ...
34509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34511         Moved ...
34512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34513         ... here.
34514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34515         Moved ...
34516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34517         ... here.
34518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34519         Moved ...
34520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34522         Moved ...
34523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34524         ... here.
34525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34526         Moved ...
34527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34528         ... here.
34529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34530         Moved ...
34531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34533         Moved ...
34534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34535         ... here.
34536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34537         Moved ...
34538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34539         ... here.
34540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34541         Moved ...
34542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34543         ... here.
34544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34545         Moved ...
34546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34548         Moved ...
34549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34550         ... here.
34551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34552         Moved ...
34553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34554         ... here.
34555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34556         Moved ...
34557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34558         ... here.
34559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34560         Moved ...
34561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34563         Moved ...
34564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34565         ... here.
34566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34567         Moved ...
34568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34569         ... here.
34570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34571         Moved ...
34572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34574         Moved ...
34575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34576         ... here.
34577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34578         Moved ...
34579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34581         Moved ...
34582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34584         Moved ...
34585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34586         ... here.
34587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34588         Moved ...
34589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34590         ... here.
34591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34592         Moved ...
34593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34594         ... here.
34595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34596         Moved ...
34597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34599         Moved ...
34600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34601         ... here.
34602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34603         Moved ...
34604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34605         ... here.
34606         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34607         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34608         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34609         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34610         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34611         Moved ...
34612         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34613         ... here.
34614         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34615         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34616         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34617         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34618         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34619         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34620         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34621         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34622         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34623         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34624         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34625         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34626         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34627         Moved ...
34628         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34629         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34630         Moved ...
34631         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34632         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34633         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34634         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34635         Moved ...
34636         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34637         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34638         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34639         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34640         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34641         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34642         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34644 2014-06-10  Wilco  <wdijkstr@arm.com>
34646         * math/test-fenv-return.c: New file.
34647         * math/Makefile: Add new test test-fenv-return.
34649 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34651         [BZ #17042]
34652         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34653         when x - 1 is zero.
34654         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34655         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34656         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34657         0.0L for an argument of 1.0L.
34658         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34659         Likewise.
34660         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34661         value when x - 1 is zero.
34662         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34663         * sysdeps/i386/fpu/libm-test-ulps: Update.
34664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34666 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34668         [BZ #15119]
34669         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34671 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34673         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34674         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34676 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34678         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34679         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34681         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34682         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34684         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34685         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34687         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34688         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34690         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34691         if not already defined.
34692         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34693         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34694         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34695         (TLS_INIT_TP): Use it.
34696         (TLS_DEFINE_INIT_TP): New macro.
34697         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34699 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34701         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34702         constant.
34703         [POSIX] (IXANY): Likewise.
34704         [POSIX] (OLCUC): Likewise.
34705         [POSIX || POSIX2008] (CBAUD): Do not allow.
34706         [POSIX || POSIX2008] (DEFECHO): Likewise.
34707         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34708         [POSIX || POSIX2008] (ECHOKE): Likewise.
34709         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34710         [POSIX || POSIX2008] (EXTA): Likewise.
34711         [POSIX || POSIX2008] (EXTB): Likewise.
34712         [POSIX || POSIX2008] (FLUSHO): Likewise.
34713         [POSIX || POSIX2008] (LOBLK): Likewise.
34714         [POSIX || POSIX2008] (PENDIN): Likewise.
34715         [POSIX || POSIX2008] (SWTCH): Likewise.
34716         [POSIX || POSIX2008] (VDISCARD): Likewise.
34717         [POSIX || POSIX2008] (VDSUSP): Likewise.
34718         [POSIX || POSIX2008] (VLNEXT): Likewise.
34719         [POSIX || POSIX2008] (VREPRINT): Likewise.
34720         [POSIX || POSIX2008] (VSTATUS): Likewise.
34721         [POSIX || POSIX2008] (VWERASE): Likewise.
34722         (B*): Change to B[0123456789]*.
34723         * conform/data/time.h-data [POSIX || UNIX98]
34724         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34725         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34726         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34727         [POSIX] (tm_*): Do not allow.
34729 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34731         * Makefile (install): Don't set LANGUAGE.
34732         * Makefile.in (install): Likewise.
34733         * assert/Makefile (test-assert-ENV): Remove variable.
34734         (test-assert-perr-ENV): Likewise.
34735         * elf/Makefile (neededtest4-ENV): Likewise.
34736         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34737         [$(cross-compiling) = no]: Don't set LANGUAGE.
34738         * io/ftwtest-sh (LANG): Remove variable.
34739         * libio/Makefile (tst-widetext-ENV): Likewise.
34740         * manual/install.texi (Running make install): Don't refer to
34741         environment settings for make install.
34742         * INSTALL: Regenerated.
34743         * nptl/tst-tls6.sh: Don't set LANG.
34744         * posix/globtest.sh (LANG): Remove variable.
34745         * string/Makefile (tester-ENV): Likewise.
34746         (inl-tester-ENV): Likewise.
34747         (noinl-tester-ENV): Likewise.
34748         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34749         [$(cross-compiling) = no]: Don't set LANGUAGE.
34750         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34751         without explicit environment settings.
34753 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34755         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34756         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34757         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34758         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34760 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34762         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34763         other files in the crypt directory.
34764         * crypt/crypt.c: Remove duplicate includes.
34765         * crypt/crypt-entry.c: Likewise.
34766         * crypt/crypt_util.c: Likewise.
34768 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34770         * Makeconfig (run-program-env): New variable.
34771         (run-program-prefix-before-env): Likewise.
34772         (run-program-prefix-after-env): Likewise.
34773         (run-program-prefix): Define in terms of new variables.
34774         (built-program-cmd-before-env): New variable.
34775         (built-program-cmd-after-env): Likewise.
34776         (built-program-cmd): Define in terms of new variables.
34777         (test-program-prefix-before-env): New variable.
34778         (test-program-prefix-after-env): Likewise.
34779         (test-program-prefix): Define in terms of new variables.
34780         (test-program-cmd-before-env): New variable.
34781         (test-program-cmd-after-env): Likewise.
34782         (test-program-cmd): Define in terms of new variables.
34783         * Rules (make-test-out): Use $(run-program-env).
34784         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34785         (help): Do not mention environment variables.  Mention
34786         --timeoutfactor option.
34787         (timeoutfactor): New variable.
34788         (blacklist_exports): Remove function.
34789         (exports): Remove variable.
34790         (command): Do not include ${exports}.
34791         * manual/install.texi (Configuring and compiling): Do not mention
34792         test wrappers preserving environment variables.  Mention that last
34793         assignment to a variable must take precedence.
34794         * INSTALL: Regenerated.
34795         * benchtests/Makefile (run-bench): Use $(run-program-env).
34796         * catgets/Makefile ($(objpfx)test1.cat): Use
34797         $(built-program-cmd-before-env), $(run-program-env) and
34798         $(built-program-cmd-after-env).
34799         ($(objpfx)test2.cat): Do not specify environment variables
34800         explicitly.
34801         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34802         $(run-program-env) and $(built-program-cmd-after-env).
34803         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34804         $(run-program-env) and $(test-program-cmd-after-env).
34805         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34806         explicitly.
34807         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34808         run_program_env and test_program_cmd_after_env arguments.
34809         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34810         * elf/tst-pathopt.sh: Use run_program_env argument.
34811         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34812         $(test-wrapper-env) and $(run-program-env).
34813         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34814         run_program_env arguments.
34815         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34816         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34817         $(test-program-prefix-before-env), $(run-program-env) and
34818         $(test-program-prefix-after-env).
34819         ($(objpfx)tst-gettext2.out): Likewise.
34820         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34821         run_program_env and test_program_prefix_after_env arguments.
34822         * intl/tst-gettext2.sh: Likewise.
34823         * intl/tst-gettext4.sh: Do not set environment variables
34824         explicitly.
34825         * intl/tst-gettext6.sh: Likewise.
34826         * intl/tst-translit.sh: Likewise.
34827         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34828         $(test-program-prefix-before-env), $(run-program-env) and
34829         $(test-program-prefix-after-env).
34830         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34831         run_program_env and test_program_prefix_after_env arguments.
34832         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34833         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34834         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34835         explicitly with each use of ${test_wrapper_env}.
34836         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34837         $(test-program-prefix-before-env), $(run-program-env) and
34838         $(test-program-prefix-after-env).
34839         * posix/tst-getconf.sh: Do not set environment variables
34840         explicitly.
34841         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34842         run_program_env and test_program_prefix_after_env arguments.
34843         * stdio-common/tst-printf.sh: Do not set environment variables
34844         explicitly.
34845         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34846         $(test-program-prefix-before-env), $(run-program-env) and
34847         $(test-program-prefix-after-env).
34848         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34849         run_program_env and test_program_prefix_after_env arguments.
34850         Split $test calls into $test_pre and $test.
34851         * timezone/Makefile (build-testdata): Use
34852         $(built-program-cmd-before-env), $(run-program-env) and
34853         $(built-program-cmd-after-env).
34855 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34857         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34858         strlen for non SHARED builds.
34860 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34862         * nptl/allocatestack.c (check_list): Inlined function...
34863         (__reclaim_stacks): ... here.
34865 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34867         [BZ #15698]
34868         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34869         memory overrun.
34871 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34873         * Rules (make-test-out): Include
34874         LOCPATH=$(common-objpfx)localedata in default environment.
34875         * debug/Makefile (tst-chk1-ENV): Remove variable.
34876         (tst-chk2-ENV): Likewise.
34877         (tst-chk3-ENV): Likewise.
34878         (tst-chk4-ENV): Likewise.
34879         (tst-chk5-ENV): Likewise.
34880         (tst-chk6-ENV): Likewise.
34881         (tst-lfschk1-ENV): Likewise.
34882         (tst-lfschk2-ENV): Likewise.
34883         (tst-lfschk3-ENV): Likewise.
34884         (tst-lfschk4-ENV): Likewise.
34885         (tst-lfschk5-ENV): Likewise.
34886         (tst-lfschk6-ENV): Likewise.
34887         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34888         (tst-iconv7-ENV): Likewise.
34889         * intl/Makefile (LOCPATH-ENV): Likewise.
34890         (tst-codeset-ENV): Likewise.
34891         (tst-gettext3-ENV): Likewise.
34892         (tst-gettext5-ENV): Likewise.
34893         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34894         (tst-fopenloc-ENV): Likewise.
34895         (tst-fgetws-ENV): Remove variable.
34896         (tst-ungetwc1-ENV): Likewise.
34897         (tst-ungetwc2-ENV): Likewise.
34898         (bug-ungetwc2-ENV): Likewise.
34899         (tst-swscanf-ENV): Likewise.
34900         (bug-ftell-ENV): Likewise.
34901         (tst-fgetwc-ENV): Likewise.
34902         (tst-fseek-ENV): Likewise.
34903         (tst-ftell-partial-wide-ENV): Likewise.
34904         (tst-ftell-active-handler-ENV): Likewise.
34905         (tst-ftell-append-ENV): Likewise.
34906         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34907         (tst-regexloc-ENV): Likewise.
34908         (bug-regex1-ENV): Likewise.
34909         (tst-regex-ENV): Likewise.
34910         (tst-regex2-ENV): Likewise.
34911         (bug-regex5-ENV): Likewise.
34912         (bug-regex6-ENV): Likewise.
34913         (bug-regex17-ENV): Likewise.
34914         (bug-regex18-ENV): Likewise.
34915         (bug-regex19-ENV): Likewise.
34916         (bug-regex20-ENV): Likewise.
34917         (bug-regex22-ENV): Likewise.
34918         (bug-regex23-ENV): Likewise.
34919         (bug-regex25-ENV): Likewise.
34920         (bug-regex26-ENV): Likewise.
34921         (bug-regex30-ENV): Likewise.
34922         (bug-regex32-ENV): Likewise.
34923         (bug-regex33-ENV): Likewise.
34924         (bug-regex34-ENV): Likewise.
34925         (bug-regex35-ENV): Likewise.
34926         (tst-rxspencer-ENV): Likewise.
34927         (tst-rxspencer-no-utf8-ENV): Likewise.
34928         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34929         (tst-sscanf-ENV): Likewise.
34930         (tst-swprintf-ENV): Likewise.
34931         (tst-swscanf-ENV): Likewise.
34932         (test-vfprintf-ENV): Likewise.
34933         (scanf13-ENV): Likewise.
34934         (bug14-ENV): Likewise.
34935         (tst-grouping-ENV): Likewise.
34936         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34937         (tst-strtod3-ENV): Likewise.
34938         (tst-strtod4-ENV): Likewise.
34939         (tst-strtod5-ENV): Likewise.
34940         (testmb2-ENV): Likewise./
34941         * string/Makefile (tst-strxfrm-ENV): Likewise.
34942         (tst-strxfrm2-ENV): Likewise.
34943         (bug-strcoll1-ENV): Likewise.
34944         (test-strcasecmp-ENV): Likewise.
34945         (test-strncasecmp-ENV): Likewise.
34946         * time/Makefile (tst-strptime-ENV): Likewise.
34947         (tst-ftime_l-ENV): Likewise.
34948         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34949         (tst-mbrtowc-ENV): Likewise.
34950         (tst-wcrtomb-ENV): Likewise.
34951         (tst-mbrtowc2-ENV): Likewise.
34952         (tst-c16c32-1-ENV): Likewise.
34953         (tst-mbsnrtowcs-ENV): Likewise.
34955 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34957         * manual/resource.texi (How to get information about the memory
34958         subsystem?): Fix typo.
34959         Reported by Peon de la Parra Ivan <peon@keba.com>
34961 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34963         [BZ #16882]
34964         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34965         (pthread_spin_lock): Branch out of spin loop to proper location.
34966         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34967         (pthread_spin_lock): Likewise.
34969         * nptl/tst-spin4.c: New test.
34970         * nptl/Makefile (tests): Add tst-spin4.
34972 2014-06-03  Andreas Schwab  <schwab@suse.de>
34974         [BZ #15946]
34975         * resolv/res_send.c (send_dg): Reload file descriptor after
34976         calling reopen.
34978 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34980         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34982 2014-06-03  Richard Henderson  <rth@redhat.com>
34984         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34985         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34986         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34987         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34988         in the SAVE_PID block.
34989         (__libc_vfork): New alias.
34990         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34992         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34993         child in registers, not on the stack.  Remove RESET_PID conditionals.
34994         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34996 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34998         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35000 2014-06-03  Wilco  <wdijkstr@arm.com>
35002         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35003         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35004         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35005         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35006         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35007         Likewise.
35009 2014-06-03  Wilco  <wdijkstr@arm.com>
35011         * sysdeps/aarch64/fpu/math_private.h
35012         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35013         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35014         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35015         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35016         Fix declarations.
35018 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35020         * crypt/crypt-private.h: Include ufc-crypt.h.
35021         (__b64_from_24bit): Declare extern.
35022         * crypt/crypt_util.c(__b64_from_24bit): New function.
35023         (b64t): New static const variable.
35024         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35025         (b64t): Remove variable.
35026         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35027         * crypt/sha256-crypt.c: Include crypt-private.h.
35028         (b64t): Remove variable.
35029         (__sha256_crypt_r): Remove b64_from_24bit and replace
35030         with __b64_from_24bit.
35031         * crypt/sha512-crypt.c: Likewise.
35033 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35035         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35036         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35037         Label the code __libc_vfork rather than __vfork.
35038         [!NOT_IN_libc] (vfork): Define as weak alias.
35039         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35040         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35041         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35043 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35045         * malloc/malloc.c (malloc_info): Fix format specifier for
35046         n_mmaps.
35048 2014-06-02  Wilco  <wdijkstr@arm.com>
35050         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35051         FPCR write.
35053 2014-06-02  Wilco  <wdijkstr@arm.com>
35055         [BZ #17009]
35056         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35057         Rewrite to reduce FPCR/FPSR accesses.
35059 2014-06-01  David S. Miller  <davem@davemloft.net>
35061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35063 2014-05-31  David S. Miller  <davem@davemloft.net>
35065         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35066         to occur in round to nearest mode when |x| >= 2.0
35068 2014-05-30  Richard Henderson  <rth@twiddle.net>
35070         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35071         (PSEUDO_RET_NOERRNO): Remove.
35072         (ret): Don't redefine.
35073         (ret_NOERRNO): Define in terms of ret.
35074         (ret_ERRVAL): Likewise.
35076         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35077         use of PSEUDO_RET; perform the error check directly.
35079 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35081         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35082         with __int128_t.
35084 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35086         * malloc/malloc (malloc_info): Fix formatting.
35088 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35089             Roland McGrath  <roland@hack.frob.com>
35091         * malloc/malloc (malloc_info): Also print mmapped statistics.
35093 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35095         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35096         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35098 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35100         * malloc/malloc.c (malloc_info): Inline mi_arena.
35102 2014-05-29  Richard Henderson  <rth@twiddle.net>
35104         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35105         Remove comma before expanding ASM_ARGS_##nr.
35106         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35107         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35108         of ASM_ARGS_##nr.
35109         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35110         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35111         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35112         (ASM_ARGS_1): Add leading comma.
35114         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35115         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35116         to __errno_location.
35117         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35118         Remove the expected plt for __errno_location.
35120         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35121         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35122         call to __read_tp.
35124         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35125         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35126         it and break it down.
35127         (DOCARGS_0, DOCARGS_1): Do nothing.
35128         (DOCARGS_2): Update to store into the new stack frame.
35129         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35130         (UNDOCARGS_1): Update to restore from the new stack frame.
35131         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35132         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35134         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35135         (SINGLE_THREAD_P): New parameter for result regno.
35136         (PSEUDO): Update to match; use cbz instead of beq.
35138         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35139         Use ENTRY to define the _nocancel entry point.  Share the syscall
35140         and syscall error check paths with the cancel path.
35141         (PSEUDO_END): New.
35143         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35144         whitespace; tabs before and after asm mnemonics.
35146 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35148         [BZ #15132]
35149         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35150         Call fstat64 or stat64 internally, depending on arguments passed.
35151         Replace stat buffer argument with file descriptor argument.
35152         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35153         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35154         Pass fd to __internal_statvfs instead of calling fstat64.
35155         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35156         Pass fd to __internal_statvfs64 instead of calling fstat64.
35157         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35158         Pass -1 to __internal_statvfs instead of calling stat64.
35159         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35160         Pass -1 to __internal_statvfs64 instead of calling stat64.
35162 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35164         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35165         that was previously under [RESET_PID].
35166         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35168         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35169         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35171 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35173         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35175         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35176         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35178 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35180         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35182 2014-05-27  Andreas Schwab  <schwab@suse.de>
35184         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35185         TLS_INIT_TP macro.
35186         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35187         * elf/rtld.c (init_tls, dl_main): Likewise.
35188         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35189         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35190         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35191         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35192         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35193         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35194         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35195         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35196         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35197         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35198         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35199         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35200         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35201         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35202         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35203         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35204         * sysdeps/generic/tls.h: Update description.
35206 2014-05-27  Will Newton  <will.newton@linaro.org>
35208         [BZ #16990]
35209         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35210         and restore r2 rather than just restoring.
35212 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35214         [BZ #16724]
35215         * libio/tst-ftell-append.c: New test case.
35216         * libio/Makefile (tests): Add test case.
35217         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35218         append mode.
35219         * libio/wfileops.c (do_ftell_wide): Likewise.
35221 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35225         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35226         ...
35227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35229         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35230         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35231         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35232         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35233         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35234         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35235         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35236         Moved ...
35237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35238         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35239         Moved ...
35240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35241         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35242         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35243         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35244         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35245         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35246         ...
35247         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35248         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35249         Moved ...
35250         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35251         here.
35252         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35253         ...
35254         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35255         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35256         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35258         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35259         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35260         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35261         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35264         merge into ...
35265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35267         ...
35268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35270         ...
35271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35273         Moved ...
35274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35275         here.
35276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35277         Moved ...
35278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35279         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35280         Moved ...
35281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35284         conditional [RESET_PID].
35285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35286         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35287         removed.
35288         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35289         removed.
35291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35292         <tcb-offsets.h>.
35293         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35294         (__libc_vfork): New strong alias.
35295         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35296         removed.
35297         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35298         Removed.
35300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35301         <tcb-offsets.h>.
35302         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35303         (__libc_vfork): New strong alias.
35304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35305         removed.
35306         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35307         removed.
35309 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35311         * malloc/malloc.c (mi_arena): New function.
35312         (malloc_info): Remove nested function mi_arena. Call non-nosted
35313         function mi_arena.
35315 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35317         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35318         by insrwi.
35319         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35320         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35321         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35322         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35323         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35324         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35325         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35327 2014-05-26  Andreas Schwab  <schwab@suse.de>
35329         [BZ #16984]
35330         * locale/programs/repertoire.c (repertoire_read): Add slash
35331         between I18NPATH element and file name.
35332         * locale/programs/locfile.c (locfile_read): Likewise.
35334 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35336         * nptl/pthread_mutexattr_settype.c
35337         (__pthread_mutexattr_settype):
35338         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35340 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35342         * nptl/tst-mutex5 (do_test):
35343         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35345 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35347         * benchtests/README: Document 'init' directive.
35348         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35349         BENCH_INIT.
35350         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35351         (parse_file): Recognize 'init' directive.
35353 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35355         [BZ #16796]
35356         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35357         alignment of struct pthread.
35359 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35361         [BZ #16878]
35362         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35363         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35364         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35365         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35367 2014-05-25  Richard Henderson  <rth@twiddle.net>
35369         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35370         (SINGLE_THREAD_P_PIC): Remove.
35371         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35372         (SINGLE_THREAD_P_PIC): Remove.
35374         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35375         branch to syscall error ...
35376         (PSEUDO): ... here.
35377         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35378         from __local_syscall_error to .Lsyscall_error.
35379         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35380         (SYSCALL_ERROR): Update label name.
35382         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35383         Do not use DOARGS/UNDOARGS.
35384         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35385         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35386         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35387         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35388         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35390         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35391         block comment.
35393         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35394         define if !NOT_IN_libc.
35395         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35396         define with non-default symbol versions.
35398 2014-05-23  Richard Henderson  <rth@twiddle.net>
35400         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35401         (vfork, __vfork): Define via compat_symbol.
35403         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35404         [!HAVE_IFUNC] (vfork_compat): Remove.
35405         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35407 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35409         [BZ #16978]
35410         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35411         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35412         variable.
35414 2014-05-23  Richard Henderson  <rth@twiddle.net>
35416         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35417         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35418         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35419         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35421         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35422         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35423         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35424         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35425         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35426         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35427         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35428         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35429         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35430         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35431         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35432         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35433         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35434         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35435         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35436         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35437         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35438         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35439         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35440         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35441         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35442         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35443         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35444         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35445         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35446         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35447         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35448         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35449         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35450         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35451         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35452         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35453         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35454         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35455         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35456         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35457         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35458         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35459         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35460         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35461         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35462         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35463         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35464         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35465         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35466         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35467         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35468         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35469         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35470         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35471         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35472         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35473         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35474         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35475         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35476         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35478         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35479         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35480         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35481         before exiting on error.
35482         (__libc_vfork): New strong alias.
35483         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35484         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35486         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35487         that was previously under [RESET_PID].
35488         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35490         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35492 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35494         [BZ #16977]
35495         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35496         value when x - 1 is zero.
35497         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35498         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35499         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35500         0.0L for an argument of 1.0L.
35501         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35502         Likewise.
35503         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35504         value when x - 1 is zero.
35505         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35506         * sysdeps/i386/fpu/libm-test-ulps: Update.
35507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35509 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35511         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35512         alphasort and versionsort.
35514 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35516         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35517         macro.
35518         [copysignf]: Likewise.
35520 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35522         * crypt/md5-crypt.c: Fix formatting.
35524 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35526         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35527         (b64_from_24bit): New function.
35529 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35531         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35532         libc_hidden_builtin_def to ifunc.
35533         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35534         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35536 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35538         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35539         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35541 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35543         * nscd/Depend (linuxthreads): Remove.
35544         (nptl): Add.
35545         * resolv/Depend (linuxthreads): Remove.
35546         * rt/Depend (linuxthreads): Remove.
35548         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35549         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35550         $(common-objpfx)elf/.
35551         (link-libc-before-gnulib): Likewise.
35552         (elfobjdir): Remove variable.
35553         * Makefile (install): Use $(elf-objpfx) instead of
35554         $(common-objpfx)elf/.
35555         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35556         $(elfobjdir)/.
35557         (link-libc-deps): Likewise.
35558         ($(common-objpfx)libc.so): Likewise.
35559         ($(common-objpfx)linkobj/libc.so): Likewise.
35560         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35561         instead of $(common-objpfx)elf/.
35562         (symbolic-link-list): Likewise.
35563         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35564         [$(cross-compiling) = no]: Likewise.
35565         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35566         $(elfobjdir)/.
35567         (static-gnulib-arch): Likewise.
35568         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35569         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35570         $(common-objpfx)elf/.
35572 2014-05-21  Richard Henderson  <rth@redhat.com>
35574         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35575         (SINGLE_THREAD_P): Use the correct width load.  Fold
35576         into the ldr offset.
35578         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35579         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35581 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35583         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35584         (libgcc_s_resume): Use __attribute_used__.
35585         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35586         Likewise.
35588 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35590         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35591         optimization when used with float constants.
35593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35595 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35597         [BZ #16915]
35598         * locale/nl_langinfo_l.c: Make direct reference to every
35599         _nl_current_CATEGORY symbol.
35600         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35601         (tests-static): Add tst-langinfo-static.
35602         (tests-special): Add tst-langinfo-static.out.
35603         ($(objpfx)tst-langinfo.out): Redirect output.
35604         ($(objpfx)tst-langinfo-static.out): New.
35605         * localedata/tst-langinfo.sh: Send output to stdout.
35606         * localedata/tst-langinfo-static.c: New file.
35608         [BZ #16965]
35609         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35610         when the shift amount is modulo the limb size.
35612 2014-05-20  Richard Henderson  <rth@redhat.com>
35614         [BZ #16967]
35615         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35616         Change type of sa_flags from unsigned int to int.
35618         [BZ #16966]
35619         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35621         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35623 2014-05-20  Will Newton  <will.newton@linaro.org>
35625         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35626         Test the return value of the system call in the nocancel case.
35628 2014-05-20  Will Newton  <will.newton@linaro.org>
35629             Yvan Roux  <yvan.roux@linaro.org>
35631         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35632         #include of asm/ptrace.h.
35633         (PTRACE_GET_THREAD_AREA): Remove #undef.
35634         (PTRACE_GETHBPREGS): Likewise.
35635         (PTRACE_SETHBPREGS): Likewise.
35636         (struct user_regs_struct): New structure.
35637         (struct user_fpsimd_struct): New structure.
35638         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35639         #include of asm/ptrace.h and second #include of sys/user.h.
35640         (PTRACE_GET_THREAD_AREA): Remove #undef.
35641         (PTRACE_GETHBPREGS): Likewise.
35642         (PTRACE_SETHBPREGS): Likewise.
35643         (ELF_NGREG): Use new struct user_regs_struct.
35644         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35646 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35648         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35649         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35651 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35653         [BZ #16958]
35654         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35655         membar to avoid block loads/stores to overlap previous stores.
35657 2014-05-17  Richard Henderson  <rth@redhat.com>
35659         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35660         Create the __##syscall_name##_nocancel entry point.
35661         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35662         Remove; let the sysdep-cancel.h code create it.
35664 2014-05-17  David S. Miller  <davem@davemloft.net>
35666         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35667         Protect with __USE_GNU.
35668         (TIOCSET_TEMPT): Likewise.
35669         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35670         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35671         these are already provided in bits/ioctl-types.h
35673 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35675         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35676         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35678         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35679         Use wait4 regardless of [__NR_waitpid].
35681 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35683         PR libgcc/60166
35684         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35685         (_FP_NANSIGN_Q): Set the quiet bit.
35687 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35689         * benchtests/Makefile
35690         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35691         not $(common-objpfx)math/libm.so.
35692         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35693         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35694         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35695         $(common-objpfx)dlfcn/libdl.so.
35696         ($(objpfx)tst-audit8): Depend on $(libm), not
35697         $(common-objpfx)math/libm.so.
35698         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35699         not $(common-objpfx)dlfcn/libdl.so.
35700         * math/Makefile
35701         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35702         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35703         [$(build-shared) = yes].
35704         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35705         $(common-objpfx)nptl/libpthread.so.
35706         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35707         $(common-objpfx)math/libm.so$(libm.so-version) or
35708         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35709         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35710         $(common-objpfx)dlfcn/libdl.so.
35711         * setjmp/Makefile (link-libm): Remove variable.
35712         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35713         * stdio-common/Makefile (link-libm): Remove variable.
35714         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35715         * stdlib/Makefile (link-libm): Remove variable.
35716         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35717         ($(objpfx)tst-strtod-round): Likewise.
35718         ($(objpfx)tst-tininess): Likewise.
35719         ($(objpfx)tst-strtod-underflow): Likewise.
35720         ($(objpfx)tst-strtod6): Likewise.
35721         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35722         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35723         $(common-objpfx)dlfcn/libdl.so.
35725 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35727         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35728         BSD terminal modes definitions.
35730 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35732         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35733         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35735         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35736         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35737         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35738         Don't do #include_next.
35739         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35740         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35741         Don't do #include_next.
35742         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35743         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35744         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35745         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35747 2014-05-16  Allan McRae  <allan@archlinux.org>
35749         * po/sv.po: Update Swedish translation from translation project.
35751         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35752         in sed expression.
35754 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35756         [BZ #16917]
35757         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35758         errno if the TIOCGPTN ioctl fails with an error different than
35759         EINVAL.
35760         * login/tst-ptsname.c: New file.
35761         * login/Makefile (tests): Add tst-ptsname.
35763         [BZ #16943]
35764         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35765         and prlimit64.
35767 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35769         [BZ #16849]
35770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35771         herrno to return EAI_AGAIN.
35773 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35775         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35776         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35777         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35778         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35779         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35780         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35781         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35782         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35783         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35784         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35785         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35786         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35787         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35788         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35789         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35790         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35791         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35792         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35793         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35794         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35795         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35796         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35797         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35798         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35799         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35800         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35801         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35802         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35803         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35804         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35806         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35808         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35810         Moved ...
35811         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35813         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35815         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35817         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35819         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35821         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35823         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35825         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35827         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35828         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35829         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35831         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35833         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35835         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35837         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35839         Moved ...
35840         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35842         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35844         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35846         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35848         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35850         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35852         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35854         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35856         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35858         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35860         Moved ...
35861         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35863         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35865         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35866         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35867         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35868         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35869         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35870         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35871         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35872         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35873         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35874         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35875         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35876         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35877         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35878         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35879         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35880         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35881         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35882         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35883         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35884         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35885         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35886         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35887         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35888         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35889         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35890         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35891         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35892         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35893         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35894         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35895         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35897         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35898         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35900         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35901         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35902         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35903         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35904         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35905         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35906         Moved ...
35907         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35908         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35909         Moved ...
35910         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35911         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35912         Moved ...
35913         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35914         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35915         Moved ...
35916         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35917         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35918         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35919         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35920         Moved ...
35921         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35922         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35923         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35924         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35925         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35926         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35927         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35928         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35929         Moved ...
35930         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35931         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35932         Moved ...
35933         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35934         ... here.
35935         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35936         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35937         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35938         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35939         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35940         Moved ...
35941         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35942         ... here.
35943         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35944         Moved ...
35945         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35946         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35947         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35948         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35949         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35950         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35951         Moved ...
35952         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35953         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35954         Moved ...
35955         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35956         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35957         Moved ...
35958         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35959         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35960         Moved ...
35961         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35962         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35963         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35964         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35965         Moved ...
35966         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35967         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35968         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35969         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35970         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35971         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35972         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35973         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35974         Moved ...
35975         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35976         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35977         Moved ...
35978         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35979         ... here.
35980         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35981         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35982         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35983         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35984         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35985         Moved ...
35986         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35987         ... here.
35988         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35989         Moved ...
35990         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35991         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35992         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35993         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35994         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35995         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35996         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35997         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35998         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35999         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36000         Moved ...
36001         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36002         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36003         Moved ...
36004         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36005         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36006         Moved ...
36007         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36008         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36009         Moved ...
36010         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36011         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36012         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36013         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36014         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36015         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36016         Moved ...
36017         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36018         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36019         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36020         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36021         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36022         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36023         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36024         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36025         Moved ...
36026         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36027         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36028         Moved ...
36029         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36030         ... here.
36031         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36032         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36033         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36034         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36035         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36036         Moved ...
36037         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36038         ... here.
36039         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36040         Moved ...
36041         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36042         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36043         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36044         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36045         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36046         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36047         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36048         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36049         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36050         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36051         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36053         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36054         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36056         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36057         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36059         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36060         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36061         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36062         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36063         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36064         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36065         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36066         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36067         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36068         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36069         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36070         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36071         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36072         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36073         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36074         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36075         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36076         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36077         Moved ...
36078         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36080         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36082         Moved ...
36083         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36084         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36085         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36086         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36087         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36088         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36089         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36090         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36091         Moved ...
36092         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36093         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36094         Moved ...
36095         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36096         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36097         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36098         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36099         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36100         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36101         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36102         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36103         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36104         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36105         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36106         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36107         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36108         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36109         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36110         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36111         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36113         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36114         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36115         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36116         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36117         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36119         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36120         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36121         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36122         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36123         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36124         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36125         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36126         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36127         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36128         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36130         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36131         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36133         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36134         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36135         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36136         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36137         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36138         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36139         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36140         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36141         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36142         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36143         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36144         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36145         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36146         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36147         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36148         Update #include.
36149         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36150         Likewise.
36151         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36152         Likewise.
36153         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36154         Likewise.
36155         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36156         Likewise.
36157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36158         Likewise.
36159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36160         Likewise.
36161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36162         Likewise.
36163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36164         Likewise.
36165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36166         Likewise.
36167         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36168         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36169         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36170         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36171         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36172         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36173         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36174         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36175         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36176         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36177         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36178         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36179         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36180         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36181         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36183         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36184         that was previously under [RESET_PID].
36185         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36186         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36187         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36189         * sysdeps/i386/nptl/Implies: New file.
36190         * sysdeps/x86_64/nptl/Implies: New file.
36191         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36192         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36193         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36194         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36196         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36197         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36198         (__libc_vfork): New strong alias.
36199         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36200         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36202         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36203         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36204         (__libc_vfork): New strong alias.
36205         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36206         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36208         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36209         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36210         (__libc_vfork): New strong alias.
36211         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36212         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36213         * nptl/pt-vfork.c: New file.
36214         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36215         (libpthread: GLIBC_2.20): New version set (empty).
36217 2014-05-14  Will Newton  <will.newton@linaro.org>
36219         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36220         rather than #if.
36222 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36224         [BZ #16564]
36225         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36226         arguments with exponent 65 or above.
36227         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36228         arguments 0x1p113L or above.
36229         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36230         to arguments 0x1p107L or above.
36231         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36232         positive arguments with exponent 65 or above.
36233         * math/auto-libm-test-in: Add more tests of log1p.
36234         * math/auto-libm-test-out: Regenerated.
36236         [BZ #16928]
36237         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36238         non-finite arguments is +0.
36239         * math/s_cacosf.c (__cacosf): Likewise.
36240         * math/s_cacosl.c (__cacosl): Likewise.
36241         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36242         * sysdeps/i386/fpu/libm-test-ulps: Update.
36243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36245         [BZ #16927]
36246         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36247         value.
36248         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36249         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36250         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36251         for explicit high bit of mantissa when testing for argument equal
36252         to 1.
36253         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36254         * sysdeps/i386/fpu/libm-test-ulps: Update.
36255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36257         [BZ #16516]
36258         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36259         (__erf): Scale by 16 instead of 8 in potentially underflowing
36260         case.  Ensure exception if result actually underflows.
36261         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36262         (__erff): Scale by 16 instead of 8 in potentially underflowing
36263         case.  Ensure exception if result actually underflows.
36264         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36265         (efx8): Remove variable.
36266         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36267         case.  Ensure exception if result actually underflows.
36268         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36269         (efx8): Remove variable.
36270         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36271         case.  Ensure exception if result actually underflows.
36272         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36273         (efx8): Remove variable.
36274         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36275         case.  Ensure exception if result actually underflows.
36276         * math/auto-libm-test-in: Add more tests of erf.
36277         * math/auto-libm-test-out: Regenerated.
36279 2014-05-14  Andreas Schwab  <schwab@suse.de>
36281         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36282         Remove code conditionalized on USE___THREAD.
36284         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36285         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36286         not definedness.
36288 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36290         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36291         Define unconditionally.
36292         (__ASSUME_O_CLOEXEC): Likewise.
36293         (__ASSUME_SOCK_CLOEXEC): Likewise.
36294         (__ASSUME_IN_NONBLOCK): Likewise.
36295         (__ASSUME_PIPE2): Likewise.
36296         (__ASSUME_EVENTFD2): Likewise.
36297         (__ASSUME_SIGNALFD4): Likewise.
36298         (__ASSUME_DUP3): Likewise.
36299         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36300         (__ASSUME_DUP3): Do not define.
36301         (__ASSUME_EVENTFD2): Likewise.
36302         (__ASSUME_IN_NONBLOCK): Likewise.
36303         (__ASSUME_O_CLOEXEC): Likewise.
36304         (__ASSUME_PIPE2): Likewise.
36305         (__ASSUME_SIGNALFD4): Likewise.
36306         (__ASSUME_SOCK_CLOEXEC): Likewise.
36307         (__ASSUME_UTIMES): Undefine.
36308         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36309         (__ASSUME_UTIMES): Do not define.
36310         (__ASSUME_O_CLOEXEC): Likewise.
36311         (__ASSUME_SOCK_CLOEXEC): Likewise.
36312         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36313         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36314         0x020621].
36315         (__ASSUME_PIPE2): Likewise.
36316         (__ASSUME_EVENTFD2): Likewise.
36317         (__ASSUME_SIGNALFD4): Likewise.
36318         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36319         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36320         Do not define.
36321         (__ASSUME_EVENTFD2): Likewise.
36322         (__ASSUME_SIGNALFD4): Likewise.
36323         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36324         (__ASSUME_32BITUIDS): Likewise.
36325         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36326         (__ASSUME_IPC64): Likewise.
36327         (__ASSUME_ST_INO_64_BIT): Likewise.
36328         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36329         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36330         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36331         (__ASSUME_UTIMES): Do not define.
36332         (__ASSUME_PSELECT): Likewise.
36333         (__ASSUME_PPOLL): Likewise.
36334         (__ASSUME_O_CLOEXEC): Likewise.
36335         (__ASSUME_SOCK_CLOEXEC): Likewise.
36336         (__ASSUME_IN_NONBLOCK): Likewise.
36337         (__ASSUME_PIPE2): Likewise.
36338         (__ASSUME_EVENTFD2): Likewise.
36339         (__ASSUME_SIGNALFD4): Likewise.
36340         (__ASSUME_DUP3): Likewise.
36341         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36342         (__ASSUME_UTIMES): Likewise.
36343         (__ASSUME_O_CLOEXEC): Likewise.
36344         (__ASSUME_SOCK_CLOEXEC): Likewise.
36345         (__ASSUME_IN_NONBLOCK): Likewise.
36346         (__ASSUME_PIPE2): Likewise.
36347         (__ASSUME_EVENTFD2): Likewise.
36348         (__ASSUME_SIGNALFD4): Likewise.
36349         (__ASSUME_DUP3): Likewise.
36350         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36351         (__ASSUME_UTIMES): Likewise.
36352         (__ASSUME_O_CLOEXEC): Likewise.
36353         (__ASSUME_SOCK_CLOEXEC): Likewise.
36354         (__ASSUME_IN_NONBLOCK): Likewise.
36355         (__ASSUME_PIPE2): Likewise.
36356         (__ASSUME_EVENTFD2): Likewise.
36357         (__ASSUME_SIGNALFD4): Likewise.
36358         (__ASSUME_DUP3): Likewise.
36359         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36360         Likewise.
36361         (__ASSUME_UTIMES): Likewise.
36362         (__ASSUME_EVENTFD2): Likewise.
36363         (__ASSUME_SIGNALFD4): Likewise.
36364         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36365         (__ASSUME_O_CLOEXEC): Likewise.
36366         (__ASSUME_SOCK_CLOEXEC): Likewise.
36367         (__ASSUME_IN_NONBLOCK): Likewise.
36368         (__ASSUME_PIPE2): Likewise.
36369         (__ASSUME_EVENTFD2): Likewise.
36370         (__ASSUME_SIGNALFD4): Likewise.
36371         (__ASSUME_DUP3): Likewise.
36372         (__ASSUME_UTIMES): Undefine.
36374         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36375         feclearexcept.  Remove symbol versioning code.
36376         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36377         symbol versioning code.
36378         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36379         symbol versioning code.
36380         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36381         feupdateenv.  Remove symbol versioning code.
36382         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36383         fegetexceptflag.  Remove symbol versioning code.
36384         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36385         fesetexceptflag.  Remove symbol versioning code.
36386         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36387         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36388         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36389         (__posix_fadvise64_l32): Remove prototype.
36390         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36391         code.
36393 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36395         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36396         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36397         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36398         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36400 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36402         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36403         current working directory
36405 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36407         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36408         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36409         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36410         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36411         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36412         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36413         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36414         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36415         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36416         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36417         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36418         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36419         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36420         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36421         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36422         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36423         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36424         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36425         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36426         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36427         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36428         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36429         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36430         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36431         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36432         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36433         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36434         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36435         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36436         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36437         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36438         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36439         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36440         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36441         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36442         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36443         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36444         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36445         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36446         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36447         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36448         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36450         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36451         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36453         * sysdeps/unix/sysv/linux/arm/Makefile
36454         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36455         Add rt-aeabi_unwind_cpp_pr1.
36456         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36457         Add nptl-aeabi_unwind_cpp_pr1.
36458         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36459         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36460         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36461         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36462         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36463         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36465         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36466         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36467         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36468         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36470         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36471         Deconditionalize the code that was previously under [RESET_PID].
36472         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36474         * sysdeps/generic/exit-thread.h: New file.
36475         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36476         * include/unistd.h (__exit_thread): Remove declaration.
36477         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36478         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36479         * csu/libc-start.c: Include <exit-thread.h>.
36480         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36481         * nptl/pthread_create.c: Include <exit-thread.h>.
36482         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36483         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36484         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36485         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36486         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36487         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36488         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36489         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36490         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36491         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36492         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36493         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36494         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36495         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36496         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36497         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36498         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36500 2014-05-13  Andreas Schwab  <schwab@suse.de>
36502         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36504 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36506         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36507         (__ASSUME_UTIMES): Do not condition on kernel version.
36508         (__ASSUME_PSELECT): Define unconditionally.
36509         (__ASSUME_PPOLL): Likewise.
36510         (__ASSUME_ATFCTS): Likewise.
36511         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36512         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36513         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36514         (__ASSUME_UTIMENSAT): Define unconditionally.
36515         (__ASSUME_PRIVATE_FUTEX): Likewise.
36516         (__ASSUME_FALLOCATE): Likewise.
36517         (__ASSUME_O_CLOEXEC): Likewise.
36518         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36519         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36520         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36521         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36522         (__ASSUME_IN_NONBLOCK): Likewise.
36523         (__ASSUME_PIPE2): Likewise.
36524         (__ASSUME_EVENTFD2): Likewise.
36525         (__ASSUME_SIGNALFD4): Likewise.
36526         (__ASSUME_DUP3): Likewise.
36527         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36528         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36529         (__ASSUME_AT_RANDOM): Likewise.
36530         (__ASSUME_PREADV): Likewise.
36531         (__ASSUME_PWRITEV): Likewise.
36532         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36533         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36534         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36535         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36536         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36537         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36538         (__ASSUME_O_CLOEXEC): Define unconditionally.
36539         (__ASSUME_PSELECT): Do not undefine conditionally.
36540         (__ASSUME_PPOLL): Likewise.
36541         (__ASSUME_ATFCTS): Likewise.
36542         (__ASSUME_SET_ROBUST_LIST): Likewise.
36543         (__ASSUME_UTIMENSAT): Likewise.
36544         (__ASSUME_FDATASYNC): Define unconditionally.
36545         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36546         (__ASSUME_SIGFRAME_V2): Likewise.
36547         )__ASSUME_EVENTFD2): Likewise.
36548         (__ASSUME_SIGNALFD4): Likewise.
36549         (__ASSUME_PSELECT): Do not undefine conditionally.
36550         (__ASSUME_PPOLL): Likewise.
36551         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36552         (__ASSUME_PSELECT): Define unconditionally.
36553         (__ASSUME_PPOLL): Likewise.
36554         (__ASSUME_O_CLOEXEC): Likewise.
36555         (__ASSUME_SOCK_CLOEXEC): Likewise.
36556         (__ASSUME_IN_NONBLOCK): Likewise.
36557         (__ASSUME_PIPE2): Likewise.
36558         (__ASSUME_EVENTFD2): Likewise.
36559         (__ASSUME_SIGNALFD4): Likewise.
36560         (__ASSUME_DUP3): Likewise.
36561         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36562         (__ASSUME_O_CLOEXEC): Likewise.
36563         (__ASSUME_SOCK_CLOEXEC): Likewise.
36564         (__ASSUME_IN_NONBLOCK): Likewise.
36565         (__ASSUME_PIPE2): Likewise.
36566         (__ASSUME_EVENTFD2): Likewise.
36567         (__ASSUME_SIGNALFD4): Likewise.
36568         (__ASSUME_DUP3): Likewise.
36569         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36570         (__ASSUME_EVENTFD2): Likewise.
36571         (__ASSUME_SIGNALFD4): Likewise.
36572         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36574 2014-05-12  Andreas Schwab  <schwab@suse.de>
36576         [BZ #16932]
36577         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36578         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36579         than maximum RPC packet size.
36580         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36581         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36582         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36583         (_nss_nis_getservbyport_r): Likewise.
36585 2014-05-12  Will Newton  <will.newton@linaro.org>
36587         * malloc/Makefile (tests): Add tst-mallopt.
36588         * malloc/tst-mallopt.c: New file.
36590 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36592         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36593         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36595 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36597         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36598         (tst-tlsmod6.so): Likewise.
36600 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36602         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36604 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36606         [BZ #16064]
36607         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36608         and <dl-procinfo.h>.
36609         (__fegetenv): Save SSE state in envp->__eip if supported.
36610         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36611         envp->__eip if supported.
36612         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36613         and <dl-procinfo.h>.
36614         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36615         __data_offset and __data_selector in environment to 0.  Set SSE
36616         state if supported.
36617         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36618         test-fenv-sse.
36619         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36620         -mfpmath=sse.
36621         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36623 2014-05-09  Will Newton  <will.newton@linaro.org>
36625         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36626         and libc_relro_required for ARM.
36627         * sysdeps/arm/preconfigure: Regenerate.
36629 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36630             Stefan Liebler  <stli@linux.vnet.ibm.com>
36632         * config.make.in (enable-lock-elision): New Makefile variable.
36633         * configure.ac: Likewise.
36634         * configure: Regenerate.
36635         * sysdeps/s390/configure.ac:
36636         Add check for gcc transactions support.
36637         * sysdeps/s390/configure: Regenerate.
36638         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36639         Build elision files if enabled.
36640         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36641         Add lock elision support for s390.
36642         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36643         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36644         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36645         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36646         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36647         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36648         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36649         Likewise.
36650         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36651         Likewise.
36652         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36653         Likewise.
36654         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36655         Likewise.
36656         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36657         (__lll_timedlock_elision, __lll_lock_elision)
36658         (__lll_unlock_elision, __lll_trylock_elision)
36659         (lll_timedlock_elision, lll_lock_elision)
36660         (lll_unlock_elision, lll_trylock_elision): Add.
36661         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36662         (pthread_mutex_t): Add lock elision support for s390.
36664 2014-05-14  Wilco  <wdijkstr@arm.com>
36666         * sysdeps/arm/fclrexcpt.c: Cleanup.
36667         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36668         * sysdeps/arm/feenablxcpt.c: Cleanup.
36669         * sysdeps/arm/fegetenv.c: Cleanup.
36670         * sysdeps/arm/fegetexcept.c: Cleanup.
36671         * sysdeps/arm/fegetround.c: Cleanup.
36672         * sysdeps/arm/feholdexcpt.c: Cleanup.
36673         * sysdeps/arm/fesetenv.c: Cleanup.
36674         * sysdeps/arm/fesetround.c: Cleanup.
36675         * sysdeps/arm/feupdateenv.c: Cleanup.
36676         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36677         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36678         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36679         * sysdeps/arm/ftestexcept.c: Cleanup.
36680         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36681         * sysdeps/arm/setfpucw.c: Cleanup.
36683 2014-05-09  Will Newton  <will.newton@linaro.org>
36685         * sysdeps/arm/armv7/strcmp.S: New file.
36686         * NEWS: Mention addition of ARMv7 optimized strcmp.
36688 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36690         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36691         look for %.ac rather than %.in.
36693         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36694         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36695         * sysdeps/mach/hurd/configure: Regenerated.
36696         * sysdeps/unix/sysv/linux/configure: Regenerated.
36698         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36700 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36702         [BZ# 16922]
36703         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36704         (LONG_SUB): Ditto.
36705         (PTR_SUB): Ditto.
36707 2014-05-07  Andreas Schwab  <schwab@suse.de>
36709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36710         when skipping over non-matching result from nscd.
36712 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36714         [BZ #16876]
36715         * nptl/sockperf.c (client): Check socket return value.
36717         [BZ #16877]
36718         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36719         nscd security class.
36721 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36723         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36724         * sysdeps/arm/unwind.h: ... here.
36726 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36728         [BZ# 16916]
36729         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36730         Define.
36732 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36734         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36735         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36736         multiarch strncpy for PPC64.
36737         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36738         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36740         multiarch optimizations.
36741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36742         (__libc_ifunc_impl_list): Likewise.
36743         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36744         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36745         multiarch stpncpy for PPC64.
36746         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36747         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36749 2014-05-06  Andreas Schwab  <schwab@suse.de>
36751         [BZ #16912]
36752         * gmon/mcount.c (_MCOUNT_DECL): Use
36753         atomic_compare_and_exchange_bool_acq instead of
36754         catomic_compare_and_exchange_bool_acq.
36756 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36758         * elf/Makefile (others, install-bin): Remove pldd.
36759         (pldd-modules): Variable removed.
36760         ($(objpfx)pldd): Target removed.
36761         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36762         (others, install-bin): Append pldd here.
36763         ($(objpfx)pldd): New target.
36765         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36766         to 0, so the first #if test emitted later doesn't see it undefined.
36767         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36768         * sysdeps/gnu/errlist.c: Regenerated.
36770 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36772         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36773         [libc_hidden_builtin_def]: Define to empty value.
36774         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36775         [libc_hidden_builtin_def]: Likewise.
36776         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36777         [libc_hidden_builtin_def]: Likewise.
36778         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36779         [libc_hidden_builtin_def]: Likewise.
36780         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36781         __redirect_memcpy and define ifunc as default hidden symbol.
36782         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36783         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36785 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36787         * locale/iso-4217.def: Reintroduce XDR currency.
36789 2014-05-04  Allan McRae  <allan@archlinux.org>
36791         * po/eo.po: Update Esperanto translation from translation project.
36793 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36795         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36796         and FEATURE_INDEX_MAX to 1.
36797         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36799 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36801         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36802         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36803         * iconvdata/big5.c (ONE_DIRECTION): Define.
36804         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36805         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36806         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36807         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36808         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36809         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36810         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36811         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36812         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36813         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36814         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36815         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36816         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36817         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36818         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36819         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36820         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36821         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36822         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36823         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36824         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36825         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36826         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36827         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36828         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36829         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36830         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36831         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36832         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36833         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36834         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36835         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36836         * iconvdata/johab.c (ONE_DIRECTION): Define.
36837         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36838         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36839         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36840         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36841         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36842         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36843         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36844         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36845         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36846         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36848 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36850         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36851         (_IO_JUMPS_OFFSET): Define to 0.
36853         * nptl/sysdeps/pthread/bits/libc-lock.h
36854         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36855         (__libc_lock_define_initialized_recursive): Always define using
36856         initializer.  Modern compilers treat uninitialized (implicit zero) and
36857         explicit zero initializers the same (i.e. put the datum in bss).
36859 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36861         * nscd/nscd-client.h: Include <string.h>.
36863 2014-05-01  David S. Miller  <davem@davemloft.net>
36865         [BZ #16885]
36866         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36867         multiple zero bytes exist at the end of a string.
36868         Reported by Aurelien Jarno <aurelien@aurel32.net>
36870         * string/test-strcmp.c (check): Add explicit test for situations where
36871         there are multiple zero bytes after the first.
36873 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36875         [BZ #16890]
36876         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36877         when compiling wprintf.
36878         * stdio-common/tstdiomisc.c (t3): New function.
36879         (main): Call it.
36881 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36883         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36884         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36885         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36886         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36888 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36890         * stdlib/longlong.h: Updated from GCC.
36892 2014-05-01  Will Newton  <will.newton@linaro.org>
36893             Bernard Ogden  <bernie.ogden@linaro.org>
36895         * NEWS: Update fixed bug list.
36897         [BZ #15119]
36898         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36900 2014-04-30  David S. Miller  <davem@davemloft.net>
36902         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36903         (libc_feholdexcept_setround_sparc_ctx): New function.
36904         (libc_fesetenv_sparc_ctx): Likewise.
36905         (libc_feupdateenv_sparc_ctx): Likewise.
36906         (libc_feholdsetround_sparc_ctx): Likewise.
36907         (libc_feholdexcept_setround_ctx): Define.
36908         (libc_feholdexcept_setroundf_ctx): Likewise.
36909         (libc_feholdexcept_setroundl_ctx): Likewise.
36910         (libc_fesetenv_ctx): Likewise.
36911         (libc_fesetenvf_ctx): Likewise.
36912         (libc_fesetenvl_ctx): Likewise.
36913         (libc_feupdateenv_ctx): Likewise.
36914         (libc_feupdateenvf_ctx): Likewise.
36915         (libc_feupdateenvl_ctx): Likewise.
36916         (libc_feresetround_ctx): Likewise.
36917         (libc_feresetroundf_ctx): Likewise.
36918         (libc_feresetroundl_ctx): Likewise.
36919         (libc_feholdsetround_ctx): Likewise.
36920         (libc_feholdsetroundf_ctx): Likewise.
36921         (libc_feholdsetroundl_ctx): Likewise.
36923         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36924         with __USE_GNU instead of XOPEN cpp guards.
36926         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36927         0.
36929         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36930         with XOPEN cpp guards.
36932 2014-04-30  Julian Brown  <julian@codesourcery.com>
36934         [BZ #16888]
36935         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36936         handling.
36938 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36940         [BZ #9894]
36941         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36942         Change to 2.6.32.
36943         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36944         * sysdeps/unix/sysv/linux/configure: Regenerated.
36945         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36946         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36947         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36948         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36949         * README: Update reference to required Linux kernel version.
36950         * manual/install.texi (Linux): Update reference to required Linux
36951         kernel headers version.
36952         * INSTALL: Regenerated.
36954         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36955         header inclusion.
36956         [POSIX] (limits.h): Likewise.
36957         [POSIX] (math.h): Likewise.
36958         [POSIX] (sys/wait.h): Likewise.
36959         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36960         function.
36961         [POSIX] (stddef.h): Do not allow header inclusion.
36963 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36965         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36967 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36969         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36970         Return immediately after lll_futex_wake.
36972 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36974         [BZ #16791]
36975         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36976         structure.
36977         (datahead_init_pos): Call datahead_init_common early.
36978         (datahead_init_neg): Likewise.
36980         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36981         datahead_init_neg): New functions.
36982         * nscd/aicache.c (addhstaiX): Use them.
36983         * nscd/grpcache.c (cache_addgr): Likewise.
36984         * nscd/hstcache.c (cache_addhst): Likewise.
36985         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36986         * nscd/netgroupcache.c (do_notfound): Likewise.
36987         (addgetnetgrentX): Likewise.
36988         (addinnetgrX): Likewise.
36989         * nscd/pwdcache.c (cache_addpw): Likewise.
36990         * nscd/servicescache.c (cache_addserv): Likewise.
36992 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36993             Atsushi Onoe  <atsushi@onoe.org>
36995         [BZ #14308]
36996         [BZ #12994]
36997         [BZ #13651]
36998         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36999         one response is valid.
37000         * resolv/res_send.c (send_dg): Check for validity of other
37001         response if the current response is a referral.
37003 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37005         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37007 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37009         [BZ #16823]
37010         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37011         Always divide by positive zero when computing -Inf result.
37012         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37013         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37015 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37017         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37018         FPSCR if value do not change.
37019         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37020         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37021         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37022         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37023         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37024         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37025         function.
37027 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37029         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37030         * sysdeps/unix/sysv/linux/hppa: Move directory from
37031         ports/systeps/unix/sysv/linux/hppa.
37032         * README: Update listing for hppa-*-linux-gnu.
37034 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37036         [BZ #16754]
37037         * manual/stdio.texi (Hook functions): Fix types of stream hook
37038         functions.
37039         [BZ #16854]
37040         * socket/sys/socket.h: Fix typo in comment.
37042 2014-04-28  Wilco  <wdijkstr@arm.com>
37044         * sysdeps/arm/fenv_private.h: New file.
37045         * sysdeps/arm/math_private.h: New file.
37046         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37048 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37050         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37051         with __int128_t.
37052         (La_x86_64_retval): Likewise.
37054 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37056         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37057         fpsr if value didn't change.
37058         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37059         to fpcr if value didn't change.
37060         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37061         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37062         fpsr or fpcr if value didn't change.
37063         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37064         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37065         fpcr if value didn't change.
37066         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37067         to fpsr if value didn't change.
37069 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37071         * nptl/tst-sem3.c: Use test-skeleton.c
37072         (main): Rename to do_test.  Use return instead of
37073         exit.
37074         * nptl/tst-sem4.c: Use test-skeleton.c
37075         (main): Rename to do_test.
37077 2014-04-22  David S. Miller  <davem@davemloft.net>
37079         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37080         (struct sigaction): New struct member __glibc_reserved0, change
37081         type of sa_flags to int.
37083 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37085         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37086         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37088 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37090         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37091         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37093 2014-04-22  Will Newton  <will.newton@linaro.org>
37094             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37096         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37097         (__longjmp): Add longjmp and longjmp_target SystemTap
37098         probes.
37099         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37100         (__sigsetjmp): Add setjmp SystemTap probe.
37102 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37104         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37105         match manual order.
37107 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37109         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37111         * sysdeps/powerpc/fpu/fenv_private.h
37112         (libc_feholdexcept_setroundl_ctx): Define to
37113         libc_feholdexcept_setround_ppc_ctx.
37114         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37115         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37116         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37117         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37119 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37121         * sysdeps/aarch64/math-tests.h: New file.
37123 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37125         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37126         New.
37127         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37128         Check and set bit_AVX2_Usable.
37129         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37130         macro.
37131         (bit_AVX2): Likewise.
37132         (index_AVX2_Usable): Likewise.
37133         (CPUID_AVX2): Likewise.
37134         (HAS_AVX2): Likewise.
37136 2014-04-17  Will Newton  <will.newton@linaro.org>
37138         * manual/setjmp.texi (System V contexts): Add note that
37139         calling setcontext on a context created by a call to a
37140         signal handler is undefined.  Update text to note that
37141         setcontext from a signal handler is possible but not
37142         recommended.
37144         [BZ #16629]
37145         * stdlib/tst-setcontext.c: Include signal.h.
37146         (main): Check that the signal stack before and
37147         after swapcontext is the same.
37149         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37150         Re-implement to restore registers in user code and avoid
37151         rt_sigreturn system call.
37153 2014-04-17  Wilco  <wdijkstr@arm.com>
37155         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37156         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37157         * math/test-fenv.c: Skip exception trap tests on targets which only
37158         support non-stop mode.
37160 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37161             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37163         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37164         (libc_feholdsetround_aarch64_ctx)
37165         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37166         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37167         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37168         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37169         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37170         (libc_feresetround_noexl_ctx): Define.
37172 2014-04-16  Richard Henderson  <rth@redhat.com>
37174         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37176         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37177         unwind tables.
37179         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37180         const from the non-libc, non-ldso copy.
37182         * sysdeps/alpha/libm-test-ulps: Regenerate.
37184 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37185             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37187         * sysdeps/aarch64/fpu/math_private.h: New file.
37189 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37191         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37193 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37195         [BZ #16275]
37196         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37197         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37198         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37199         Intel MPX bound registers before _dl_profile_fixup.
37200         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37201         registers after _dl_profile_fixup.  Save and restore bound
37202         registers bnd0/bnd1 when calling _dl_call_pltexit.
37203         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37204         (LR_BND_OFFSET): Likewise.
37205         (LRV_BND0_OFFSET): Likewise.
37206         (LRV_BND1_OFFSET): Likewise.
37208 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37210         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37211         to...
37212         * sysdeps/mach/hurd/i386/tls.h: ... here.
37213         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37214         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37215         fields.
37217 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37219         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37221 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37223         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37225 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37227         [BZ #14770]
37228         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37229         * sysdeps/s390/configure: Regenerate.
37231         [BZ #16824]
37232         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37233         Set round-to-nearest internally to reduce error accumulation.
37235 2014-04-16  Alan Modra  <amodra@gmail.com>
37237         [BZ #16740]
37238         [BZ #16619]
37239         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37240         * math/libm-test.inc (frexp_test_data): Add tests.
37241         * NEWS: Update fixed bug list.
37243 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37245         * benchtests/Makefile: Depend on libraries in build directory.
37246         (bench-math): Separate out math tests.
37247         (bench-pthread): Separate out pthread tests.
37248         (bench): Include math and pthread tests.
37250 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37252         [BZ #16831]
37253         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37254         _dl_debug_initialize.
37256         * configure.ac: Remove SELinux header check.
37257         * configure: Regenerate.
37258         * nscd/selinux.c (perms): Array of const char* to permission names.
37259         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37260         default policy. Call string_to_security_class and string_to_av_perm to
37261         translate strings. Enforce default policy and call avs_has_perm with
37262         results of translated strings.
37264 2014-04-13  David S. Miller  <davem@davemloft.net>
37266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37268 2014-04-12  Allan McRae  <allan@archlinux.org>
37270         [BZ #16838]
37271         * manual/string.texi (Collation Functions): Fix qsort argument
37272         order in example.
37273         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37275 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37277         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37278         Make the test a no-op if there are no exceptions defined.
37280 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37282         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37283         enable-hardcoded-path-in-tests
37285 2014-04-11  Will Newton  <will.newton@linaro.org>
37287         * benchtests/Makefile (extra-objs): Add json-lib.o.
37288         (bench-func): Tidy up JSON output.
37289         * benchtests/bench-skeleton.c: Include json-lib.h.
37290         (main): Use JSON library functions to do output of
37291         benchmark results.
37292         * benchtests/bench-timing-type.c (main): Output the
37293         timing type simply, leaving formatting to the user.
37294         * benchtests/json-lib.c: New file.
37295         * benchtests/json-lib.h: Likewise.
37297 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37299         [BZ #15215]
37300         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37301         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37302         memory barriers.  Add comments.
37303         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37304         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37305         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37306         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37307         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37308         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37310 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37312         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37313         * sysdeps/s390/s390-64/configure.ac: ... this ...
37314         * sysdeps/s390/configure.ac: ... to here.
37315         * sysdeps/s390/s390-32/configure: Delete file.
37316         * sysdeps/s390/s390-64/configure: Delete file.
37317         * sysdeps/s390/configure: Regenerate.
37319 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37321         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37323 2014-04-11  Will Newton  <will.newton@linaro.org>
37325         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37326         to zero if it is not defined elsewhere.  (mtrim): Test
37327         the value of MALLOC_DEBUG with #if rather than #ifdef.
37329 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37331         * benchtests/pthread_once-inputs: New file.
37332         * benchtests/pthread_once-source.c: New file.
37333         * benchtests/README: Update documentation.
37335 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37336             H.J. Lu  <hongjiu.lu@intel.com>
37338         [BZ #16275]
37339         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37340         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37341         * sysdeps/x86_64/configure: Regenerated.
37342         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37343         macro.
37344         (REGISTER_SAVE_RAX): Likewise.
37345         (REGISTER_SAVE_RCX): Likewise.
37346         (REGISTER_SAVE_RDX): Likewise.
37347         (REGISTER_SAVE_RSI): Likewise.
37348         (REGISTER_SAVE_RDI): Likewise.
37349         (REGISTER_SAVE_R8): Likewise.
37350         (REGISTER_SAVE_R9): Likewise.
37351         (REGISTER_SAVE_BND0): Likewise.
37352         (REGISTER_SAVE_BND1): Likewise.
37353         (REGISTER_SAVE_BND2): Likewise.
37354         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37355         bound registers when calling _dl_fixup.
37357 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37359         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37360         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37361         of its definition.
37362         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37363         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37364         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37365         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37366         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37367         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37368         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37370 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37372         [BZ #15514]
37373         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37374         pathconf(_PC_NAME_MAX).
37376 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37378         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37379         Remove macro usage.
37380         (__PTHREAD_SPINS): Move definition to ...
37381         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37382         (__PTHREAD_SPINS): ... here.
37383         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37384         (__PTHREAD_SPIN): Likewise.
37385         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37386         (__PTHREAD_SPIN): Likewise.
37387         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37388         (__PTHREAD_SPIN): Likewise.
37389         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37390         (__PTHREAD_SPIN): Likewise.
37391         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37392         (__PTHREAD_SPIN): Likewise.
37393         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37394         (__PTHREAD_SPIN): Likewise.
37395         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37396         (__PTHREAD_SPIN): Likewise.
37397         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37398         (__PTHREAD_SPIN): Likewise.
37399         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37400         (__PTHREAD_SPIN): Likewise.
37401         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37402         (__PTHREAD_SPIN): Likewise.
37403         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37404         (__PTHREAD_SPIN): Likewise.
37405         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37406         (__PTHREAD_SPIN): Likewise.
37408         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37409         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37410         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37411         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37412         imply folder.
37413         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37414         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37415         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37416         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37417         correct imply path.
37418         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37419         strlen symbol for non multi-arch builds.
37420         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37421         missing hidden_def and weak_alias.
37423 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37425         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37427 2014-04-07  Will Newton  <will.newton@linaro.org>
37429         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37430         and contents.  [!_LIBC] Remove #ifndef and contents.
37431         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37432         * string/memccpy.c (__memccpy): Use ANSI prototype.
37433         * string/memfrob.c (memfrob): Likewise.
37434         * string/strcoll.c (STRCOLL): Likewise.
37435         * string/strlen.c (strlen): Likewise.
37436         * string/strtok.c (STRTOK): Likewise.
37437         * string/strcat.c: Remove unused #include of memcopy.h.
37438         (strcat): Use ANSI prototype.
37439         * string/strchr.c: Remove unused #include of memcopy.h.
37440         (strchr): Use ANSI prototype.
37441         * string/strcmp.c: Remove unused #include of memcopy.h.
37442         (strcmp): Use ANSI prototype.
37443         * string/strcpy.c: Remove unused #include of memcopy.h.
37444         (strcpy): Use ANSI prototype.
37446 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37448         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37449         * config.make.in (config-extra-cppflags): Set it from
37450         libc_extra_cppflags.
37451         * configure.ac (libc_extra_cflags): Make it accumulate over
37452         configure fragments.
37453         (libc_extra_cppflags): New flag.
37454         * configure. Regenerate.
37455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37456         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37457         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37460         [BZ #16815]
37461         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37462         result for FE_DOWNWARD rounding mode.
37463         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37464         Likewise.
37465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37467 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37469         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37470         in function argument name.
37472 2014-04-03  David Svoboda  <svoboda@cert.org>
37474         [BZ #5666]
37475         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37476         explicitly.
37478 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37480         * elf/dl-unmap-segments.h: New file.
37481         * sysdeps/generic/ldsodefs.h
37482         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37483         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37484         * elf/dl-fptr.c: Likewise.
37485         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37486         * sysdeps/aarch64/tlsdesc.c: Likewise.
37487         * sysdeps/arm/tlsdesc.c: Likewise.
37488         * sysdeps/i386/tlsdesc.c: Likewise.
37489         * sysdeps/tile/dl-runtime.c: Likewise.
37490         * sysdeps/x86_64/tlsdesc.c: Likewise.
37491         * elf/dl-load.h: New file.
37492         * elf/dl-load.c: Include it.
37493         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37494         Macros moved to dl-load.h.
37495         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37496         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37497         Use _dl_unmap_segments in place of __munmap.
37498         Break out segment-mapping loop into ...
37499         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37501 2014-04-03  Will Newton  <will.newton@linaro.org>
37503         * elf/dl-lookup.c (do_lookup_x): Remove comment
37504         referring to nested function and move variable
37505         declarations down to before first use.
37507 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37509         [BZ #16799]
37510         [BZ #16800]
37511         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37512         with 0 numerator.
37513         * math/s_catanf.c (__catanf): Likewise.
37514         * math/s_catanh.c (__catanh): Likewise.
37515         * math/s_catanhf.c (__catanhf): Likewise.
37516         * math/s_catanhl.c (__catanhl): Likewise.
37517         * math/s_catanl.c (__catanl): Likewise.
37518         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37519         by positive zero when computing -Inf result.
37520         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37521         (catanh_test): Likewise.
37522         * sysdeps/i386/fpu/libm-test-ulps: Update.
37523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37525         [BZ #16789]
37526         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37527         instead of using underflowing value in computing result.
37528         * math/s_clog10.c (__clog10): Likewise.
37529         * math/s_clog10f.c (__clog10f): Likewise.
37530         * math/s_clog10l.c (__clog10l): Likewise.
37531         * math/s_clogf.c (__clogf): Likewise.
37532         * math/s_clogl.c (__clogl): Likewise.
37533         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37534         (clog10_test): Likewise.
37535         * sysdeps/i386/fpu/libm-test-ulps: Update.
37536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37538 2014-04-02  Alan Modra  <amodra@gmail.com>
37540         [BZ #16739]
37541         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37542         output when value is near a power of two.  Use int64_t for lx and
37543         remove casts.  Use decimal rather than hex exponent constants.
37544         Don't use long double multiplication when double will suffice.
37545         * math/libm-test.inc (nextafter_test_data): Add tests.
37546         * NEWS: Add 16739 and 16786 to bug list.
37548         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37550         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37552 2014-04-01  Will Newton  <will.newton@linaro.org>
37554         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37555         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37557 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37559         [BZ #13347]
37560         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37561         * nptl/tst-setuid2.c: New file.
37562         * nptl/Makefile (xtests): Add tst-setuid2.
37564 2014-04-01  Alan Modra  <amodra@gmail.com>
37566         [BZ #16786]
37567         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37569 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37571         [BZ #6803]
37572         [BZ #6804]
37573         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37574         set errno as appropriate.
37575         * math/w_scalbf.c (__scalbf): Likewise.
37576         * math/w_scalbl.c (__scalbl): Likewise.
37577         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37578         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37579         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37580         Add more NaN tests.
37582         [BZ #16349]
37583         * math/w_atan2.c: Include <errno.h>.
37584         (__atan2): Set errno for result underflowing to zero.
37585         * math/w_atan2f.c: Include <errno.h>.
37586         (__atan2f): Set errno for result underflowing to zero.
37587         * math/w_atan2l.c: Include <errno.h>.
37588         (__atan2l): Set errno for result underflowing to zero.
37589         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37590         tests.
37591         * math/auto-libm-test-out: Regenerated.
37593 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37595         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37596         Encode instruction correctly in little endian.
37597         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37598         Likewise.
37599         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37600         Likewise.
37601         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37602         Likewise.
37603         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37604         Likewise.
37606 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37608         [BZ #9894]
37609         * sysdeps/unix/sysv/linux/kernel-features.h
37610         [__sparc__ && !__arch64__ && !__sparc_v9__]
37611         (__ASSUME_SET_ROBUST_LIST): Do not define.
37612         [__sparc__ && !__arch64__ && !__sparc_v9__]
37613         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37614         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37615         Likewise.
37616         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37617         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37618         (__ASSUME_REQUEUE_PI): Likewise.
37619         (__ASSUME_SET_ROBUST_LIST): Likewise.
37620         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37621         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37622         Undefine.
37623         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37624         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37625         Likewise.
37626         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37627         Likewise.
37628         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37629         Likewise.
37630         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37631         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37632         Undefine.
37633         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37634         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37635         Likewise.
37637         [BZ #16648]
37638         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37639         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37640         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37642 2014-03-31  Will Newton  <will.newton@linaro.org>
37644         * benchtests/Makefile (bench): Add ffs and ffsll to list
37645         of tests.
37646         * benchtests/ffs-inputs: New file.
37647         * benchtests/ffsll-inputs: Likewise.
37649 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37651         [BZ #16770]
37652         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37653         too large before casting to int.
37654         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37655         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37656         * math/libm-test.inc (scalb_test_data): Add more tests.
37658 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37660         * benchtests/Makefile (DETAILED_OPT): New make option.
37661         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37662         set.
37663         * benchtests/bench-skeleton.c: Include stdbool.h.
37664         (main): Store and print timings per input.
37665         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37666         member to each argument value.
37667         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37668         (_print_arg_data): Initialize per-input timing to 0.
37670         * benchtests/Makefile (timing-type): New binary.
37671         (bench-clean): Also remove bench-timing-type.
37672         (bench): New target for timing-type.
37673         (bench-func): Print output in JSON format.
37674         * benchtests/bench-skeleton.c (main): Print output in JSON
37675         format.
37676         * benchtests/bench-timing-type.c: New file.
37677         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37678         (TIMING_PRINT_STATS): Remove.
37679         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37680         name separately.
37682         * benchtests/bench-modf.c: Remove.
37683         * benchtests/modf-inputs: New inputs file.
37685 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37687         [BZ #16362]
37688         * math/s_clog10.c (M_PI_LOG10E): New macro.
37689         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37690         imaginary parts are 0.
37691         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37692         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37693         imaginary parts are 0.
37694         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37695         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37696         imaginary parts are 0.
37697         * math/libm-test.inc (clog10_test_data): Update expected results
37698         for when real and imaginary parts are 0.
37700 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37702         * elf/dl-load.c: Finish conversion of __builtin_expect into
37703         __glibc_{un}likely.
37705 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37707         [BZ #16348]
37708         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37709         1+x for argument with exponent below -67.
37710         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37711         Likewise.
37712         * math/auto-libm-test-in: Add more tests of exp.
37713         * math/auto-libm-test-out: Regenerated.
37715 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37717         [BZ #16759]
37718         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37719         (nscd_getnetgrent): Use it.
37721         [BZ #16760]
37722         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37723         of stpcpy.
37725 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37727         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37728         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37729         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37730         (lll_robust_unlock): Remove out of line section. Use cfi
37731         intrinsics.
37732         (LLL_STUB_UNWIND_INFO*): Remove.
37733         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37734         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37735         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37736         (lll_robust_unlock): Remove out of line section. Use cfi
37737         intrinsics.
37738         (LLL_STUB_UNWIND_INFO*): Remove.
37740 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37742         [BZ #16758]
37743         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37744         blank values.
37746 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37748         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37750 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37752         [BZ #16198]
37753         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37754         fnstenv.
37755         * math/test-fenv-preserve.c: New file.
37756         * math/Makefile (tests): Add test-fenv-preserve.
37758 2014-03-26  Will Newton <will.newton@linaro.org>
37760         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37762 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37764         * scripts/versionlist.awk: Partition the version sets and emit all
37765         GLIBC_* (sorted) before all others (sorted).
37767 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37769         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37770         GLIBC_2.2.5 version.
37772 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37774         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37775         calls.
37777         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37778         previous change.
37780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37782 2014-03-25  Andreas Schwab  <schwab@suse.de>
37784         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37785         label to be used after in6ailist is initialized.
37787 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37789         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37790         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37792 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37794         [BZ #16357]
37795         [BZ #16599]
37796         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37797         min_plus_half.
37798         (fp_formats): Update initializers.
37799         (init_fp_formats): Initialize new field.
37800         (output_for_one_input_case): Allow underflow for results up to
37801         min_plus_half.
37802         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37803         * math/auto-libm-test-in: Don't mark some underflows from asin and
37804         atanh as spurious.
37805         * math/auto-libm-test-out: Regenerated.
37806         * sysdeps/i386/fpu/libm-test-ulps: Update.
37807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37809 2014-03-25  Andreas Schwab  <schwab@suse.de>
37811         * libio/Makefile (tst-ftell-partial-wide-ENV)
37812         (tst-ftell-active-handler-ENV): Define.
37814 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37816         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37818 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37820         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37822 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37824         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37825         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37826         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37828 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37830         [BZ #16634]
37831         * elf/dl-load.c (open_verify): Add mode parameter.
37832         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37833         (open_path): Change from boolean 'secure' to complete flag 'mode'
37834         (_dl_map_object): Adjust.
37835         * elf/Makefile (tests): Add tst-dlopen-aout.
37836         * elf/tst-dlopen-aout.c: New test.
37838 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37840         [BZ #16714]
37841         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37842         (struct stat): Rename member pad0 to __glibc_reserved0.
37844         [BZ #16712]
37845         * sysdeps/s390/s390-32/bits/wordsize.h
37846         (__WORDSIZE32_SIZE_ULONG): New define.
37847         * sysdeps/s390/s390-64/bits/wordsize.h
37848         (__WORDSIZE32_SIZE_ULONG): Likewise.
37849         * sysdeps/generic/stdint.h (SIZE_MAX):
37850         Define as UL if __WORDSIZE32_SIZE_ULONG.
37852         [BZ #16713]
37853         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37854         (__glibc_reserved0): New variable.
37855         (sa_flags): Change type to int.
37857         * posix/Makefile (before-compile): Use += before-compile instead
37858         of a :=.
37860         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37861         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37863 2014-03-20  Andreas Schwab  <schwab@suse.de>
37865         [BZ #16743]
37866         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37867         non-matching result from nscd.
37869 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37871         * scripts/bench.py: Moved to ...
37872         * benchtests/scripts/bench.py: ... here.
37873         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37875 2014-03-24  Andreas Schwab  <schwab@suse.de>
37877         [BZ #16002]
37878         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37879         alloca_account and account alloca use for struct in6ailist.
37881 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37883         [BZ #16284]
37884         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37885         rounding mode to recompute results that overflow to infinity or
37886         underflow to zero.
37887         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37888         bug 16284.
37889         * math/auto-libm-test-out: Regenerated.
37890         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37891         (ccosh_test): Likewise.
37892         (csin_test_data): Use plus_oflow.
37893         (csin_test): Use ALL_RM_TEST.
37894         (csinh_test_data): Use plus_oflow.
37895         (csinh_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  Joseph Myers  <joseph@codesourcery.com>
37901         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37902         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37903         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37905         [BZ #16731]
37906         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37907         when x - 1 is zero.
37908         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37909         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37910         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37911         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37912         argument is 1.
37913         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37914         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37915         zero.
37916         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37917         * sysdeps/i386/fpu/libm-test-ulps: Update.
37918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37920 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37922         * scripts/bench.pl: Remove file.
37923         * scripts/bench.py: New benchmark script.
37924         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37925         * benchtests/README: Mention python dependency.
37926         * scripts/pylintrc: New file.
37927         * scripts/pylint: New file.
37929         * bits/mathdef.h: Use #ifdef instead of #if.
37930         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37931         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37932         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37933         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37934         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37935         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37937 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37938             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37940         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37942         and strpbrk-ppc64 objects.
37943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37944         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37945         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37946         multiarch strpbrk for POWER7.
37947         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37948         multiarch strpbrk for PPC64.
37949         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37950         ifunc selector.
37951         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37952         strpbrk for POWER7.
37954 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37956         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37957         (atan_test): Likewise.
37958         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37959         (atanh_test): Use ALL_RM_TEST.
37960         (atan2_test_data): Likewise.
37961         (cabs_test): Likewise.
37962         (cacosh_test): Likewise.
37963         (carg_test): Likewise.
37964         (casin_test): Likewise.
37965         (casinh_test): Likewise.
37966         (cbrt_test): Likewise.
37967         (csqrt_test): Likewise.
37968         (erf_test): Likewise.
37969         (erfc_test): Likewise.
37970         (pow10_test): Likewise.
37971         (exp2_test): Likewise.
37972         (hypot_test): Likewise.
37973         (j0_test): Likewise.
37974         (j1_test): Likewise.
37975         (lgamma_test): Likewise.
37976         (gamma_test): Likewise.
37977         (sincos_test): Likewise.
37978         (tanh_test): Likewise.
37979         (y0_test): Likewise.
37980         (y1_test): Likewise.
37981         * sysdeps/i386/fpu/libm-test-ulps: Update.
37982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37984 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37986         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37988         and strcspn-ppc64 objects.
37989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37990         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37991         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37992         multiarch strcspn for POWER7.
37993         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37994         multiarch strcspn for PPC64.
37995         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37996         ifunc selector.
37997         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37998         strcspn for POWER7.
38000 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38002         * math/gen-libm-test.pl (generate_testfile): Expect only function
38003         name as argument to AUTO_TESTS_* and pass results for all rounding
38004         modes to parse_args.
38005         (parse_auto_input): Separate inputs of automatic tests from
38006         outputs before storing in %auto_tests.
38007         * math/libm-test.inc (acos_test_data): Update call to
38008         AUTO_TESTS_f_f.
38009         (acos_test): Use ALL_RM_TEST.
38010         (acos_tonearest_test_data): Remove.
38011         (acos_test_tonearest): Likewise.
38012         (acos_towardzero_test_data): Likewise.
38013         (acos_test_towardzero): Likewise.
38014         (acos_downward_test_data): Likewise.
38015         (acos_test_downward): Likewise.
38016         (acos_upward_test_data): Likewise.
38017         (acos_test_upward): Likewise.
38018         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38019         (asin_test_data): Likewise.
38020         (asin_test): Use ALL_RM_TEST.
38021         (asin_tonearest_test_data): Remove.
38022         (asin_test_tonearest): Likewise.
38023         (asin_towardzero_test_data): Likewise.
38024         (asin_test_towardzero): Likewise.
38025         (asin_downward_test_data): Likewise.
38026         (asin_test_downward): Likewise.
38027         (asin_upward_test_data): Likewise.
38028         (asin_test_upward): Likewise.
38029         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38030         (atan_test_data): Likewise.
38031         (atanh_test_data): Likewise.
38032         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38033         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38034         (carg_test_data): Likewise.
38035         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38036         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38037         (ccosh_test_data): Likewise.
38038         (cexp_test_data): Likewise.
38039         (clog_test_data): Likewise.
38040         (clog10_test_data): Likewise.
38041         (cos_test_data): Update call to AUTO_TESTS_f_f.
38042         (cos_test): Use ALL_RM_TEST.
38043         (cos_tonearest_test_data): Remove.
38044         (cos_test_tonearest): Likewise.
38045         (cos_towardzero_test_data): Likewise.
38046         (cos_test_towardzero): Likewise.
38047         (cos_downward_test_data): Likewise.
38048         (cos_test_downward): Likewise.
38049         (cos_upward_test_data): Likewise.
38050         (cos_test_upward): Likewise.
38051         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38052         (cosh_test): Use ALL_RM_TEST.
38053         (cosh_tonearest_test_data): Remove.
38054         (cosh_test_tonearest): Likewise.
38055         (cosh_towardzero_test_data): Likewise.
38056         (cosh_test_towardzero): Likewise.
38057         (cosh_downward_test_data): Likewise.
38058         (cosh_test_downward): Likewise.
38059         (cosh_upward_test_data): Likewise.
38060         (cosh_test_upward): Likewise.
38061         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38062         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38063         (ctan_test_data): Likewise.
38064         (ctan_test): Use ALL_RM_TEST.
38065         (ctan_tonearest_test_data): Remove.
38066         (ctan_test_tonearest): Likewise.
38067         (ctan_towardzero_test_data): Likewise.
38068         (ctan_test_towardzero): Likewise.
38069         (ctan_downward_test_data): Likewise.
38070         (ctan_test_downward): Likewise.
38071         (ctan_upward_test_data): Likewise.
38072         (ctan_test_upward): Likewise.
38073         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38074         (ctanh_test): Use ALL_RM_TEST.
38075         (ctanh_tonearest_test_data): Remove.
38076         (ctanh_test_tonearest): Likewise.
38077         (ctanh_towardzero_test_data): Likewise.
38078         (ctanh_test_towardzero): Likewise.
38079         (ctanh_downward_test_data): Likewise.
38080         (ctanh_test_downward): Likewise.
38081         (ctanh_upward_test_data): Likewise.
38082         (ctanh_test_upward): Likewise.
38083         (erf_test_data): Update call to AUTO_TESTS_f_f.
38084         (erfc_test_data): Likewise.
38085         (exp_test_data): Likewise.
38086         (exp_test): Use ALL_RM_TEST.
38087         (exp_tonearest_test_data): Remove.
38088         (exp_test_tonearest): Likewise.
38089         (exp_towardzero_test_data): Likewise.
38090         (exp_test_towardzero): Likewise.
38091         (exp_downward_test_data): Likewise.
38092         (exp_test_downward): Likewise.
38093         (exp_upward_test_data): Likewise.
38094         (exp_test_upward): Likewise.
38095         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38096         (exp10_test): Use ALL_RM_TEST.
38097         (exp10_tonearest_test_data): Remove.
38098         (exp10_test_tonearest): Likewise.
38099         (exp10_towardzero_test_data): Likewise.
38100         (exp10_test_towardzero): Likewise.
38101         (exp10_downward_test_data): Likewise.
38102         (exp10_test_downward): Likewise.
38103         (exp10_upward_test_data): Likewise.
38104         (exp10_test_upward): Likewise.
38105         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38106         (expm1_test_data): Likewise.
38107         (expm1_test): Use ALL_RM_TEST.
38108         (expm1_tonearest_test_data): Remove.
38109         (expm1_test_tonearest): Likewise.
38110         (expm1_towardzero_test_data): Likewise.
38111         (expm1_test_towardzero): Likewise.
38112         (expm1_downward_test_data): Likewise.
38113         (expm1_test_downward): Likewise.
38114         (expm1_upward_test_data): Likewise.
38115         (expm1_test_upward): Likewise.
38116         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38117         (fma_test): Use ALL_RM_TEST.
38118         (fma_towardzero_test_data): Remove.
38119         (fma_test_towardzero): Likewise.
38120         (fma_downward_test_data): Likewise.
38121         (fma_test_downward): Likewise.
38122         (fma_upward_test_data): Likewise.
38123         (fma_test_upward): Likewise.
38124         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38125         (j0_test_data): Update call to AUTO_TESTS_f_f.
38126         (j1_test_data): Likewise.
38127         (jn_test_data): Update call to AUTO_TESTS_if_f.
38128         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38129         (log_test_data): Update call to AUTO_TESTS_f_f.
38130         (log10_test_data): Likewise.
38131         (log1p_test_data): Likewise.
38132         (log2_test_data): Likewise.
38133         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38134         (pow_tonearest_test_data): Likewise.
38135         (sin_test_data): Update call to AUTO_TESTS_f_f.
38136         (sin_test): Use ALL_RM_TEST.
38137         (sin_tonearest_test_data): Remove.
38138         (sin_test_tonearest): Likewise.
38139         (sin_towardzero_test_data): Likewise.
38140         (sin_test_towardzero): Likewise.
38141         (sin_downward_test_data): Likewise.
38142         (sin_test_downward): Likewise.
38143         (sin_upward_test_data): Likewise.
38144         (sin_test_upward): Likewise.
38145         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38146         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38147         (sinh_test): Use ALL_RM_TEST.
38148         (sinh_tonearest_test_data): Remove.
38149         (sinh_test_tonearest): Likewise.
38150         (sinh_towardzero_test_data): Likewise.
38151         (sinh_test_towardzero): Likewise.
38152         (sinh_downward_test_data): Likewise.
38153         (sinh_test_downward): Likewise.
38154         (sinh_upward_test_data): Likewise.
38155         (sinh_test_upward): Likewise.
38156         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38157         (sqrt_test): Use ALL_RM_TEST.
38158         (sqrt_tonearest_test_data): Remove.
38159         (sqrt_test_tonearest): Likewise.
38160         (sqrt_towardzero_test_data): Likewise.
38161         (sqrt_test_towardzero): Likewise.
38162         (sqrt_downward_test_data): Likewise.
38163         (sqrt_test_downward): Likewise.
38164         (sqrt_upward_test_data): Likewise.
38165         (sqrt_test_upward): Likewise.
38166         (tan_test_data): Update call to AUTO_TESTS_f_f.
38167         (tan_test): Use ALL_RM_TEST.
38168         (tan_tonearest_test_data): Remove.
38169         (tan_test_tonearest): Likewise.
38170         (tan_towardzero_test_data): Likewise.
38171         (tan_test_towardzero): Likewise.
38172         (tan_downward_test_data): Likewise.
38173         (tan_test_downward): Likewise.
38174         (tan_upward_test_data): Likewise.
38175         (tan_test_upward): Likewise.
38176         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38177         (tgamma_test_data): Likewise.
38178         (y0_test_data): Likewise.
38179         (y1_test_data): Likewise.
38180         (yn_test_data): Update call to AUTO_TESTS_if_f.
38181         (main): Do not call removed functions.
38183 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38185         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38186         (ldexp_test_data): Remove.
38187         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38188         scalbn_test_data.
38189         (scalb_test): Use ALL_RM_TEST.
38191 2014-03-19  Andreas Schwab  <schwab@suse.de>
38193         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38195 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38197         [BZ #16649]
38198         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38199         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38200         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38201         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38202         (__ASSUME_PREADV): Undefine.
38203         (__ASSUME_PWRITEV): Likewise.
38205 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38207         * bits/mman-linux.h: Add comment about non-Linux use.
38208         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38209         bits/mman-linux.h resting place.
38211         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38212         * bits/mman-linux.h: ... here.
38214 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38216         * conform/conformtest.pl: Add standard definition when calling C
38217         preprocessor on data files.
38218         (checknamespace): Remove unused variable.
38220 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38222         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38223         minus_oflow, plus_uflow and minus_uflow in expected results.
38224         * math/libm-test.inc (scalbn_test_data): Add more tests of
38225         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38226         minus_uflow.
38227         (scalbn_test): Use ALL_RM_TEST.
38228         (scalbln_test_data): Add more tests of negative arguments.  Use
38229         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38230         (scalbln_test): Use ALL_RM_TEST.
38232 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38234         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38236 2014-03-18  Will Newton  <will.newton@linaro.org>
38238         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38239         inaccurate comment.
38241 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38243         * Makerules [!subdir] (check-abi): Exit with error status if a
38244         test failed.
38246 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38248         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38249         for rint.  Include results for all rounding modes.
38250         (nearbyint_test): Use ALL_RM_TEST.
38251         (rint_test_data): Include all tests used for nearbyint.
38253 2014-03-17  Will Newton  <will.newton@linaro.org>
38255         * nptl/sysdeps/pthread/pthread.h: Revert previous
38256         change.
38258         * sysdeps/generic/ldsodefs.h: Revert previous
38259         change.
38261         * libio/genops.c: Revert previous change.
38262         * libio/libioP.h: Likewise.
38263         * stdio-common/vfprintf.c: Likewise.
38265         * sysdeps/generic/math_private.h: Revert previous
38266         change.
38268         * sysdeps/generic/math_private.h: Check whether
38269         HAVE_RM_CTX is defined with #ifdef rather
38270         than #if.
38272         * argp/argp-fmtstream.h: Check whether
38273         __STRICT_ANSI__ is defined with #ifdef rather
38274         than #if.
38275         * argp/argp.h: Likewise.
38277         * libio/genops.c: Check whether
38278         _IO_JUMPS_OFFSET is defined with #ifdef rather
38279         than #if.
38280         * libio/libioP.h: Likewise.
38281         * stdio-common/vfprintf.c: Likewise.
38283         * sysdeps/generic/ldsodefs.h: Check whether
38284         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38285         than #if.
38287         * nptl/sysdeps/pthread/pthread.h: Check
38288         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38289         its value.
38291 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38293         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38294         setting O_APPEND.
38295         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38296         test case.
38298         [BZ #16680]
38299         * libio/fileops.c (_IO_file_open): Seek to end of file but
38300         don't cache the offset.
38301         (get_file_offset): Remove function.
38302         (do_ftell): Use cached offset when available.
38303         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38304         don't cache the offset.
38305         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38306         case.
38307         (do_one_test): Call it.
38308         (do_ftell_test): Fix up expected old offset for a+ mode.
38309         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38310         available.
38312         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38313         up test status with function return status.
38314         (do_write_test): Likewise.
38315         (do_append_test): Likewise.
38317         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38318         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38319         Remove.
38321 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38323         * math/gen-libm-test.pl (parse_args): Handle results specified for
38324         each rounding mode separately.
38325         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38326         tests and results from lrint_tonearest_test_data,
38327         lrint_towardzero_test_data, lrint_downward_test_data and
38328         lrint_upward_test_data.
38329         (lrint_test): Use ALL_RM_TEST.
38330         (lrint_tonearest_test_data): Remove.
38331         (lrint_test_tonearest): Likewise.
38332         (lrint_towardzero_test_data): Likewise.
38333         (lrint_test_towardzero): Likewise.
38334         (lrint_downward_test_data): Likewise.
38335         (lrint_test_downward): Likewise.
38336         (lrint_upward_test_data): Likewise.
38337         (lrint_test_upward): Likewise.
38338         (llrint_test_data): Merge in per-rounding-mode tests and results
38339         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38340         llrint_downward_test_data and llrint_upward_test_data.
38341         (llrint_test): Use ALL_RM_TEST.
38342         (llrint_tonearest_test_data): Remove.
38343         (llrint_test_tonearest): Likewise.
38344         (llrint_towardzero_test_data): Likewise.
38345         (llrint_test_towardzero): Likewise.
38346         (llrint_downward_test_data): Likewise.
38347         (llrint_test_downward): Likewise.
38348         (llrint_upward_test_data): Likewise.
38349         (llrint_test_upward): Likewise.
38350         (rint_test_data): Merge in per-rounding-mode tests and results
38351         from rint_tonearest_test_data, rint_towardzero_test_data,
38352         rint_downward_test_data and rint_upward_test_data.  Add
38353         per-rounding-mode results for tests not in those arrays.
38354         (rint_test): Use ALL_RM_TEST.
38355         (rint_tonearest_test_data): Remove.
38356         (rint_test_tonearest): Likewise.
38357         (rint_towardzero_test_data): Likewise.
38358         (rint_test_towardzero): Likewise.
38359         (rint_downward_test_data): Likewise.
38360         (rint_test_downward): Likewise.
38361         (rint_upward_test_data): Likewise.
38362         (rint_test_upward): Likewise.
38363         (main): Don't call removed functions.
38365 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38367         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38368         "Compiled on ..." crapola.  It is anti-useful.
38370 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38372         * scripts/evaluate-test.sh: Handle fourth argument to determine
38373         whether test run should stop on failure.
38374         * Makeconfig (stop-on-test-failure): New variable.
38375         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38376         $(stop-on-test-failure).
38377         * Makefile (tests): Give a summary of results from testing and
38378         exit with failure status if they include an ERROR or FAIL.
38379         (xtests): Likewise.
38380         * manual/install.texi (Configuring and compiling): Mention
38381         stop-on-test-failure=y.
38382         * INSTALL: Regenerated.
38384 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38386         * scripts/versionlist.awk: New file.
38387         * Makerules [$(build-shared) = yes]
38388         (postclean-generated): Add Versions.def, not Versions.def.v and
38389         Versions.def.v.i.
38390         ($(common-objpfx)Versions.def.v.i): Target removed.
38391         ($(common-objpfx)Versions.def): New target.
38392         ($(common-objpfx)Versions.all): Depend on that rather that
38393         $(common-objpfx)Versions.def.v.
38394         * Versions.def: File removed.
38396         * Makeconfig (+gccwarn): Add -Wundef.
38397         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38398         a dl-sysdep.h breaking its contract.
38399         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38400         * include/stackinfo.h: New file.
38401         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38402         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38403         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38404         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38405         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38406         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38407         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38408         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38409         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38410         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38411         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38412         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38413         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38414         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38415         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38417 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38419         [BZ #16707]
38420         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38421         implementation.
38422         * math/libm-test.inc (round_test_data): Add more tests.
38424         [BZ #16706]
38425         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38426         implementation.
38427         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38429         [BZ #16701]
38430         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38431         implementation.
38432         * math/libm-test.inc (ceil_test_data): Add more tests.
38434         * math/libm-test.inc (trunc_test_data): Add more tests related to
38435         BZ#16414.
38437 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38439         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38440         with #if rather than #ifdef.
38441         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38443 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38445         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38446         first.  Disable AVX-512 GCC support if assembler doesn't support
38447         it.
38448         * sysdeps/x86_64/configure: Regenerated.
38450 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38452         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38453         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38454         (__old_pthread_attr_setstack): Likewise.
38455         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38456         [!_STACK_GROWS_DOWN]: Likewise.
38458 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38460         * config.make.in (have-bash2): Delete.
38461         * configure.ac (libc_cv_have_bash2): Delete.
38462         * configure: Regenerate.
38463         * elf/Makefile (common-ldd-rewrite): Rename to ...
38464         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38465         (sh-ldd-rewrite): Delete.
38466         (bash-ldd-rewrite): Delete.
38467         (have-bash2): Delete checks.
38468         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38469         ldd-rewrite.
38471         * config.make.in (have-ksh): Delete.
38472         (KSH): Delete.
38473         * configure.ac (libc_cv_have_ksh): Delete.
38474         * configure: Regenerate.
38476         * elf/Makefile: Delete $(have-ksh) check.
38477         ($(objpfx)sotruss): Change KSH to BASH.
38478         * elf/sotruss.ksh: Rename to ...
38479         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38480         function style to match POSIX.  Drop ksh vim mode setting.
38482         * manual/time.texi (Specifying the Time Zone with TZ): Change
38483         Tuesday to Thursday.
38485         * debug/tst-longjmp_chk2.c: Update header comment.
38486         (stackoverflow_handler): Add comment.  Call assert on pass value.
38488 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38490         [BZ #16194]
38491         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38492         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38493         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38494         (La_x86_64_vector): Add zmm.
38495         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38496         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38497         ($(objpfx)tst-audit10): New target.
38498         ($(objpfx)tst-audit10.out): Likewise.
38499         (tst-audit10-ENV): New.
38500         (AVX512-CFLAGS): Likewise.
38501         (CFLAGS-tst-audit10.c): Likewise.
38502         (CFLAGS-tst-auditmod10a.c): Likewise.
38503         (CFLAGS-tst-auditmod10b.c): Likewise.
38504         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38505         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38506         * sysdeps/x86_64/configure: Regenerated.
38507         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38508         AVX-512 zmm register support.
38509         (_dl_x86_64_save_sse): Likewise.
38510         (_dl_x86_64_restore_sse): Likewise.
38511         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38512         size vector registers.
38513         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38514         (ZMM_SIZE): Likewise.
38515         * sysdeps/x86_64/tst-audit10.c: New file.
38516         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38517         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38519 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38521         * configure.ac (HAVE_EHDR_START): New check.
38522         * configure: Regenerated.
38523         * config.h.in (HAVE_EHDR_START): New #undef.
38524         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38525         assuming the lowest-addressed segment maps the start of the file.
38527 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38529         * INSTALL: Regenerated.
38531 2014-03-13  Will Newton  <will.newton@linaro.org>
38533         * manual/setjmp.texi (System V contexts): Improve
38534         clarity and grammar of documentation.
38536 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38538         [BZ #16381]
38539         * elf/Makefile (tests): Add tst-pie2.
38540         (tests-pie): Add tst-pie2.
38541         * elf/tst-pie2.c: New file.
38542         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38543         for ET_EXEC.
38544         * elf/rtld.c (map_doit): Load executable as lt_executable.
38545         (dl_main): Likewise.
38547 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38549         [BZ #16642]
38550         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38551         (__ASSUME_PSELECT): Undefine.
38553 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38555         [BZ #16689]
38556         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38557         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38558         static build.
38559         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38560         selector for static builds.
38562 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38564         [BZ #16695]
38565         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38566         key in the buffer.
38568 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38570         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38571         IFUNC selector for static builds.
38573 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38575         * sysdeps/mips/math_private.h [__mips_hard_float]
38576         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38577         libc_feresetround_mips_ctx.
38578         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38579         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38580         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38582         [BZ #16677]
38583         * math/s_nextafter.c (__nextafter): Do not return value from
38584         overflowing computation.
38585         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38586         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38587         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38588         Likewise.
38589         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38590         Likewise.
38591         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38592         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38594 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38596         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38597         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38598         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38599         the new mov targetting sp.
38601 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38603         [BZ #16683]
38604         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38605         Define it for static builds as well.
38606         (NO_BZERO_IMPL): Likewise.
38608 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38610         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38611         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38612         multiarch strspn for PPC64.
38613         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38614         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38616         (__libc_ifunc_impl_list): Likewise.
38617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38618         multiarch optimizations
38619         * string/strspn.c (strspn): Using macro to redefine symbol name.
38621 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38622             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38624         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38625         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38626         multiarch strncat for PPC64.
38627         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38628         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38630         (__libc_ifunc_impl_list): Likewise.
38631         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38632         multiarch optimizations
38634 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38636         [BZ #16639]
38637         * nscd/nscd.service: Make service type forking.
38639 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38641         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38642         sign in non default rounding modes.
38643         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38645 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38647         * math/libm-test.inc (ALL_RM_TEST): New macro.
38648         (ceil_test): Use ALL_RM_TEST.
38649         (cimag_test): Likewise.
38650         (conj_test): Likewise.
38651         (copysign_test): Likewise.
38652         (cproj_test): Likewise.
38653         (creal_test): Likewise.
38654         (fabs_test): Likewise.
38655         (floor_test): Likewise.
38656         (fmax_test): Likewise.
38657         (fmin_test): Likewise.
38658         (fmod_test): Likewise.
38659         (fpclassify_test): Likewise.
38660         (frexp_test): Likewise.
38661         (ilogb_test): Likewise.
38662         (isfinite_test): Likewise.
38663         (finite_test): Likewise.
38664         (isgreater_test): Likewise.
38665         (isgreaterequal_test): Likewise.
38666         (isinf_test): Likewise.
38667         (isless_test): Likewise.
38668         (islessequal_test): Likewise.
38669         (islessgreater_test): Likewise.
38670         (isnan_test): Likewise.
38671         (isnormal_test): Likewise.
38672         (issignaling_test): Likewise.
38673         (isunordered_test): Likewise.
38674         (logb_test): Likewise.
38675         (logb_downward_test_data): Remove.
38676         (logb_test_downward): Likewise.
38677         (lround_test): Use ALL_RM_TEST.
38678         (llround_test): Likewise.
38679         (modf_test): Likewise.
38680         (nexttoward_test): Likewise.
38681         (remainder_test): Likewise.
38682         (drem_test): Likewise.
38683         (remainder_tonearest_test_data): Likewise.
38684         (remainder_test_tonearest): Likewise.
38685         (drem_test_tonearest): Likewise.
38686         (remainder_towardzero_test_data): Likewise.
38687         (remainder_test_towardzero): Likewise.
38688         (drem_test_towardzero): Likewise.
38689         (remainder_downward_test_data): Likewise.
38690         (remainder_test_downward): Likewise.
38691         (drem_test_downward): Likewise.
38692         (remainder_upward_test_data): Likewise.
38693         (remainder_test_upward): Likewise.
38694         (drem_test_upward): Likewise.
38695         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38696         (round_test): Use ALL_RM_TEST.
38697         (signbit_test): Likewise.
38698         (trunc_test): Likewise.
38699         (significand_test): Likewise.
38700         (main): Don't call removed functions.
38702 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38704         [BZ #16674]
38705         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38706         || __USE_XOPEN2K8].
38707         (ILL_ILLOPN): Likewise.
38708         (ILL_ILLADR): Likewise.
38709         (ILL_ILLTRP): Likewise.
38710         (ILL_PRVOPC): Likewise.
38711         (ILL_PRVREG): Likewise.
38712         (ILL_COPROC): Likewise.
38713         (ILL_BADSTK): Likewise.
38714         (FPE_INTDIV): Likewise.
38715         (FPE_INTOVF): Likewise.
38716         (FPE_FLTDIV): Likewise.
38717         (FPE_FLTOVF): Likewise.
38718         (FPE_FLTUND): Likewise.
38719         (FPE_FLTRES): Likewise.
38720         (FPE_FLTINV): Likewise.
38721         (FPE_FLTSUB): Likewise.
38722         (SEGV_MAPERR): Likewise.
38723         (SEGV_ACCERR): Likewise.
38724         (BUS_ADRALN): Likewise.
38725         (BUS_ADRERR): Likewise.
38726         (BUS_OBJERR): Likewise.
38727         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38728         (TRAP_TRACE): Likewise.
38729         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38730         __USE_XOPEN2K8].
38731         (CLD_KILLED): Likewise.
38732         (CLD_DUMPED): Likewise.
38733         (CLD_TRAPPED): Likewise.
38734         (CLD_STOPPED): Likewise.
38735         (CLD_CONTINUED): Likewise.
38736         (POLL_IN): Likewise.
38737         (POLL_OUT): Likewise.
38738         (POLL_MSG): Likewise.
38739         (POLL_ERR): Likewise.
38740         (POLL_PRI): Likewise.
38741         (POLL_HUP): Likewise.
38742         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38743         Likewise.
38744         (ILL_ILLOPN): Likewise.
38745         (ILL_ILLADR): Likewise.
38746         (ILL_ILLTRP): Likewise.
38747         (ILL_PRVOPC): Likewise.
38748         (ILL_PRVREG): Likewise.
38749         (ILL_COPROC): Likewise.
38750         (ILL_BADSTK): Likewise.
38751         (FPE_INTDIV): Likewise.
38752         (FPE_INTOVF): Likewise.
38753         (FPE_FLTDIV): Likewise.
38754         (FPE_FLTOVF): Likewise.
38755         (FPE_FLTUND): Likewise.
38756         (FPE_FLTRES): Likewise.
38757         (FPE_FLTINV): Likewise.
38758         (FPE_FLTSUB): Likewise.
38759         (SEGV_MAPERR): Likewise.
38760         (SEGV_ACCERR): Likewise.
38761         (BUS_ADRALN): Likewise.
38762         (BUS_ADRERR): Likewise.
38763         (BUS_OBJERR): Likewise.
38764         (BUS_MCEERR_AR): Likewise.
38765         (BUS_MCEERR_AO): Likewise.
38766         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38767         (TRAP_TRACE): Likewise.
38768         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38769         __USE_XOPEN2K8].
38770         (CLD_KILLED): Likewise.
38771         (CLD_DUMPED): Likewise.
38772         (CLD_TRAPPED): Likewise.
38773         (CLD_STOPPED): Likewise.
38774         (CLD_CONTINUED): Likewise.
38775         (POLL_IN): Likewise.
38776         (POLL_OUT): Likewise.
38777         (POLL_MSG): Likewise.
38778         (POLL_ERR): Likewise.
38779         (POLL_PRI): Likewise.
38780         (POLL_HUP): Likewise.
38781         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38782         (ILL_ILLOPN): Likewise.
38783         (ILL_ILLADR): Likewise.
38784         (ILL_ILLTRP): Likewise.
38785         (ILL_PRVOPC): Likewise.
38786         (ILL_PRVREG): Likewise.
38787         (ILL_COPROC): Likewise.
38788         (ILL_BADSTK): Likewise.
38789         (FPE_INTDIV): Likewise.
38790         (FPE_INTOVF): Likewise.
38791         (FPE_FLTDIV): Likewise.
38792         (FPE_FLTOVF): Likewise.
38793         (FPE_FLTUND): Likewise.
38794         (FPE_FLTRES): Likewise.
38795         (FPE_FLTINV): Likewise.
38796         (FPE_FLTSUB): Likewise.
38797         (SEGV_MAPERR): Likewise.
38798         (SEGV_ACCERR): Likewise.
38799         (BUS_ADRALN): Likewise.
38800         (BUS_ADRERR): Likewise.
38801         (BUS_OBJERR): Likewise.
38802         (BUS_MCEERR_AR): Likewise.
38803         (BUS_MCEERR_AO): Likewise.
38804         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38805         (TRAP_TRACE): Likewise.
38806         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38807         __USE_XOPEN2K8].
38808         (CLD_KILLED): Likewise.
38809         (CLD_DUMPED): Likewise.
38810         (CLD_TRAPPED): Likewise.
38811         (CLD_STOPPED): Likewise.
38812         (CLD_CONTINUED): Likewise.
38813         (POLL_IN): Likewise.
38814         (POLL_OUT): Likewise.
38815         (POLL_MSG): Likewise.
38816         (POLL_ERR): Likewise.
38817         (POLL_PRI): Likewise.
38818         (POLL_HUP): Likewise.
38819         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38820         Likewise.
38821         (ILL_ILLOPN): Likewise.
38822         (ILL_ILLADR): Likewise.
38823         (ILL_ILLTRP): Likewise.
38824         (ILL_PRVOPC): Likewise.
38825         (ILL_PRVREG): Likewise.
38826         (ILL_COPROC): Likewise.
38827         (ILL_BADSTK): Likewise.
38828         (ILL_BADIADDR): Likewise.
38829         (ILL_BREAK): Likewise.
38830         (FPE_INTDIV): Likewise.
38831         (FPE_INTOVF): Likewise.
38832         (FPE_FLTDIV): Likewise.
38833         (FPE_FLTOVF): Likewise.
38834         (FPE_FLTUND): Likewise.
38835         (FPE_FLTRES): Likewise.
38836         (FPE_FLTINV): Likewise.
38837         (FPE_FLTSUB): Likewise.
38838         (FPE_DECOVF): Likewise.
38839         (FPE_DECDIV): Likewise.
38840         (FPE_DECERR): Likewise.
38841         (FPE_INVASC): Likewise.
38842         (FPE_INVDEC): Likewise.
38843         (SEGV_MAPERR): Likewise.
38844         (SEGV_ACCERR): Likewise.
38845         (SEGV_PSTKOVF): Likewise.
38846         (BUS_ADRALN): Likewise.
38847         (BUS_ADRERR): Likewise.
38848         (BUS_OBJERR): Likewise.
38849         (BUS_MCEERR_AR): Likewise.
38850         (BUS_MCEERR_AO): Likewise.
38851         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38852         (TRAP_TRACE): Likewise.
38853         (TRAP_BRANCH): Likewise.
38854         (TRAP_HWBKPT): Likewise.
38855         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38856         __USE_XOPEN2K8].
38857         (CLD_KILLED): Likewise.
38858         (CLD_DUMPED): Likewise.
38859         (CLD_TRAPPED): Likewise.
38860         (CLD_STOPPED): Likewise.
38861         (CLD_CONTINUED): Likewise.
38862         (POLL_IN): Likewise.
38863         (POLL_OUT): Likewise.
38864         (POLL_MSG): Likewise.
38865         (POLL_ERR): Likewise.
38866         (POLL_PRI): Likewise.
38867         (POLL_HUP): Likewise.
38868         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38869         (ILL_ILLOPN): Likewise.
38870         (ILL_ILLADR): Likewise.
38871         (ILL_ILLTRP): Likewise.
38872         (ILL_PRVOPC): Likewise.
38873         (ILL_PRVREG): Likewise.
38874         (ILL_COPROC): Likewise.
38875         (ILL_BADSTK): Likewise.
38876         (FPE_INTDIV): Likewise.
38877         (FPE_INTOVF): Likewise.
38878         (FPE_FLTDIV): Likewise.
38879         (FPE_FLTOVF): Likewise.
38880         (FPE_FLTUND): Likewise.
38881         (FPE_FLTRES): Likewise.
38882         (FPE_FLTINV): Likewise.
38883         (FPE_FLTSUB): Likewise.
38884         (SEGV_MAPERR): Likewise.
38885         (SEGV_ACCERR): Likewise.
38886         (BUS_ADRALN): Likewise.
38887         (BUS_ADRERR): Likewise.
38888         (BUS_OBJERR): Likewise.
38889         (BUS_MCEERR_AR): Likewise.
38890         (BUS_MCEERR_AO): Likewise.
38891         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38892         (TRAP_TRACE): Likewise.
38893         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38894         __USE_XOPEN2K8].
38895         (CLD_KILLED): Likewise.
38896         (CLD_DUMPED): Likewise.
38897         (CLD_TRAPPED): Likewise.
38898         (CLD_STOPPED): Likewise.
38899         (CLD_CONTINUED): Likewise.
38900         (POLL_IN): Likewise.
38901         (POLL_OUT): Likewise.
38902         (POLL_MSG): Likewise.
38903         (POLL_ERR): Likewise.
38904         (POLL_PRI): Likewise.
38905         (POLL_HUP): Likewise.
38906         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38907         (ILL_ILLOPN): Likewise.
38908         (ILL_ILLADR): Likewise.
38909         (ILL_ILLTRP): Likewise.
38910         (ILL_PRVOPC): Likewise.
38911         (ILL_PRVREG): Likewise.
38912         (ILL_COPROC): Likewise.
38913         (ILL_BADSTK): Likewise.
38914         (FPE_INTDIV): Likewise.
38915         (FPE_INTOVF): Likewise.
38916         (FPE_FLTDIV): Likewise.
38917         (FPE_FLTOVF): Likewise.
38918         (FPE_FLTUND): Likewise.
38919         (FPE_FLTRES): Likewise.
38920         (FPE_FLTINV): Likewise.
38921         (FPE_FLTSUB): Likewise.
38922         (SEGV_MAPERR): Likewise.
38923         (SEGV_ACCERR): Likewise.
38924         (BUS_ADRALN): Likewise.
38925         (BUS_ADRERR): Likewise.
38926         (BUS_OBJERR): Likewise.
38927         (BUS_MCEERR_AR): Likewise.
38928         (BUS_MCEERR_AO): Likewise.
38929         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38930         (TRAP_TRACE): Likewise.
38931         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38932         __USE_XOPEN2K8].
38933         (CLD_KILLED): Likewise.
38934         (CLD_DUMPED): Likewise.
38935         (CLD_TRAPPED): Likewise.
38936         (CLD_STOPPED): Likewise.
38937         (CLD_CONTINUED): Likewise.
38938         (POLL_IN): Likewise.
38939         (POLL_OUT): Likewise.
38940         (POLL_MSG): Likewise.
38941         (POLL_ERR): Likewise.
38942         (POLL_PRI): Likewise.
38943         (POLL_HUP): Likewise.
38944         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38945         (ILL_ILLOPN): Likewise.
38946         (ILL_ILLADR): Likewise.
38947         (ILL_ILLTRP): Likewise.
38948         (ILL_PRVOPC): Likewise.
38949         (ILL_PRVREG): Likewise.
38950         (ILL_COPROC): Likewise.
38951         (ILL_BADSTK): Likewise.
38952         (FPE_INTDIV): Likewise.
38953         (FPE_INTOVF): Likewise.
38954         (FPE_FLTDIV): Likewise.
38955         (FPE_FLTOVF): Likewise.
38956         (FPE_FLTUND): Likewise.
38957         (FPE_FLTRES): Likewise.
38958         (FPE_FLTINV): Likewise.
38959         (FPE_FLTSUB): Likewise.
38960         (SEGV_MAPERR): Likewise.
38961         (SEGV_ACCERR): Likewise.
38962         (BUS_ADRALN): Likewise.
38963         (BUS_ADRERR): Likewise.
38964         (BUS_OBJERR): Likewise.
38965         (BUS_MCEERR_AR): Likewise.
38966         (BUS_MCEERR_AO): Likewise.
38967         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38968         (TRAP_TRACE): Likewise.
38969         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38970         __USE_XOPEN2K8].
38971         (CLD_KILLED): Likewise.
38972         (CLD_DUMPED): Likewise.
38973         (CLD_TRAPPED): Likewise.
38974         (CLD_STOPPED): Likewise.
38975         (CLD_CONTINUED): Likewise.
38976         (POLL_IN): Likewise.
38977         (POLL_OUT): Likewise.
38978         (POLL_MSG): Likewise.
38979         (POLL_ERR): Likewise.
38980         (POLL_PRI): Likewise.
38981         (POLL_HUP): Likewise.
38982         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38983         (ILL_ILLOPN): Likewise.
38984         (ILL_ILLADR): Likewise.
38985         (ILL_ILLTRP): Likewise.
38986         (ILL_PRVOPC): Likewise.
38987         (ILL_PRVREG): Likewise.
38988         (ILL_COPROC): Likewise.
38989         (ILL_BADSTK): Likewise.
38990         (ILL_DBLFLT): Likewise.
38991         (ILL_HARDWALL): Likewise.
38992         (FPE_INTDIV): Likewise.
38993         (FPE_INTOVF): Likewise.
38994         (FPE_FLTDIV): Likewise.
38995         (FPE_FLTOVF): Likewise.
38996         (FPE_FLTUND): Likewise.
38997         (FPE_FLTRES): Likewise.
38998         (FPE_FLTINV): Likewise.
38999         (FPE_FLTSUB): Likewise.
39000         (SEGV_MAPERR): Likewise.
39001         (SEGV_ACCERR): Likewise.
39002         (BUS_ADRALN): Likewise.
39003         (BUS_ADRERR): Likewise.
39004         (BUS_OBJERR): Likewise.
39005         (BUS_MCEERR_AR): Likewise.
39006         (BUS_MCEERR_AO): Likewise.
39007         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39008         (TRAP_TRACE): Likewise.
39009         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39010         __USE_XOPEN2K8].
39011         (CLD_KILLED): Likewise.
39012         (CLD_DUMPED): Likewise.
39013         (CLD_TRAPPED): Likewise.
39014         (CLD_STOPPED): Likewise.
39015         (CLD_CONTINUED): Likewise.
39016         (POLL_IN): Likewise.
39017         (POLL_OUT): Likewise.
39018         (POLL_MSG): Likewise.
39019         (POLL_ERR): Likewise.
39020         (POLL_PRI): Likewise.
39021         (POLL_HUP): Likewise.
39022         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39023         (ILL_ILLOPN): Likewise.
39024         (ILL_ILLADR): Likewise.
39025         (ILL_ILLTRP): Likewise.
39026         (ILL_PRVOPC): Likewise.
39027         (ILL_PRVREG): Likewise.
39028         (ILL_COPROC): Likewise.
39029         (ILL_BADSTK): Likewise.
39030         (FPE_INTDIV): Likewise.
39031         (FPE_INTOVF): Likewise.
39032         (FPE_FLTDIV): Likewise.
39033         (FPE_FLTOVF): Likewise.
39034         (FPE_FLTUND): Likewise.
39035         (FPE_FLTRES): Likewise.
39036         (FPE_FLTINV): Likewise.
39037         (FPE_FLTSUB): Likewise.
39038         (SEGV_MAPERR): Likewise.
39039         (SEGV_ACCERR): Likewise.
39040         (BUS_ADRALN): Likewise.
39041         (BUS_ADRERR): Likewise.
39042         (BUS_OBJERR): Likewise.
39043         (BUS_MCEERR_AR): Likewise.
39044         (BUS_MCEERR_AO): Likewise.
39045         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39046         (TRAP_TRACE): Likewise.
39047         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39048         __USE_XOPEN2K8].
39049         (CLD_KILLED): Likewise.
39050         (CLD_DUMPED): Likewise.
39051         (CLD_TRAPPED): Likewise.
39052         (CLD_STOPPED): Likewise.
39053         (CLD_CONTINUED): Likewise.
39054         (POLL_IN): Likewise.
39055         (POLL_OUT): Likewise.
39056         (POLL_MSG): Likewise.
39057         (POLL_ERR): Likewise.
39058         (POLL_PRI): Likewise.
39059         (POLL_HUP): Likewise.
39060         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39061         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39063         [BZ #16670]
39064         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39065         before #include of <time.h>.
39066         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39067         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39068         (test-xfail-UNIX98/sched.h/conform): Likewise.
39070 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39072         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39073         error absence of trapping exception support.
39074         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39076 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39078         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39079         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39080         * timezone/Makefile (testdata): Move definition above include of
39081         Rules.
39082         (test-zones): New variable.
39083         (tests-special): Add zone files.
39084         (build-testdata): Use $(evaluate-test).
39086         * elf/Makefile (tests-special): Rename tests to end with .out.
39087         ($(objpfx)noload-mem): Likewise.
39088         ($(objpfx)tst-leaks1-mem): Likewise.
39089         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39090         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39091         $(objpfx)test-iconvconfig.out.
39092         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39093         set -e inside subshell and redirect output to file.
39094         * iconvdata/Makefile (generated): Rename tests to end with .out.
39095         Correct type.
39096         (tests-special): Rename tests to end with .out.
39097         ($(objpfx)mtrace-tst-loading): Likewise.
39098         * intl/Makefile (generated): Likewise.
39099         (tests-special): Likewise.
39100         ($(objpfx)mtrace-tst-gettext): Likewise.
39101         * misc/Makefile (generated): Likewise.
39102         (tests-special): Likewise.
39103         ($(objpfx)tst-error1-mem): Likewise.
39104         * nptl/Makefile (tests-special): Likewise.
39105         ($(objpfx)tst-stack3-mem): Likewise.
39106         (generated): Likewise.
39107         * posix/Makefile (generated): Likewise.
39108         (tests-special): Likewise.
39109         (xtests-special): Likewise.
39110         ($(objpfx)tst-fnmatch-mem): Likewise.
39111         ($(objpfx)bug-regex2-mem): Likewise.
39112         ($(objpfx)bug-regex14-mem): Likewise.
39113         ($(objpfx)bug-regex21-mem): Likewise.
39114         ($(objpfx)bug-regex31-mem): Likewise.
39115         ($(objpfx)tst-vfork3-mem): Likewise.
39116         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39117         ($(objpfx)tst-pcre-mem): Likewise.
39118         ($(objpfx)tst-boost-mem): Likewise.
39119         ($(objpfx)bug-ga2-mem): Likewise.
39120         ($(objpfx)bug-glob2-mem): Likewise.
39121         * resolv/Makefile (generate): Likewise.
39122         (tests-special): Likewise.
39123         (xtests-special): Likewise.
39124         (generated): Likewise.
39125         ($(objpfx)mtrace-tst-leaks): Likewise.
39126         ($(objpfx)mtrace-tst-leaks2): Likewise.
39128         * scripts/merge-test-results.sh: New file.
39129         * Makefile (tests-special-notdir): New variable.
39130         (tests): Run merge-test-results.sh.
39131         (xtests): Likewise.
39132         * Rules (tests-special-notdir): New variable.
39133         (xtests-special-notdir): Likewise.
39134         (tests): Run merge-test-results.sh
39135         (xtests): Likewise.
39137         * Makeconfig (test-xfail-name): New variable.
39138         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39139         compute variable name for expected failures.
39140         * conform/Makefile (conformtest-headers-data): New variable.
39141         (conformtest-standards): Likewise.
39142         (conformtest-headers-ISO): Likewise.
39143         (conformtest-headers-ISO99): Likewise.
39144         (conformtest-headers-ISO11): Likewise.
39145         (conformtest-headers-POSIX): Likewise.
39146         (conformtest-headers-XPG3): Likewise.
39147         (conformtest-headers-XPG4): Likewise.
39148         (conformtest-headers-UNIX98): Likewise.
39149         (conformtest-headers-XOPEN2K): Likewise.
39150         (conformtest-headers-POSIX2008): Likewise.
39151         (conformtest-headers-XOPEN2K8): Likewise.
39152         (conformtest-header-list-base): Likewise.
39153         (conformtest-header-list-tests): Likewise.
39154         (conformtest-header-base): Likewise.
39155         (conformtest-header-tests): Likewise.
39156         (tests-special): Add $(conformtest-header-list-tests).  If
39157         [$(fast-check) && !$(cross-compiling)], add
39158         $(conformtest-header-tests) instead of
39159         $(objpfx)run-conformtest.out.
39160         (generated): Add $(conformtest-header-list-base).  If
39161         [$(fast-check) && !$(cross-compiling)], add
39162         $(conformtest-header-base).  Remove previous setting.
39163         ($(conformtest-header-list-tests)): New target.
39164         (test-xfail-run-conformtest): Remove variable.
39165         ($(objpfx)run-conformtest.out): Remove target.
39166         (test-xfail-ISO11/complex.h/conform): New variable.
39167         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39168         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39169         (test-xfail-XPG3/varargs.h/conform): Likewise.
39170         (test-xfail-XPG4/varargs.h/conform): Likewise.
39171         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39172         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39173         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39174         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39175         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39176         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39177         (test-xfail-XPG3/ftw.h/conform): Likewise.
39178         (test-xfail-XPG3/grp.h/conform): Likewise.
39179         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39180         (test-xfail-XPG3/limits.h/conform): Likewise.
39181         (test-xfail-XPG3/pwd.h/conform): Likewise.
39182         (test-xfail-XPG3/search.h/conform): Likewise.
39183         (test-xfail-XPG3/signal.h/conform): Likewise.
39184         (test-xfail-XPG3/stdio.h/conform): Likewise.
39185         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39186         (test-xfail-XPG3/string.h/conform): Likewise.
39187         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39188         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39189         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39190         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39191         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39192         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39193         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39194         (test-xfail-XPG3/termios.h/conform): Likewise.
39195         (test-xfail-XPG3/time.h/conform): Likewise.
39196         (test-xfail-XPG3/unistd.h/conform): Likewise.
39197         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39198         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39199         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39200         (test-xfail-XPG4/netdb.h/conform): Likewise.
39201         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39202         (test-xfail-XPG4/signal.h/conform): Likewise.
39203         (test-xfail-XPG4/stdio.h/conform): Likewise.
39204         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39205         (test-xfail-XPG4/stropts.h/conform): Likewise.
39206         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39207         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39208         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39209         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39210         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39211         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39212         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39213         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39214         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39215         (test-xfail-XPG4/termios.h/conform): Likewise.
39216         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39217         (test-xfail-XPG4/unistd.h/conform): Likewise.
39218         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39219         (test-xfail-POSIX/sched.h/conform): Likewise.
39220         (test-xfail-POSIX/signal.h/conform): Likewise.
39221         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39222         (test-xfail-POSIX/tar.h/conform): Likewise.
39223         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39224         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39225         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39226         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39227         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39228         (test-xfail-UNIX98/sched.h/conform): Likewise.
39229         (test-xfail-UNIX98/signal.h/conform): Likewise.
39230         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39231         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39232         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39233         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39234         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39235         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39236         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39237         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39238         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39239         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39240         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39241         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39242         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39243         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39244         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39245         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39246         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39247         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39248         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39249         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39250         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39251         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39252         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39253         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39254         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39255         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39256         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39257         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39258         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39259         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39260         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39261         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39262         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39263         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39264         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39265         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39266         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39267         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39268         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39269         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39270         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39271         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39272         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39273         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39274         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39275         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39276         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39277         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39278         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39279         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39280         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39281         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39282         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39283         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39284         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39285         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39286         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39287         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39288         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39289         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39290         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39291         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39292         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39293         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39294         (conformtest-cc-flags): Likewise.
39295         ($(conformtest-header-tests): New target.
39296         * conform/check-header-lists.sh: New file.
39297         * conform/run-conformtest.sh: Remove.
39299         * conform/conformtest.pl: Allow ' and \ in values given for
39300         constants.
39301         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39302         inclusion.
39303         [POSIX] (sys/types.h): Likewise.
39304         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39305         inclusion.
39306         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39307         inclusion.
39308         * conform/data/signal.h-data (SIGIO): Remove expectation.
39309         [XPG3] (SIGBUS): Do not expect.
39310         [POSIX || XPG3] (SIGPOLL): Likewise.
39311         [POSIX || XPG3] (SIGPROF): Likewise.
39312         [POSIX || XPG3] (SIGSYS): Likewise.
39313         [XPG3] (SIGTRAP): Likewise.
39314         [POSIX || XPG3] (SIGURG): Likewise.
39315         [POSIX || XPG3] (SIGVTALRM): Likewise.
39316         [POSIX || XPG3] (SIGXCPU): Likewise.
39317         [POSIX || XPG3] (SIGXFSZ): Likewise.
39318         [POSIX] (SA_SIGINFO): Expect.
39319         [XPG3] (siginfo_t): Do not expect type or contents.
39320         [POSIX] (si_pid): Do not expect element.
39321         [POSIX] (si_uid): Likewise.
39322         [POSIX] (si_addr): Likewise.
39323         [POSIX] (si_status): Likewise.
39324         [POSIX] (si_band): Likewise.
39325         [XPG4] (si_value): Likewise.
39326         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39327         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39328         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39329         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39330         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39331         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39332         [POSIX || XPG3] (ILL_COPROC): Likewise.
39333         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39334         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39335         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39336         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39337         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39338         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39339         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39340         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39341         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39342         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39343         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39344         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39345         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39346         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39347         [POSIX || XPG3] (CLD_EXITED): Likewise.
39348         [POSIX || XPG3] (CLD_KILLED): Likewise.
39349         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39350         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39351         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39352         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39353         [POSIX || XPG3] (POLL_IN): Likewise.
39354         [POSIX || XPG3] (POLL_OUT): Likewise.
39355         [POSIX || XPG3] (POLL_MSG): Likewise.
39356         [POSIX || XPG3] (POLL_ERR): Likewise.
39357         [POSIX || XPG3] (POLL_PRI): Likewise.
39358         [POSIX || XPG3] (POLL_HUP): Likewise.
39359         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39360         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39361         (SIG*): Do not allow.
39362         [XPG3] (si_*): Likewise.
39363         [XPG3] (SI_*): Likewise.
39364         [XPG3 || XPG4] (sigev_*): Likewise.
39365         [XPG3 || XPG4] (SIGEV_*): Likewise.
39366         [XPG3 || XPG4] (sival_*): Likewise.
39367         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39368         [POSIX || XPG3] (BUS_*): Likewise.
39369         [POSIX || XPG3] (CLD_*): Likewise.
39370         [POSIX || XPG3] (FPE_*): Likewise.
39371         [POSIX || XPG3] (ILL_*): Likewise.
39372         [POSIX || XPG3] (POLL_*): Likewise.
39373         [POSIX || XPG3] (SEGV_*): Likewise.
39374         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39375         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39376         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39377         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39378         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39379         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39380         Specify type and value.
39381         (TVERSLEN): Likewise.
39382         (REGTYPE): Likewise.
39383         (AREGTYPE): Likewise.
39384         (LNKTYPE): Likewise.
39385         (SYMTYPE): Likewise.
39386         (CHRTYPE): Likewise.
39387         (BLKTYPE): Likewise.
39388         (DIRTYPE): Likewise.
39389         (FIFOTYPE): Likewise.
39390         (CONTTYPE): Likewise.
39391         (TSUID): Likewise.
39392         (TSGID): Likewise.
39393         (TSVTX): Likewise.
39394         (TUREAD): Likewise.
39395         (TUWRITE): Likewise.
39396         (TUEXEC): Likewise.
39397         (TGREAD): Likewise.
39398         (TGWRITE): Likewise.
39399         (TGEXEC): Likewise.
39400         (TOREAD): Likewise.
39401         (TOWRITE): Likewise.
39402         (TOEXEC): Likewise.
39403         [POSIX] (TSVTX): Expect constant.
39405 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39407         * Makefile (tests): Change dependencies to ....
39408         (tests-special): ... additions to this variable.
39409         (tests): Depend on $(tests-special).
39410         * Makerules (check-abi-list): New variable.
39411         (check-abi): Depend on $(check-abi-list).
39412         [$(subdir) = elf] (tests-special): Add
39413         $(objpfx)check-abi-libc.out.
39414         [$(build-shared) = yes && subdir] (tests-special): Add
39415         $(check-abi-list).
39416         [$(build-shared) = yes && subdir] (tests): Do not depend on
39417         check-abi.
39418         * Rules (tests): Depend on $(tests-special).
39419         (xtests): Depend on $(xtests-special).
39420         * catgets/Makefile (tests): Change dependencies to ....
39421         (tests-special): ... additions to this variable.
39422         * conform/Makefile (tests): Change dependencies to ....
39423         (tests-special): ... additions to this variable.
39424         * elf/Makefile (tests): Change dependencies to ....
39425         (tests-special): ... additions to this variable.
39426         * grp/Makefile (tests): Change dependencies to ....
39427         (tests-special): ... additions to this variable.
39428         * iconv/Makefile (xtests): Change dependencies to ....
39429         (xtests-special): ... additions to this variable.
39430         * iconvdata/Makefile (tests): Change dependencies to ....
39431         (tests-special): ... additions to this variable.
39432         * intl/Makefile (tests): Change dependencies to ....
39433         (tests-special): ... additions to this variable.  Also add
39434         $(objpfx)tst-gettext.out.
39435         * io/Makefile (tests): Change dependencies to ....
39436         (tests-special): ... additions to this variable.
39437         * libio/Makefile (tests): Change dependencies to ....
39438         (tests-special): ... additions to this variable.
39439         * malloc/Makefile (tests): Change dependencies to ....
39440         (tests-special): ... additions to this variable.
39441         * misc/Makefile (tests): Change dependencies to ....
39442         (tests-special): ... additions to this variable.
39443         * nptl/Makefile (tests): Change dependencies to ....
39444         (tests-special): ... additions to this variable.
39445         * nptl_db/Makefile (tests): Change dependencies to ....
39446         (tests-special): ... additions to this variable.
39447         * posix/Makefile (tests): Change dependencies to ....
39448         (tests-special): ... additions to this variable.
39449         (xtests): Change dependencies to ....
39450         (xtests-special): ... additions to this variable.
39451         * resolv/Makefile (tests): Change dependencies to ....
39452         (tests-special): ... additions to this variable.
39453         (xtests): Change dependencies to ....
39454         (xtests-special): ... additions to this variable.
39455         * stdio-common/Makefile (tests): Change dependencies to ....
39456         (tests-special): ... additions to this variable.
39457         (do-tst-unbputc): Remove target.
39458         (do-tst-printf): Likewise.
39459         * stdlib/Makefile (tests): Change dependencies to ....
39460         (tests-special): ... additions to this variable.
39461         * string/Makefile (tests): Change dependencies to ....
39462         (tests-special): ... additions to this variable.
39463         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39464         (tests-special): ... additions to this variable.
39466         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39467         whole file.
39468         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39469         whole file.
39470         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39471         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39473         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39474         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39475         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39476         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39477         * conform/data/libgen.h-data [XPG3]: Likewise.
39478         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39479         * conform/data/ndbm.h-data [XPG3]: Likewise.
39480         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39481         * conform/data/netdb.h-data [XPG3]: Likewise.
39482         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39483         * conform/data/poll.h-data [XPG3]: Likewise.
39484         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39485         * conform/data/strings.h-data [XPG3]: Likewise.
39486         * conform/data/stropts.h-data [XPG3]: Likewise.
39487         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39488         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39489         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39490         Likewise.
39491         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39492         * conform/data/sys/time.h-data [XPG3]: Likewise.
39493         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39494         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39495         * conform/data/sys/un.h-data [XPG3]: Likewise.
39496         * conform/data/syslog.h-data [XPG3]: Likewise.
39497         * conform/data/ucontext.h-data [XPG3]: Likewise.
39498         * conform/data/utmpx.h-data [XPG3]: Likewise.
39499         * conform/data/varargs.h-data [UNIX98]: Enable file.
39501         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39503         * math/libm-test.inc (struct test_f_f_data): Move expected results
39504         into structure for each rounding mode.
39505         (struct test_ff_f_data): Likewise.
39506         (struct test_ff_f_data_nexttoward): Likewise.
39507         (struct test_fi_f_data): Likewise.
39508         (struct test_fl_f_data): Likewise.
39509         (struct test_if_f_data): Likewise.
39510         (struct test_fff_f_data): Likewise.
39511         (struct test_c_f_data): Likewise.
39512         (struct test_f_f1_data): Likewise.
39513         (struct test_fF_f1_data): Likewise.
39514         (struct test_ffI_f1_data): Likewise.
39515         (struct test_c_c_data): Likewise.
39516         (struct test_cc_c_data): Likewise.
39517         (struct test_f_i_data): Likewise.
39518         (struct test_ff_i_data): Likewise.
39519         (struct test_f_l_data): Likewise.
39520         (struct test_f_L_data): Likewise.
39521         (struct test_fFF_11_data): Likewise.
39522         (RM_): New macro.
39523         (RM_FE_DOWNWARD): Likewise.
39524         (RM_FE_TONEAREST): Likewise.
39525         (RM_FE_TOWARDZERO): Likewise.
39526         (RM_FE_UPWARD): Likewise.
39527         (RUN_TEST_LOOP_f_f): Update references to expected results.
39528         (RUN_TEST_LOOP_2_f): Likewise.
39529         (RUN_TEST_LOOP_fff_f): Likewise.
39530         (RUN_TEST_LOOP_c_f): Likewise.
39531         (RUN_TEST_LOOP_f_f1): Likewise.
39532         (RUN_TEST_LOOP_fF_f1): Likewise.
39533         (RUN_TEST_LOOP_fI_f1): Likewise.
39534         (RUN_TEST_LOOP_ffI_f1): Likewise.
39535         (RUN_TEST_LOOP_c_c): Likewise.
39536         (RUN_TEST_LOOP_cc_c): Likewise.
39537         (RUN_TEST_LOOP_f_i): Likewise.
39538         (RUN_TEST_LOOP_f_i_tg): Likewise.
39539         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39540         (RUN_TEST_LOOP_f_b): Likewise.
39541         (RUN_TEST_LOOP_f_b_tg): Likewise.
39542         (RUN_TEST_LOOP_f_l): Likewise.
39543         (RUN_TEST_LOOP_f_L): Likewise.
39544         (RUN_TEST_LOOP_fFF_11): Likewise.
39545         * math/gen-libm-test.pl (parse_args): Output four copies of
39546         expected results for each test.
39548         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39549         (__ASSUME_UTIMES): Remove.
39550         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39551         (__ASSUME_UTIMES): Likewise.
39553         * math/gen-auto-libm-tests.c: Update comment on output format.
39554         (output_for_one_input_case): Generate before-rounding and
39555         after-rounding information as conditions on output flags not
39556         floating-point format.
39557         * math/auto-libm-test-out: Regenerated.
39558         * math/gen-libm-test.pl (cond_value): New function.
39559         (or_cond_value): Use cond_value.
39560         (generate_testfile): Handle conditional exceptions.
39562 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39564         * math/libm-test.inc (max_valid_error): New variable.
39565         (init_max_error): Take new argument specifying whether function
39566         results are exactly determined.  Set max_valid_error and bound
39567         other variables for errors based on this argument.
39568         (set_max_error): Do not record results above max_valid_error.
39569         (check_float_internal): Only accept errors of up to 0.5ulps if
39570         also at most max_valid_error.
39571         (START): Take new argument EXACT and pass it to init_max_error.
39572         (acos_test): Update call to START.
39573         (acos_test_tonearest): Likewise.
39574         (acos_test_towardzero): Likewise.
39575         (acos_test_downward): Likewise.
39576         (acos_test_upward): Likewise.
39577         (acosh_test): Likewise.
39578         (asin_test): Likewise.
39579         (asin_test_tonearest): Likewise.
39580         (asin_test_towardzero): Likewise.
39581         (asin_test_downward): Likewise.
39582         (asin_test_upward): Likewise.
39583         (asinh_test): Likewise.
39584         (atan_test): Likewise.
39585         (atanh_test): Likewise.
39586         (atan2_test): Likewise.
39587         (cabs_test): Likewise.
39588         (cacos_test): Likewise.
39589         (cacosh_test): Likewise.
39590         (carg_test): Likewise.
39591         (casin_test): Likewise.
39592         (casinh_test): Likewise.
39593         (catan_test): Likewise.
39594         (catanh_test): Likewise.
39595         (cbrt_test): Likewise.
39596         (ccos_test): Likewise.
39597         (ccosh_test): Likewise.
39598         (ceil_test): Likewise.
39599         (cexp_test): Likewise.
39600         (cimag_test): Likewise.
39601         (clog_test): Likewise.
39602         (clog10_test): Likewise.
39603         (conj_test): Likewise.
39604         (copysign_test): Likewise.
39605         (cos_test): Likewise.
39606         (cos_test_tonearest): Likewise.
39607         (cos_test_towardzero): Likewise.
39608         (cos_test_downward): Likewise.
39609         (cos_test_upward): Likewise.
39610         (cosh_test): Likewise.
39611         (cosh_test_tonearest): Likewise.
39612         (cosh_test_towardzero): Likewise.
39613         (cosh_test_downward): Likewise.
39614         (cosh_test_upward): Likewise.
39615         (cpow_test): Likewise.
39616         (cproj_test): Likewise.
39617         (creal_test): Likewise.
39618         (csin_test): Likewise.
39619         (csinh_test): Likewise.
39620         (csqrt_test): Likewise.
39621         (ctan_test): Likewise.
39622         (ctan_test_tonearest): Likewise.
39623         (ctan_test_towardzero): Likewise.
39624         (ctan_test_downward): Likewise.
39625         (ctan_test_upward): Likewise.
39626         (ctanh_test): Likewise.
39627         (ctanh_test_tonearest): Likewise.
39628         (ctanh_test_towardzero): Likewise.
39629         (ctanh_test_downward): Likewise.
39630         (ctanh_test_upward): Likewise.
39631         (erf_test): Likewise.
39632         (erfc_test): Likewise.
39633         (exp_test): Likewise.
39634         (exp_test_tonearest): Likewise.
39635         (exp_test_towardzero): Likewise.
39636         (exp_test_downward): Likewise.
39637         (exp_test_upward): Likewise.
39638         (exp10_test): Likewise.
39639         (exp10_test_tonearest): Likewise.
39640         (exp10_test_towardzero): Likewise.
39641         (exp10_test_downward): Likewise.
39642         (exp10_test_upward): Likewise.
39643         (pow10_test): Likewise.
39644         (exp2_test): Likewise.
39645         (expm1_test): Likewise.
39646         (expm1_test_tonearest): Likewise.
39647         (expm1_test_towardzero): Likewise.
39648         (expm1_test_downward): Likewise.
39649         (expm1_test_upward): Likewise.
39650         (fabs_test): Likewise.
39651         (fdim_test): Likewise.
39652         (floor_test): Likewise.
39653         (fma_test): Likewise.
39654         (fma_test_towardzero): Likewise.
39655         (fma_test_downward): Likewise.
39656         (fma_test_upward): Likewise.
39657         (fmax_test): Likewise.
39658         (fmin_test): Likewise.
39659         (fmod_test): Likewise.
39660         (fpclassify_test): Likewise.
39661         (frexp_test): Likewise.
39662         (hypot_test): Likewise.
39663         (ilogb_test): Likewise.
39664         (isfinite_test): Likewise.
39665         (finite_test): Likewise.
39666         (isgreater_test): Likewise.
39667         (isgreaterequal_test): Likewise.
39668         (isinf_test): Likewise.
39669         (isless_test): Likewise.
39670         (islessequal_test): Likewise.
39671         (islessgreater_test): Likewise.
39672         (isnan_test): Likewise.
39673         (isnormal_test): Likewise.
39674         (issignaling_test): Likewise.
39675         (isunordered_test): Likewise.
39676         (j0_test): Likewise.
39677         (j1_test): Likewise.
39678         (jn_test): Likewise.
39679         (ldexp_test): Likewise.
39680         (lgamma_test): Likewise.
39681         (gamma_test): Likewise.
39682         (lrint_test): Likewise.
39683         (lrint_test_tonearest): Likewise.
39684         (lrint_test_towardzero): Likewise.
39685         (lrint_test_downward): Likewise.
39686         (lrint_test_upward): Likewise.
39687         (llrint_test): Likewise.
39688         (llrint_test_tonearest): Likewise.
39689         (llrint_test_towardzero): Likewise.
39690         (llrint_test_downward): Likewise.
39691         (llrint_test_upward): Likewise.
39692         (log_test): Likewise.
39693         (log10_test): Likewise.
39694         (log1p_test): Likewise.
39695         (log2_test): Likewise.
39696         (logb_test): Likewise.
39697         (logb_test_downward): Likewise.
39698         (lround_test): Likewise.
39699         (llround_test): Likewise.
39700         (modf_test): Likewise.
39701         (nearbyint_test): Likewise.
39702         (nextafter_test): Likewise.
39703         (nexttoward_test): Likewise.
39704         (pow_test): Likewise.
39705         (pow_test_tonearest): Likewise.
39706         (pow_test_towardzero): Likewise.
39707         (pow_test_downward): Likewise.
39708         (pow_test_upward): Likewise.
39709         (remainder_test): Likewise.
39710         (drem_test): Likewise.
39711         (remainder_test_tonearest): Likewise.
39712         (drem_test_tonearest): Likewise.
39713         (remainder_test_towardzero): Likewise.
39714         (drem_test_towardzero): Likewise.
39715         (remainder_test_downward): Likewise.
39716         (drem_test_downward): Likewise.
39717         (remainder_test_upward): Likewise.
39718         (drem_test_upward): Likewise.
39719         (remquo_test): Likewise.
39720         (rint_test): Likewise.
39721         (rint_test_tonearest): Likewise.
39722         (rint_test_towardzero): Likewise.
39723         (rint_test_downward): Likewise.
39724         (rint_test_upward): Likewise.
39725         (round_test): Likewise.
39726         (scalb_test): Likewise.
39727         (scalbn_test): Likewise.
39728         (scalbln_test): Likewise.
39729         (signbit_test): Likewise.
39730         (sin_test): Likewise.
39731         (sin_test_tonearest): Likewise.
39732         (sin_test_towardzero): Likewise.
39733         (sin_test_downward): Likewise.
39734         (sin_test_upward): Likewise.
39735         (sincos_test): Likewise.
39736         (sinh_test): Likewise.
39737         (sinh_test_tonearest): Likewise.
39738         (sinh_test_towardzero): Likewise.
39739         (sinh_test_downward): Likewise.
39740         (sinh_test_upward): Likewise.
39741         (sqrt_test): Likewise.
39742         (sqrt_test_tonearest): Likewise.
39743         (sqrt_test_towardzero): Likewise.
39744         (sqrt_test_downward): Likewise.
39745         (sqrt_test_upward): Likewise.
39746         (tan_test): Likewise.
39747         (tan_test_tonearest): Likewise.
39748         (tan_test_towardzero): Likewise.
39749         (tan_test_downward): Likewise.
39750         (tan_test_upward): Likewise.
39751         (tanh_test): Likewise.
39752         (tgamma_test): Likewise.
39753         (trunc_test): Likewise.
39754         (y0_test): Likewise.
39755         (y1_test): Likewise.
39756         (yn_test): Likewise.
39757         (significand_test): Likewise.
39759         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39760         individual tests in comment.
39761         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39762         (prev_max_error): New variable.
39763         (prev_real_max_error): Likewise.
39764         (prev_imag_max_error): Likewise.
39765         (compare_ulp_data): Don't refer to test names in comment.
39766         (find_test_ulps): Remove function.
39767         (find_function_ulps): Likewise.
39768         (find_complex_function_ulps): Likewise.
39769         (init_max_error): Take function name as argument.  Look up ulps
39770         for that function.
39771         (print_ulps): Remove function.
39772         (print_max_error): Use prev_max_error instead of calling
39773         find_function_ulps.
39774         (print_complex_max_error): Use prev_real_max_error and
39775         prev_imag_max_error instead of calling find_complex_function_ulps.
39776         (check_float_internal): Take max_ulp parameter instead of calling
39777         find_test_ulps.  Don't call print_ulps.
39778         (check_float): Update call to check_float_internal.
39779         (check_complex): Update calls to check_float_internal.
39780         (START): Pass argument to init_max_error.
39781         * math/gen-libm-test.pl (%results): Don't include "kind"
39782         information.
39783         (parse_ulps): Don't handle ulps of individual tests.
39784         (print_ulps_file): Likewise.
39785         (output_ulps): Likewise.
39786         * math/README.libm-test: Update.
39787         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39788         individual tests.
39789         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39790         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39791         * sysdeps/arm/libm-test-ulps: Likewise.
39792         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39793         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39794         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39795         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39796         * sysdeps/microblaze/libm-test-ulps: Likewise.
39797         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39798         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39799         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39800         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39801         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39802         * sysdeps/sh/libm-test-ulps: Likewise.
39803         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39804         * sysdeps/tile/libm-test-ulps: Likewise.
39805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39807 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39809         * math/libm-test.inc (print_complex_max_error): Check separately
39810         whether real and imaginary errors are within allowed range and
39811         pass 0 to print_complex_function_ulps instead of value within
39812         allowed range.
39814 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39816         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39817         formatting.
39818         (get_handles_fopen): Likewise.
39819         (do_write_test): Likewise.
39821         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39823         * libio/fileops.c (do_ftell): Use cached offset when
39824         available.
39825         * libio/iofwide.c (do_ftell_wide): Likewise.
39826         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39827         _IO_file_attach.
39828         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39830         [BZ #16532]
39831         * libio/libioP.h (get_file_offset): New function.
39832         * libio/fileops.c (get_file_offset): Likewise.
39833         (do_ftell): Likewise.
39834         (_IO_new_file_seekoff): Split out ftell logic.
39835         * libio/wfileops.c (do_ftell_wide): Likewise.
39836         (_IO_wfile_seekoff): Split out ftell logic.
39837         * libio/tst-ftell-active-handler.c: New test case.
39838         * libio/Makefile (tests): Add it.
39840 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39842         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39843         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39845 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39847         [BZ #16639]
39848         * nscd/connections.c (nscd_init): Call do_exit.
39849         (start_threads): Call do_exit and notify_parent.
39850         (begin_drop_privileges): Call do_exit.
39851         (finish_drop_privileges): Likewise.
39852         * nscd/selinux.c (preserve_capabilities): Likewise.
39853         (install_real_capabilities): Likewise.
39854         (nscd_selinux_enabled): Likewise.
39855         (avc_create_thread): Likewise.
39856         (avc_alloc_lock): Likewise.
39857         (nscd_avc_init): Likewise.
39858         * nscd/nscd.c (parent_fd): New static variable.
39859         (main): Create a pipe between parent and child processes.
39860         Skip closing parent_fd.
39861         (monitor_child): New function.
39862         (do_exit): Likewise.
39863         (notify_parent): Likewise.
39864         * nscd/nscd.h (notify_parent): Likewise.
39865         (do_exit): Likewise.
39867 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39869         * malloc/malloc.c (__libc_calloc): Revert last change.
39871 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39875 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39877         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39878         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39879         implementation.
39880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39881         (__libc_ifunc_impl_list): Likewise.
39882         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39883         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39884         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39885         * string/strrchr.c: Define STRRCHR.
39887 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39889         * benchtest/bench-strtok.c (simple_strtok): Delete.
39890         (strtok_string): Use as benchmark.
39891         * string/strtok (STRTOK): New macro.
39893 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39895         * manual/threads.texi: Add header and standard comments to all
39896         functions.
39898         * elf/dl-lookup.c (check_match): New function.
39899         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39900         (do_lookup_x): Remove nested function check_match. Use non-nested
39901         function check_match.
39903 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39905         * csu/Makefile (generated, before-compile): Use += rather than =.
39906         * catgets/Makefile (generated, generated-dirs): Likewise.
39907         * debug/Makefile (generated): Likewise.
39908         * dlfcn/Makefile (generated): Likewise.
39909         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39910         * iconvdata/Makefile (before-compile, generated): Likewise.
39911         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39912         * libio/Makefile (generated): Likewise.
39913         * malloc/Makefile (generated): Likewise.
39914         * manual/Makefile (generated, generated-dirs): Likewise.
39915         * misc/Makefile (generated): Likewise.
39916         * posix/Makefile (generated): Likewise.
39917         * resolv/Makefile (generated): Likewise.
39918         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39919         * timezone/Makefile (generated, generated-dirs): Likewise.
39921         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39923 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39925         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39926         power8 implementation.
39927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39928         file: POWER8 llround ifunc implementation.
39929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39930         (__lllround): Add POWER8 implementation.
39931         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39932         POWER8 llround implementation.
39934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39935         power8 implementation.
39936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39937         file: POWER8 llrint ifunc implementation.
39938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39939         Add POWER8 implementation.
39940         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39941         POWER8 llrint implementation.
39943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39944         power8 implementation.
39945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39946         file: POWER8 finite ifunc implementation.
39947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39948         Add POWER8 implementation.
39949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39950         Likewise.
39951         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39952         POWER8 finite implementation.
39953         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39955         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39956         power8 implementation.
39957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39958         file: POWER8 isinf ifunc implementation.
39959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39960         POWER8 implementation.
39961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39962         Likewise.
39963         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39964         isinf implementation.
39965         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39967         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39968         (INIT_ARCH): Add hwcap2 initialization.
39969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39970         power8 implementation.
39971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39972         file: POWER8 isnan ifunc implementation.
39973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39974         POWER8 implementation.
39975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39976         Likewise.
39977         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39978         isnan implementation.
39979         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39981 2014-02-27  Joey Ye  <joey.ye@arm.com>
39983         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39984         (_FP_NANFRAC_Q): Set to zero.
39986 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39988         [BZ #16623]
39989         * math/auto-libm-test-in: New test inputs.
39990         * math/auto-libm-test-out: Regenerate.
39991         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39992         and DA.
39993         (__cos): Likewise.
39994         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39996 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39998         * scripts/evaluate-test.sh: Take new argument indicating whether
39999         failure is expected.
40000         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40001         indicating whether failure is expected.
40002         * conform/Makefile (test-xfail-run-conformtest): New variable.
40003         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40004         level.
40005         * posix/Makefile (test-xfail-annexc): New variable.
40006         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40008 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40010         * argp/Makefile: Include Makeconfig immediately after defining
40011         subdir.
40012         * assert/Makefile: Likewise.
40013         * benchtests/Makefile: Likewise.
40014         * catgets/Makefile: Likewise.
40015         * conform/Makefile: Likewise.
40016         * crypt/Makefile: Likewise.
40017         * csu/Makefile: Likewise.
40018         (all): Remove target.
40019         * ctype/Makefile: Include Makeconfig immediately after defining
40020         subdir.
40021         * debug/Makefile: Likewise.
40022         * dirent/Makefile: Likewise.
40023         * dlfcn/Makefile: Likewise.
40024         * gmon/Makefile: Likewise.
40025         * gnulib/Makefile: Likewise.
40026         * grp/Makefile: Likewise.
40027         * gshadow/Makefile: Likewise.
40028         * hesiod/Makefile: Likewise.
40029         * hurd/Makefile: Likewise.
40030         (all): Remove target.
40031         * iconvdata/Makefile: Include Makeconfig immediately after
40032         defining subdir.
40033         * inet/Makefile: Likewise.
40034         * intl/Makefile: Likewise.
40035         * io/Makefile: Likewise.
40036         * libio/Makefile: Likewise.
40037         (all): Remove target.
40038         * locale/Makefile: Include Makeconfig immediately after defining
40039         subdir.
40040         * login/Makefile: Likewise.
40041         * mach/Makefile: Likewise.
40042         (all): Remove target.
40043         * malloc/Makefile: Include Makeconfig immediately after defining
40044         subdir.
40045         (all): Remove target.
40046         * manual/Makefile: Include Makeconfig immediately after defining
40047         subdir.
40048         * math/Makefile: Likewise.
40049         * misc/Makefile: Likewise.
40050         * nis/Makefile: Likewise.
40051         * nss/Makefile: Likewise.
40052         * po/Makefile: Likewise.
40053         (all): Remove target.
40054         * posix/Makefile: Include Makeconfig immediately after defining
40055         subdir.
40056         * pwd/Makefile: Likewise.
40057         * resolv/Makefile: Likewise.
40058         * resource/Makefile: Likewise.
40059         * rt/Makefile: Likewise.
40060         * setjmp/Makefile: Likewise.
40061         * shadow/Makefile: Likewise.
40062         * signal/Makefile: Likewise.
40063         * socket/Makefile: Likewise.
40064         * soft-fp/Makefile: Likewise.
40065         * stdio-common/Makefile: Likewise.
40066         * stdlib/Makefile: Likewise.
40067         * streams/Makefile: Likewise.
40068         * string/Makefile: Likewise.
40069         * sunrpc/Makefile: Likewise.
40070         (all): Remove target.
40071         * sysvipc/Makefile: Include Makeconfig immediately after defining
40072         subdir.
40073         * termios/Makefile: Likewise.
40074         * time/Makefile: Likewise.
40075         * timezone/Makefile: Likewise.
40076         (all): Remove target.
40077         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40078         subdir.
40079         * wctype/Makefile: Likewise.
40081 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40083         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40084         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40085         (libc_feholdexcept_setround_mips): Ditto.
40086         (libc_feholdsetround): New.
40087         (libc_feholdsetroundf): New.
40088         (libc_feholdsetroundl): New.
40089         (libc_feupdateenv_test_mips): New.
40090         (libc_feupdateenv_test): New.
40091         (libc_feupdateenv_testf): New.
40092         (libc_feupdateenv_testl): New.
40093         (libc_feresetround): New.
40094         (libc_feresetroundf): New.
40095         (libc_feresetroundl): New.
40096         (libc_fetestexcept_mips): New.
40097         (libc_fetestexcept): New.
40098         (libc_fetestexceptf): New.
40099         (libc_fetestexceptl): New.
40100         (HAVE_RM_CTX): New.
40101         (libc_feholdexcept_setround_mips_ctx): New.
40102         (libc_feholdexcept_setround_ctx): New.
40103         (libc_feholdexcept_setroundf_ctx): New.
40104         (libc_feholdexcept_setroundl_ctx): New.
40105         (libc_fesetenv_mips_ctx): New.
40106         (libc_fesetenv_ctx): New.
40107         (libc_fesetenv_ctxf): New.
40108         (libc_fesetenv_ctxl): New.
40109         (libc_feupdateenv_mips_ctx): New.
40110         (libc_feupdateenv_ctx): New.
40111         (libc_feupdateenvf_ctx): New.
40112         (libc_feupdateenvl_ctx): New.
40113         (libc_feholdsetround_mips_ctx): New.
40114         (libc_feholdsetround_ctx): New.
40115         (libc_feholdsetroundf_ctx): New.
40116         (libc_feholdsetroundl_ctx): New.
40117         (libc_feresetround_mips_ctx): New.
40118         (libc_feresetround_ctx): New.
40119         (libc_feresetroundf_ctx): New.
40120         (libc_feresetroundl_ctx): New.
40122 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40124         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40126         * manual/ipc.texi: New file.
40127         * manual/Makefile (chapters): Add ipc.
40128         * manual/job.texi: Add "Inter-Process Communication" to next.
40129         * manual/process.texi: Add "Inter-Process Communication" to prev.
40131 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40135 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40137         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40139         * manual/arith.texi: Fix spaces after sentences.
40140         * manual/charset.texi: Likewise.
40141         * manual/errno.texi: Likewise.
40142         * manual/install.texi: Likewise.
40143         * manual/llio.texi: Likewise.
40144         * manual/locale.texi: Likewise.
40145         * manual/maint.texi: Likewise.
40146         * manual/math.texi: Likewise.
40147         * manual/memory.texi: Likewise.
40148         * manual/message.texi: Likewise.
40149         * manual/probes.texi: Likewise.
40150         * manual/resource.texi: Likewise.
40151         * manual/signal.texi: Likewise.
40152         * manual/socket.texi: Likewise.
40153         * manual/stdio.texi: Likewise.
40154         * manual/string.texi: Likewise.
40155         * manual/time.texi: Likewise.
40156         * manual/users.texi: Likewise.
40158 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40160         [BZ #16632]
40161         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40162         _DEFAULT_SOURCE is defined.
40164 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40165             Carlos O'Donell  <carlos@redhat.com>
40167         [BZ #16613]
40168         * elf/dl-tls.c (_dl_count_modids): New function.
40169         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40170         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40171         audit library and increment generation counter.
40172         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40173         * elf/tst-audit9.c: New file.
40174         * elf/tst-auditmod9a.c: New file.
40175         * elf/tst-auditmod9b.c: New file.
40176         * elf/Makefile: Add rules to build and run tst-audit9.
40178 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40180         [BZ #15347]
40181         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40183 2014-02-25  Will Newton  <will.newton@linaro.org>
40185         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40186         (__longjmp): Restore sp and lr before restoring callee
40187         saved registers.  Add longjmp and longjmp_target
40188         SystemTap probe point.
40189         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40190         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40191         Define to zero to match jmpbuf layout.
40192         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40193         (__sigsetjmp): Save sp and lr before saving callee
40194         saved registers.  Add setjmp SystemTap probe point.
40196 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40198         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40200 2014-02-24  Andreas Schwab  <schwab@suse.de>
40202         [BZ #15804]
40203         * elf/pldd.c (wait_for_ptrace_stop): New function.
40204         (main): Call it after attaching.
40206 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40208         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40209         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40210         Versions files is now verboten.
40211         * hurd/Versions (libc: GLIBC_2.0):
40212         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40213         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40214         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40215         * mach/Versions: Likewise.
40217         * csu/Versions: Remove unused %include.
40218         * resolv/Versions: Likewise.
40220 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40222         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40223         ($(objpfx)check-local-headers.out): Likewise.
40224         ($(objpfx)begin-end-check.out): Likewise.
40225         * Makerules (check-abi-%.out): Likewise.
40226         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40227         ($(objpfx)test2.cat): Likewise.
40228         ($(objpfx)de/libc.cat): Likewise.
40229         ($(objpfx)test-gencat.out): Likewise.
40230         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40231         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40232         ($(objpfx)noload-mem): Likewise.
40233         ($(objpfx)tst-pathopt.out): Likewise.
40234         ($(objpfx)tst-rtld-load-self.out): Likewise.
40235         ($(objpfx)tst-array1-cmp.out): Likewise.
40236         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40237         ($(objpfx)tst-array2-cmp.out): Likewise.
40238         ($(objpfx)tst-array3-cmp.out): Likewise.
40239         ($(objpfx)tst-array4-cmp.out): Likewise.
40240         ($(objpfx)tst-array5-cmp.out): Likewise.
40241         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40242         ($(objpfx)check-textrel.out): Likewise.
40243         ($(objpfx)check-execstack.out): Likewise.
40244         ($(objpfx)check-localplt.out): Likewise.
40245         ($(objpfx)order2-cmp.out): Likewise.
40246         ($(objpfx)tst-leaks1-mem): Likewise.
40247         ($(objpfx)tst-leaks1-static-mem): Likewise.
40248         ($(objpfx)tst-initorder-cmp.out): Likewise.
40249         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40250         ($(objpfx)tst-unused-dep.out): Likewise.
40251         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40252         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40253         * iconv/Makefile (test-iconvconfig): Likewise.
40254         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40255         ($(objpfx)iconv-test.out): Likewise.
40256         ($(objpfx)tst-tables.out): Likewise.
40257         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40258         ($(objpfx)tst-gettext.out): Likewise.
40259         ($(objpfx)tst-translit.out): Likewise.
40260         ($(objpfx)tst-gettext2.out): Likewise.
40261         ($(objpfx)tst-gettext4.out): Likewise.
40262         ($(objpfx)tst-gettext6.out): Likewise.
40263         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40264         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40265         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40266         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40267         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40268         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40269         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40270         ($(objpfx)wordexp-tst.out): Likewise.
40271         ($(objpfx)annexc.out): Likewise.
40272         ($(objpfx)tst-fnmatch-mem): Likewise.
40273         ($(objpfx)bug-regex2-mem): Likewise.
40274         ($(objpfx)bug-regex14-mem): Likewise.
40275         ($(objpfx)bug-regex21-mem): Likewise.
40276         ($(objpfx)bug-regex31-mem): Likewise.
40277         ($(objpfx)tst-vfork3-mem): Likewise.
40278         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40279         ($(objpfx)tst-pcre-mem): Likewise.
40280         ($(objpfx)tst-boost-mem): Likewise.
40281         ($(objpfx)tst-getconf.out): Likewise.
40282         ($(objpfx)bug-ga2-mem): Likewise.
40283         ($(objpfx)bug-glob2-mem): Likewise.
40284         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40285         ($(objpfx)mtrace-tst-leaks2): Likewise.
40286         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40287         ($(objpfx)tst-printf.out): Likewise.
40288         ($(objpfx)tst-setvbuf1.out): Likewise.
40289         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40290         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40291         ($(objpfx)tst-fmtmsg.out): Likewise.
40292         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40293         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40295         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40296         * bits/sigaction.h [__USE_MISC]: Likewise.
40297         * bits/waitstatus.h: Update #endif comments.
40298         * ctype/ctype.h: Likewise.
40299         * dirent/dirent.h: Likewise.
40300         [__USE_MISC]: Remove redundant conditionals.
40301         * grp/grp.h: Update #endif comments.
40302         [__USE_GNU]: Remove redundant conditionals.
40303         [__USE_MISC]: Likewise.
40304         * inet/netinet/in.h [__USE_GNU]: Likewise.
40305         * io/sys/stat.h [__USE_MISC]: Likewise.
40306         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40307         * libio/bits/stdio.h: Update #endif comments.
40308         [__USE_MISC]: Remove redundant conditionals.
40309         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40310         * libio/stdio.h: Update #endif comments.
40311         [__USE_MISC]: Remove redundant conditionals.
40312         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40313         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40314         * math/math.h: Update #else and #endif comments.
40315         [__USE_MISC]: Remove redundant conditionals.
40316         * misc/sys/uio.h: Update #endif comments.
40317         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40318         * posix/glob.h [__USE_MISC]: Likewise.
40319         * posix/sys/types.h: Update #endif comments.
40320         [__USE_MISC]: Remove redundant conditionals.
40321         * posix/sys/wait.h: Update #endif comments.
40322         [__USE_MISC]: Remove redundant conditionals.
40323         * posix/unistd.h: Update #endif comments.
40324         [__USE_MISC]: Remove redundant conditionals.
40325         * pwd/pwd.h [__USE_GNU]: Likewise.
40326         [__USE_MISC]: Likewise.
40327         * resolv/netdb.h [__USE_GNU]: Likewise.
40328         * signal/signal.h: Update #endif comments.
40329         [__USE_MISC]: Remove redundant conditionals.
40330         * stdlib/stdlib.h: Update #else and #endif comments.
40331         [__USE_MISC]: Remove redundant conditionals.
40332         [__USE_GNU]: Likewise.
40333         * string/bits/string2.h [__USE_MISC]: Likewise.
40334         * string/string.h: Update #endif comments.
40335         [__USE_MISC]: Remove redundant conditionals.
40336         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40337         Likewise.
40338         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40339         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40340         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40341         Likewise.
40342         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40343         Likewise.
40344         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40345         comments.
40346         [__USE_MISC]: Remove redundant conditionals.
40347         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40348         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40349         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40350         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40351         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40352         Likewise.
40353         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40354         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40355         Likewise.
40356         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40357         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40358         Likewise.
40359         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40360         Likewise.
40361         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40362         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40363         Likewise.
40364         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40365         Likewise.
40366         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40367         * sysdeps/x86/bits/string.h: Update #endif comments.
40368         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40369         conditionals.
40370         * time/sys/time.h: Update #endif comments.
40371         * time/time.h: Likewise.
40372         [__USE_MISC]: Remove redundant conditionals.
40374 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40376         [BZ #16600]
40377         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40379 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40381         * Versions.def (librt): Add GLIBC_2.17.
40383 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40385         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40386         synonym for _SYS_AUXV_H to allow direct inclusion.
40387         * sysdeps/sparc/bits/hwcap.h: Likewise.
40388         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40389         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40390         * sysdeps/sparc/sysdep.h: Likewise.
40392 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40394         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40396 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40398         * benchtests/bench-strrchr.c: Print length instead of position.
40400 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40402         [BZ #16611]
40403         * sysdeps/unix/sysv/linux/kernel-features.h
40404         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40405         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40406         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40407         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40408         Likewise.
40409         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40410         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40411         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40412         (__ASSUME_SENDMMSG): Define instead of using previous
40413         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40414         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40415         (__ASSUME_SENDMMSG_SYSCALL): Define.
40416         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40417         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40418         Likewise.
40419         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40420         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40421         Likewise.
40422         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40423         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40424         Likewise.
40425         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40426         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40427         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40428         [__ASSUME_SENDMMSG]: Change conditionals to
40429         [__ASSUME_SENDMMSG_SOCKETCALL].
40430         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40431         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40432         Define.
40433         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40434         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40435         Likewise.
40436         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40437         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40438         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40439         [!__ASSUME_SENDMMSG]: Change conditional to
40440         [!__ASSUME_SENDMMSG_SOCKETCALL].
40441         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40442         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40443         Define.
40445         [BZ #16610]
40446         * sysdeps/unix/sysv/linux/kernel-features.h
40447         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40448         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40449         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40450         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40451         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40452         [__i386__ || __sparc__]
40453         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40454         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40455         (__ASSUME_RECVMMSG): Define instead of using previous
40456         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40457         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40458         (__ASSUME_RECVMMSG_SYSCALL): Define.
40459         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40460         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40461         Likewise.
40462         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40463         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40464         Likewise.
40465         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40466         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40467         Likewise.
40468         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40469         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40470         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40471         [__ASSUME_RECVMMSG]: Change condition to
40472         [__ASSUME_RECVMMSG_SOCKETCALL].
40473         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40474         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40475         Define.
40476         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40477         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40478         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40479         Likewise.
40480         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40481         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40482         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40483         [!__ASSUME_RECVMMSG]: Change condition to
40484         [!__ASSUME_RECVMMSG_SOCKETCALL].
40485         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40486         (__ASSUME_RECVMMSG_SYSCALL): Define.
40488         [BZ #16609]
40489         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40490         __powerpc__ || __s390__ || __sh__ || __sparc__]
40491         (__ASSUME_SOCKETCALL): Define.
40492         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40493         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40494         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40495         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40496         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40497         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40498         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40499         (__ASSUME_ACCEPT4): Define instead of using previous
40500         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40501         __powerpc__ || __sparc__ || __s390__)] condition.
40502         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40503         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40504         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40505         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40506         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40507         [!__ASSUME_ACCEPT4]: Change condition to
40508         [!__ASSUME_ACCEPT4_SOCKETCALL].
40509         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40510         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40511         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40512         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40513         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40514         __ASSUME_ACCEPT4_SYSCALL.
40515         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40516         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40517         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40518         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40519         __ASSUME_ACCEPT4_SYSCALL.
40520         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40521         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40522         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40523         [__ASSUME_ACCEPT4]: Change condition to
40524         [__ASSUME_ACCEPT4_SOCKETCALL].
40525         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40526         (__ASSUME_SOCKETCALL): Define.
40527         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40528         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40529         (__ASSUME_SOCKETCALL): Define.
40530         (__ASSUME_ACCEPT4): Remove.
40531         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40532         Define.
40533         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40534         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40535         Likewise.
40536         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40537         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40539         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40540         macro.
40541         (HWCAP_ARM_LPAE): Likewise.
40542         (HWCAP_ARM_EVTSTRM): Likewise.
40543         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40544         Add vpfd32, lpae and evtstrm.
40545         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40546         Increase to 22.
40548 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40550         * math/auto-libm-test-in: Add tests of clog10.
40551         * math/auto-libm-test-out: Regenerated.
40552         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40553         * sysdeps/i386/fpu/libm-test-ulps: Update.
40554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40556 2014-02-18  Andreas Schwab  <schwab@suse.de>
40558         [BZ #16574]
40559         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40560         Store non-zero if the second buffer was newly allocated.
40561         (send_dg): Likewise.
40562         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40563         to send_vc and send_dg.
40564         (res_nsend): Pass NULL for ansp2_malloced.
40565         * resolv/res_query.c (__libc_res_nquery): Add parameter
40566         answerp2_malloced and pass it down to __libc_res_nsend.
40567         (res_nquery): Pass additional NULL to __libc_res_nquery.
40568         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40569         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40570         second answer buffer if answerp2_malloced was set.
40571         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40572         (__libc_res_nquerydomain): Add parameter
40573         answerp2_malloced and pass it down to __libc_res_nquery.
40574         (res_nquerydomain): Pass additional NULL to
40575         __libc_res_nquerydomain.
40576         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40577         additional NULL to __libc_res_nsend and __libc_res_nquery.
40578         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40579         additional NULL to __libc_res_nsearch.
40580         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40581         parameter of __libc_res_nsearch to check for separately allocated
40582         second buffer.
40583         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40584         __libc_res_nquery.
40585         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40586         additional NULL to __libc_res_nquery.
40587         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40588         __libc_res_nsearch.
40589         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40590         * include/resolv.h: Update prototypes of __libc_res_nquery,
40591         __libc_res_nsearch, __libc_res_nsend.
40593 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40595         * math/auto-libm-test-in: Add tests of fma.
40596         * math/auto-libm-test-out: Regenerated.
40597         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40598         (fma_towardzero_test_data): Likewise.
40599         (fma_downward_test_data): Likewise.
40600         (fma_upward_test_data): Likewise.
40601         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40602         mpc_mode.
40603         (rounding_modes): Add values for new field.
40604         (func_calc_method): Add value mpfr_fff_f.
40605         (func_calc_desc): Add mpfr_fff_f union field.
40606         (test_function): Add field exact_args.
40607         (FUNC): Add macro argument EXACT_ARGS.
40608         (FUNC_mpfr_f_f): Update call to FUNC.
40609         (FUNC_mpfr_f_f): Likewise.
40610         (FUNC_mpfr_ff_f): Likewise.
40611         (FUNC_mpfr_if_f): Likewise.
40612         (FUNC_mpc_c_f): Likewise.
40613         (FUNC_mpc_c_c): Likewise.
40614         (test_functions): Add fma.  Update calls to FUNC.
40615         (handle_input_arg): Add argument exact_args.
40616         (add_test): Update call to handle_input_arg.
40617         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40618         (output_for_one_input_case): Update call to calc_generic_results.
40619         Recalculate exact zero results in each rounding mode.
40621         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40622         non-negative before setting low bit.
40623         * math/auto-libm-test-in: Mark one asin test possibly having
40624         spurious underflow.
40625         * math/auto-libm-test-out: Regenerated.
40626         * sysdeps/i386/fpu/libm-test-ulps: Update.
40627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40629 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40631         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40632         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40633         ports/sysdeps/unix/sysv/linux/microblaze.
40634         * README: Add missing listing for microblaze*-*-linux-gnu.
40636 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40638         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40639         duplicate code
40641 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40643         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40644         * sysdeps/unix/sysv/linux/ia64: Move directory from
40645         ports/sysdeps/unix/sysv/linux/ia64.
40646         * README: Update listing for ia64-*-linux-gnu.
40648 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40649             Joseph Myers  <joseph@codesourcery.com>
40651         * Makeconfig (test-name): New variable.
40652         (evaluate-test): Likewise.
40653         * Makerules (do-test-clean): Remove .test-result files.
40654         (common-mostlyclean): Likewise.
40655         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40656         * scripts/evaluate-test.sh: New file.
40658 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40660         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40661         separate $(objpfx)tst-fopenloc-cmp.out and
40662         $(objpfx)tst-fopenloc-mem.out targets.
40663         (tests): Update dependencies.
40664         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40665         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40666         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40667         (tst-rxspencer-no-utf8-ARGS): New variable.
40668         (tst-rxspencer-no-utf8-ENV): Likewise.
40669         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40670         instead of $(objpfx)tst-rxspencer-mem.
40671         ($(objpfx)tst-rxspencer-mem): Change target to
40672         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40673         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40674         * posix/tst-rxspencer-no-utf8.c: New file.
40676         * elf/Makefile ($(objpfx)order.out): Remove rule.
40677         [$(run-built-tests) = yes] (tests): Depend on
40678         $(objpfx)order-cmp.out.
40679         ($(objpfx)order-cmp.out): New rule.
40680         [$(run-built-tests) = yes] (tests): Depend on
40681         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40682         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40683         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40684         $(objpfx)tst-array5-static-cmp.out.
40685         ($(objpfx)tst-array1.out): Remove rule.
40686         ($(objpfx)tst-array1-cmp.out): New rule.
40687         ($(objpfx)tst-array1-static.out): Remove rule.
40688         ($(objpfx)tst-array1-static-cmp.out): New rule.
40689         ($(objpfx)tst-array2.out): Remove rule.
40690         ($(objpfx)tst-array2-cmp.out): New rule.
40691         ($(objpfx)tst-array3.out): Remove rule.
40692         ($(objpfx)tst-array3-cmp.out): New rule.
40693         ($(objpfx)tst-array4.out): Remove rule.
40694         ($(objpfx)tst-array4-cmp.out): New rule.
40695         ($(objpfx)tst-array5.out): Remove rule.
40696         ($(objpfx)tst-array5-cmp.out): New rule.
40697         ($(objpfx)tst-array5-static.out): Remove rule.
40698         ($(objpfx)tst-array5-static-cmp.out): New rule.
40699         [$(run-built-tests) = yes] (tests): Depend on
40700         $(objpfx)order2-cmp.out.
40701         ($(objpfx)order2.out): Remove rule.
40702         ($(objpfx)order2-cmp.out): New rule.
40703         ($(objpfx)tst-initorder.out): Remove rule.
40704         [$(run-built-tests) = yes] (tests): Depend on
40705         $(objpfx)tst-initorder-cmp.out.
40706         ($(objpfx)tst-initorder-cmp.out): New rule.
40707         ($(objpfx)tst-initorder2.out): Remove rule.
40708         [$(run-built-tests) = yes] (tests): Depend on
40709         $(objpfx)tst-initorder2-cmp.out.
40710         ($(objpfx)tst-initorder2-cmp.out): New rule.
40711         [$(run-built-tests) = yes] (tests): Depend on
40712         $(objpfx)tst-unused-dep-cmp.out.
40713         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40714         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40715         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40716         on $(objpfx)tst-setvbuf1-cmp.out.
40717         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40718         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40719         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40720         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40721         ($(objpfx)tst-svc.out): Remove rule.
40722         ($(objpfx)tst-svc-cmp.out): New rule.
40724 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40726         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40727         * ctype/ctype.h [__USE_MISC]: Likewise.
40728         * dirent/dirent.h [__USE_MISC]: Likewise.
40729         * grp/grp.h [__USE_MISC]: Likewise.
40730         * io/fcntl.h [__USE_MISC]: Likewise.
40731         * io/sys/stat.h [__USE_MISC]: Likewise.
40732         * libio/stdio.h [__USE_MISC]: Likewise.
40733         * posix/unistd.h [__USE_MISC]: Likewise.
40734         * pwd/pwd.h [__USE_MISC]: Likewise.
40735         * stdlib.h [__USE_MISC]: Likewise.
40736         * string/bits/string2.h [__USE_MISC]: Likewise.
40737         * string/string.h [__USE_MISC]: Likewise.
40738         * time/time.h [__USE_MISC]: Likewise.
40740 2014-02-13  Andreas Schwab  <schwab@suse.de>
40742         [BZ #16574]
40743         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40744         second answer buffer if it was separately allocated.
40746 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40748         * sysdeps/mips/math-tests.h: Include <features.h>.
40749         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40750         (ROUNDING_TESTS_long_double): Do not define.
40751         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40752         (EXCEPTION_TESTS_long_double): Likewise.
40753         * sysdeps/mips/mips64/libm-test-ulps: Update.
40755         * include/features.h (__USE_BSD): Remove macro definitions.
40756         (__USE_SVID): Likewise.
40757         (_BSD_SOURCE): Likewise.
40758         (_SVID_SOURCE): Likewise.
40759         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40760         from definition of _DEFAULT_SOURCE.
40761         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40762         [_DEFAULT_SOURCE].
40763         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40764         * bits/mman.h [__USE_BSD]: Likewise.
40765         * bits/termios.h [__USE_BSD]: Likewise.
40766         * bits/waitstatus.h [__USE_BSD]: Likewise.
40767         * ctype/ctype.h [__USE_SVID]: Likewise.
40768         * dirent/dirent.h [__USE_BSD]: Likewise.
40769         * grp/grp.h [__USE_SVID]: Likewise.
40770         [__USE_BSD]: Likewise.
40771         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40772         * io/fcntl.h [__USE_BSD]: Likewise.
40773         * io/ftw.h [__USE_BSD]: Likewise.
40774         * io/sys/stat.h [__USE_BSD]: Likewise.
40775         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40776         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40777         * libio/stdio.h [__USE_SVID]: Likewise.
40778         [__USE_BSD]: Likewise.
40779         * math/math.h [__USE_SVID]: Likewise.
40780         [__USE_BSD]: Likewise.
40781         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40782         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40783         * misc/search.h [__USE_SVID]: Likewise.
40784         * misc/sys/mman.h [__USE_BSD]: Likewise.
40785         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40786         * misc/sys/uio.h [__USE_BSD]: Likewise.
40787         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40788         * posix/glob.h [__USE_BSD]: Likewise.
40789         * posix/regex.h [__USE_BSD]: Likewise.
40790         * posix/sys/types.h [__USE_BSD]: Likewise.
40791         [__USE_SVID]: Likewise.
40792         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40793         * posix/sys/wait.h [__USE_BSD]: Likewise.
40794         [__USE_SVID]: Likewise.
40795         * posix/unistd.h [__USE_BSD]: Likewise.
40796         [__USE_SVID]: Likewise.
40797         * pwd/pwd.h [__USE_SVID]: Likewise.
40798         * resolv/netdb.h [__USE_BSD]: Likewise.
40799         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40800         * signal/signal.h [__USE_BSD]: Likewise.
40801         [__USE_SVID]: Likewise.
40802         * socket/sys/socket.h [__USE_BSD]: Likewise.
40803         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40804         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40805         [__USE_SVID]: Likewise.
40806         * string/bits/string2.h [__USE_BSD]: Likewise.
40807         [__USE_SVID]: Likewise.
40808         * string/bits/string3.h [__USE_BSD]: Likewise.
40809         * string/endian.h [__USE_BSD]: Likewise.
40810         * string/string.h [__USE_SVID]: Likewise.
40811         [__USE_BSD]: Likewise.
40812         * string/strings.h [__USE_BSD]: Likewise.
40813         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40814         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40815         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40816         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40817         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40818         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40819         Likewise.
40820         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40821         Likewise.
40822         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40823         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40824         Likewise.
40825         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40826         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40827         Likewise.
40828         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40829         Likewise.
40830         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40831         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40832         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40833         Likewise.
40834         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40835         Likewise.
40836         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40837         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40838         * termios/termios.h [__USE_BSD]: Likewise.
40839         * time/sys/time.h [__USE_BSD]: Likewise.
40840         * time/time.h [__USE_BSD]: Likewise.
40841         [__USE_SVID]: Likewise.
40843         * Makefile (subdir_targets): Remove subdir_lint.out.
40845         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40846         (do-tst-printf): Likewise.
40847         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40848         $(objpfx)tst-printf.out.
40850         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40852         * Makerules (check-abi-%): Change target to
40853         $(objpfx)check-abi-%.out.
40854         (check-abi target): Update dependencies.
40855         (check-abi-pattern variable): Redirect output of diff to $@.
40856         (check-abi variable): Likewise.
40857         * elf/Makefile (check-abi): Update dependencies.
40859         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40860         unused.
40861         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40862         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40863         subnormal range.
40864         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40865         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40866         value has largest subnormal exponent.
40867         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40868         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40869         * sysdeps/aarch64/soft-fp/sfp-machine.h
40870         (_FP_TININESS_AFTER_ROUNDING): New macro.
40871         * sysdeps/alpha/soft-fp/sfp-machine.h
40872         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40873         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40874         Likewise.
40875         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40876         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40877         * sysdeps/mips/soft-fp/sfp-machine.h
40878         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40879         * sysdeps/powerpc/soft-fp/sfp-machine.h
40880         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40881         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40882         Likewise.
40883         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40884         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40885         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40886         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40887         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40888         Likewise.
40890 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40892         [BZ #16545]
40893         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40894         model 1.
40896 2014-02-12  Richard Henderson  <rth@redhat.com>
40898         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40899         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40900         * sysdeps/unix/sysv/linux/alpha: Move directory from
40901         ports/sysdeps/unix/sysv/linux/alpha.
40902         * README: Update listing for alpha-*-linux-gnu.
40904 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40906         * include/features.h: Update comment documenting feature test
40907         macros.
40908         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40909         _DEFAULT_SOURCE.
40910         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40911         (_SVID_SOURCE): Likewise.
40912         (_DEFAULT_SOURCE): Update description of default features.
40913         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40914         with _GNU_SOURCE.
40915         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40916         (S_ISVTX): Likewise.
40917         * manual/math.texi (Mathematical Constants): Likewise.
40918         * manual/signal.texi (Interrupted Primitives): Likewise.
40919         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40920         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40921         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40922         Don't refer to _SVID_SOURCE in warning text.
40924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40926         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40927         already defined.
40928         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40929         * sysdeps/mips/dl-lookup.c: Remove.
40930         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40932 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40934         [BZ #16447]
40935         * math/auto-libm-test-in: Add testcase for expl.
40936         * math/auto-libm-test-out: Regenerate.
40937         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40938         calculation of unsafe.
40939         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40941 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40943         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40944         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40945         ports/sysdeps/unix/sysv/linux/aarch64.
40946         * README: Update listing for aarch64*-*-linux-gnu.
40948 2014-02-11  Will Newton  <will.newton@linaro.org>
40950         * manual/probes.texi (Mathematical Function Probes): Use
40951         "triggered" instead of "hit".
40953         * manual/probes.texi (Internal Probes): Add documentation
40954         of setjmp, longjmp and longjmp_target probes.
40956         * include/stap-probe.h: Add comment about probe argument
40957         format.
40959         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40960         definition.  (tr_where, tr_freehook, tr_mallochook,
40961         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40963 2014-02-11  David S. Miller  <davem@davemloft.net>
40965         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40966         processing int_tests.
40968 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40970         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40971         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40972         * sysdeps/unix/sysv/linux/mips: Move directory from
40973         ports/sysdeps/unix/sysv/linux/mips.
40974         * README: Update listing for mips-*-linux-gnu and
40975         mips64-*-linux-gnu.
40977 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40979         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40980         * sysdeps/unix/sysv/linux/m68k: Move directory from
40981         ports/sysdeps/unix/sysv/linux/m68k.
40982         * README: Update listing for m68k-*-linux-gnu.
40984 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40986         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40987         * sysdeps/unix/sysv/linux/generic: Move directory from
40988         ports/sysdeps/unix/sysv/linux/generic.
40989         * sysdeps/unix/sysv/linux/tile: Move directory from
40990         ports/sysdeps/unix/sysv/linux/tile.
40991         * README: Update listing for tile*-*-linux-gnu.
40993 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40995         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40996         __builtin_expect.
40997         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40998         * catgets/open_catalog.c (__open_catalog): Likewise.
40999         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41000         * debug/confstr_chk.c: Likewise.
41001         * debug/fread_chk.c (__fread_chk): Likewise.
41002         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41003         * debug/getgroups_chk.c: Likewise.
41004         * debug/mbsnrtowcs_chk.c: Likewise.
41005         * debug/mbsrtowcs_chk.c: Likewise.
41006         * debug/mbstowcs_chk.c: Likewise.
41007         * debug/memcpy_chk.c: Likewise.
41008         * debug/memmove_chk.c: Likewise.
41009         * debug/mempcpy_chk.c: Likewise.
41010         * debug/memset_chk.c: Likewise.
41011         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41012         * debug/strcat_chk.c (__strcat_chk): Likewise.
41013         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41014         * debug/strncat_chk.c (__strncat_chk): Likewise.
41015         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41016         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41017         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41018         * debug/wcpncpy_chk.c: Likewise.
41019         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41020         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41021         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41022         * debug/wcsncpy_chk.c: Likewise.
41023         * debug/wcsnrtombs_chk.c: Likewise.
41024         * debug/wcsrtombs_chk.c: Likewise.
41025         * debug/wcstombs_chk.c: Likewise.
41026         * debug/wmemcpy_chk.c: Likewise.
41027         * debug/wmemmove_chk.c: Likewise.
41028         * debug/wmempcpy_chk.c: Likewise.
41029         * debug/wmemset_chk.c: Likewise.
41030         * dirent/scandirat.c (SCANDIRAT): Likewise.
41031         * dlfcn/dladdr1.c (dladdr1): Likewise.
41032         * dlfcn/dladdr.c (dladdr): Likewise.
41033         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41034         * dlfcn/dlerror.c (__dlerror): Likewise.
41035         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41036         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41037         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41038         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41039         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41040         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41041         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41042         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41043         Likewise.
41044         * elf/dl-conflict.c: Likewise.
41045         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41046         * elf/dl-dst.h: Likewise.
41047         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41048         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41049         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41050         * elf/dl-init.c (call_init, _dl_init): Likewise.
41051         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41052         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41053         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41054         Likewise.
41055         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41056         Likewise.
41057         * elf/dl-minimal.c (__libc_memalign): Likewise.
41058         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41059         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41060         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41061         * elf/dl-sym.c (do_sym): Likewise.
41062         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41063         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41064         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41065         * elf/dl-writev.h (_dl_writev): Likewise.
41066         * elf/ldconfig.c (search_dir): Likewise.
41067         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41068         (dl_main): Likewise.
41069         * elf/setup-vdso.h (setup_vdso): Likewise.
41070         * grp/compat-initgroups.c (compat_call): Likewise.
41071         * grp/fgetgrent.c (fgetgrent): Likewise.
41072         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41073         * grp/putgrent.c (putgrent): Likewise.
41074         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41075         Likewise.
41076         * hurd/hurdinit.c: Likewise.
41077         * iconvdata/8bit-gap.c (struct): Likewise.
41078         * iconvdata/ansi_x3.110.c : Likewise.
41079         * iconvdata/big5.c : Likewise.
41080         * iconvdata/big5hkscs.c : Likewise.
41081         * iconvdata/cp1255.c: Likewise.
41082         * iconvdata/cp1258.c : Likewise.
41083         * iconvdata/cp932.c : Likewise.
41084         * iconvdata/euc-cn.c: Likewise.
41085         * iconvdata/euc-jisx0213.c : Likewise.
41086         * iconvdata/euc-jp.c: Likewise.
41087         * iconvdata/euc-jp-ms.c : Likewise.
41088         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41089         * iconvdata/gb18030.c : Likewise.
41090         * iconvdata/gbbig5.c (const): Likewise.
41091         * iconvdata/gbgbk.c: Likewise.
41092         * iconvdata/gbk.c : Likewise.
41093         * iconvdata/ibm1364.c : Likewise.
41094         * iconvdata/ibm930.c : Likewise.
41095         * iconvdata/ibm932.c: Likewise.
41096         * iconvdata/ibm933.c : Likewise.
41097         * iconvdata/ibm935.c : Likewise.
41098         * iconvdata/ibm937.c : Likewise.
41099         * iconvdata/ibm939.c : Likewise.
41100         * iconvdata/ibm943.c: Likewise.
41101         * iconvdata/iso_11548-1.c: Likewise.
41102         * iconvdata/iso-2022-cn.c : Likewise.
41103         * iconvdata/iso-2022-cn-ext.c : Likewise.
41104         * iconvdata/iso-2022-jp-3.c: Likewise.
41105         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41106         * iconvdata/iso-2022-kr.c : Likewise.
41107         * iconvdata/iso646.c (gconv_end): Likewise.
41108         * iconvdata/iso_6937-2.c : Likewise.
41109         * iconvdata/iso_6937.c : Likewise.
41110         * iconvdata/iso8859-1.c: Likewise.
41111         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41112         * iconvdata/shift_jisx0213.c : Likewise.
41113         * iconvdata/sjis.c : Likewise.
41114         * iconvdata/t.61.c : Likewise.
41115         * iconvdata/tcvn5712-1.c : Likewise.
41116         * iconvdata/tscii.c: Likewise.
41117         * iconvdata/uhc.c : Likewise.
41118         * iconvdata/unicode.c (gconv_end): Likewise.
41119         * iconvdata/utf-16.c (gconv_end): Likewise.
41120         * iconvdata/utf-32.c (gconv_end): Likewise.
41121         * iconvdata/utf-7.c (base64): Likewise.
41122         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41123         * iconv/gconv_close.c (__gconv_close): Likewise.
41124         * iconv/gconv_open.c (__gconv_open): Likewise.
41125         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41126         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41127         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41128         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41129         (ucs4le_internal_loop_single): Likewise.
41130         * iconv/iconv.c (iconv): Likewise.
41131         * iconv/iconv_close.c: Likewise.
41132         * iconv/loop.c (SINGLE): Likewise.
41133         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41134         * include/atomic.h: Likewise.
41135         * inet/inet6_option.c (option_alloc): Likewise.
41136         * intl/bindtextdom.c (set_binding_values): Likewise.
41137         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41138         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41139         * intl/localealias.c (read_alias_file): Likewise.
41140         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41141         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41142         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41143         * libio/fmemopen.c (fmemopen): Likewise.
41144         * libio/iofgets.c (_IO_fgets): Likewise.
41145         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41146         * libio/iofgetws.c (fgetws): Likewise.
41147         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41148         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41149         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41150         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41151         * locale/findlocale.c (_nl_find_locale): Likewise.
41152         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41153         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41154         Likewise.
41155         * locale/setlocale.c (setlocale): Likewise.
41156         * login/programs/pt_chown.c (main): Likewise.
41157         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41158         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41159         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41160         (mmap, mmap64, mremap, munmap): Likewise.
41161         * math/e_exp2l.c: Likewise.
41162         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41163         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41164         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41165         * math/s_catan.c (__catan): Likewise.
41166         * math/s_catanf.c (__catanf): Likewise.
41167         * math/s_catanh.c (__catanh): Likewise.
41168         * math/s_catanhf.c (__catanhf): Likewise.
41169         * math/s_catanhl.c (__catanhl): Likewise.
41170         * math/s_catanl.c (__catanl): Likewise.
41171         * math/s_ccosh.c (__ccosh): Likewise.
41172         * math/s_ccoshf.c (__ccoshf): Likewise.
41173         * math/s_ccoshl.c (__ccoshl): Likewise.
41174         * math/s_cexp.c (__cexp): Likewise.
41175         * math/s_cexpf.c (__cexpf): Likewise.
41176         * math/s_cexpl.c (__cexpl): Likewise.
41177         * math/s_clog10.c (__clog10): Likewise.
41178         * math/s_clog10f.c (__clog10f): Likewise.
41179         * math/s_clog10l.c (__clog10l): Likewise.
41180         * math/s_clog.c (__clog): Likewise.
41181         * math/s_clogf.c (__clogf): Likewise.
41182         * math/s_clogl.c (__clogl): Likewise.
41183         * math/s_csin.c (__csin): Likewise.
41184         * math/s_csinf.c (__csinf): Likewise.
41185         * math/s_csinh.c (__csinh): Likewise.
41186         * math/s_csinhf.c (__csinhf): Likewise.
41187         * math/s_csinhl.c (__csinhl): Likewise.
41188         * math/s_csinl.c (__csinl): Likewise.
41189         * math/s_csqrt.c (__csqrt): Likewise.
41190         * math/s_csqrtf.c (__csqrtf): Likewise.
41191         * math/s_csqrtl.c (__csqrtl): Likewise.
41192         * math/s_ctan.c (__ctan): Likewise.
41193         * math/s_ctanf.c (__ctanf): Likewise.
41194         * math/s_ctanh.c (__ctanh): Likewise.
41195         * math/s_ctanhf.c (__ctanhf): Likewise.
41196         * math/s_ctanhl.c (__ctanhl): Likewise.
41197         * math/s_ctanl.c (__ctanl): Likewise.
41198         * math/w_pow.c: Likewise.
41199         * math/w_powf.c: Likewise.
41200         * math/w_powl.c: Likewise.
41201         * math/w_scalb.c (sysv_scalb): Likewise.
41202         * math/w_scalbf.c (sysv_scalbf): Likewise.
41203         * math/w_scalbl.c (sysv_scalbl): Likewise.
41204         * misc/error.c (error_tail): Likewise.
41205         * misc/pselect.c (__pselect): Likewise.
41206         * nis/nis_callback.c (__nis_create_callback): Likewise.
41207         * nis/nis_call.c (__nisfind_server): Likewise.
41208         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41209         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41210         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41211         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41212         * nis/nis_lookup.c (nis_lookup): Likewise.
41213         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41214         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41215         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41216         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41217         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41218         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41219         * nis/nss_compat/compat-initgroups.c (add_group)
41220         (internal_getgrent_r): Likewise.
41221         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41222         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41223         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41224         (internal_getspnam_r): Likewise.
41225         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41226         (_nss_nis_getaliasbyname_r): Likewise.
41227         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41228         (_nss_nis_getntohost_r): Likewise.
41229         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41230         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41231         (_nss_nis_getgrgid_r): Likewise.
41232         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41233         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41234         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41235         (_nss_nis_gethostbyname4_r): Likewise.
41236         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41237         (initgroups_netid): Likewise.
41238         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41239         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41240         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41241         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41242         (_nss_nis_getprotobynumber_r): Likewise.
41243         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41244         (_nss_nis_getsecretkey): Likewise.
41245         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41246         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41247         (_nss_nis_getpwuid_r): Likewise.
41248         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41249         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41250         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41251         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41252         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41253         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41254         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41255         Likewise.
41256         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41257         (_nss_nisplus_getntohost_r): Likewise.
41258         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41259         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41260         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41261         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41262         Likewise.
41263         * nis/nss_nisplus/nisplus-initgroups.c
41264         (_nss_nisplus_initgroups_dyn): Likewise.
41265         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41266         (_nss_nisplus_getnetbyaddr_r): Likewise.
41267         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41268         (_nss_nisplus_getprotobynumber_r): Likewise.
41269         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41270         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41271         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41272         Likewise.
41273         * nis/nss_nisplus/nisplus-service.c
41274         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41275         (_nss_nisplus_getservbyport_r): Likewise.
41276         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41277         (_nss_nisplus_getspnam_r): Likewise.
41278         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41279         Likewise.
41280         * nscd/aicache.c (addhstaiX): Likewise.
41281         * nscd/cache.c (cache_search, prune_cache): Likewise.
41282         * nscd/connections.c (register_traced_file, send_ro_fd)
41283         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41284         (main_loop_epoll): Likewise.
41285         * nscd/grpcache.c (addgrbyX): Likewise.
41286         * nscd/hstcache.c (addhstbyX): Likewise.
41287         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41288         * nscd/mem.c (gc, mempool_alloc): Likewise.
41289         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41290         (addinnetgrX): Likewise.
41291         * nscd/nscd-client.h (__nscd_acquire_maplock)
41292         (__nscd_drop_map_ref): Likewise.
41293         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41294         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41295         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41296         Likewise.
41297         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41298         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41299         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41300         (__nscd_get_map_ref): Likewise.
41301         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41302         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41303         Likewise.
41304         * nscd/pwdcache.c (addpwbyX): Likewise.
41305         * nscd/selinux.c (preserve_capabilities): Likewise.
41306         * nscd/servicescache.c (addservbyX): Likewise.
41307         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41308         * posix/fnmatch.c (fnmatch): Likewise.
41309         * posix/getopt.c (_getopt_internal_r): Likewise.
41310         * posix/glob.c (glob, glob_in_dir): Likewise.
41311         * posix/wordexp.c (exec_comm_child): Likewise.
41312         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41313         (getanswer_r, gaih_getanswer_slice): Likewise.
41314         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41315         * resolv/res_init.c: Likewise.
41316         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41317         * resolv/res_query.c (__libc_res_nquery): Likewise.
41318         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41319         Likewise.
41320         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41321         * stdio-common/perror.c (perror): Likewise.
41322         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41323         * stdio-common/tmpnam.c (tmpnam): Likewise.
41324         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41325         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41326         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41327         Likewise.
41328         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41329         * stdlib/putenv.c (putenv): Likewise.
41330         * stdlib/setenv.c (__add_to_environ): Likewise.
41331         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41332         * stdlib/strtol_l.c (INTERNAL): Likewise.
41333         * string/memmem.c (memmem): Likewise.
41334         * string/strerror.c (strerror): Likewise.
41335         * string/strnlen.c (__strnlen): Likewise.
41336         * string/test-memmem.c (simple_memmem): Likewise.
41337         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41338         * sunrpc/pm_getport.c (__get_socket): Likewise.
41339         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41340         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41341         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41342         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41343         Likewise.
41344         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41345         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41346         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41347         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41348         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41349         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41350         Likewise.
41351         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41352         Likewise.
41353         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41354         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41355         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41356         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41357         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41358         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41359         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41360         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41361         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41362         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41363         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41364         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41365         Likewise.
41366         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41367         Likewise.
41368         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41369         Likewise.
41370         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41371         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41372         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41373         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41374         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41375         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41376         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41377         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41378         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41379         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41380         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41381         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41382         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41383         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41384         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41385         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41386         Likewise.
41387         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41388         Likewise.
41389         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41390         Likewise.
41391         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41392         Likewise.
41393         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41394         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41395         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41396         Likewise.
41397         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41398         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41399         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41400         * sysdeps/posix/sleep.c: Likewise.
41401         * sysdeps/posix/tempname.c: Likewise.
41402         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41403         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41404         Likewise.
41405         * sysdeps/powerpc/powerpc32/dl-machine.h
41406         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41407         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41408         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41409         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41410         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41411         Likewise.
41412         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41413         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41414         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41415         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41416         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41417         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41418         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41419         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41420         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41421         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41422         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41423         (elf_machine_lazy_rel): Likewise.
41424         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41425         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41426         (elf_machine_lazy_rel): Likewise.
41427         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41428         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41429         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41430         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41431         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41432         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41433         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41434         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41435         Likewise.
41436         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41437         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41438         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41439         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41440         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41441         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41442         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41443         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41444         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41445         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41446         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41447         Likewise.
41448         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41449         (__posix_fallocate64_l64): Likewise.
41450         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41451         (posix_fallocate): Likewise.
41452         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41453         Likewise.
41454         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41455         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41456         (getifaddrs_internal): Likewise.
41457         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41458         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41459         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41460         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41461         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41462         (__posix_fallocate64_l64): Likewise.
41463         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41464         Likewise.
41465         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41466         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41467         (__get_clockfreq): Likewise.
41468         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41469         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41470         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41471         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41472         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41473         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41474         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41475         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41476         Likewise.
41477         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41478         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41479         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41480         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41481         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41482         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41483         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41484         Likewise.
41485         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41486         (posix_fallocate): Likewise.
41487         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41488         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41489         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41490         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41491         (elf_machine_rela, elf_machine_rela_relative)
41492         (elf_machine_lazy_rel): Likewise.
41493         * time/asctime.c (asctime_internal): Likewise.
41494         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41495         * time/tzset.c (__tzset_parse_tz): Likewise.
41496         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41497         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41498         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41499         * wcsmbs/wcsmbsload.h: Likewise.
41501         [BZ #15894]
41502         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41504         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41505         (arena_get2): Remove THREAD_STATS conditionals.
41506         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41507         (__malloc_stats, int): Likewise.
41509 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41511         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41512         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41514         * manual/setjmp.texi: Fix typos/grammar errors.
41516         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41517         Only return early when n is <= 0.  Delete unused return statement.
41519         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41520         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41521         * debug/tst-longjmp_chk3.c: New file.
41523         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41524         (test_main): Replace code with set_fortify_handler call.
41525         * debug/test-strcpy_chk.c: Likewise.
41526         * debug/tst-chk1.c: Likewise.
41527         * debug/tst-longjmp_chk.c: Likewise.
41528         * test-skeleton.c: Include fcntl.h & paths.h
41529         (set_fortify_handler): Define.
41531         * debug/tst-longjmp_chk.c: Add header comment and include
41532         ../test-skeleton.c.
41533         (do_test): Mark static.
41534         (TEST_FUNCTION): Define.
41536         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41537         (IP_PMTUDISC_INTERFACE): Likewise.
41538         (IP_MULTICAST_IF): Likewise.
41539         (IP_MULTICAST_TTL): Likewise.
41540         (IP_MULTICAST_LOOP): Likewise.
41541         (IP_ADD_MEMBERSHIP): Likewise.
41542         (IP_DROP_MEMBERSHIP): Likewise.
41543         (IP_UNBLOCK_SOURCE): Likewise.
41544         (IP_BLOCK_SOURCE): Likewise.
41545         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41546         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41547         (IP_MSFILTER): Likewise.
41548         (MCAST_JOIN_GROUP): Likewise.
41549         (MCAST_BLOCK_SOURCE): Likewise.
41550         (MCAST_UNBLOCK_SOURCE): Likewise.
41551         (MCAST_LEAVE_GROUP): Likewise.
41552         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41553         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41554         (MCAST_MSFILTER): Likewise.
41555         (IP_MULTICAST_ALL): Likewise.
41556         (IP_UNICAST_IF): Likewise.
41558         * timezone/Makefile: Delete $(have-ksh) check.
41559         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41560         * timezone/tzselect.ksh: Add +x mode bits.
41562         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41563         (ANON_INODE_FS_MAGIC): Likewise.
41564         (BDEVFS_MAGIC): Likewise.
41565         (BINFMTFS_MAGIC): Likewise.
41566         (BTRFS_TEST_MAGIC): Likewise.
41567         (CRAMFS_MAGIC_WEND): Likewise.
41568         (DEBUGFS_MAGIC): Likewise.
41569         (ECRYPTFS_SUPER_MAGIC): Likewise.
41570         (EXT3_SUPER_MAGIC): Likewise.
41571         (EXT4_SUPER_MAGIC): Likewise.
41572         (FUTEXFS_SUPER_MAGIC): Likewise.
41573         (HOSTFS_SUPER_MAGIC): Likewise.
41574         (HUGETLBFS_MAGIC): Likewise.
41575         (MINIX3_SUPER_MAGIC): Likewise.
41576         (MTD_INODE_FS_MAGIC): Likewise.
41577         (NILFS_SUPER_MAGIC): Likewise.
41578         (OPENPROM_SUPER_MAGIC): Likewise.
41579         (PIPEFS_MAGIC): Likewise.
41580         (PSTOREFS_MAGIC): Likewise.
41581         (QNX6_SUPER_MAGIC): Likewise.
41582         (RAMFS_MAGIC): Likewise.
41583         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41584         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41585         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41586         (SECURITYFS_MAGIC): Likewise.
41587         (SELINUX_MAGIC): Likewise.
41588         (SMACK_MAGIC): Likewise.
41589         (SOCKFS_MAGIC): Likewise.
41590         (SQUASHFS_MAGIC): Likewise.
41591         (STACK_END_MAGIC): Likewise.
41592         (TMPFS_MAGIC): Likewise.
41593         (USBDEVICE_SUPER_MAGIC): Likewise.
41594         (V9FS_MAGIC): Likewise.
41595         (XENFS_SUPER_MAGIC): Likewise.
41596         (CRAMFS_MAGIC): Fix typo in comment.
41597         (EXT2_SUPER_MAGIC): Update comment.
41598         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41600 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41602         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41603         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41604         * sysdeps/unix/sysv/linux/arm: Move directory from
41605         ports/sysdeps/unix/sysv/linux/arm.
41606         * README: Update listing for arm-*-linux-gnueabi.
41608         * README: Remove mention of am33.
41610 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41612         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41613         than the comma operator, to avoid "rhs of comma has no effect"
41614         compiler warnings.
41615         (__sigfillset, __sigandset, __sigorset): Likewise.
41616         * include/signal.h (__sigemptyset): Likewise.
41617         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41619 2014-02-07  Allan McRae  <allan@archlinux.org>
41621         * version.h (RELEASE): Set to "development".
41622         (VERSION): Set to "2.19.90"
41623         * NEWS: Add 2.20 section.
41625 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41627         [BZ #16529]
41628         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41630 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41632         * manual/contrib.texi: Update entry for Carlos O'Donell,
41633         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41635 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41637         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41639         * sysdeps/unix/sysv/linux/kernel-features.h
41640         [__LINUX_KERNEL_VERSION >= 0x020621]
41641         (__ASSUME_PROC_PID_TASK_COMM): Define.
41643 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41645         [BZ #16398]
41646         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41647         conversion when destination buffer does not have enough space.
41648         * libio/tst-ftell-partial-wide.c: New test case.
41649         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41651         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41652         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41653         Leonard and Allan McRae.
41655 2014-02-04  David S. Miller  <davem@davemloft.net>
41657         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41658         32-bit.
41660 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41663         New file
41664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41665         New file
41666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41667         New file.
41668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41669         New file.
41670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41671         New file.
41672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41673         New file.
41674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41675         New file.
41676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41677         New file.
41678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41679         New file.
41680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41681         New file.
41682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41683         New file.
41684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41685         New file.
41686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41687         New file.
41689 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41691         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41692         * shlib-versions: Likewise.
41694 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41695             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41697         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41698         (abilist-pattern): New variable, set to %-le.abilist.
41700         * Makerules (abilist-pattern): New variable.
41701         (vpath): Use $(abilist-pattern) in place of %.abilist.
41702         (check-abi-% pattern rule): Likewise.
41703         (check-abi, update-abi): Likewise.
41705 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41707         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41709 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41711         * manual/startup.texi: Add next, previous, and top entries for
41712         the `Program Arguments' and `Environment Variables' nodes.
41714 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41716         * manual/macros.texi: Add comments before MTASC-safety macros.
41718         * manual/users.texi: Document MTASC-safety properties.
41720         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41721         (pthread_getspecific, pthread_setspecific): Format with
41722         @deftypefun, and add @safety note.
41723         * manual/signal.texi: Move comments that analyze the above
41724         functions to their home place.
41726 2014-02-03  Allan McRae  <allan@archlinux.org>
41728         * po/sl.po: Update Slovenian translation from translation project.
41730 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41732         * manual/time.texi (timegm): Add missing blank after @c.
41733         Reported by Joseph Myers <joseph@codesourcery.com>.
41735 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41737         * manual/check-safety.sh: New.
41738         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41740         * manual/terminal.texi: Document MTASC-safety properties.
41742         * manual/filesys.texi: Document MTASC-safety properties.
41744         * manual/errno.texi: Document MTASC-safety properties.
41746         * manual/intro.texi: Document safety identifiers and
41747         conditionals.
41749         * manual/string.texi (wcstok): Fix prototype.
41750         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41752         * manual/time.texi: Document MTASC-safety properties.
41754         * manual/string.texi: Document MTASC-safety properties.
41756         * manual/threads.texi: Document MTASC-safety properties.
41758         * manual/stdio.texi: Document MTASC-safety properties.
41760         * manual/syslog.texi: Document MTASC-safety properties.
41762         * manual/sysinfo.texi: Document MTASC-safety properties.
41764         * manual/startup.texi: Document MTASC-safety properties.
41766         * manual/socket.texi: Document MTASC-safety properties.
41768         * manual/signal.texi: Document MTASC-safety properties.
41770 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41772         * manual/setjmp.texi: Document MTASC-safety properties.
41774         * manual/search.texi: Document MTASC-safety properties.
41776         * manual/resource.texi: Document MTASC-safety properties.
41778         * manual/process.texi: Document MTASC-safety properties.
41780         * manual/platform.texi: Document MTASC-safety properties.
41782         * manual/pipe.texi: Document MTASC-safety properties.
41784         * manual/pattern.texi: Document MTASC-safety properties.
41786         * manual/message.texi: Document MTASC-safety properties.
41788         [BZ #12751]
41789         * manual/memory.texi: Document MTASC-safety properties.
41791         * manual/math.texi: Document MTASC-safety properties.
41793         * manual/locale.texi: Document MTASC-safety properties.
41795         * manual/llio.texi: Document MTASC-safety properties.
41797         * manual/libdl.texi: New.
41799         * manual/lang.texi: Document MTASC-safety properties.
41801         * manual/job.texi: Document MTASC-safety properties.
41803         * manual/getopt.texi: Document MTASC-safety properties.
41805         * manual/ctype.texi: Document MTASC-safety properties.
41807 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41809         [BZ #16046]
41810         * csu/libc-tls.c (static_map): Remove variable.
41811         (__libc_setup_tls): Use main executable's link map for TLS data.
41812         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41813         casing for LM_ID_BASE and GL(dl_nns).
41814         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41815         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41816         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41817         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41818         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41819         member.
41820         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41821         l_phnum members.
41823 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41825         * manual/debug.texi: Document MTASC-safety properties.
41827 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41829         [BZ #16510]
41830         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41831         of __x86_64__ when disabling x87 inline functions.
41833 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41835         * manual/charset.texi: Document MTASC-safety properties.
41837         * manual/crypt.texi: Document MTASC-safety properties.
41839         * manual/conf.texi: Document MTASC-safety properties.
41841         * manual/arith.texi: Document MTASC-safety properties.
41843         * manual/argp.texi: Document MTASC-safety properties.
41845         * manual/macros.texi: Introduce macros to document multi
41846         thread, asynchronous signal and asynchronous cancellation
41847         safety properties.
41848         * manual/intro.texi: Introduce the properties themselves.
41850 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41852         * sysdeps/sh/sh4/Makefile: New file.
41854 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41856         * math/gen-libm-test.pl ($srcdir): New variable.
41857         ($auto_input): Use it.
41859 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41861         [BZ #16506]
41862         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41863         access beyond array bounds when parsing netgroups file.
41865         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41866         the old buffer before realloc.
41868 2014-01-27  Allan McRae  <allan@archlinux.org>
41870         * po/fr.po: Update French translation from translation project.
41872 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41874         * sysdeps/sh/libm-test-ulps: Regenerate.
41876 2014-01-24  David S. Miller  <davem@davemloft.net>
41878         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41880 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41882         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41883         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41885 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41887         [BZ #16474]
41888         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41889         string pointers after reallocation.
41891 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41893         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41894         __SH4A__ instead of __SH_FPU_ANY__.
41896 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41898         * sysdeps/sh/fpu_control.h: New file.
41899         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41900         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41901         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41902         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41903         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41904         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41905         * sysdeps/sh/sys/ucontext.h: Remove.
41906         * sysdeps/sh/sys: Remove directory.
41908 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41910         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41911         s390/sys/ucontext.h.
41912         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41913         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41915 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41917         [BZ #15605]
41918         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41920 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41922         [BZ#16431]
41923         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41924         Adjust the vDSO correctly for internal calls.
41925         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41927 2014-01-20  Allan McRae  <allan@archlinux.org>
41929         * po/ca.po: Update Catalan translation from translation project.
41931 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41933         * sysdeps/s390/sotruss-lib.c: New file.
41935 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41937         [BZ#16430]
41938         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41939         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41940         local calls issues by not having a PLT stub required for IFUNC calls.
41941         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41943 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41945         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41946         * math/test-fpucw-static.c: Likewise.
41948 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41950         [BZ #16453]
41951         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41953 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41955         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41956         implementation for powerpc.
41958 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41960         [BZ #14782]
41961         * sysdeps/posix/system.c (__libc_system): Do not enable
41962         asynchronous cancellation.
41964 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41966         [BZ #16427]
41967         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41968         handling only for numbers special also in the IEEE case.
41970 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41972         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41974 2014-01-11  Allan McRae  <allan@archlinux.org>
41976         * po/bg.po: Update Bulgarian translation from translation project.
41978         * po/de.po: Update German translation from translation project.
41980 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41982         * sysdeps/generic/gcc-compat.h: New file.
41984 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41986         * benchtests/asin-inputs: Correct slow inputs.
41987         * benchtests/acos-inputs: Likewise.
41989 2014-01-10  Allan McRae  <allan@archlinux.org>
41991         * po:sv.po: Update Swedish translation from translation project.
41993         * po/vi.po: Update Vietnamese translation from translation project.
41995         * po/eo.po: Update Esperanto translation from translation project.
41997         * po/cs.po: Update Czech translation from translation project.
41999         * po/nl.po: Update Dutch translation from translation project.
42001         * po/pl.po: Update Polish translation from translation project.
42003         * po/ru.po: Update Russian translation from translation project.
42005         * po/uk.po: Update Ukrainian translation from translation project.
42007 2014-01-08  Brooks Moses  <bmoses@google.com>
42009         * elf/dl-load.c: Fix comment typo.
42011 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42013         * po/header.pot: Rename to...
42014         * po/pot.header: ... this.
42015         * po/Makefile: Use pot.header.
42017 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42018             Maxim Kuvyrkov  <maxim@kugelworks.com>
42020         [BZ #16394]
42021         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42022         SRC and DEST against LEN.
42024 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42026         [BZ #16414]
42027         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42028         implementation.
42029         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42031 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42035 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42037         [BZ #16408]
42038         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42039         for large positive arguments.
42041 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42043         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42045         * math/auto-libm-test-in: Mark various tests with
42046         xfail-rounding:ldbl-128ibm.
42047         * math/auto-libm-test-out: Regenerated.
42049         [BZ #16407]
42050         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42051         Increase overflow threshold.
42053 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42055         [BZ #14286]
42056         * stdio-common/vfprintf.c: Check for integer overflow.
42058 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42060         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42061         the first argument and return value of __tls_get_addr_internal.
42063 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42065         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42066         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42068 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42070         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42071         * sysdeps/s390/rtld-global-offsets.sym: New file.
42072         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42073         GLIBC_2.19 symbol.
42074         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42075         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42076         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42077         ... this.
42078         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42079         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42080         ... this.
42081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42082         Regenerate.
42083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42084         Regenerate.
42085         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42086         halfs of GPRs for high_gprs contexts.
42087         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42088         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42089         field.
42090         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42091         uc_flags field.
42092         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42093         64 bit versions:
42094         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42095         for high GPRs (uc_high_gprs) and for future extensions
42096         (__reserved).
42097         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42098         for future extensions (__reserved).
42099         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42100         64 bit versions:
42101         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42102         SC_HIGHGPRS offset definition.
42103         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42104         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42106         * Versions.def: Add GLIBC_2.19 for libpthread.
42107         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42108         siglongjmp for libpthread with GLIBC_2.19 symver.
42109         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42110         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42111         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42112         * sysdeps/s390/__longjmp.c: New file.
42113         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42114         * sysdeps/s390/longjmp.c: New file.
42115         * sysdeps/s390/setjmp.S: New file.
42116         * sysdeps/s390/sigjmp.S: New file.
42117         * sysdeps/s390/v1-longjmp.c: New file.
42118         * sysdeps/s390/v1-setjmp.h: New file.
42119         * sysdeps/s390/v1-sigjmp.c: New file.
42120         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42121         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42122         GLIBC_2.19 version.
42123         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42124         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42125         versioned symbols for ____longjmp_chk.
42126         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42127         Likewise.
42128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42129         Regenerate.
42130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42131         Regenerate.
42132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42133         Regenerate.
42134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42135         Regenerate.
42136         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42137         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42138         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42139         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42140         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42141         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42142         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42143         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42144         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42145         * sysdeps/s390/rtld-__longjmp.c: New file.
42146         * sysdeps/s390/rtld-setjmp.S: New file.
42148 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42150         [BZ #16400]
42151         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42152         Return -__logl (x) for small positive arguments without evaluating
42153         a polynomial.
42155 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42157         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42158         Rename to ...
42159         (__ptrace_peeksiginfo_args): ... this.
42160         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42161         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42162         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42164 2014-01-06  Allan McRae  <allan@archlinux.org>
42166         * inet/netinet/in.h: Fix typo in comment.
42168 2014-01-05  Andreas Jaeger  <aj@suse.de>
42170         * sysdeps/i386/fpu/libm-test-ulps: Update.
42172 2014-01-05  Allan McRae  <allan@archlinux.org>
42174         * po/libc.pot: Regenerated.
42176         * malloc/memusagestat.c: Fix gettext call formatting.
42178 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42180         * nscd/nscd.c: Improve usage() output.
42182 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42184         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42185         * sysdeps/unix/sysv/linux/configure: Regenerated.
42186         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42187         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42189 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42191         [BZ #16390]
42192         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42193         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42195 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42197         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42198         extra tokens at end of #undef directive.
42199         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42200         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42201         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42203 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42205         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42207         * math/auto-libm-test-in: Mark various tests with
42208         xfail-rounding:ldbl-128ibm.
42209         * math/auto-libm-test-out: Regenerated.
42211 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42213         [BZ #16386]
42214         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42215         numbers with subnormal high part when calculating exponent.
42217         [BZ #16385]
42218         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42219         fabs.
42221         [BZ #16384]
42222         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42223         M_LN2l.
42224         (__ieee754_acoshl): Use __log1pl not __log1p.
42226 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42228         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42229         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42230         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42231         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42232         (reused_arena, arena_get2): Convert to GNU style.
42233         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42234         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42235         (memalign_check, __malloc_set_state): Likewise.
42236         * malloc/mallocbug.c (main): Likewise.
42237         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42238         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42239         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42240         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42241         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42242         (__posix_memalign, malloc_info): Likewise.
42243         * malloc/malloc.h: Likewise.
42244         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42245         (mallochook, memalignhook, reallochook, mabort): Likewise.
42246         * malloc/mcheck.h: Likewise.
42247         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42248         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42249         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42250         * malloc/morecore.c (__default_morecore): Likewise.
42251         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42252         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42253         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42254         (print_and_abort): Likewise.
42255         * malloc/obstack.h: Likewise.
42256         * malloc/set-freeres.c (__libc_freeres): Likewise.
42257         * malloc/tst-mallocstate.c (main): Likewise.
42258         * malloc/tst-mtrace.c (main): Likewise.
42259         * malloc/tst-realloc.c (do_test): Likewise.
42261 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42263         [BZ #16366]
42264         * nscd/netgroupcache.c (do_notfound): New function.
42265         (addgetnetgrentX): Use it.
42267         [BZ # 16365]
42268         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42269         NSS_STATUS_NOTFOUND.
42271 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42273         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42276 2014-01-01  Allan McRae  <allan@archlinux.org>
42278         * scripts/update-copyrights: Update configure input file suffix.
42280         * NEWS: Update copyright year.
42281         * catgets/gencat.c: Likewise.
42282         * csu/version.c: Likewise.
42283         * debug/catchsegv.sh: Likewise.
42284         * debug/pcprofiledump.c: Likewise.
42285         * debug/xtrace.sh: Likewise.
42286         * elf/ldconfig.c: Likewise.
42287         * elf/ldd.bash.in: Likewise.
42288         * elf/pldd.c: Likewise.
42289         * elf/sotruss.ksh: Likewise.
42290         * elf/sprof.c: Likewise.
42291         * iconv/iconv_prog.c: Likewise.
42292         * iconv/iconvconfig.c: Likewise.
42293         * locale/programs/locale.c: Likewise.
42294         * locale/programs/localedef.c: Likewise.
42295         * login/programs/pt_chown.c: Likewise.
42296         * malloc/memusage.sh: Likewise.
42297         * malloc/memusagestat.c: Likewise.
42298         * malloc/mtrace.pl: Likewise.
42299         * manual/libc.texinfo: Likewise.
42300         * nscd/nscd.c: Likewise.
42301         * nss/getent.c: Likewise.
42302         * nss/makedb.c: Likewise.
42303         * posix/getconf.c: Likewise.
42304         * scripts/test-installation.pl: Likewise.
42306         * All files with FSF copyright notices: Update copyright dates
42307         using scripts/update-copyrights.
42308         * intl/plural.c: Regenerated.
42309         * locale/programs/charmap-kw.h: Likewise.
42310         * locale/programs/locfile-kw.h: Likewise.
42312 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42314         * sysdeps/unix/sysv/linux/configure: Regenerated.
42315         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42316         the linux/fanotify.h header.
42317         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42318         HAVE_LINUX_FANOTIFY_H is defined.
42320 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42322         * benchtests/cos-inputs: New inputs.
42323         * benchtests/sin-inputs: Likewise.
42325         * benchtests/atan-inputs: New inputs. Fix name of multiple
42326         precision fallback inputs.
42328         * benchtests/atanh-inputs: New inputs.
42329         * benchtests/tanh-inputs: Likewise.
42331         * benchtests/acosh-inputs: New inputs.
42332         * benchtests/asinh-inputs: Likewise.
42334         * benchtests/cosh-inputs: New inputs.
42335         * benchtests/sinh-inputs: Likewise.
42337         * benchtests/acos-inputs: Add more inputs.
42338         * benchtests/asin-inputs: Likewise.
42340 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42342         [BZ #16375]
42343         * manual/arith.texi: Fix spelling.
42344         * manual/charset.texi: Likewise.
42345         * manual/errno.texi: Likewise.
42346         * manual/filesys.texi: Likewise.
42347         * manual/lang.texi: Likewise.
42348         * manual/llio.texi: Likewise.
42349         * manual/locale.texi: Likewise.
42350         * manual/message.texi: Likewise.
42351         * manual/resource.texi: Likewise.
42352         * manual/search.texi: Likewise.
42353         * manual/setjmp.texi: Likewise.
42354         * manual/stdio.texi: Likewise.
42355         * manual/string.texi: Likewise.
42356         * manual/sysinfo.texi: Likewise.
42357         * manual/time.texi: Likewise.
42359 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42361         * po/sl.po: New file.
42363 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42365         * .gitignore: Add core/.gdbinit/.gdb_history.
42367 2013-12-27  Allan McRae  <allan@archlinux.org>
42369         [BZ #16369]
42370         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42371         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42373 2013-12-24  Brooks Moses  <bmoses@google.com>
42375         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42376         all compilers that claim C++98 compliance, not just GCC.
42377         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42378         Likewise.
42380 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42382         * NEWS: Restore accidentally deleted bug-fix entries.
42384 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42385             Ondřej Bílka  <neleai@seznam.cz>
42387         [BZ #15073]
42388         * malloc/malloc.c (_int_free): Perform sanity check only if we
42389         have_lock.
42391 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42393         [BZ #12986]
42394         * manual/stdio.texi (String Input Conversions): Clarify that character
42395         classes are not supported.
42397 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42401 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42403         [BZ #16337]
42404         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42405         Calculate results for small negative arguments directly rather
42406         than using reflection formula with special underflow handling.
42408         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42409         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42410         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42411         (fchflags): Likewise.
42412         (revoke): Likewise.
42413         (setlogin): Likewise.
42414         (sigaltstack): Likewise.
42415         (wait4): Likewise.
42416         (sigblock): Remove.
42417         (sigsetmask): Likewise.
42418         (wait3): Likewise.
42419         (waitpid): Likewise.
42420         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42421         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42422         file.
42423         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42424         * sysdeps/unix/bsd/Makefile: ... here.
42425         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42426         * sysdeps/unix/bsd/Versions: ... here.
42427         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42428         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42429         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42430         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42431         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42432         * sysdeps/unix/bsd/sigblock.c: ... here.
42433         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42434         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42435         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42436         * sysdeps/unix/bsd/sigvec.c: ... here.
42437         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42438         * sysdeps/unix/bsd/tcdrain.c: ... here.
42439         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42440         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42441         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42442         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42443         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42444         * sysdeps/unix/bsd/wait.c: ... here.
42445         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42446         * sysdeps/unix/bsd/wait3.c: ... here.
42447         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42448         * sysdeps/unix/bsd/waitpid.c: ... here.
42450 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42452         [BZ #16356]
42453         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42454         round-to-nearest for [!USE_AS_EXPM1L].
42455         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42456         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42457         more tests of exp and exp10.  Expect some exp10 tests to miss
42458         exceptions or fail in directed rounding modes.
42459         * math/auto-libm-test-out: Regenerated.
42460         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42461         (exp10_test_tonearest): New function.
42462         (exp10_towardzero_test_data): New array.
42463         (exp10_test_towardzero): New function.
42464         (exp10_downward_test_data): New array.
42465         (exp10_test_downward): New function.
42466         (exp10_upward_test_data): New array.
42467         (exp10_test_upward): New function.
42468         (main): Call the new functions.
42469         * sysdeps/i386/fpu/libm-test-ulps: Update.
42470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42472 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42474         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42475         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42476         * math/auto-libm-test-out: Regenerated.
42477         * math/libm-test.inc (acosh_test_data): Add more tests.
42478         (atanh_test_data): Likewise.
42479         (ceil_test_data): Likewise.
42480         (copysign_test_data): Likewise.
42481         * sysdeps/i386/fpu/libm-test-ulps: Update.
42482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42484         * timezone/checktab.awk: Update from tzcode 2013i.
42485         * timezone/private.h: Likewise.
42486         * timezone/scheck.c: Likewise.
42487         * timezone/tzfile.h: Likewise.
42488         * timezone/tzselect.ksh: Likewise.
42489         * timezone/zdump.c: Likewise.
42490         * timezone/zic.c: Likewise.
42492         * math/auto-libm-test-in: Add tests of cpow.
42493         * math/auto-libm-test-out: Regenerated.
42494         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42495         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42496         mpc_cc_c.
42497         (func_calc_desc): Add mpc_cc_c union field.
42498         (test_functions): Add cpow.
42499         (special_fill_2pi): New function.
42500         (special_real_inputs): Add 2pi.
42501         (calc_generic_results): Handle mpc_cc_c.
42502         * sysdeps/i386/fpu/libm-test-ulps: Update.
42503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42505         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42506         csqrt, ctan and ctanh.
42507         * math/auto-libm-test-out: Regenerated.
42508         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42509         (TEST_COND_x86): Likewise.
42510         (ccos_test_data): Use AUTO_TESTS_c_c.
42511         (ccosh_test_data): Likewise.
42512         (cexp_test_data): Likewise.
42513         (clog_test_data): Likewise.
42514         (csqrt_test_data): Likewise.
42515         (ctan_test_data): Likewise.
42516         (ctan_tonearest_test_data): Likewise.
42517         (ctan_towardzero_test_data): Likewise.
42518         (ctan_downward_test_data): Likewise.
42519         (ctan_upward_test_data): Likewise.
42520         (ctanh_test_data): Likewise.
42521         (ctanh_tonearest_test_data): Likewise.
42522         (ctanh_towardzero_test_data): Likewise.
42523         (ctanh_downward_test_data): Likewise.
42524         (ctanh_upward_test_data): Likewise.
42525         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42526         mpc_c_c.
42527         (func_calc_desc): Add mpc_c_c union field.
42528         (FUNC_mpc_c_c): New macro.
42529         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42530         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42531         ctanh.
42532         (special_fill_min_subnorm_p120): New function.
42533         (special_real_inputs): Add min_subnorm_p120.
42534         (calc_generic_results): Handle mpc_c_c.
42535         * sysdeps/i386/fpu/libm-test-ulps: Update.
42536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42538 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42540         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42541         (do_sin_slow): New functions.
42542         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42543         (cslow2, csloww1, csloww2): Use the new functions.
42545         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42546         Use M to change sign of result instead of X.  Assume X is
42547         positive.
42548         (csloww1): Likewise.
42549         (__sin): Adjust.
42550         (__cos): Adjust.
42552         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42553         arguments A and DA.
42554         (__sin): Adjust.
42555         (__cos): Likewise.
42557         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42558         (__cos): Likewise.
42559         (sloww1): Don't adjust sign of DX.
42560         (csloww1): Likewise.
42561         (sloww2): Use X directly and don't adjust sign of DX.
42562         (csloww2): Likewise.
42564 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42566         * math/auto-libm-test-in: Add tests of cabs and carg.
42567         * math/auto-libm-test-out: Regenerated.
42568         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42569         (carg_test_data): Likewise.
42570         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42571         mpc_c_f.
42572         (func_calc_desc): Add mpc_c_f union field.
42573         (test_functions): Add cabs and carg.
42574         (calc_generic_results): Handle mpc_c_f.
42576         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42577         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42578         as a macro and a compat symbol.
42579         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42580         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42581         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42582         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42583         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42584         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42585         not use .hidden.
42586         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42587         Likewise.
42588         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42589         Likewise.
42590         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42591         Likewise.
42592         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42593         Likewise.
42594         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42595         Likewise.
42596         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42597         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42598         from GLIBC_2.3.2.
42600 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42604 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42606         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42607         trailing whitespace removed.
42608         * scripts/config.guess: Update to version 2013-11-29.
42609         * scripts/config.sub: Update to version 2013-10-01.
42611         * math/auto-libm-test-in: Add tests of sincos.
42612         * math/auto-libm-test-out: Regenerated.
42613         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42614         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42615         mpfr_f_11.
42616         (func_calc_desc): Add mpfr_f_11 union field.
42617         (test_functions): Add sincos.
42618         (calc_generic_results): Handle mpfr_f_11.
42619         * sysdeps/i386/fpu/libm-test-ulps: Update.
42620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42622 2013-12-19  Andreas Schwab  <schwab@suse.de>
42624         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42625         CALL_MCOUNT.
42626         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42627         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42628         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42630 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42632         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42633         * sysdeps/i386/fpu/libm-test-ulps: Update.
42634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42636         [BZ #16293]
42637         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42638         round-to-nearest mode when using frndint.
42639         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42640         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42641         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42642         Likewise.
42643         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42644         sinh test to fail.
42645         * math/auto-libm-test-out: Regenerated.
42646         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42647         (TEST_COND_x86): Likewise.
42648         (expm1_tonearest_test_data): New array.
42649         (expm1_test_tonearest): New function.
42650         (expm1_towardzero_test_data): New array.
42651         (expm1_test_towardzero): New function.
42652         (expm1_downward_test_data): New array.
42653         (expm1_test_downward): New function.
42654         (expm1_upward_test_data): New array.
42655         (expm1_test_upward): New function.
42656         (main): Run the new test functions.
42657         * sysdeps/i386/fpu/libm-test-ulps: Update.
42658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42660         * include/features.h: Update comment documenting feature test
42661         macros.  Mention _DEFAULT_SOURCE in comment.
42662         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42663         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42664         _BSD_SOURCE and _SVID_SOURCE.
42665         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42666         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42667         !_SVID_SOURCE]: Likewise.
42668         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42669         (__USE_POSIX_IMPLICITLY): Define.
42670         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42671         (_POSIX_SOURCE): Undefine and redefine.
42672         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42673         (_POSIX_C_SOURCE): Likewise.
42674         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42675         (Feature Test Macros): Update documentation of default features.
42677 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42679         * benchtests/Makefile: Add bench-strtok.
42680         * benchtests/bench-strtok.c: New file: strtok benchtest.
42682 2013-12-19  Allan McRae  <allan@archlinux.org>
42684         * manual/install.texi: Suppress menu for plain text output.
42685         * INSTALL: Regenerated.
42687 2013-12-18  Brooks Moses  <bmoses@google.com>
42689         [BZ #15846]
42690         * misc/getauxval.c: Include errno.h.
42691         (__getauxval): Set errno to ENOENT if the requested type is not
42692         found.
42693         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42694         don't declare with __attribute_const__.
42695         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42696         * manual/startup.texi: Document that getauxval sets errno.
42698 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42700         * math/auto-libm-test-in: Add tests of jn and yn.
42701         * math/auto-libm-test-out: Regenerated.
42702         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42703         (yn_test_data): Likewise.
42704         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42705         mpfr_if_f.
42706         (func_calc_desc): Add mpfr_if_f union field.
42707         (FUNC_mpfr_if_f): New macro.
42708         (test_functions): Add jn and yn.
42709         (calc_generic_results): Assert type of second input for
42710         mpfr_ff_f.  Handle mpfr_if_f.
42711         (output_for_one_input_case): Disable all checking for arguments
42712         fitting floating-point types in case of an integer argument.
42713         * sysdeps/i386/fpu/libm-test-ulps: Update.
42714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42717         Don't expect fegetround reference in libm.so.
42719 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42721         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42722         $(config-cflags-nofma).
42724 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42726         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42727         * math/auto-libm-test-out: Regenerated.
42729         [BZ #16338]
42730         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42731         to determine exponent and adjust argument to have exponent of -1.
42732         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42733         log2.
42734         * math/auto-libm-test-out: Regenerated.
42735         * sysdeps/i386/fpu/libm-test-ulps: Update.
42736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42738 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42740         * manual/probes.texi: Remove cases when per-thread arenas are
42741         disabled.
42743 2013-12-18  Andreas Schwab  <schwab@suse.de>
42745         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42746         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42747         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42748         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42749         * sysdeps/i386/i686/multiarch/Makefile: Update.
42750         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42752 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42754         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42755         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42757 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42759         [BZ #15968]
42760         Support TZ transition times < 00:00:00.
42761         This is needed for version-3 tz-format files; it supports time
42762         stamps past 2037 for America/Godthab (the only entry in the tz
42763         database for which this change is relevant).
42764         * manual/time.texi (TZ Variable): Document transition times
42765         from -167:59:59 through -00:00:01.
42766         * time/tzset.c (tz_rule): Time of day is now signed.
42767         (__tzset_parse_tz): Parse negative time of day.
42769         Document TZ transition times >= 25:00:00.
42770         * manual/time.texi (TZ Variable): Document transition times from
42771         25:00:00 through 167:59:59.  These are already supported, and this
42772         support will help with version-3 tz-format files.
42774         * manual/time.texi (TZ Variable): Modernize North America example
42775         to reflect current (i.e., 2007-and-later) daylight saving rules.
42777         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42779 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42781         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42782         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42783         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42784         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42785         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42786         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42787         * sysdeps/unix/bsd/clock.c: Likewise.
42788         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42789         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42790         * sysdeps/unix/bsd/init-posix.c: Likewise.
42791         * sysdeps/unix/bsd/poll.c: Likewise.
42792         * sysdeps/unix/bsd/ptsname.c: Likewise.
42793         * sysdeps/unix/bsd/seekdir.c: Likewise.
42794         * sysdeps/unix/bsd/setegid.c: Likewise.
42795         * sysdeps/unix/bsd/seteuid.c: Likewise.
42796         * sysdeps/unix/bsd/setgid.c: Likewise.
42797         * sysdeps/unix/bsd/setrgid.c: Likewise.
42798         * sysdeps/unix/bsd/setruid.c: Likewise.
42799         * sysdeps/unix/bsd/setsid.c: Likewise.
42800         * sysdeps/unix/bsd/setuid.c: Likewise.
42801         * sysdeps/unix/bsd/sigaction.c: Likewise.
42802         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42803         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42804         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42805         * sysdeps/unix/bsd/telldir.c: Likewise.
42806         * sysdeps/unix/bsd/times.c: Likewise.
42807         * sysdeps/unix/bsd/usleep.c: Likewise.
42809         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42810         ($(objpfx)libbsd-compat.a): Remove rule.
42812         * include/features.h (__FAVOR_BSD): Do not define.
42813         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42814         features conflicting with POSIX.
42815         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42816         (_BSD_SOURCE): Remove description of not being a subset of other
42817         feature test macros.
42818         * manual/job.texi (getpgrp): Do not document BSD version.
42819         (getpgid): Do not document by reference to BSD getpgrp.
42820         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42821         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42822         * signal/signal.h [__FAVOR_BSD]: Likewise.
42823         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42824         instead of making contents conditional on [__FAVOR_BSD].
42825         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42827 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42831 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42833         [BZ #16314]
42834         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42835         values below 2**-450, not 2**-500.
42836         * math/auto-libm-test-in: Don't allow spurious underflow from
42837         hypot.
42838         * math/auto-libm-test-out: Regenerated.
42840         [BZ #16316]
42841         [BZ #16330]
42842         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42843         values of ha and hb and sort them after adjusting subnormal
42844         arguments.
42845         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42846         Likewise.
42847         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42848         values of ea and eb and sort them after adjusting subnormal
42849         arguments.
42850         * math/auto-libm-test-in: Do not expect some hypot tests of
42851         subnormals to fail.  Add more hypot tests.
42852         * math/auto-libm-test-out: Regenerated.
42854 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42856         [BZ #13304]
42857         * sysdeps/sh/s_fma.c: New file.
42858         * sysdeps/sh/s_fmaf.c: New file.
42859         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42860         version.
42861         * sysdeps/sh/Implies: Add sh/soft-fp.
42863 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42865         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42866         level of indirection to members `objname', `errstring', `malloced'.
42867         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42868         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42869         it as the __longjmp argument (just pass 1 instead).
42870         (_dl_catch_error): Initialize C with argument pointers and address of
42871         volatile local ERRCODE rather than copying values out of C at return.
42873 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42875         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42876         * math/auto-libm-test-out: Regenerated.
42877         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42878         (hypot_test_data): Likewise.
42879         (pow_test_data): Likewise.
42880         (pow_tonearest_test_data): Likewise.
42881         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42882         mpfr_ff_f.
42883         (func_calc_desc): Add mpfr_ff_f union field.
42884         (FUNC_mpfr_ff_f): New macro.
42885         (test_functions): Add atan2, hypot and pow.
42886         (special_fill_min): New function.
42887         (special_fill_minus_min): Likewise.
42888         (special_fill_min_subnorm): Likewise.
42889         (special_fill_minus_min_subnorm): Likewise.
42890         (special_real_inputs): Add min, -min, min_subnorm and
42891         -min_subnorm.
42892         (calc_generic_results): Handle mpfr_ff_f.
42893         * sysdeps/i386/fpu/libm-test-ulps: Update.
42894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42896 2013-12-16  Will Newton  <will.newton@linaro.org>
42898         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42899         (Aligned Memory Blocks): Add documentation for aligned_alloc
42900         and suggest it as an alternative to posix_memalign.
42901         (Hooks for Malloc): Document __memalign_hook is also called
42902         for aligned_alloc.  (Summary of Malloc): Add summary for
42903         aligned alloc.  Document __memalign_hook is also called
42904         for aligned_alloc.
42906 2013-12-16  Will Newton  <will.newton@linaro.org>
42908         * manual/memory.texi (Malloc Examples): Clarify default
42909         alignment documentation.  Suggest posix_memalign rather
42910         than memalign or valloc.
42911         (Aligned Memory Blocks): Remove suggestion to use memalign
42912         or valloc.  Remove obsolete comment about BSD.
42913         Document memalign errno values and mark the function obsolete.
42914         Document posix_memalign returned error codes.  Mark valloc
42915         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42916         called for posix_memalign and valloc.
42917         (Summary of Malloc): Add posix_memalign to function summary.
42918         __memalign_hook is also called for posix_memalign and valloc.
42920 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42922         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42923         TAYLOR_SIN.
42924         (__sin): Adjust.
42925         (__cos): Likewise.
42926         (sloww): Use mynumber union.  Expand ternary operator into
42927         if-else statements.
42928         (cslow): use mynumber union.
42930 2013-12-16  Allan McRae  <allan@archlinux.org>
42932         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42933         * configure: Regenerated.
42935         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42937         [BZ #14120]
42938         * configure.ac: Added --enable-maintainer-mode. Check for
42939         autoconf when enabled.
42940         * configure: Regenerated.
42942         * nscd/nscd.service: New file.
42943         * nscd/nscd.tmpfiles: New file.
42945 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42947         [BZ #12100]
42948         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42949         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42950         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42951         (strstr): Add __strstr_sse2_unaligned ifunc.
42952         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42953         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42954         (strcasestr): Remove __strcasestr_sse42 ifunc.
42955         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42956         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42957         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42959 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42961         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42962         * sysdeps/sh/bits/fenv.h: ... here.
42963         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42965 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42967         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42970         hypotf multiarch implementations.
42971         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42972         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42973         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42974         multiarch hypot for PPC64.
42975         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42976         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42977         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42978         multiarch hypotf for PPC64.
42980         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42981         modff multiarch implementations.
42982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42985         multiarch modf for PPC64.
42986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42989         multiarch modff for PPC64.
42991         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42992         and logl multiarch implementations.
42993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42996         multiarch logb for PPC64.
42997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43000         multiarch logb for PPC64.
43001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43004         multiarch logb for PPC64.
43006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43007         isinff multiarch implementation.
43008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43009         file.
43010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43012         multiarch isinf for PPC64.
43013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43014         file.
43015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43016         multiarch isinff for PPC64.
43018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43019         finitef multiarch implementation.
43020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43021         file.
43022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43024         multiarch finite for PPC64.
43025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43026         file.
43027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43028         multiarch finitef for PPC64.
43030         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43031         lrint multiarch implementation.
43032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43033         file.
43034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43036         multiarch llrint for PPC64.
43037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43038         multiarch lrint for PPC64.
43040         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43041         copysignf multiarch implementation.
43042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43043         file.
43044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43045         file.
43046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43047         multiarch copysign for PPC64.
43048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43049         multiarch copysignf for PPC64.
43051         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43052         multiarch implementation.
43053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43054         file.
43055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43056         file.
43057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43058         file.
43059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43060         file.
43061         multiarch llround for PPC64.
43062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43063         multiarch trunc for PPC64.
43064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43065         multiarch truncf for PPC64.
43067         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43068         multiarch implementation.
43069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43070         file.
43071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43072         file.
43073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43074         file.
43075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43076         file.
43077         multiarch llround for PPC64.
43078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43079         multiarch round for PPC64.
43080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43081         multiarch roundf for PPC64.
43083         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43084         multiarch implementation.
43085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43086         file.
43087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43088         file.
43089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43090         file.
43091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43092         file.
43093         multiarch llround for PPC64.
43094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43095         multiarch floor for PPC64.
43096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43097         multiarch floorf for PPC64.
43099         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43100         multiarch implementation.
43101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43102         file.
43103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43104         file.
43105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43106         file.
43107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43108         file.
43109         multiarch llround for PPC64.
43110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43111         multiarch ceil for PPC64.
43112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43113         multiarch ceilf for PPC64.
43115         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43116         multiarch implementation.
43117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43118         file.
43119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43120         file.
43121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43122         file.
43123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43124         multiarch llround for PPC64.
43125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43126         multiarch lround for PPC64.
43128         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43129         multiarch implementation.
43130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43133         file.
43134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43137         multiarch isnan for PPC64.
43138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43139         multiarch isnanf for PPC64.
43141         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43142         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43143         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43144         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43145         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43148         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43149         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43150         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43151         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43153         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43154         multiarch implementations.
43155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43156         (__libc_ifunc_impl_list): Likewise.
43157         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43158         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43159         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43160         multiarch stpcpy for PPC64.
43162         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43163         multiarch implementations.
43164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43165         (__libc_ifunc_impl_list): Likewise.
43166         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43167         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43168         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43169         multiarch strcpy for PPC64.
43171         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43172         redefine function name.
43173         (_wordcopy_fwd_dest_aligned): Likewise.
43174         (_wordcopy_bwd_aligned): Likewise.
43175         (_wordcopy_bwd_dest_aligned): Likewise.
43176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43177         multiarch implementations.
43178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43179         (__libc_ifunc_impl_list): Likewise.
43180         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43181         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43182         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43183         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43184         multiarch wcscpy for PPC64.
43186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43187         multiarch implementations.
43188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43189         (__libc_ifunc_impl_list): Likewise.
43190         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43191         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43192         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43193         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43194         multiarch wcscpy for PPC64.
43196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43197         multiarch implementations.
43198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43199         (__libc_ifunc_impl_list): Likewise.
43200         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43201         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43202         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43203         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43204         multiarch wcsrchr for PPC64.
43206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43207         multiarch implementations.
43208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43209         (__libc_ifunc_impl_list): Likewise.
43210         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43211         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43212         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43213         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43214         multiarch wcschr for PPC64.
43216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43217         multiarch implementations.
43218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43219         (__libc_ifunc_impl_list): Likewise.
43220         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43221         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43222         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43223         multiarch strchrnul for PPC64.
43225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43226         implementations.
43227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43228         (__libc_ifunc_impl_list): Likewise.
43229         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43230         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43231         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43232         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43233         strchr for PPC64.
43235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43236         implementations.
43237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43238         (__libc_ifunc_impl_list): Likewise.
43239         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43240         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43241         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43242         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43243         strncmp for PPC64.
43245         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43246         multiarch implementations.
43247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43248         (__libc_ifunc_impl_list): Likewise.
43249         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43250         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43251         strncasecmp for PPC64.
43252         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43253         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43254         multiarch strncasecmp_l for PPC64.
43256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43257         multiarch implementations.
43258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43259         (__libc_ifunc_impl_list): Likewise.
43260         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43261         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43262         multiarch strcasecmp for PPC64.
43263         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43264         file.
43265         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43266         multiarch strcasecmp_l for PPC64.
43268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43269         implementations.
43270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43271         (__libc_ifunc_impl_list): Likewise.
43272         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43273         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43274         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43275         strnlen for PPC64.
43277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43278         implementations.
43279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43280         (__libc_ifunc_impl_list): Likewise.
43281         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43282         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43283         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43284         strlen for PPC64.
43286         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43287         implementations.
43288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43289         (__libc_ifunc_impl_list): Likewise.
43290         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43291         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43292         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43293         rawmemrchr for PPC64.
43295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43296         implementation.
43297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43298         (__libc_ifunc_impl_list): Likewise.
43299         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43300         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43301         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43302         memrchr for PPC64.
43304         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43305         implementation.
43306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43307         (__libc_ifunc_impl_list): Likewise.
43308         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43309         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43310         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43311         memchr for PPC64.
43313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43314         implementation.
43315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43316         (__libc_ifunc_impl_list): Likewise.
43317         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43318         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43319         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43320         mempcpy for PPC64.
43322         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43323         avoid cretion of __bzero symbol.
43324         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43325         Likewise.
43326         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43327         Likewise.
43328         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43329         Likewise.
43330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43331         multiarch implementations.
43332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43333         (__libc_ifunc_impl_list): Likewise.
43334         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43335         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43336         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43337         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43338         bzero for PPC32.
43339         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43340         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43341         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43342         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43343         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43344         memset for PPC64.
43345         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43347         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43348         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43349         implementations.
43350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43351         (__libc_ifunc_impl_list): Likewise.
43352         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43353         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43354         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43355         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43356         memcmp for PPC64.
43358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43359         multiarch for POWER/PPC64.
43360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43361         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43362         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43363         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43364         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43365         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43366         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43367         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43368         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43369         memcpy for PPC64.
43371         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43372         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43373         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43374         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43375         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43376         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43377         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43378         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43379         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43380         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43381         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43382         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43383         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43384         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43385         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43394 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43396         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43398 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43400         * benchtests/Makefile (bench): Add exp2 and log2.
43401         (LDLIBS-bench-exp2): Add -lm.
43402         (LDLIBS-bench-log2): Likewise.
43403         * benchtests/exp2-inputs: New inputs file.
43404         * benchtests/log2-inputs: New inputs file.
43405         * benchtests/log-inputs: Add new inputs.
43406         * benchtests/tan-inputs: Likewise.
43408 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43410         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43411         definition...
43412         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43413         (csloww2): ... from here.
43415         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43416         instead of structures.
43417         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43418         (POLYNOMIAL): Likewise.
43419         (TAYLOR_SLOW): Likewise.
43420         (__sin): Likewise.
43421         (__cos): Likewise.
43422         (slow1): Likewise.
43423         (slow2): Likewise.
43424         (sloww): Likewise.
43425         (sloww1); Likewise.
43426         (sloww2): Likewise.
43427         (bsloww1): Likewise.
43428         (bsloww2): Likewise.
43429         (cslow2): Likewise.
43430         (csloww): Likewise.
43431         (csloww1): Likewise.
43432         (csloww2): Likewise.
43434 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43436         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43437         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43438         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43439         * malloc/hooks.c (realloc_check): Likewise.
43441         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43442         * malloc/arena.c: Remove PER_THREAD conditional.
43443         [!PER_THREAD]: Remove code.
43444         (ptmalloc_unlock_all2): Likewise.
43445         (ptmalloc_init): Likewise.
43446         (_int_new_arena): Likewise.
43447         (arena_get2): Likewise.
43448         * malloc/hooks.c (__malloc_get_state): Likewise.
43449         (__malloc_set_state): Likewise.
43450         * malloc/malloc.c: Likewise.
43451         (struct malloc_state): Likewise.
43452         (struct malloc_par): Likewise.
43453         (__libc_realloc): Likewise.
43454         (__libc_mallopt): Likewise.
43456 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43458         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43460 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43462         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43463         macro to a function.  Check for zero perturb_byte.
43464         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43466         * malloc/malloc.c: (force_reg): Remove.
43467         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43468         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43469         force_reg by atomic_forced_read.
43470         * malloc/arena.c (ptmalloc_init): Likewise.
43471         * malloc/hooks.c (top_check): Likewise.
43473 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43477 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43481 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43483         * math/auto-libm-test-in: Add tests of lgamma.
43484         * math/auto-libm-test-out: Regenerated.
43485         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43486         (M_LOG_2_SQRT_PIl): Likewise.
43487         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43488         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43489         mpfr_f_f1.
43490         (func_calc_desc): Add mpfr_f_f1 union field.
43491         (ARGS1): New macro.
43492         (ARGS2): Likewise.
43493         (ARGS3): Likewise.
43494         (ARGS4): Likewise.
43495         (RET1): Likewise.
43496         (RET2): Likewise.
43497         (CALC): Likewise.
43498         (FUNC): Likewise.
43499         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43500         (test_functions): Add lgamma.
43501         (calc_generic_results): Handle mpfr_f_f1.
43502         * sysdeps/i386/fpu/libm-test-ulps: Update.
43503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43505 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43507         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43508         __mpn_add_n for PowerPC64/POWER7.
43509         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43510         __mpn_sub_n for PowerPC64/POWER7.
43512         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43513         __mpn_addmul_1 for PowerPC64.
43514         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43515         __mpn_submul_1 for PowerPC64.
43516         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43517         for PowerPC64.
43518         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43519         for PowerPC64.
43521 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43523         [BZ #15089]
43524         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43526 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43528         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43530         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43531         add multiarch folders.
43532         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43533         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43534         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43535         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43536         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43537         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43538         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43539         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43540         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43541         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43542         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43551         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43553         New file.
43554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43555         New file.
43556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43557         multiarch __ieee754_hypot for PowerPC32.
43558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43559         New file.
43560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43561         New file.
43562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43563         multiarch __ieee754_hypotf for PowerPC32.
43565         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43566         long_double_symbol only if __logbl is defined.
43567         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43568         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43569         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43570         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43571         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43572         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43573         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43574         path for implementation.
43575         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43576         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43578         logb, and logbl multiarch implementations for PowerPC32.
43579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43580         file.
43581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43582         file.
43583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43584         multiarch logb for PowerPC32.
43585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43586         file.
43587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43588         file.
43589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43590         multiarch logbf for PowerPC32.
43591         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43593         file.
43594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43595         multiarch logbl implementation for PowerPC32.
43597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43598         and modff multiarch implementations.
43599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43600         New file.
43601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43602         New file.
43603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43604         multiarch modf for PowerPC32.
43605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43606         New file.
43607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43608         New file.
43609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43610         multiarch modff for PowerPC32.
43612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43613         and lrintf multiarch implementations.
43614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43615         New file.
43616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43617         New file.
43618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43619         multiarch lrint for PowerPC32.
43620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43621         file: multiarch lrintf for PowerPC32.
43623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43624         and lroundf multiarch implementations.
43625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43626         New file.
43627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43628         New file.
43629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43630         New file.
43631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43632         multiarch lround for PowerPC32.
43633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43634         file: multiarch lroundf for PowerPC32.
43636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43637         copysign and copysignf multiarch implementations.
43638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43639         New file.
43640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43641         New file.
43642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43643         file: multiarch copysign for PowerPC32.
43644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43645         file: multiarch copysignf for PowerPC32.
43647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43648         and truncf multiarch implementations.
43649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43650         New file.
43651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43652         file.
43653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43654         multiarch trunc for PowerPC32.
43655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43656         New file.
43657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43658         New file.
43659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43660         multiarch truncf for PowerPC32.
43662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43663         and roundf multiarch implementations.
43664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43665         New file.
43666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43667         file.
43668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43669         multiarch round for PowerPC32.
43670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43671         New file.
43672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43673         New file.
43674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43675         multiarch roundf for PowerPC32.
43677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43678         and floorf multiarch implementations.
43679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43680         New file.
43681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43682         file.
43683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43684         multiarch floor for PowerPC32.
43685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43686         New file.
43687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43688         New file.
43689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43690         multiarch floorf for PowerPC32.
43692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43693         and ceilf multiarch implementations.
43694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43695         New file.
43696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43697         file.
43698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43699         multiarch ceil for PowerPC32.
43700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43701         New file.
43702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43703         file.
43704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43705         multiarch ceilf for PowerPC32.
43707         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43708         is defined.
43709         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43710         FINITEF is defined.
43711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43712         and finitef multiarch implementations.
43713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43714         New file.
43715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43716         file.
43717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43718         multiarch finite for PowerPC32.
43719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43720         New file.
43721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43722         file: multiarch finitef for PowerPC32.
43724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43725         and isinff multiarch implementations.
43726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43727         file.
43728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43729         file.
43730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43731         multiarch isinf for PowerPC32.
43732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43733         New file.
43734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43735         multiarch isinff for PowerPC32.
43737         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43738         alias when __isnan is defined.
43739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43740         and isnanf multiarch implementations.
43741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43742         file.
43743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43744         file.
43745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43746         file.
43747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43748         file.
43749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43750         multiarch isnan for PowerPC32.
43751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43752         New file.
43753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43754         New file.
43755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43756         multiarch isnanf for PowerPC32.
43758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43759         and sqrtf multiarch implementations.
43760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43761         file.
43762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43763         file.
43764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43765         multiarch sqrt for PowerPC32.
43766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43767         file.
43768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43769         file.
43770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43771         multiarch sqrtf for PowerPC32.
43773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43774         and llroundf multiarch implementations.
43775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43776         New file.
43777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43778         New file.
43779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43780         New file.
43781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43782         file: multiarch llround for PowerPC32.
43783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43784         file: multiarch llroundf for PowerPC32.
43786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43787         multiarch PowerPC32 fpu implementations.
43788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43789         New file.
43790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43791         New file.
43792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43793         multiarch llrint for PowerPC32.
43794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43795         New file.
43796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43797         New file.
43798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43799         file.
43801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43803         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43804         file.
43805         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43806         file.
43807         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43808         file.
43809         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43810         multiarch wordcopy for PPC32.
43811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43812         wordcopy objects.
43813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43814         (__libc_ifunc_impl_list): Likewise.
43815         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43816         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43817         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43818         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43819         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43820         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43822         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43823         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43824         file.
43825         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43826         file.
43827         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43828         file.
43829         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43830         multiarch wcscpy for PPC32.
43831         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43832         multiarch objects.
43833         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43834         (__libc_ifunc_impl_list): Likewise.
43835         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43836         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43837         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43838         sysdeps/powerpc/power6/wcscpy.c.
43840         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43841         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43842         file.
43843         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43844         file.
43845         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43846         file.
43847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43848         multiarch wcsrchr for PPC32.
43849         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43850         multiarch objects.
43851         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43852         (__libc_ifunc_impl_list): Likewise.
43853         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43854         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43855         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43856         sysdeps/powerpc/power6/wcsrchr.c.
43858         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43859         file.
43860         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43861         file.
43862         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43863         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43864         multiarch wcschr for PPc32.
43865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43866         multiarch objects.
43867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43868         (__libc_ifunc_impl_list): Likewise.
43869         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43870         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43871         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43872         sysdeps/powerpc/power6/wcschr.c.
43874         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43875         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43876         file.
43877         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43878         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43879         file: multiarch strchr for PPC32.
43880         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43881         multiarch objects.
43882         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43883         (__libc_ifunc_impl_list): Likewise.
43885         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43886         name.
43887         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43888         file.
43889         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43890         file.
43891         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43892         multiarch strchrnul for PPC32.
43893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43894         multiarch objects.
43895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43896         (__libc_ifunc_impl_list): Likewise.
43898         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43899         file.
43900         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43901         multiarch strncasecmp for PPC32.
43902         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43903         file.
43904         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43905         multiarch strncasecmp_l for PPC32.
43906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43907         strncasecmp multiarch objects.
43908         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43909         (__libc_ifunc_impl_list): Likewise.
43911         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43912         file.
43913         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43914         multiarch strncasecmp for PPC32.
43915         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43916         New file.
43917         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43918         multiarch strcasecmp_l for PPC32.
43919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43920         multiarch objects.
43921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43922         (__libc_ifunc_impl_list): Likewise.
43924         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43925         file.
43926         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43927         file.
43928         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43929         multiarch strncmp for PPC32.
43930         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43931         multiarch objects.
43932         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43933         (__libc_ifunc_impl_list): Likewise.
43935         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43936         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43937         file.
43938         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43939         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43941         multiarch objects.
43942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43943         (__libc_ifunc_impl_list): Likewise.
43945         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43946         file.
43947         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43948         file.
43949         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43950         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43951         multiarch objects.
43952         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43953         (__libc_ifunc_impl_list): Likewise.
43955         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43956         file.
43957         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43958         file.
43959         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43960         multiarch rawmemchr for PPC32.
43961         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43962         multiarch objects.
43963         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43964         (__libc_ifunc_impl_list): Likewise.
43966         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43967         file.
43968         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43969         file.
43970         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43971         file: memrchr multiarch for PPC32.
43972         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43973         multiarch objects.
43974         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43975         (__libc_ifunc_impl_list): Likewise.
43977         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43978         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43979         file.
43980         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43981         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43982         multiarch memchr for PPC32.
43983         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43984         multiarch objects.
43985         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43986         (__libc_ifunc_impl_list): Likewise.
43988         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43989         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43990         file.
43991         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43992         file.
43993         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43994         file: multiarch mempcpy for PPC32.
43995         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43996         multiarch objects.
43997         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43998         (__libc_ifunc_impl_list): Likewise.
44000         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44001         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44002         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44003         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44004         multiarch bzero for PPC32.
44005         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44006         file.
44007         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44008         file.
44009         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44010         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44011         file: multiarch memset for PPC32.
44012         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44014         memset multiarch objects.
44015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44016         (__libc_ifunc_impl_list): Likewise.
44018         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44019         file.
44020         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44021         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44022         memcmp for PPC32.
44023         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44024         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44025         multiarch objects.
44026         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44027         (__libc_ifunc_impl_list): Likewise.
44029         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44030         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44031         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44032         file.
44033         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44034         file.
44035         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44036         file.
44037         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44038         multiarch memcpy for PPC32.
44039         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44040         multiarch objects.
44041         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44042         (__libc_ifunc_impl_list): Likewise.
44044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44045         support multiarch for POWER/PPC32.
44046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44047         Likewise.
44048         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44050         Implies file to make multiarch folder appers before the fpu and
44051         default folder for power4 configuration.
44053 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44055         * scripts/bench.pl: Append volatile keyword to type.
44057 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44059         * sysdeps/sh/sotruss-lib.c: New file.
44060         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44062 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44066 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44068         [BZ #6810]
44069         * math/w_tgamma.c: Include <errno.h>.
44070         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44071         * math/w_tgammaf.c: Include <errno.h>.
44072         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44073         * math/w_tgammal.c: Include <errno.h>.
44074         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44075         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44076         underflow.  Add more tgamma tests.
44077         * math/auto-libm-test-out: Regenerated.
44078         * sysdeps/i386/fpu/libm-test-ulps: Update.
44079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44081         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44082         sin, sinh, tan, tanh, tgamma, y0 and y1.
44083         * math/auto-libm-test-out: Regenerated.
44084         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44085         (TEST_COND_x86): Likewise.
44086         (M_E2l): Remove macro.
44087         (M_E3l): Likewise.
44088         (M_2_SQRT_PIl): Likewise.
44089         (M_SQRT_PIl): Likewise.
44090         (M_1_DIV_El): Likewise.
44091         (log_test_data): Use AUTO_TESTS_f_f.
44092         (log10_test_data): Likewise.
44093         (log1p_test_data): Likewise.
44094         (log2_test_data): Likewise.
44095         (sin_test_data): Likewise.
44096         (sin_tonearest_test_data): Likewise.
44097         (sin_towardzero_test_data): Likewise.
44098         (sin_downward_test_data): Likewise.
44099         (sin_upward_test_data): Likewise.
44100         (sinh_test_data): Likewise.
44101         (sinh_tonearest_test_data): Likewise.
44102         (sinh_towardzero_test_data): Likewise.
44103         (sinh_downward_test_data): Likewise.
44104         (sinh_upward_test_data): Likewise.
44105         (tan_test_data): Likewise.
44106         (tan_tonearest_test_data): Likewise.
44107         (tan_towardzero_test_data): Likewise.
44108         (tan_downward_test_data): Likewise.
44109         (tan_upward_test_data): Likewise.
44110         (tanh_test_data): Likewise.
44111         (tgamma_test_data): Likewise.
44112         (y0_test_data): Likewise.
44113         (y1_test_data): Likewise.
44114         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44115         (special_real_inputs): Add pi/4.
44116         * sysdeps/i386/fpu/libm-test-ulps: Update.
44117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44119 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44121         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44122         "longjmp_target" static probes.
44123         (__longjmp): Rename to __longjmp_symbol.
44124         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44125         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44126         on which longjmp to generate.
44127         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44128         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44129         probe.
44130         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44131         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44132         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44133         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44134         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44135         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44137         __longjmp_symbol based on which __longjmp to generate.
44138         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44139         probe.
44140         (setjmp): Rename to setjmp_symbol.
44141         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44142         (_setjmp): Rename to _setjmp_symbol.
44143         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44144         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44145         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44146         which setjmp to generate.
44147         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44148         "longjmp_target" static probes.
44150 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44152         * benchtests/README: Add note about output arguments.
44153         * benchtests/bench-sincos.c: Remove file.
44154         * benchtests/sincos-inputs: New file.
44155         * scripts/bench.pl: Identify output arguments and define
44156         static variables for them.
44158         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44160         [BZ #15941]
44161         * Makefile (INSTALL): Add install-plain.texi as the primary
44162         dependency.
44163         * manual/install-plain.texi: New file.
44164         * manual/install.texi: Include node directive only for
44165         non-plaintext output.
44167 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44169         * stdlib/longlong.h: Update from GCC.
44171         [BZ #6807]
44172         [BZ #15901]
44173         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44174         * math/w_j0f.c (y0f): Likewise.
44175         * math/w_j0l.c (__y0l): Likewise.
44176         * math/w_j1.c (y1): Likewise.
44177         * math/w_j1f.c (y1f): Likewise.
44178         * math/w_j1l.c (__y1l): Likewise.
44179         * math/w_jn.c (yn): Likewise.
44180         * math/w_jnf.c (ynf): Likewise.
44181         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44182         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44183         value for Bessel function domain errors outside _SVID_ mode.
44184         Adjust sign of return value for yn (negative integer, 0).
44185         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44186         by zero in return for negative x and set sign appropriately for
44187         negative n.
44188         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44189         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44190         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44191         expectations in error cases.
44192         (y1_test_data): Likewise.
44193         (yn_test_data): Likewise.
44194         * sysdeps/i386/fpu/libm-test-ulps: Update.
44195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44197 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44199         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44200         "64" to "64-v1".  Add "64-v2".
44201         (abi-64-options): Rename to ...
44202         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44203         (abi-64-condition): Rename to ...
44204         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44205         (abi-64-ld-soname): Rename to ...
44206         (abi-64-v1-ld-soname): ... this.
44207         (abi-64-v2-options): Define.
44208         (abi-64-v2-condition): Likewise.
44209         (abi-64-v2-ld-soname): Likewise.
44210         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44211         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44216 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44217             Alan Modra  <amodra@gmail.com>
44219         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44220         New versions for use with the ELFv2 ABI.
44221         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44222         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44223         declaration.
44224         (struct La_ppc64v2_retval): Likewise.
44225         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44226         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44227         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44228         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44229         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44230         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44231         Do not save or restore CR.
44232         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44233         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44234         return values for ELFv2 ABI.  Fix location of FPR return registers.
44235         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44236         updated values for _CALL_ELF == 2.
44237         (La_regs, La_retval, int_retval): Likewise.
44239 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44241         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44242         (FRAME_MIN_SIZE_PARM): Likewise.
44243         (FRAME_BACKCHAIN): Likewise.
44244         (FRAME_CR_SAVE): Likewise.
44245         (FRAME_LR_SAVE): Likewise.
44246         (FRAME_TOC_SAVE): Likewise.
44247         (FRAME_PARM_SAVE): Likewise.
44248         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44249         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44250         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44251         (call_mcount_parm_offset): New macro.
44252         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44253         (PROF): Use symbolic stack frame offsets.
44254         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44255         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44256         Redefine in terms of FRAME_MIN_SIZE.
44257         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44258         (_dl_profile_resolve): Likewise.  Update comment.
44259         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44260         symbols stack frame offsets.
44261         (__sigsetjmp): Likewise.
44262         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44263         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44264         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44265         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44268         (FRAME_BACKCHAIN): Remove.
44269         (FRAME_CR_SAVE): Likewise.
44270         (FRAME_LR_SAVE): Likewise.
44271         (FRAME_COMPILER_DW): Likewise.
44272         (FRAME_LINKER_DW): Likewise.
44273         (FRAME_TOC_SAVE): Likewise.
44274         (FRAME_PARM_SAVE): Likewise.
44275         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44276         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44277         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44279         (CHECK_SP): Use symbolic stack frame offsets.
44280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44281         zone" instead of caller's parameter save area for temp storage.
44282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44283         Likewise.  Also, use symbolic stack frame offsets.
44284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44285         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44286         our own stack frame instead of the caller's.
44287         (__socket): Use symbolic stack frame offsets.
44289 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44290             Alan Modra  <amodra@gmail.com>
44292         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44293         Define.
44294         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44295         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44296         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44297         New function.
44298         (elf_machine_fixup_plt): Call it.
44299         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44300         reloc arguments.
44301         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44302         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44303         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44304         r2 before calling target.
44306 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44307             Alan Modra  <amodra@gmail.com>
44309         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44310         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44311         versions of macros to support ELFv2 ABI.
44312         (LOCALENTRY): New macro.
44313         (ENTRY, EALIGN): Use it.
44314         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44315         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44316         fall through into ENTRY entry point.
44317         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44318         Only define if _CALL_ELF != 2.
44320         (elf_machine_matches_host): Verify ABI version matches.
44321         (RTLD_START): Use LOCALENTRY.
44322         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44323         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44324         (PLT_ENTRY_WORDS): New macro.
44325         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44326         (elf_machine_runtime_setup): Support ELFv2 ABI.
44327         (elf_machine_fixup_plt): Likewise.
44328         (elf_machine_plt_conflict): Likewise.
44329         (resolve_ifunc): Likewise.
44330         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44331         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44332         Likewise.
44333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44334         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44336         (makecontext): Support ELFv2 ABI.
44337         * elf/elf.h (EF_PPC64_ABI): Define.
44339 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44341         * sysdeps/powerpc/powerpc64/sysdep.h
44342         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44343         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44344         (ENTRY) [ASSEMBLER]: ... but instead here ...
44345         (EALIGN) [ASSEMBLER]: ... and here.
44346         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44347         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44348         (ENTRY_2) [!ASSEMBLER]: Use it.
44349         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44350         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44351         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44352         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44353         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44355         Use PPC64_LOAD_FUNCPTR.
44357         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44359 2013-12-04  Alan Modra  <amodra@gmail.com>
44361         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44362         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44363         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44364         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44366         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44367         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44368         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44369         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44370         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44371         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44373 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44376         (__makecontext): Fix incorrect CFI when backtracing out of
44377         context created via makecontext.
44378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44379         (__setcontext): Fix incorrect CFI during switch to new context.
44380         (__novec_setcontext): Likewise.
44382 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44384         [BZ #4772]
44385         * time/strptime_l.c (__strptime_internal): Allow modifiers
44386         in strptime.
44387         * time/tst-strptime.c (day_tests): Add testcase.
44389 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44391         * scripts/bench.pl: Skip over blank lines.
44393 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44395         [BZ #926]
44396         * manual/time.texi (Calendar Time): Clarify what timezone functions
44397         use.
44399 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44403 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44405         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44406         implementation.
44407         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44408         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44409         * debug/memset_chk.c (__memset_chk): Likewise.
44410         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44411         * debug/strncpy_chk.c: Likewise.
44413 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44415         [BZ #15268]
44416         [BZ #15425]
44417         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44418         (__ieee754_exp): For possibly underflowing results, check size of
44419         result and force underflow exception if required.
44420         * math/auto-libm-test-in: Add more tests of exp.
44421         * math/auto-libm-test-out: Regenerated.
44422         * sysdeps/i386/fpu/libm-test-ulps: Update.
44423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44425         [BZ #16283]
44426         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44427         * math/w_exp2f.c (__exp2f): Likewise.
44428         * math/w_exp2l.c (__exp2l): Likewise.
44429         * math/auto-libm-test-in: Do not allow missing errno on exp2
44430         underflow.
44431         * math/auto-libm-test-out: Regenerated.
44433 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44435         [BZ #16274]
44436         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44437         handle filename validation.
44438         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44439         (do_open): Delete.
44441 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44443         [BZ #6786]
44444         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44445         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44446         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44447         <float.h>.
44448         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44449         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44450         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44451         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44452         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44453         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44454         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44455         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44456         Add more erfc tests.
44457         * math/auto-libm-test-out: Regenerated.
44458         * sysdeps/i386/fpu/libm-test-ulps: Update.
44459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44461         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44462         exp2, expm1, j0 and j1.
44463         * math/auto-libm-test-out: Regenerated.
44464         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44465         (erfc_test_data): Likewise.
44466         (exp_test_data): Likewise.
44467         (exp_tonearest_test_data): Likewise.
44468         (exp_towardzero_test_data): Likewise.
44469         (exp_downward_test_data): Likewise.
44470         (exp_upward_test_data): Likewise.
44471         (exp10_test_data): Likewise.
44472         (exp2_test_data): Likewise.
44473         (expm1_test_data): Likewise.
44474         (j0_test_data): Likewise.
44475         (j1_test_data): Likewise.
44476         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44477         (input_flag_type): Add flag_xfail_rounding.
44478         (input_flags): Add xfail-rounding.
44479         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44480         (output_for_one_input_case): Handle flag_xfail_rounding.
44481         * sysdeps/i386/fpu/libm-test-ulps: Update.
44482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44484 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44486         [BZ #16289]
44487         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44488         division by 0.
44490 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44492         [BZ #16195]
44493         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44494         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44495         (STAP_PROBE0): New macro.
44496         (STAP_PROBE1): Likewise.
44497         (STAP_PROBE2): Likewise.
44498         (STAP_PROBE3): Likewise.
44499         (STAP_PROBE4): Likewise.
44501 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44503         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44505 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44507         * benchtests/Makefile (bench): Add sqrt.
44508         (LDLIBS-bench-sqrt): New.
44509         * benchtests/sqrt-input: New.
44511 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44513         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44514         (GAIH_EAI): Likewise.
44515         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44516         (gaih_inet): Likewise.
44517         (getaddrinfo): Don't use GAIH_EAI.
44519         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44520         (struct gaih): Remove definition.
44522 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44524         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44525         Use HERRNOP directly.
44527 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44531 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44533         * math/gen-auto-libm-tests.c (test_functions): Add more
44534         single-argument functions.
44535         (special_fill_pi_2): New function.
44536         (special_fill_minus_pi_2): Likewise.
44537         (special_fill_pi_6): Likewise.
44538         (special_fill_minus_pi_6): Likewise.
44539         (special_fill_pi_3): Likewise.
44540         (special_fill_2pi_3): Likewise.
44541         (special_fill_e): Likewise.
44542         (special_fill_1_e): Likewise.
44543         (special_fill_e_minus_1): Likewise.
44544         (special_real_inputs): Add more special inputs.
44545         (output_for_one_input_case): Do not require ERANGE on underflow to
44546         zero if round-to-nearest result does not underflow to zero, unless
44547         exact results required.
44548         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44549         atan, atanh, cbrt, cos and cosh.
44550         * math/auto-libm-test-out: Regenerated.
44551         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44552         (acos_tonearest_test_data): Likewise.
44553         (acos_towardzero_test_data): Likewise.
44554         (acos_downward_test_data): Likewise.
44555         (acos_upward_test_data): Likewise.
44556         (acosh_test_data): Likewise.
44557         (asin_test_data): Likewise.
44558         (asin_tonearest_test_data): Likewise.
44559         (asin_towardzero_test_data): Likewise.
44560         (asin_upward_test_data): Likewise.
44561         (asinh_test_data): Likewise.
44562         (atan_test_data): Likewise.
44563         (atanh_test_data): Likewise.
44564         (cbrt_test_data): Likewise.
44565         (cos_test_data): Likewise.
44566         (cos_tonearest_test_data): Likewise.
44567         (cos_towardzero_test_data): Likewise.
44568         (cos_downward_test_data): Likewise.
44569         (cos_upward_test_data): Likewise.
44570         (cosh_test_data): Likewise.
44571         (cosh_tonearest_test_data): Likewise.
44572         (cosh_towardzero_test_data): Likewise.
44573         (cosh_downward_test_data): Likewise.
44574         (cosh_upward_test_data): Likewise.
44575         * sysdeps/i386/fpu/libm-test-ulps: Update.
44576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44578 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44580         [BZ #6787]
44581         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44582         * math/w_exp10f.c (__exp10f): Likewise.
44583         * math/w_exp10l.c (__exp10l): Likewise.
44584         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44585         errno settings in existing tests.
44587         [BZ #14032]
44588         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44589         precision control set to double precision.
44590         * sysdeps/i386/fpu/w_sqrt.c: New file.
44591         * math/auto-libm-test-in: Add more tests.
44592         * math/auto-libm-test-out: Update.
44594         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44595         (sqrt_test_tonearest): New function.
44596         (sqrt_towardzero_test_data): New variable.
44597         (sqrt_test_towardzero): New function.
44598         (sqrt_downward_test_data): New variable.
44599         (sqrt_test_downward): New function.
44600         (sqrt_upward_test_data): New variable.
44601         (sqrt_test_upward): New function.
44602         (main): Call the new functions.
44604         * math/gen-auto-libm-tests.c: New file.
44605         * math/auto-libm-test-in: Likewise.
44606         * math/auto-libm-test-out: New generated file.
44607         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44608         variables.
44609         (%beautify): Add generated representations of zero.
44610         (top level): Set $auto_input and call parse_auto_input.
44611         (beautify): Remove trailing "f" from hex float constants.
44612         (parse_args): Handle XFAIL_TEST.
44613         (convert_condition): New function.
44614         (or_value): Likewise.
44615         (or_cond_value): Likewise.
44616         (generate_testfile): Handle AUTO_TESTS_* lines.
44617         (parse_auto_input): New function.
44618         * math/libm-test.inc (XFAIL_TEST): New macro.
44619         (ERRNO_UNCHANGED): Update value.
44620         (ERRNO_EDOM): Likewise.
44621         (ERRNO_ERANGE): Likewise.
44622         (IGNORE_RESULT): Likewise.
44623         (TEST_COND_flt_32): New macro.
44624         (TEST_COND_dbl_64): Likewise.
44625         (TEST_COND_ldbl_96_intel): Likewise.
44626         (TEST_COND_ldbl_96_m68k): Likewise.
44627         (TEST_COND_ldbl_128): Likewise.
44628         (TEST_COND_ldbl_128ibm): Likewise.
44629         (TEST_COND_long32): Likewise.
44630         (TEST_COND_long64): Likewise.
44631         (TEST_COND_before_rounding): Likewise.
44632         (TEST_COND_after_rounding): Likewise.
44633         (enable_test): Handle XFAIL_TEST flag.
44634         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44635         with finite results.
44636         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44637         auto-libm-test-out.
44639 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44640             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44642         [BZ #16214]
44643         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44644         __tls_get_addr_internal instead of __tls_get_offset in order to
44645         avoid GOT pointer dependency.  Make rtld export
44646         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44647         __tls_get_addr since we are a __tls_get_offset platform.
44648         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44649         GOT pointer being set up before.
44650         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44652 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44654         * manual/math.texi (Errors in Math Functions): Document accuracy
44655         goals.
44657         [BZ #15004]
44658         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44659         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44660         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44661         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44662         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44663         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44664         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44665         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44666         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44667         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44668         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44669         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44670         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44671         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44672         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44673         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44675         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44676         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44677         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44678         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44679         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44680         Likewise.
44681         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44682         Likewise.
44683         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44684         Likewise.
44685         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44686         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44687         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44688         atomic-feupdateenv and flt-rounds.
44689         * sysdeps/powerpc/nofpu/Versions (libc): Add
44690         __atomic_feholdexcept, __atomic_feclearexcept,
44691         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44692         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44693         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44694         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44695         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44696         here.
44697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44698         Update.
44700         * manual/arith.texi (FP Exceptions): Document that exceptions may
44701         not be raised when matherr is used.
44702         (Math Error Reporting): Document overflow in directed rounding
44703         modes.  Document that errno may not be set when finite values are
44704         returned on overflow.  Document intent to set errno on underflow
44705         only for underflow to zero.
44707         [BZ #16271]
44708         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44709         round-to-nearest then adjust result for other rounding modes.
44710         * include/fenv.h (fegetround): Use libm_hidden_proto.
44711         * math/fegetround.c (fegetround): Use libm_hidden_def.
44712         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44713         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44714         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44715         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44716         Likewise.
44717         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44718         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44719         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44720         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44722 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44724         [BZ #16077]
44725         * nss/Versions (libnss_files): Add
44726         _nss_files_gethostbyname3_r.
44727         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44728         New function.
44729         (HOST_DB_LOOKUP): Remove macro.
44730         (_nss_files_gethostbyname_r): Implement function without the
44731         HOST_DB_LOOKUP macro.
44732         (_nss_files_gethostbyname2_r): Likewise.
44734 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44736         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44738 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44740         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44741         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44742         warning.
44744 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44746         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44747         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44748         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44749         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44750         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44751         __fe_nomask_env_priv and attribute_hidden.
44752         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44753         (libc_feupdateenv_test_ppc): Likewise.
44754         (libc_feresetround_ppc): Likewise.
44755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44756         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44757         compat_symbol macro.
44758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44759         (__fe_nomask_env): Likewise.
44760         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44762 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44764         * string/Makefile: Remove ifunc tests.
44765         * string/test-string.h: Define TEST_IFUNC.
44766         * string/test-bcopy-ifunc.c: Remove.
44767         * string/test-bzero-ifunc.c: Likewise.
44768         * string/test-memccpy-ifunc.c: Likewise.
44769         * string/test-memchr-ifunc.c: Likewise.
44770         * string/test-memcmp-ifunc.c: Likewise.
44771         * string/test-memcpy-ifunc.c: Likewise.
44772         * string/test-memmem-ifunc.c: Likewise.
44773         * string/test-memmove-ifunc.c: Likewise.
44774         * string/test-mempcpy-ifunc.c: Likewise.
44775         * string/test-memrchr-ifunc.c: Likewise.
44776         * string/test-memset-ifunc.c: Likewise.
44777         * string/test-rawmemchr-ifunc.c: Likewise.
44778         * string/test-stpcpy-ifunc.c: Likewise.
44779         * string/test-stpncpy-ifunc.c: Likewise.
44780         * string/test-strcasecmp-ifunc.c: Likewise.
44781         * string/test-strcasestr-ifunc.c: Likewise.
44782         * string/test-strcat-ifunc.c: Likewise.
44783         * string/test-strchr-ifunc.c: Likewise.
44784         * string/test-strchrnul-ifunc.c: Likewise.
44785         * string/test-strcmp-ifunc.c: Likewise.
44786         * string/test-strcpy-ifunc.c: Likewise.
44787         * string/test-strcspn-ifunc.c: Likewise.
44788         * string/test-strlen-ifunc.c: Likewise.
44789         * string/test-strncasecmp-ifunc.c: Likewise.
44790         * string/test-strncat-ifunc.c: Likewise.
44791         * string/test-strncmp-ifunc.c: Likewise.
44792         * string/test-strncpy-ifunc.c: Likewise.
44793         * string/test-strnlen-ifunc.c: Likewise.
44794         * string/test-strpbrk-ifunc.c: Likewise.
44795         * string/test-strrchr-ifunc.c: Likewise.
44796         * string/test-strspn-ifunc.c: Likewise.
44797         * string/test-strstr-ifunc.c: Likewise.
44799 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44801         * benchtests/Makefile: Remove ifunc tests.
44802         * benchtests/bench-string.h: Define TEST_IFUNC.
44803         * benchtests/bench-bcopy-ifunc.c: Remove.
44804         * benchtests/bench-bzero-ifunc.c: Likewise.
44805         * benchtests/bench-memccpy-ifunc.c: Likewise.
44806         * benchtests/bench-memchr-ifunc.c: Likewise.
44807         * benchtests/bench-memcmp-ifunc.c: Likewise.
44808         * benchtests/bench-memcpy-ifunc.c: Likewise.
44809         * benchtests/bench-memmem-ifunc.c: Likewise.
44810         * benchtests/bench-memmove-ifunc.c: Likewise.
44811         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44812         * benchtests/bench-memrchr-ifunc.c: Likewise.
44813         * benchtests/bench-memset-ifunc.c: Likewise.
44814         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44815         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44816         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44817         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44818         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44819         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44820         * benchtests/bench-strcat-ifunc.c: Likewise.
44821         * benchtests/bench-strchr-ifunc.c: Likewise.
44822         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44823         * benchtests/bench-strcmp-ifunc.c: Likewise.
44824         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44825         * benchtests/bench-strcpy-ifunc.c: Likewise.
44826         * benchtests/bench-strcspn-ifunc.c: Likewise.
44827         * benchtests/bench-strlen-ifunc.c: Likewise.
44828         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44829         * benchtests/bench-strncat-ifunc.c: Likewise.
44830         * benchtests/bench-strncmp-ifunc.c: Likewise.
44831         * benchtests/bench-strncpy-ifunc.c: Likewise.
44832         * benchtests/bench-strnlen-ifunc.c: Likewise.
44833         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44834         * benchtests/bench-strrchr-ifunc.c: Likewise.
44835         * benchtests/bench-strsep-ifunc.c: Likewise.
44836         * benchtests/bench-strspn-ifunc.c: Likewise.
44837         * benchtests/bench-strstr-ifunc.c: Likewise.
44839 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44841         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44843 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44845         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44846         * rt/aio.h: Likewise.
44847         * sysdeps/gnu/bits/utmp.h: Likewise.
44848         * sysdeps/gnu/bits/utmpx.h: Likewise.
44849         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44850         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44851         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44852         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44853         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44854         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44855         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44856         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44857         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44858         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44859         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44860         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44861         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44863         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44864         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44865         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44866         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44867         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44868         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44869         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44870         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44871         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44872         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44873         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44874         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44875         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44876         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44877         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44878         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44879         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44880         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44881         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44882         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44883         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44884         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44885         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44886         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44887         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44888         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44889         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44890         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44892 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44894         [BZ #16245]
44895         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44896         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44898 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44900         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44901         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44902         Likewise.
44904 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44906         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44907         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44908         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44909         (__fesetround): Remove define.
44910         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44911         rounding and exceptions handling.
44912         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44913         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44914         (__fe_nomask_env): Likewise.
44915         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44916         __fegetround instead of fegetround.
44917         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44918         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44920 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44922         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44923         it's there.
44925         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44927 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44929         [BZ #11157]
44930         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44931         (encrypt_r): Likewise.
44932         * malloc/obstack.h (obstack_free): Likewise.
44933         * posix/unistd.h (encrypt): Likewise.
44935 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44937         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44938         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44939         DL_CALL_DT_FINI() that call the functions directly.
44940         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44941         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44942         * elf/dl-fini.c: Likewise.
44944 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44946         * malloc/hooks.c (memalign_check): Add alignment rounding.
44947         * malloc/malloc.c (_mid_memalign): New function.
44948         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44949         Implement by calling _mid_memalign.
44950         * manual/probes.texi (Memory Allocation Probes): Remove
44951         memory_valloc_retry and memory_pvalloc_retry.
44953 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44955         * locale/programs/locarchive.c (open_archive): Add const
44956         qualifier to ARCHIVEFNAME and copy default fname to
44957         DEFAULT_FNAME.
44959         [BZ #15601]
44960         * libio/tst-widetext.input: Rename Oriya to Odia.
44961         * locale/iso-639.def: Likewise.
44963         * manual/probes.texi (Mathematical Function Probes): Add
44964         documentation for sin, cos, asin and acos probes.
44965         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44966         (__sin32): Add slowasin probe.
44967         (__cos32): Add slowacos probe.
44968         (__mpsin): Add slowsin probe.
44969         (__mpcos): Add slowcos probe.
44971 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44973         [BZ #15483]
44974         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44975         thread-local __sim_exceptions_thread and global
44976         __sim_exceptions_global.
44977         (__sim_disabled_exceptions): Change to thread-local
44978         __sim_disabled_exceptions_thread and global
44979         __sim_disabled_exceptions_global.
44980         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44981         and global __sim_round_mode_global.
44982         (__simulate_exceptions): Use thread-local floating-point state and
44983         set global state from it as needed.
44984         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44985         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44986         __sim_round_mode_thread.
44987         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44988         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44989         and global __sim_exceptions_global.
44990         (__sim_disabled_exceptions): Change to thread-local
44991         __sim_disabled_exceptions_thread and global
44992         __sim_disabled_exceptions_global.
44993         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44994         and global __sim_round_mode_global.
44995         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44996         (SIM_SET_GLOBAL): Likewise.
44997         * sysdeps/powerpc/soft-fp/sfp-machine.h
44998         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44999         __sim_round_mode_thread.
45000         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45001         __sim_disabled_exceptions_thread.
45002         (__sim_exceptions): Change to __sim_exceptions_thread.
45003         (__sim_disabled_exceptions): Change to
45004         __sim_disabled_exceptions_thread.
45005         (__sim_round_mode): Change to __sim_round_mode_thread.
45006         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45007         thread-local floating-point state and set global state from it as
45008         needed.
45009         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45010         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45011         (__sim_disabled_exceptions): Remove extern declaration.
45012         (feenableexcept): Use thread-local floating-point state and set
45013         global state from it as needed.
45014         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45015         extern declaration.
45016         (__sim_disabled_exceptions): Likewise.
45017         (__sim_round_mode): Likewise.
45018         (__fegetenv): Use thread-local floating-point state.
45019         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45020         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45021         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45022         floating-point state and set global state from it as needed.
45023         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45024         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45025         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45026         Likewise.
45027         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45028         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45029         Likewise.
45030         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45031         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45032         Use __sim_round_mode_thread.
45033         * math/test-fenv-tls.c: New file.
45034         * math/Makefile (tests): Add test-fenv-tls.
45035         ($(objpfx)test-fenv-tls): Depend on
45036         $(common-objpfx)nptl/libpthread.so.
45038 2013-11-19  Andreas Schwab  <schwab@suse.de>
45040         * locale/programs/locale.c (show_info): Decode wordarray elements.
45041         * locale/categories.def (LC_MONETARY): Add element for
45042         _NL_MONETARY_CRNCYSTR.
45043         * locale/C-monetary.c (conversion_rate): New variable.
45044         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45045         element.
45047 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45049         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45050         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45052 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45054         * elf/Makefile (tst-auxv): New test.
45055         * elf/tst-auxv.c: New
45056         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45058 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45060         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45061         (hidden_proto): Caller changed.
45062         (hidden_tls_proto): New macro.
45063         (libc_hidden_tls_proto): Likewise.
45064         (rtld_hidden_tls_proto): Likewise.
45065         (libm_hidden_tls_proto): Likewise.
45066         (libresolv_hidden_tls_proto): Likewise.
45067         (librt_hidden_tls_proto): Likewise.
45068         (libdl_hidden_tls_proto): Likewise.
45069         (libnss_files_hidden_tls_proto): Likewise.
45070         (libnsl_hidden_tls_proto): Likewise.
45071         (libnss_nisplus_hidden_tls_proto): Likewise.
45072         (libutil_hidden_tls_proto): Likewise.
45074 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45076         [BZ #10253]
45077         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45078         (decompose_rpath): Defer expansion to fillin_rpath.
45079         (_dl_init_paths): Pass linkmap to fillin_rpath.
45081 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45083         * benchtests/Makefile: Add strsep.
45084         * benchtests/bench-strsep.c: New file: strsep benchtest.
45085         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45087 2013-11-18  Andreas Schwab  <schwab@suse.de>
45089         * locale/programs/locale.c (show_info) [case byte]: Check for
45090         '\377' instead of '\177'.
45091         * locale/C-monetary.c (not_available): Always use "\377".
45092         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45093         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45094         detect unavailable sign_posn locale elements.
45095         * locale/localeconv.c (__localeconv): For grouping and
45096         mon_grouping handle "\177" and "\377" like no grouping.
45097         (INT_ELEM): New macro.  Use it to set all numeric members.
45098         * locale/programs/ld-monetary.c (monetary_read)
45099         <tok_mon_grouping>: Normalize single -1 to the empty string.
45100         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45101         Likewise.
45103 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45105         [BZ #16055]
45106         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45107         when we match (nil).
45108         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45110 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45112         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45113         (NO_TEST_INLINE): Update value.
45114         (ERRNO_UNCHANGED): Likewise.
45115         (ERRNO_EDOM): Likewise.
45116         (ERRNO_ERANGE): Likewise.
45117         (IGNORE_RESULT): Likewise.
45118         (check_float_internal): Check signs of NaN results if
45119         TEST_NAN_SIGN used.
45120         (check_complex): Pass TEST_NAN_SIGN flag through to second
45121         check_float_internal call.
45122         (copysign_test_data): Add tests with quiet NaNs as second
45123         argument.  Use TEST_NAN_SIGN.
45124         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45125         TEST_NAN_SIGN.
45126         (signbit_test_data): Add tests of quiet NaN argument.
45127         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45129         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45130         $ignore_result.
45131         (parse_args): Handle function results specified as IGNORE.
45132         * math/libm-test.inc (IGNORE_RESULT): New macro.
45133         (check_float_internal): Do not check numerical result if flag
45134         IGNORE_RESULT set.
45135         (check_complex): Pass through IGNORE_RESULT to second
45136         check_float_internal call.
45137         (check_int): Do not check numerical result if flag IGNORE_RESULT
45138         set.
45139         (check_long): Likewise.
45140         (check_bool): Likewise.
45141         (check_longlong): Likewise.
45142         (lrint_test_data): Add tests of infinite and NaN arguments.
45143         (lrint_tonearest_test_data): Likewise.
45144         (lrint_towardzero_test_data): Likewise.
45145         (lrint_downward_test_data): Likewise.
45146         (lrint_upward_test_data): Likewise.
45147         (llrint_test_data): Likewise.
45148         (llrint_tonearest_test_data): Likewise.
45149         (llrint_towardzero_test_data): Likewise.
45150         (llrint_downward_test_data): Likewise.
45151         (llrint_upward_test_data): Likewise.
45152         (lround_test_data): Likewise.
45153         (llround_test_data): Likewise.
45155         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45156         (ERRNO_UNCHANGED): Update value.
45157         (ERRNO_EDOM): Likewise.
45158         (ERRNO_ERANGE): Likewise.
45159         (NO_TEST_INLINE_FLOAT): New macro.
45160         (NO_TEST_INLINE_DOUBLE): Likewise.
45161         (enable_test): New function.
45162         (RUN_TEST_f_f): Check enable_test before running test.
45163         (RUN_TEST_2_f): Likewise.
45164         (RUN_TEST_fff_f): Likewise.
45165         (RUN_TEST_c_f): Likewise.
45166         (RUN_TEST_f_f1): Likewise.
45167         (RUN_TEST_fF_f1): Likewise.
45168         (RUN_TEST_fI_f1): Likewise.
45169         (RUN_TEST_ffI_f1): Likewise.
45170         (RUN_TEST_c_c): Likewise.
45171         (RUN_TEST_cc_c): Likewise.
45172         (RUN_TEST_f_i): Likewise.
45173         (RUN_TEST_f_i_tg): Likewise.
45174         (RUN_TEST_ff_i_tg): Likewise.
45175         (RUN_TEST_f_b): Likewise.
45176         (RUN_TEST_f_b_tg): Likewise.
45177         (RUN_TEST_f_l): Likewise.
45178         (RUN_TEST_f_L): Likewise.
45179         (RUN_TEST_fFF_11): Likewise.
45180         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45181         conditionals.
45182         (cosh_test_data): Likewise.
45183         (exp_test_data): Likewise.
45184         (expm1_test_data): Likewise.
45185         (hypot_test_data): Likewise.
45186         (pow_test_data): Likewise.
45187         (sinh_test_data): Likewise.
45188         (tanh_test_data): Likewise.
45189         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45190         flags argument.
45192         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45193         tests with quiet NaN input and output.
45194         (acosh_test_data): Likewise.
45195         (asin_test_data): Likewise.
45196         (asinh_test_data): Likewise.
45197         (atan_test_data): Likewise.
45198         (atanh_test_data): Likewise.
45199         (atan2_test_data): Likewise.
45200         (cbrt_test_data): Likewise.
45201         (cos_test_data): Likewise.
45202         (cosh_test_data): Likewise.
45203         (erf_test_data): Likewise.
45204         (erfc_test_data): Likewise.
45205         (exp_test_data): Likewise.
45206         (exp10_test_data): Likewise.
45207         (exp2_test_data): Likewise.
45208         (expm1_test_data): Likewise.
45209         (hypot_test_data): Likewise.
45210         (j0_test_data): Likewise.
45211         (j1_test_data): Likewise.
45212         (jn_test_data): Likewise.
45213         (lgamma_test_data): Likewise.
45214         (log_test_data): Likewise.
45215         (log10_test_data): Likewise.
45216         (log1p_test_data): Likewise.
45217         (log2_test_data): Likewise.
45218         (pow_test_data): Likewise.
45219         (scalb_test_data): Likewise.
45220         (sin_test_data): Likewise.
45221         (sincos_test_data): Likewise.
45222         (sinh_test_data): Likewise.
45223         (tan_test_data): Likewise.
45224         (tanh_test_data): Likewise.
45225         (tgamma_test_data): Likewise.
45226         (y0_test_data): Likewise.
45227         (y1_test_data): Likewise.
45228         (yn_test_data): Likewise.
45230         [BZ #16167]
45231         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45232         argument being NaN and avoid computations with second argument in
45233         that case.
45234         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45235         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45236         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45238 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45240         * locale/iso-639.def: Add Chitwani Tharu (the).
45242 2013-11-14  Andreas Schwab  <schwab@suse.de>
45244         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45245         word instead of empty string.
45247 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45250         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45252         (__fe_nomask_env): Likewise.
45254 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45256         * benchtests/bench-timing.h: Include time.h.
45258 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45260         [BZ #15997]
45261         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45262         to 3.4.0 for x32.
45263         * sysdeps/unix/sysv/linux/configure: Regenerated.
45265 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45267         [BZ #16151]
45268         * stdlib/strtod_l.c (round_and_return): Do not consider
45269         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45270         exponent one less than half the least subnormal exponent.
45271         * stdlib/test-strtod-round-data: Add more tests.
45272         * stdlib/tst-strtod-round.c (tests): Regenerated.
45274 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45276         [BZ #14143]
45277         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45278         (__fe_mask_env): Likewise.
45279         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45280         libm_hidden_proto and add function prototype.
45281         (__fe_mask_env): Add function prototype.
45282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45283         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45285         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45287         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45289 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45291         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45292         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45294 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45296         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45297         of htab_find_slot().
45299 2013-11-11  David S. Miller  <davem@davemloft.net>
45301         [BZ #16150]
45302         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45303         symbol in the non-vis3 case in static builds.
45304         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45305         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45306         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45307         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45309 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45311         [BZ #387]
45312         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45313         it is empty.
45315 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45317         * benchtests/Makefile: Add bench-strtod.
45318         * benchtests/bench-strtod.c: New file: strtod benchtest
45320 2013-11-11  Andreas Schwab  <schwab@suse.de>
45322         [BZ #16153]
45323         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45324         terminating NUL in key length.
45326 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45328         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45329         Add artificial ODP entry for vDSO symbol for PPC64.
45330         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45331         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45333 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45335         [BZ #15374]
45336         * nss/getent.c (services_keys): Recognize services starting with digit.
45338 2013-11-06  David S. Miller  <davem@davemloft.net>
45340         [BZ #15985]
45341         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45342         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45344 2013-11-06  Will Newton  <will.newton@linaro.org>
45346         * manual/memory.texi (Malloc Examples): Remove register
45347         keyword from examples.
45349 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45351         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45353 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45355         [BZ #6981]
45356         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45357         depending on [__GCC_IEC_559 > 0].
45358         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45359         depending on [__GCC_IEC_559_COMPLEX > 0].
45361 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45363         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45364         to iso-639.def.
45366 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45368         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45370 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45372         [BZ #16112]
45373         * malloc/malloc (malloc_info): Do not handle first bin as
45374         special case.
45376 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45378         * locale/iso-639.def: Add Central Nahuatl (nhn).
45380 2013-11-01  Bruno Haible  <bruno@clisp.org>
45382         [BZ #7003]
45383         * manual/math.texi (BSD Random): Specify range upper bound as
45384         in POSIX.
45386 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45388         * locale/iso-639.def: Add Meadow Mari (mhr).
45390 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45392         [BZ #14752], [BZ #15763]
45393         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45394         Validate name.
45395         * rt/tst_shm.c: Add test for escaping directory.
45397 2013-10-31  Andreas Schwab  <schwab@suse.de>
45399         [BZ #15917]
45400         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45401         followed by 'x' as part of digit sequence.
45402         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45404 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45406         [BZ #16037]
45407         * configure.ac: allow GNU Make 4.0 and greater.
45408         * configure: Regenerated.
45410 2013-10-30  Will Newton  <will.newton@linaro.org>
45412         [BZ #16038]
45413         * malloc/hooks.c (memalign_check): Limit alignment to the
45414         maximum representable power of two.
45415         * malloc/malloc.c (__libc_memalign): Likewise.
45416         * malloc/tst-memalign.c (do_test): Add test for very
45417         large alignment values.
45418         * malloc/tst-posix_memalign.c (do_test): Likewise.
45420 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45422         [BZ #11087]
45423         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45424         (munmap_chunk): Likewise.
45425         (mremap_chunk): Likewise.
45427 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45429         [BZ #15799]
45430         * stdlib/div.c (div): Remove obsolete code.
45431         * stdlib/ldiv.c (ldiv): Likewise.
45432         * stdlib/lldiv.c (lldiv): Likewise.
45434 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45436         [BZ #16071]
45437         * nss/nss_files/files-XXX.c (get_contents_ret): New
45438         enumerator.
45439         (get_contents): New function.
45440         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45442 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45444         * configure.in: Moved to ...
45445         * configure.ac: ... here. Change reference to configure.in
45446         to configure.ac.
45447         * sysdeps/arm/preconfigure.ac: ... here.
45448         configure.in to configure.ac.
45449         * sysdeps/gnu/configure.in: Moved to ...
45450         * sysdeps/gnu/configure.ac: ... here.
45451         * sysdeps/i386/configure.in: Moved to ...
45452         * sysdeps/i386/configure.ac: ... here.
45453         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45454         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45455         * sysdeps/mach/configure.in: Moved to ...
45456         * sysdeps/mach/configure.ac: ... here.
45457         * sysdeps/mach/hurd/configure.in: Moved to ...
45458         * sysdeps/mach/hurd/configure.ac: ... here.
45459         * sysdeps/powerpc/configure.in: Moved to ...
45460         * sysdeps/powerpc/configure.ac: ... here.
45461         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45462         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45463         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45464         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45465         * sysdeps/s390/s390-32/configure.in: Moved to ...
45466         * sysdeps/s390/s390-32/configure.ac: ... here.
45467         * sysdeps/s390/s390-64/configure.in: Moved to ...
45468         * sysdeps/s390/s390-64/configure.ac: ... here.
45469         * sysdeps/sh/configure.in: Moved to ...
45470         * sysdeps/sh/configure.ac: ... here.
45471         * sysdeps/sparc/configure.in: Moved to ...
45472         * sysdeps/sparc/configure.ac: ... here.
45473         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45474         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45475         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45476         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45477         * sysdeps/x86_64/configure.in: Moved to ...
45478         * sysdeps/x86_64/configure.ac: ... here.
45479         * sysdeps/x86_64/preconfigure.in: Moved to ...
45480         * sysdeps/x86_64/preconfigure.ac: ... here.
45481         * aclocal.m4: Change reference to configure.in to configure.ac.
45482         * config.h.in: Likewise.
45483         * manual/install.texi: Likewise.
45484         * manual/maint.texi: Likewise.
45485         * Makefile: Likewise.
45486         * malloc/Makefile: Likewise.
45487         * nscd/Makefile: Likewise.
45488         * Makeconfig: Change reference to configure.in and
45489         preconfigure.in to configure.ac and preconfigure.ac
45490         respectively.
45491         * INSTALL: Regenerated.
45492         * configure: Likewise.
45493         * sysdeps/gnu/configure: Likewise.
45494         * sysdeps/i386/configure: Likewise.
45495         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45496         * sysdeps/mach/configure: Likewise.
45497         * sysdeps/mach/hurd/configure: Likewise.
45498         * sysdeps/powerpc/configure: Likewise.
45499         * sysdeps/powerpc/powerpc32/configure: Likewise.
45500         * sysdeps/powerpc/powerpc64/configure: Likewise.
45501         * sysdeps/s390/s390-32/configure: Likewise.
45502         * sysdeps/s390/s390-64/configure: Likewise.
45503         * sysdeps/sh/configure: Likewise.
45504         * sysdeps/sparc/configure: Likewise.
45505         * sysdeps/unix/sysv/linux/configure: Likewise.
45506         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45507         * sysdeps/x86_64/configure: Likewise.
45508         * sysdeps/x86_64/preconfigure: Likewise.
45510 2013-10-29  Andreas Schwab  <schwab@suse.de>
45512         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45514 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45516         * benchtests/pow-inputs: Add new inputs.
45518         * benchtests/exp-inputs: Add new inputs.
45520         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45521         conditional check for return value.
45522         (__cos32): Likewise.
45524 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45526         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45527         to provide a boost for large inputs with word alignment.
45528         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45529         implementation based on optimized PPC64 strcpy.
45530         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45531         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45532         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45533         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45535 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45537         [BZ #2801]
45538         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45540 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45542         [BZ #14876]
45543         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45544         * time/tst-strptime.c (day_tests): Add testcase.
45546 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45548         [BZ #14029]
45549         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45551 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45553         [BZ #16074]
45554         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45555         MAP_FAILED on error.
45557 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45559         [BZ #16072]
45560         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45561         heap for large requests.
45563 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45565         [BZ #9954]
45566         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45567         result if the result has no associated interface.
45568         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45569         interface for all 127.X.Y.Z addresses.
45571 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45573         * locale/iso-639.def: Add Ligurian (lij)
45575 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45577         [BZ #15825]
45578         * sunrpc/rpc_main.c: Document rpcgen -5.
45580 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45582         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45584 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45586         [BZ #10278]
45587         * posix/glob.c: Match only directories when trailing slash is present.
45588         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45589         (main): Add testcase.
45591 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45593         [BZ #15670]
45594         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45596 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45598         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45599         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45600         AUTH_DES and cindex for FIPS 140-2.
45601         (DES Encryption): Add cindex FIPS 46-3.
45603         * locale/locarchive.h (struct locarhandle): Add fname.
45604         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45605         if an optional argument was specified to --list-archive,
45606         otherwise NULL.
45607         * locale/programs/locarchive.c (show_archive_content): Take new
45608         argument fname and pass it via ah.fname to open_archive.
45609         * locale/programs/localedef.h: Update decl.
45610         (open_archive): If AH->fname is non-null, open that file
45611         rather than the default file name, and don't ignore ENOENT.
45612         (create_archive): Set AH.fname to NULL.
45613         (delete_locales_from_archive): Likewise.
45614         (add_locales_to_archive): Likewise.
45615         * locale/programs/locfile.c (write_all_categories): Likewise.
45617 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45618             Aldy Hernandez  <aldyh@redhat.com>
45620         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45621         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45622         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45623         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45624         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45625         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45626         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45627         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45628         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45629         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45630         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45631         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45632         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45633         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45634         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45635         Likewise.
45636         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45637         Likewise.
45638         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45639         Likewise.
45640         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45641         Likewise.
45642         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45643         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45644         Likewise.
45645         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45646         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45647         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45648         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45649         Likewise.
45650         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45651         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45652         * sysdeps/powerpc/preconfigure: Likewise.
45653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45654         Likewise.
45655         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45656         Replace contents of file by #include of <fenv_libc.h>.
45657         * sysdeps/powerpc/soft-fp/sfp-machine.h
45658         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45659         and <sys/prctl.h>.
45660         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45661         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45662         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45663         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45664         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45665         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45666         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45667         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45668         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45669         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45670         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45671         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45673         Allow copysignl PLT reference to be missing.
45675 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45676             Joseph Myers  <joseph@codesourcery.com
45678         [BZ #15948]
45679         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45680         single character.
45681         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45683 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45685         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45686         * elf/tst-tls1.c: Likewise.
45687         * elf/tst-tls10.h: Likewise.
45688         * elf/tst-tls14.c: Likewise.
45689         * elf/tst-tls2.c: Likewise.
45690         * elf/tst-tls3.c: Likewise.
45691         * elf/tst-tls4.c: Likewise.
45692         * elf/tst-tls5.c: Likewise.
45693         * elf/tst-tls6.c: Likewise.
45694         * elf/tst-tls7.c: Likewise.
45695         * elf/tst-tls8.c: Likewise.
45696         * elf/tst-tls9.c: Likewise.
45697         * elf/tst-tlsmod1.c: Likewise.
45698         * elf/tst-tlsmod13.c: Likewise.
45699         * elf/tst-tlsmod13a.c: Likewise.
45700         * elf/tst-tlsmod14a.c: Likewise.
45701         * elf/tst-tlsmod16a.c: Likewise.
45702         * elf/tst-tlsmod16b.c: Likewise.
45703         * elf/tst-tlsmod2.c: Likewise.
45704         * elf/tst-tlsmod3.c: Likewise.
45705         * elf/tst-tlsmod4.c: Likewise.
45706         * elf/tst-tlsmod5.c: Likewise.
45707         * elf/tst-tlsmod6.c: Likewise.
45709 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45711         [BZ #12486]
45712         * malloc/malloc.c: remove checks for statistics.
45714 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45716         [BZ #15277]
45717         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45718         * inet/tst-network.c: Add testcase.
45720 2013-10-17  Andreas Schwab  <schwab@suse.de>
45722         [BZ #15218]
45723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45724         to determine canonical name.
45726 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45728         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45729         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45730         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45731         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45732         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45733         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45734         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45735         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45736         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45737         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45738         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45739         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45740         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45741         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45742         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45743         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45744         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45745         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45746         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45747         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45748         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45749         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45750         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45751         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45752         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45753         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45754         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45755         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45756         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45757         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45758         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45759         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45760         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45761         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45762         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45763         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45764         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45765         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45766         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45767         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45768         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45769         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45770         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45771         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45772         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45773         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45774         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45775         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45776         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45777         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45778         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45779         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45780         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45781         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45782         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45783         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45784         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45785         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45787 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45789         [BZ #16041]
45790         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45791         make result into a quiet NaN.
45793 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45795         * soft-fp/adddf3.c: Fix horizontal whitespace.
45796         * soft-fp/addsf3.c: Likewise.
45797         * soft-fp/addtf3.c: Likewise.
45798         * soft-fp/divdf3.c: Likewise.
45799         * soft-fp/divsf3.c: Likewise.
45800         * soft-fp/divtf3.c: Likewise.
45801         * soft-fp/double.h: Likewise.
45802         * soft-fp/eqdf2.c: Likewise.
45803         * soft-fp/eqsf2.c: Likewise.
45804         * soft-fp/eqtf2.c: Likewise.
45805         * soft-fp/extenddftf2.c: Likewise.
45806         * soft-fp/extended.h: Likewise.
45807         * soft-fp/extendsfdf2.c: Likewise.
45808         * soft-fp/extendsftf2.c: Likewise.
45809         * soft-fp/extendxftf2.c: Likewise.
45810         * soft-fp/fixdfdi.c: Likewise.
45811         * soft-fp/fixdfsi.c: Likewise.
45812         * soft-fp/fixdfti.c: Likewise.
45813         * soft-fp/fixsfdi.c: Likewise.
45814         * soft-fp/fixsfsi.c: Likewise.
45815         * soft-fp/fixsfti.c: Likewise.
45816         * soft-fp/fixtfdi.c: Likewise.
45817         * soft-fp/fixtfsi.c: Likewise.
45818         * soft-fp/fixtfti.c: Likewise.
45819         * soft-fp/fixunsdfdi.c: Likewise.
45820         * soft-fp/fixunsdfsi.c: Likewise.
45821         * soft-fp/fixunsdfti.c: Likewise.
45822         * soft-fp/fixunssfdi.c: Likewise.
45823         * soft-fp/fixunssfsi.c: Likewise.
45824         * soft-fp/fixunssfti.c: Likewise.
45825         * soft-fp/fixunstfdi.c: Likewise.
45826         * soft-fp/fixunstfsi.c: Likewise.
45827         * soft-fp/fixunstfti.c: Likewise.
45828         * soft-fp/floatdidf.c: Likewise.
45829         * soft-fp/floatdisf.c: Likewise.
45830         * soft-fp/floatditf.c: Likewise.
45831         * soft-fp/floatsidf.c: Likewise.
45832         * soft-fp/floatsisf.c: Likewise.
45833         * soft-fp/floatsitf.c: Likewise.
45834         * soft-fp/floattidf.c: Likewise.
45835         * soft-fp/floattisf.c: Likewise.
45836         * soft-fp/floattitf.c: Likewise.
45837         * soft-fp/floatundidf.c: Likewise.
45838         * soft-fp/floatundisf.c: Likewise.
45839         * soft-fp/floatunditf.c: Likewise.
45840         * soft-fp/floatunsidf.c: Likewise.
45841         * soft-fp/floatunsisf.c: Likewise.
45842         * soft-fp/floatunsitf.c: Likewise.
45843         * soft-fp/floatuntidf.c: Likewise.
45844         * soft-fp/floatuntisf.c: Likewise.
45845         * soft-fp/floatuntitf.c: Likewise.
45846         * soft-fp/fmadf4.c: Likewise.
45847         * soft-fp/fmasf4.c: Likewise.
45848         * soft-fp/fmatf4.c: Likewise.
45849         * soft-fp/gedf2.c: Likewise.
45850         * soft-fp/gesf2.c: Likewise.
45851         * soft-fp/getf2.c: Likewise.
45852         * soft-fp/ledf2.c: Likewise.
45853         * soft-fp/lesf2.c: Likewise.
45854         * soft-fp/letf2.c: Likewise.
45855         * soft-fp/muldf3.c: Likewise.
45856         * soft-fp/mulsf3.c: Likewise.
45857         * soft-fp/multf3.c: Likewise.
45858         * soft-fp/negdf2.c: Likewise.
45859         * soft-fp/negsf2.c: Likewise.
45860         * soft-fp/negtf2.c: Likewise.
45861         * soft-fp/op-1.h: Likewise.
45862         * soft-fp/op-2.h: Likewise.
45863         * soft-fp/op-4.h: Likewise.
45864         * soft-fp/op-8.h: Likewise.
45865         * soft-fp/op-common.h: Likewise.
45866         * soft-fp/quad.h: Likewise.
45867         * soft-fp/single.h: Likewise.
45868         * soft-fp/soft-fp.h: Likewise.
45869         * soft-fp/sqrtdf2.c: Likewise.
45870         * soft-fp/sqrtsf2.c: Likewise.
45871         * soft-fp/sqrttf2.c: Likewise.
45872         * soft-fp/subdf3.c: Likewise.
45873         * soft-fp/subsf3.c: Likewise.
45874         * soft-fp/subtf3.c: Likewise.
45875         * soft-fp/truncdfsf2.c: Likewise.
45876         * soft-fp/trunctfdf2.c: Likewise.
45877         * soft-fp/trunctfsf2.c: Likewise.
45878         * soft-fp/trunctfxf2.c: Likewise.
45879         * soft-fp/unorddf2.c: Likewise.
45880         * soft-fp/unordsf2.c: Likewise.
45881         * soft-fp/unordtf2.c: Likewise.
45883 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45885         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45886         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45888 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45890         * elf/dl-libc.c: Clear initfini list after freeing.
45892 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45894         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45895         * soft-fp/addsf3.c: Likewise.
45896         * soft-fp/addtf3.c: Likewise.
45897         * soft-fp/divdf3.c: Likewise.
45898         * soft-fp/divsf3.c: Likewise.
45899         * soft-fp/divtf3.c: Likewise.
45900         * soft-fp/double.h: Likewise.
45901         * soft-fp/eqdf2.c: Likewise.
45902         * soft-fp/eqsf2.c: Likewise.
45903         * soft-fp/eqtf2.c: Likewise.
45904         * soft-fp/extenddftf2.c: Likewise.
45905         * soft-fp/extended.h: Likewise.
45906         * soft-fp/extendsfdf2.c: Likewise.
45907         * soft-fp/extendsftf2.c: Likewise.
45908         * soft-fp/extendxftf2.c: Likewise.
45909         * soft-fp/fixdfdi.c: Likewise.
45910         * soft-fp/fixdfsi.c: Likewise.
45911         * soft-fp/fixdfti.c: Likewise.
45912         * soft-fp/fixsfdi.c: Likewise.
45913         * soft-fp/fixsfsi.c: Likewise.
45914         * soft-fp/fixsfti.c: Likewise.
45915         * soft-fp/fixtfdi.c: Likewise.
45916         * soft-fp/fixtfsi.c: Likewise.
45917         * soft-fp/fixtfti.c: Likewise.
45918         * soft-fp/fixunsdfdi.c: Likewise.
45919         * soft-fp/fixunsdfsi.c: Likewise.
45920         * soft-fp/fixunsdfti.c: Likewise.
45921         * soft-fp/fixunssfdi.c: Likewise.
45922         * soft-fp/fixunssfsi.c: Likewise.
45923         * soft-fp/fixunssfti.c: Likewise.
45924         * soft-fp/fixunstfdi.c: Likewise.
45925         * soft-fp/fixunstfsi.c: Likewise.
45926         * soft-fp/fixunstfti.c: Likewise.
45927         * soft-fp/floatdidf.c: Likewise.
45928         * soft-fp/floatdisf.c: Likewise.
45929         * soft-fp/floatditf.c: Likewise.
45930         * soft-fp/floatsidf.c: Likewise.
45931         * soft-fp/floatsisf.c: Likewise.
45932         * soft-fp/floatsitf.c: Likewise.
45933         * soft-fp/floattidf.c: Likewise.
45934         * soft-fp/floattisf.c: Likewise.
45935         * soft-fp/floattitf.c: Likewise.
45936         * soft-fp/floatundidf.c: Likewise.
45937         * soft-fp/floatundisf.c: Likewise.
45938         * soft-fp/floatunsidf.c: Likewise.
45939         * soft-fp/floatunsisf.c: Likewise.
45940         * soft-fp/floatuntidf.c: Likewise.
45941         * soft-fp/floatuntisf.c: Likewise.
45942         * soft-fp/floatuntitf.c: Likewise.
45943         * soft-fp/fmadf4.c: Likewise.
45944         * soft-fp/fmasf4.c: Likewise.
45945         * soft-fp/fmatf4.c: Likewise.
45946         * soft-fp/gedf2.c: Likewise.
45947         * soft-fp/gesf2.c: Likewise.
45948         * soft-fp/getf2.c: Likewise.
45949         * soft-fp/ledf2.c: Likewise.
45950         * soft-fp/lesf2.c: Likewise.
45951         * soft-fp/letf2.c: Likewise.
45952         * soft-fp/muldf3.c: Likewise.
45953         * soft-fp/mulsf3.c: Likewise.
45954         * soft-fp/multf3.c: Likewise.
45955         * soft-fp/negdf2.c: Likewise.
45956         * soft-fp/negsf2.c: Likewise.
45957         * soft-fp/negtf2.c: Likewise.
45958         * soft-fp/op-1.h: Likewise.
45959         * soft-fp/op-2.h: Likewise.
45960         * soft-fp/op-4.h: Likewise.
45961         * soft-fp/op-8.h: Likewise.
45962         * soft-fp/op-common.h: Likewise.
45963         * soft-fp/quad.h: Likewise.
45964         * soft-fp/single.h: Likewise.
45965         * soft-fp/soft-fp.h: Likewise.
45966         * soft-fp/sqrtdf2.c: Likewise.
45967         * soft-fp/sqrtsf2.c: Likewise.
45968         * soft-fp/sqrttf2.c: Likewise.
45969         * soft-fp/subdf3.c: Likewise.
45970         * soft-fp/subsf3.c: Likewise.
45971         * soft-fp/subtf3.c: Likewise.
45972         * soft-fp/truncdfsf2.c: Likewise.
45973         * soft-fp/trunctfdf2.c: Likewise.
45974         * soft-fp/trunctfsf2.c: Likewise.
45975         * soft-fp/trunctfxf2.c: Likewise.
45976         * soft-fp/unorddf2.c: Likewise.
45977         * soft-fp/unordsf2.c: Likewise.
45978         * soft-fp/unordtf2.c: Likewise.
45980 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45982         [BZ #15672]
45983         * misc/error.c (error_tail): Fix possible buffer overflow.
45985 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45987         [BZ #13028]
45988         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45989         address.
45991 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45993         [BZ #832]
45994         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45995         testing pipefail option.
45997 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45999         * soft-fp/double.h: Indent preprocessor directives inside #if.
46000         * soft-fp/extended.h: Likewise.
46001         * soft-fp/op-2.h: Likewise.
46002         * soft-fp/op-4.h: Likewise.
46003         * soft-fp/op-common.h: Likewise.
46004         * soft-fp/quad.h: Likewise.
46005         * soft-fp/single.h: Likewise.
46006         * soft-fp/soft-fp.h: Likewise.
46008 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46010         * iconv/iconv_prog.c: Fix typos.
46011         * stdio-common/psiginfo-data.h: Likewise.
46013 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46015         [BZ #15764]
46016         * locale/setlocale.c: Fix typo.
46018 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46020         [BZ #16036]
46021         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46022         signaling NaN arguments.
46023         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46024         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46026         [BZ #14910]
46027         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46028         unordered operands.
46029         * soft-fp/gesf2.c (__gesf2): Likewise.
46030         * soft-fp/getf2.c (__getf2): Likewise.
46031         * soft-fp/ledf2.c (__ledf2): Likewise.
46032         * soft-fp/lesf2.c (__lesf2): Likewise.
46033         * soft-fp/letf2.c (__letf2): Likewise.
46035         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46036         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46037         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46038         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46039         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46040         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46041         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46042         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46043         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46044         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46045         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46046         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46047         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46048         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46049         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46050         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46051         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46052         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46053         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46054         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46055         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46056         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46057         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46058         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46059         * soft-fp/floattidf.c (__floattidf): Likewise.
46060         * soft-fp/floattisf.c (__floattisf): Likewise.
46061         * soft-fp/floattitf.c (__floattitf): Likewise.
46062         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46063         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46064         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46065         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46066         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46067         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46068         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46069         * soft-fp/gesf2.c (__gesf2): Likewise.
46070         * soft-fp/getf2.c (__getf2): Likewise.
46071         * soft-fp/ledf2.c (__ledf2): Likewise.
46072         * soft-fp/lesf2.c (__lesf2): Likewise.
46073         * soft-fp/letf2.c (__letf2): Likewise.
46075         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46076         Undefine and redefine.
46077         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46078         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46079         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46080         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46081         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46082         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46083         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46084         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46085         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46086         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46087         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46088         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46089         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46090         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46091         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46093         [BZ #16032]
46094         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46095         without decrementing exponent if mantissa >= that for the
46096         denominator, not >.
46097         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46098         denominator, not >.  Decrement exponent in < case instead of
46099         incrementing in >= case.
46100         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46101         without decrementing exponent if mantissa >= that for the
46102         denominator, not >.
46104         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46105         computing saturated result for unsigned overflow.
46107 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46108             Jeff Law  <law@redhat.com>
46110         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46111         (atan2Mp): Add systemtap probe marker.
46112         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46113         (__ieee754_log): Add systemtap probe marker.
46114         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46115         (atanMp): Add systemtap probe marker.
46116         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46117         (tanMp): Add systemtap probe marker.
46118         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46119         (__slowexp): Add systemtap probe marker.
46120         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46121         (__slowpow): Add systemtap probe marker.
46122         * manual/probes.texi: Document probes.
46124 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46126         [BZ #15362]
46127         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46128         written.
46129         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46130         written.
46131         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46132         written to buffer but not flushed.
46133         * libio/iofwrite_u.c:  Likewise.
46134         * libio/iopadn.c:  Return bytes returned even if EOF was
46135         encountered.
46136         * libio/iowpadn.c:  Likewise.
46137         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46138         if _IO_padn does not write the whole buffer.
46139         [!COMPILE_WPRINTF] (PAD): Likewise.
46141 2013-10-10  David S. Miller  <davem@davemloft.net>
46143         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46144         directory block.
46146 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46148         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46149         instead of FSF address.
46150         * soft-fp/fixdfti.c: Likewise.
46151         * soft-fp/fixsfti.c: Likewise.
46152         * soft-fp/fixtfti.c: Likewise.
46153         * soft-fp/fixunsdfti.c: Likewise.
46154         * soft-fp/fixunssfti.c: Likewise.
46155         * soft-fp/fixunstfti.c: Likewise.
46156         * soft-fp/floattidf.c: Likewise.
46157         * soft-fp/floattisf.c: Likewise.
46158         * soft-fp/floattitf.c: Likewise.
46159         * soft-fp/floatuntidf.c: Likewise.
46160         * soft-fp/floatuntisf.c: Likewise.
46161         * soft-fp/floatuntitf.c: Likewise.
46162         * soft-fp/trunctfxf2.c: Likewise.
46164         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46165         * soft-fp/fixdfti.c: Likewise.
46166         * soft-fp/fixsfti.c: Likewise.
46167         * soft-fp/fixtfti.c: Likewise.
46168         * soft-fp/fixunsdfti.c: Likewise.
46169         * soft-fp/fixunssfti.c: Likewise.
46170         * soft-fp/fixunstfti.c: Likewise.
46171         * soft-fp/floattidf.c: Likewise.
46172         * soft-fp/floattisf.c: Likewise.
46173         * soft-fp/floattitf.c: Likewise.
46174         * soft-fp/floatuntidf.c: Likewise.
46175         * soft-fp/floatuntisf.c: Likewise.
46176         * soft-fp/floatuntitf.c: Likewise.
46177         * soft-fp/trunctfxf2.c: Likewise.
46179 2013-10-10  David S. Miller  <davem@davemloft.net>
46181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46183 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46185         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46186         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46187         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46188         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46189         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46190         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46191         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46193         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46194         for NaNs before doing comparisons on argument.
46195         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46196         Likewise.
46198 2013-10-10  Will Newton  <will.newton@linaro.org>
46200         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46201         passed to _int_memalign does not overflow.
46203 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46205         * scripts/bench.pl: Add include-sources directive.
46206         * benchtests/README: Update documentation.
46208 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46210         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46211         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46212         instead of FP_INIT_ROUNDMODE.
46213         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46214         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46216         [BZ #16034]
46217         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46218         copy class of input value.
46219         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46220         not handle exceptions.
46221         * soft-fp/negsf2.c (__negsf2): Likewise.
46222         * soft-fp/negtf2.c (__negtf2): Likewise.
46223         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46225 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46227         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46228         semicolon.  From Linux kernel.
46230 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46232         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46234 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46236         [BZ #156]
46237         * manual/socket.texi: Added statement about buffer
46238         for gethostbyname2_r.
46240 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46242         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46243         Use .p2align directive instead, throughout.
46244         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46245         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46246         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46247         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46248         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46249         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46250         * sysdeps/x86_64/strchr.S: Likewise.
46251         * sysdeps/x86_64/strrchr.S: Likewise.
46253 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46255         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46257         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46259         * sysdeps/generic/math_private.h (__mpsin1): Remove
46260         declaration.
46261         (__mpcos1): Likewise.
46262         (__mpsin): New argument __range_reduce.
46263         (__mpcos): Likewise.
46264         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46265         (slow): Use __mpsin and __mpcos.
46266         (slow1): Likewise.
46267         (slow2): Likewise.
46268         (sloww): Likewise.
46269         (sloww1): Likewise.
46270         (sloww2): Likewise.
46271         (bsloww): Likewise.
46272         (bsloww1): Likewise.
46273         (bsloww2): Likewise.
46274         (cslow2): Likewise.
46275         (csloww): Likewise.
46276         (csloww1): Likewise.
46277         (csloww2): Likewise.
46278         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46279         range_reduce.  Merge in __mpsin1.
46280         (__mpcos): Likewise.
46281         (__mpsin1): Remove.
46282         (__mpcos1): Likewise.
46284 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46286         * locale/loadlocale.c (_nl_intern_locale_data): Use
46287         LOCFILE_ALIGNED_P.
46288         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46289         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46290         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46291         obstack data is appropriately aligned.
46292         (obstack_int32_grow_fast): Likewise.
46293         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46294         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46295         (add_locale_uint32_array): Likewise.
46297 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46299         * benchtests/Makefile: Remove ARGLIST and RET variables.
46300         ($(objpfx)bench-%.c): Pass only function name to the script.
46301         * benchtests/README: Update documentation.
46302         * benchtests/acos-inputs: Add new directives.
46303         * benchtests/acosh-inputs: Likewise.
46304         * benchtests/asin-inputs: Likewise.
46305         * benchtests/asinh-inputs: Likewise.
46306         * benchtests/atan-inputs: Likewise.
46307         * benchtests/atanh-inputs: Likewise.
46308         * benchtests/cos-inputs: Likewise.
46309         * benchtests/cosh-inputs: Likewise.
46310         * benchtests/exp-inputs: Likewise.
46311         * benchtests/log-inputs: Likewise.
46312         * benchtests/pow-inputs: Likewise.
46313         * benchtests/rint-inputs: Likewise.
46314         * benchtests/sin-inputs: Likewise.
46315         * benchtests/sinh-inputs: Likewise.
46316         * benchtests/tan-inputs: Likewise.
46317         * benchtests/tanh-inputs: Likewise.
46318         * scripts/bench.pl: Add support for new directives.
46320 2013-10-07  Alan Modra  <amodra@gmail.com>
46322         * README: Fix careless merge.
46324 2013-10-05  Alan Modra  <amodra@gmail.com>
46326         * NEWS: Mention powerpc64le support and bugs fixed.
46327         * README: Both big-endian and little-endian powerpc64 supported.
46329 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46331         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46332         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46333         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46334         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46336 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46338         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46339         match prototype.
46341 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46343         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46344         Move -mhard-float appending from
46345         ports/sysdeps/powerpc/powerpc32/Makefile.
46346         [$(with-fp) = yes] (ASFLAGS): Likewise.
46347         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46348         * sysdeps/powerpc/nofpu: Move directory from
46349         ports/sysdeps/powerpc/nofpu.
46350         * sysdeps/powerpc/soft-fp: Move directory from
46351         ports/sysdeps/powerpc/soft-fp.
46352         * sysdeps/powerpc/powerpc32/405: Move directory from
46353         ports/sysdeps/powerpc/powerpc32/405.
46354         * sysdeps/powerpc/powerpc32/440: Move directory from
46355         ports/sysdeps/powerpc/powerpc32/440.
46356         * sysdeps/powerpc/powerpc32/464: Move directory from
46357         ports/sysdeps/powerpc/powerpc32/464.
46358         * sysdeps/powerpc/powerpc32/476: Move directory from
46359         ports/sysdeps/powerpc/powerpc32/476.
46360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46361         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46363         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46365         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46367         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46369         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46370         * README: Update for powerpc-*-linux-gnu software floating point
46371         support in libc.
46373         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46374         case to powerpc/powerpc32*.
46375         * sysdeps/unix/sysv/linux/configure: Regenerated.
46377         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46378         (_FPU_MASK_OM): Define as 0x04.
46379         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46380         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46381         0x00c10080.
46382         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46383         0x0000003c.
46384         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46387         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46388         getcontext_e500.
46389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46390         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46391         setcontext_e500.
46392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46393         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46394         and setcontext_e500.
46396 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46398         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46400 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46402         * manual/threads.texi (Default Thread Attributes): Fix typo.
46404 2013-10-04  Will Newton  <will.newton@linaro.org>
46406         * malloc/Makefile: Add tst-memalign.
46407         * malloc/tst-memalign.c: New file.
46409         * malloc/tst-posix_memalign.c: Add comments.
46410         (do_test): Add comments and call free on all potentially
46411         allocated pointers. Add space after cast.
46413         * malloc/tst-pvalloc.c: Add comments.
46414         (do_test): Add comments and call free on all potentially
46415         allocated pointers. Remove duplicate check for NULL pointer.
46416         Add space after cast.
46418         * malloc/tst-valloc.c: Add comments.
46419         (do_test): Add comments and call free on all potentially
46420         allocated pointers. Remove duplicate check for NULL pointer.
46421         Add space after cast.
46423 2013-10-04  Alan Modra  <amodra@gmail.com>
46425         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46426         Use stdint types in rather than __attribute__((mode())).
46427         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46429 2013-10-04  Alan Modra  <amodra@gmail.com>
46431         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46432         Correct handling of unaligned relocs for little-endian.
46433         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46435 2013-10-04  Alan Modra  <amodra@gmail.com>
46437         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46438         * configure: Regenerate.
46439         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46440         * shlib-versions: Likewise.
46442 2013-10-04  Alan Modra  <amodra@gmail.com>
46444         * string/tester.c (test_memrchr): Increment reported test cycle.
46446 2013-10-04  Alan Modra  <amodra@gmail.com>
46448         * string/test-memcpy.c (do_one_test): When reporting errors, print
46449         string address and don't overrun end of string.
46451 2013-10-04  Alan Modra  <amodra@gmail.com>
46453         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46454         insrdi.  Make better use of reg selection to speed exit slightly.
46455         Schedule entry path a little better.  Remove useless "are we done"
46456         checks on entry to main loop.  Handle wrapping around zero address.
46457         Correct main loop count.  Handle single left-over word from main
46458         loop inline rather than by using loop_small.  Remove extra word
46459         case in loop_small caused by wrong loop count.  Add little-endian
46460         support.
46461         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46462         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46463         cache hint.
46464         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46465         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46466         support.  Avoid rlwimi.
46467         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46469 2013-10-04  Alan Modra  <amodra@gmail.com>
46471         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46472         insrdi.  Formatting.
46473         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46474         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46475         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46476         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46477         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46478         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46480 2013-10-04  Alan Modra  <amodra@gmail.com>
46482         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46483         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46484         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46485         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46486         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46487         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46488         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46489         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46490         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46491         use of regs.  Use power7 mtocrf.  Tidy function tails.
46493 2013-10-04  Alan Modra  <amodra@gmail.com>
46495         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46496         Formatting.  Consistently use rXXX register defines or rN defines.
46497         Use early exit labels that avoid restoring unused non-volatile regs.
46498         Make cr field use more consistent with rWORDn compares.  Rename
46499         regs used as shift registers for unaligned loop, using rN defines
46500         for short lifetime/multiple use regs.
46501         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46502         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46503         addi 1,1,64 to pop stack frame.  Simplify return value code.
46504         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46506 2013-10-04  Alan Modra  <amodra@gmail.com>
46508         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46509         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46510         rather than rlwimi.
46511         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46512         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46513         little-endian support.  Correct typos.
46514         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46515         rather than rlwimi.
46516         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46517         in loop and entry code to keep "and." results.
46518         (strchr): Add little-endian support.  Comment.  Move cntlzd
46519         earlier in tail.
46520         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46522 2013-10-04  Alan Modra  <amodra@gmail.com>
46524         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46525         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46526         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46527         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46529 2013-10-04  Alan Modra  <amodra@gmail.com>
46531         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46532         (rTMP): Define as r11.
46533         (strcmp): Add little-endian support.  Optimise tail.
46534         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46535         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46536         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46537         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46538         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46539         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46540         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46542 2013-10-04  Alan Modra  <amodra@gmail.com>
46544         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46545         little-endian support.  Remove unnecessary "are we done" tests.
46546         Handle "s" wrapping around zero and extremely large "size".
46547         Correct main loop count.  Handle single left-over word from main
46548         loop inline rather than by using small_loop.  Correct comments.
46549         Delete "zero" tail, use "end_max" instead.
46550         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46552 2013-10-04  Alan Modra  <amodra@gmail.com>
46554         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46555         support.  Don't branch over align.
46556         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46557         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46558         support.  Rearrange tmp reg use to suit.  Comment.
46559         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46561 2013-10-04  Alan Modra  <amodra@gmail.com>
46563         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46565 2013-10-04  Alan Modra  <amodra@gmail.com>
46567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46568         conditional form of branch and link when obtaining pc.
46569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46571 2013-10-04  Alan Modra  <amodra@gmail.com>
46573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46574         HIWORD/LOWORD.
46575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46578 2013-10-04  Alan Modra  <amodra@gmail.com>
46580         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46581         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46582         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46583         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46584         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46585         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46586         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46587         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46588         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46589         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46591 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46592             Alistair Popple <alistair@ozlabs.au.ibm.com>
46593             Alan Modra <amodra@gmail.com>
46595         [BZ #15723]
46596         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46597         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46598         _dl_hwcap access for little-endian.
46599         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46600         destroy vmx regs when saving unaligned.
46601         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46602         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46603         destroy vmx regs when saving unaligned.
46605 2013-10-04  Alan Modra  <amodra@gmail.com>
46607         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46608         Don't use a union to pack hi/low value.
46610 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46612         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46613         for little-endian.
46614         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46615         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46616         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46617         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46618         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46620 2013-10-04  Alan Modra  <amodra@gmail.com>
46622         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46623         constants to usual value for .cst8 section, and remove redundant
46624         high address load.
46625         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46626         constant for 0x1p52.  Load little-endian words of double from
46627         correct stack offsets.
46629 2013-10-04  Alan Modra  <amodra@gmail.com>
46631         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46632         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46633         words of double from correct stack offsets.
46634         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46635         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46636         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46637         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46638         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46639         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46640         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46641         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46642         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46643         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46644         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46645         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46646         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46647         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46648         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46649         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46650         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46652 2013-10-04  Alan Modra  <amodra@gmail.com>
46654         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46655         64-bit int/double union.
46656         (_FPU_SETCW): Likewise.
46657         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46658         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46660 2013-10-04  Alan Modra  <amodra@gmail.com>
46662         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46663         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46665 2013-10-04  Alan Modra  <amodra@gmail.com>
46667         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46668         use vector int constants.
46669         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46671 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46673         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46674         array with long long.
46675         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46676         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46677         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46678         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46679         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46680         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46681         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46682         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46683         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46684         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46685         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46686         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46687         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46689 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46691         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46692         (__signbit): Likewise.  Correct for little-endian.
46693         (__signbitl): Call __signbit.
46694         (lrint): Correct for little-endian.
46695         (lrintf): Call lrint.
46697 2013-10-04  Alan Modra  <amodra@gmail.com>
46699         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46700         union 32-bit int array member with 64-bit int array.
46701         (t515, tm256): Double rather than long double.
46702         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46704 2013-10-04  Alan Modra  <amodra@gmail.com>
46706         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46707         Delete.
46708         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46709         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46710         version of math_ldbl.h.
46712 2013-10-04  Alan Modra  <amodra@gmail.com>
46714         [BZ #15734], [BZ #15735]
46715         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46716         all uses of ieee875 long double macros and unions.  Simplify test
46717         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46718         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46719         normalize after ldbl_extract_mantissa, and don't add hidden bit
46720         already handled.  Don't treat low word of ieee854 mantissa like
46721         low word of IBM long double and mask off bit when testing for
46722         zero.
46723         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46724         all uses of ieee875 long double macros and unions.  Simplify tests
46725         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46726         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46727         two1022, instead use their values.  Recognise that tests for large
46728         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46729         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46730         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46731         test for 0.0L and nan.  Correct negation.
46732         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46733         ieee875 long double macros and unions.  Correct output for large
46734         magnitude x.  Correct absolute value calculation.
46735         (__erfcl): Likewise.
46736         * math/libm-test.inc: Add tests for errors discovered in IBM long
46737         double versions of fmodl, remainderl, erfl and erfcl.
46739 2013-10-04  Alan Modra  <amodra@gmail.com>
46741         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46742         all uses of ieee854 long double macros and unions.  Simplify tests
46743         for long doubles that are fully specified by the high double.
46744         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46745         Likewise.
46746         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46747         Remove dead code too.
46748         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46749         (__ieee754_ynl): Likewise.
46750         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46751         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46752         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46753         Remove dead code too.
46754         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46755         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46756         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46757         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46758         Simplify.
46759         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46760         Simplify.
46761         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46762         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46763         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46764         Comment on variable precision.
46765         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46766         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46767         Likewise.
46768         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46769         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46770         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46771         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46772         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46774 2013-10-04  Alan Modra  <amodra@gmail.com>
46776         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46777         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46778         all uses of ieee854 long double macros and unions.
46779         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46780         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46781         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46782         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46783         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46784         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46785         Likewise.
46786         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46787         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46788         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46789         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46790         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46791         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46792         Simplify sign and nan test too.
46793         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46794         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46795         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46796         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46797         Likewise.
46798         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46799         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46800         Likewise.
46801         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46802         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46803         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46804         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46805         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46806         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46808 2013-10-04  Alan Modra  <amodra@gmail.com>
46810         * stdio-common/printf_size.c (__printf_size): Don't use
46811         union ieee854_long_double in fpnum union.
46812         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46813         signbit macro to retrieve sign from long double.
46814         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46815         retrieve sign from long double.
46816         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46817         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46818         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46819         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46820         * math/test-misc.c (main): Don't use union ieee854_long_double.
46822 2013-10-04  Alan Modra  <amodra@gmail.com>
46824         [BZ #15680]
46825         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46826         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46827         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46828         calculation.  Remove unnecessary test for denormal exponent.
46829         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46830         Correct handling of denormals.  Avoid undefined shift behaviour.
46831         Correct normalisation of low mantissa when low double is denormal.
46832         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46833         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46834         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46835         Correct normalisation of low mantissa.  Test for overflow of high
46836         mantissa and normalise.
46837         (ldbl_nearbyint): Use more readable constant for two52.
46838         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46839         (__mpn_construct_long_double): Fix test for overflow of high
46840         mantissa and correct normalisation.  Avoid undefined shift.
46842 2013-10-04  Alan Modra  <amodra@gmail.com>
46844         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46845         (union ibm_extended_long_double): Define as an array of ieee754_double.
46846         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46847         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46848         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46849         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46850         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46851         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46852         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46853         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46854         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46855         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46856         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46858 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46860         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46861         page size instead of calling getpagesize.
46863         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46864         (LOCFILE_ALIGN_MASK): Likewise.
46865         (LOCFILE_ALIGN_UP): Likewise.
46866         (LOCFILE_ALIGNED_P): Likewise.
46867         * locale/programs/ld-collate.c (collate_output): Use the new
46868         macros instead of __alignof__ (int32_t).
46869         * locale/weight.h (findidx): Likewise.
46871 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46873         [BZ #431]
46874         * manual/string.texi: Fix strncat and wcsncat.
46876 2013-10-03  Brooks Moses  <bmoses@google.com>
46878         [BZ #15915]
46879         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46880         * Makerules: ...here, and adjust associated comments.
46882 2013-10-02  Will Newton  <will.newton@linaro.org>
46884         * malloc/Makefile: Add tst-pvalloc.
46885         * malloc/tst-pvalloc.c: New file.
46887 2013-10-02  Will Newton  <will.newton@linaro.org>
46889         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46890         improve test coverage.
46892 2013-10-02  Will Newton  <will.newton@linaro.org>
46894         * malloc/Makefile: Add tst-posix_memalign.
46895         * malloc/tst-posix_memalign.c: New file.
46897 2013-10-01  Eric Blake  <eblake@redhat.com>
46899         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46900         Use __THROWNL rather than __THROW on static functions.
46902 2013-09-30  Petr Machata  <pmachata@redhat.com>
46904         * elf/elf.h (R_AARCH64_ABS16): New macro.
46905         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46906         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46907         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46908         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46909         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46910         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46911         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46912         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46913         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46914         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46915         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46916         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46917         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46918         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46919         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46920         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46921         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46922         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46923         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46924         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46925         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46926         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46927         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46928         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46929         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46930         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46931         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46932         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46933         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46934         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46935         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46936         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46937         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46938         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46939         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46940         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46941         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46942         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46943         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46944         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46945         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46946         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46947         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46948         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46949         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46950         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46951         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46952         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46953         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46954         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46955         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46956         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46957         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46958         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46959         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46960         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46961         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46962         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46963         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46964         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46965         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46966         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46967         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46968         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46969         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46970         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46971         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46972         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46973         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46974         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46975         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46976         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46977         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46978         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46979         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46980         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46981         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46982         (R_AARCH64_TLSDESC_LDR): Likewise.
46983         (R_AARCH64_TLSDESC_ADD): Likewise.
46984         (R_AARCH64_TLSDESC_CALL): Likewise.
46986 2013-09-30  Andreas Schwab  <schwab@suse.de>
46988         [BZ #15048]
46989         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46990         the nss database lookup.
46991         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46992         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46994 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46996         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46998 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47000         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47001         ${Bash-specific parameter/pattern/string} parameter expansion.
47002         * sysdeps/unix/make-syscalls.sh: Likewise.
47004 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47006         * sysdeps/sh/stackguard-macros.h: New file.
47008 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47010         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47011         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47012         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47013         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47014         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47015         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47017 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47019         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47020         Fix thread ID register.
47022 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47024         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47025         [POSIX || UNIX98]: Require rather than permitting all symbols from
47026         <time.h>.
47027         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47028         element of struct sched_param.
47029         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47030         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47031         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47032         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47033         constant.
47035 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47037         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47038         argument calculation.
47040 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47042         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47043         Expect macro.
47044         [POSIX] (pthread_attr_t): Do not require type.
47045         [POSIX] (pthread_cond_t): Likewise.
47046         [POSIX] (pthread_condattr_t): Likewise.
47047         [POSIX] (pthread_key_t): Likewise.
47048         [POSIX] (pthread_mutex_t): Likewise.
47049         [POSIX] (pthread_mutexattr_t): Likewise.
47050         [POSIX] (pthread_once_t): Likewise.
47051         [POSIX] (pthread_t): Likewise.
47052         [POSIX-based standards] (pthread_atfork): Expect function.
47054 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47055             Richard Sandiford  <richard@codesourcery.com>
47057         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47058         (swap_endianness_p): New extern variable.
47059         (set_big_endian): New inline function.
47060         (maybe_swap_uint32): Likewise.
47061         (maybe_swap_uint32_array): Likewise.
47062         (maybe_swap_uint32_obstack): Likewise.
47063         * locale/programs/locfile.c: Include <stdbool.h>.
47064         (swap_endianness_p): New variable.
47065         (add_locale_uint32): Call maybe_swap_uint32.
47066         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47067         (write_locale_data): Call maybe_swap_uint32_array.
47068         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47069         maybe_swap_uint32.
47070         (obstack_int32_grow_fast): Likewise.
47071         (output_weightwc): Call maybe_swap_uint32_obstack.
47072         (collate_output): Likewise.
47073         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47074         (OPT_LITTLE_ENDIAN): Likewise.
47075         (options): Add --little-endian and --big-endian options.
47076         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47077         * locale/programs/locarchive.c: Include "locfile.h".
47078         (GET): New macro.
47079         (SET): Likewise.
47080         (INC): Likewise.
47081         (create_archive): Use the new macros to access fields of
47082         structures directly mapped from or written to locale archives.
47083         (oldlocrecentcmp): Likewise.
47084         (enlarge_archive): Likewise.
47085         (insert_name): Likewise.
47086         (add_alias): Likewise.
47087         (add_locale): Likewise.
47088         (delete_locales_from_archive): Likewise.
47089         (show_archive_content): Likewise.
47090         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47091         locale data.
47093 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47095         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47096         http://www.gnu.org/doc/freemanuals.texi.
47097         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47099 2013-09-24  Will Newton  <will.newton@linaro.org>
47101         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47102         macro.
47104 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47106         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47107         unsigned char.
47109 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47111         * manual/threads.texi (POSIX Threads): Fix a typo.
47113 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47115         [BZ #14547]
47116         * string/tst-strcoll-overflow.c: New test case.
47117         * string/Makefile (xtests): Add tst-strcoll-overflow.
47118         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47119         cache if string sizes may cause integer overflow.
47121         [BZ #14547]
47122         * string/strcoll_l.c (coll_seq): New members rule, idx,
47123         save_idx and back_us.
47124         (get_next_seq_nocache): New function.
47125         (do_compare_nocache): New function.
47126         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47127         when malloc fails.
47129 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47131         [BZ #15754]
47132         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47133         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47134         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47136         [BZ #15754]
47137         * elf/Makefile (tests): Add tst-ptrguard1.
47138         (tests-static): Add tst-ptrguard1-static.
47139         (tst-ptrguard1-ARGS): Define.
47140         (tst-ptrguard1-static-ARGS): Define.
47141         * elf/tst-ptrguard1.c: New file.
47142         * elf/tst-ptrguard1-static.c: New file.
47143         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47144         * sysdeps/i386/stackguard-macros.h: Likewise.
47145         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47146         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47147         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47148         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47149         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47150         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47152 2013-09-23  Hector Marco  <hecmargi@upv.es>
47153             Ismael Ripoll  <iripoll@disca.upv.es>
47154             Carlos O'Donell  <carlos@redhat.com>
47156         [BZ #15754]
47157         * sysdeps/generic/stackguard-macros.h: Define
47158         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47159         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47160         Define __pointer_chk_guard_local.
47161         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47162         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47164 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47166         [BZ #15859]
47167         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47169 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47171         * include/string.h (__ffs): Declare as hidden.
47172         * string/ffs.c (__ffs): Define as hidden.
47173         * sysdeps/i386/ffs.c (__ffs): Likewise.
47174         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47175         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47176         * sysdeps/s390/ffs.c (__ffs): Likewise.
47177         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47179 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47181         * NEWS: Mention malloc probes.
47183         * malloc/arena.c (new_heap): New memory_heap_new probe.
47184         (grow_heap): New memory_heap_more probe.
47185         (shrink_heap): New memory_heap_less probe.
47186         (heap_trim): New memory_heap_free probe.
47187         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47188         (systrim): New memory_sbrk_less probe.
47189         * manual/probes.texi: Document them.
47191         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47192         * manual/probes.texi: Document it.
47194         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47195         (__libc_realloc): Add memory_realloc_retry probe.
47196         (__libc_memalign): Add memory_memalign_retry probe.
47197         (__libc_valloc): Add memory_valloc_retry probe.
47198         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47199         (__libc_calloc): Add memory_calloc_retry probe.
47200         * manual/probes.texi: Document them.
47202         * malloc/arena.c (get_free_list): Add probe
47203         memory_arena_reuse_free_list.
47204         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47205         and memory_arena_reuse.
47206         (arena_get2) [!PER_THREAD]: Likewise.
47207         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47208         memory_arena_reuse_realloc.
47209         * manual/probes.texi: Document them.
47211         * malloc/malloc.c (__libc_free): Add
47212         memory_mallopt_free_dyn_thresholds probe.
47213         (__libc_mallopt): Add multiple memory_mallopt probes.
47214         * manual/probes.texi: Document them.
47216         * malloc/malloc.c: Include stap-probe.h.
47217         (__libc_mallopt): Add memory_mallopt probe.
47218         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47219         * manual/probes.texi: New.
47220         * manual/Makefile (chapters): Add probes.
47221         * manual/threads.texi: Set next node.
47223 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47225         [BZ #15963, #13985]
47226         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47227         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47228         Add `Chinese' to `nan' entry name.
47230 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47232         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47233         (POLYNOMIAL): Likewise.
47234         (TAYLOR_SINCOS): Likewise.
47235         (TAYLOR_SLOW): Likewise.
47236         (__sin): Use TAYLOR_SINCOS.
47237         (__cos): Likewise.
47238         (slow): Use TAYLOR_SLOW.
47239         (sloww): Likewise.
47240         (bsloww): Likewise.
47241         (csloww): Likewise.
47243 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47245         * stdlib/strtod_l.c: Fix buffer overrun.
47247 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47249         * benchtests/Makefile (bench): Add sincos.
47250         * benchtests/bench-sincos.c: New file.
47252         * math/libm-test.inc (cos_test_data): New test inputs.
47253         (sin_test_data): Likewise.
47255         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47256         macro.
47257         (__sin): Use it.
47258         (__cos): Likewise.
47259         (slow1): Likewise.
47260         (slow2): Likewise.
47261         (sloww1): Likewise.
47262         (sloww2): Likewise.
47263         (bsloww1): Likewise.
47264         (bsloww2): Likewise.
47265         (cslow2): Likewise.
47266         (csloww1): Likewise.
47267         (csloww2): Likewise.
47269         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47270         function.
47271         (__sin): Use it.
47272         (__cos): Likewise.
47274         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47275         gotos.
47276         (__cos): Likewise.
47278 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47280         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47281         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47282         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47283         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47284         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47285         * elf/cache.c (print_entry): Handle the new cache flags.
47287 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47288             Aldy Hernandez  <aldyh@redhat.com>
47290         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47291         Change condition to [_SOFT_FLOAT].
47292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47294         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47296         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47297         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47298         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47299         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47300         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47301         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47302         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47303         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47304         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47305         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47306         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47307         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47308         declaration.
47310 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47312         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47313         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47314         (__longjmp): Use LOAD_GP to load saved GPRs.
47315         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47316         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47317         (__sigsetjmp): Use SAVE_GP to save GPRs.
47319         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47320         Do not append -msoft-float.
47321         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47323 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47325         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47327 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47329         [BZ #15966]
47330         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47331         (_FPU_GETCW): Use initial "__" on variable and field names but not
47332         on macro parameter name.
47333         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47334         parentheses around reference to macro parameter.
47336 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47338         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47339         prototype.
47340         (ctype_startup): Use uint32_t in cast and sizeof for
47341         ctype->charnames.
47343 2013-09-11  Jia Liu  <proljc@gmail.com>
47345         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47346         __daddr_t_defined.
47347         [__FreeBSD__]: Likewise.
47349 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47351         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47352         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47353         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47354         (strchr): Remove __strchr_sse42 ifunc selection.
47355         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47356         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47358 2013-09-11  Will Newton  <will.newton@linaro.org>
47360         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47361         parameter to RES. Remove hardcoded 1000 value.
47362         * benchtests/bench-skeleton.c (main): Pass RES parameter
47363         to TIMING_INIT and multiply result by 1000.
47365 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47369 2013-09-11  Andreas Schwab  <schwab@suse.de>
47371         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47372         if not defined.
47373         (O_TMPFILE) [__USE_GNU]: Define.
47374         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47375         Define.
47377 2013-09-11  Will Newton  <will.newton@linaro.org>
47379         [BZ #15857]
47380         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47381         does not overflow.
47383 2013-09-11  Will Newton  <will.newton@linaro.org>
47385         [BZ #15856]
47386         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47387         does not overflow.
47389 2013-09-11  Will Newton  <will.newton@linaro.org>
47391         [BZ #15855]
47392         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47393         does not overflow.
47395 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47397         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47398         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47399         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47400         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47401         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47403 2013-09-10  Allan McRae  <allan@archlinux.org>
47405         [BZ #15748]
47406         * manual/arith.texi (Parsing of Floats): Clarify
47407         cross-reference.
47409         [BZ #15849]
47410         * manual/install.texi (Running make install): Mention
47411         --enable-pt-chown.
47412         * INSTALL: Regenerated.
47414 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47416         * csu/init-first.c (_init): Remove the !SHARED condition around
47417         FPU control word initialization.
47418         * elf/dl-support.c (_dl_fpu_control): New variable.
47419         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47420         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47421         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47422         * math/test-fpucw-static.c: New file.
47423         * math/test-fpucw-ieee.c: New file.
47424         * math/test-fpucw-ieee-static.c: New file.
47425         * math/Makefile (tests): Add `test-fpucw-ieee' and
47426         `$(tests-static)'.
47427         (tests-static): New variable.
47428         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47429         dependency to...
47430         [($(build-shared),yes)]
47431         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47432         ... this.
47433         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47434         New dependency.
47436 2013-09-09  Allan McRae  <allan@archlinux.org>
47438         [BZ #15939]
47439         * manual/string.texi (Collation Functions): Fix typo in
47440         strcoll example.
47441         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47443         [BZ #15893]
47444         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47446         [BZ #15892]
47447         * libio/memstream.c (open_memstream): Fix memory leak.
47448         * libio/wmemstream.c (open_wmemstream): Likewise.
47450         [BZ #15895]
47451         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47453 2013-09-09  Will Newton  <will.newton@linaro.org>
47455         * malloc/Makefile: Add tst-realloc to tests.
47456         * malloc/tst-realloc.c: New file.
47458 2013-09-09  Allan McRae  <allan@archlinux.org>
47460         [BZ #15844]
47461         * COPYING: Update from GNU website to fix FSF address.
47462         * COPYING.LIB: Likewise.
47464 2013-09-06  David S. Miller  <davem@davemloft.net>
47466         * po/zh_TW.po: Update Chinese (traditional) translation from
47467         translation project.
47469 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47470             Joseph Myers  <joseph@codesourcery.com>
47472         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47473         "localeinfo.h".
47474         (obstack_chunk_alloc): New macro.
47475         (obstack_chunk_free): Likewise.
47476         (record_offset): New function.
47477         (init_locale_data): Likewise.
47478         (align_locale_data): Likewise.
47479         (add_locale_empty): Likewise.
47480         (add_locale_raw_data): Likewise.
47481         (add_locale_raw_obstack): Likewise.
47482         (add_locale_string): Likewise.
47483         (add_locale_wstring): Likewise.
47484         (add_locale_uint32): Likewise.
47485         (add_locale_uint32_array): Likewise.
47486         (add_locale_char): Likewise.
47487         (start_locale_structure): Likewise.
47488         (end_locale_structure): Likewise.
47489         (start_locale_prelude): Likewise.
47490         (end_locale_prelude): Likewise.
47491         (write_locale_data): Take locale_file structure rather than an
47492         iovec.
47493         * locale/programs/locfile.h: Include "obstack.h".
47494         (struct locale_file): Change to store locale file contents instead
47495         of header.
47496         (init_locale_data): New prototype.
47497         (align_locale_data): Likewise.
47498         (add_locale_empty): Likewise.
47499         (add_locale_raw_data): Likewise.
47500         (add_locale_raw_obstack): Likewise.
47501         (add_locale_string): Likewise.
47502         (add_locale_wstring): Likewise.
47503         (add_locale_uint32): Likewise.
47504         (add_locale_uint32_array): Likewise.
47505         (add_locale_char): Likewise.
47506         (start_locale_structure): Likewise.
47507         (end_locale_structure): Likewise.
47508         (start_locale_prelude): Likewise.
47509         (end_locale_prelude): Likewise.
47510         (write_locale_data): Update prototype.
47511         * locale/programs/3level.h (struct TABLE): Remove result field.
47512         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47513         Use new locale_file interface.
47514         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47515         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47516         * locale/programs/ld-address.c (address_output): Use new
47517         locale_file interface.
47518         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47519         NO_ADD_LOCALE.
47520         (collate_finish): Don't call collseq_table_finalize.
47521         (collate_output): Use new locale_file interface.
47522         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47523         in file.
47524         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47525         (TABLE): Move defines earlier in file.
47526         (ELEMENT): Likewise.
47527         (DEFAULT): Likewise.
47528         (wctrans_table_add): Move macro and inline function earlier in
47529         file.
47530         (struct wctype_table): Move type earlier in file.
47531         (add_locale_wctype_table): New static prototype.
47532         (struct locale_ctype_t): Use logical types instead of struct iovec
47533         pointers for members.
47534         (ctype_output): Use new locale_file interface.
47535         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47536         new locale_file interface.
47537         (allocate_arrays): Update for use of new locale_file interface.
47538         * locale/programs/ld-identification.c (identification_output): Use
47539         new locale_file interface.
47540         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47541         * locale/programs/ld-messages.c (messages_output): Likewise.
47542         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47543         * locale/programs/ld-name.c (name_output): Likewise.
47544         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47545         * locale/programs/ld-paper.c (paper_output): Likewise.
47546         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47547         * locale/programs/ld-time.c (time_output): Likewise.
47549 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47551         * benchtests/Makefile: Add memrchr benchmark.
47552         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47553         benchmark as memrchr.
47554         * benchtests/bench-memrchr-ifunc.c: New file.
47555         * benchtests/bench-memrchr.c: New file.
47557 2013-09-06   Will Newton  <will.newton@linaro.org>
47559         * benchtests/Makefile (string-bench): Add memcpy.
47561 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47562             Cong Wang  <amwang@redhat.com>
47564         [BZ #15850]
47565         * sysdeps/unix/sysv/linux/bits/in.h
47566         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47567         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47568         before __USE_KERNEL_IPV6_DEFS uses.
47569         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47570         IPPROTO_BEETPH.
47571         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47572         sockaddr_in6, or ipv6_mreq.
47574 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47576         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47577         memory access for final bytes in some large inputs.
47578         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47580 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47582         * string/test-memrchr.c: New file.
47583         * string/test-memrchr-ifunc.c: New file.
47584         * string/Makefile: Add new memrchr testcase.
47586 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47588         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47589         fanotify_init returns EPERM.
47591 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47593         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47594         errors.
47595         (top level): Treat second token from macro or constant entries for
47596         allowed headers as allowed.
47597         * include/complex.h: Condition internal declarations on
47598         [!_ISOMAC].
47599         * include/fenv.h: Condition include of <stdbool.h> and internal
47600         declarations on [!_ISOMAC].
47602 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47604         [BZ #15923]
47605         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47607 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47609         * configure.in (--enable-versioning): Remove configure option.
47610         (libc_cv_asm_symver_directive): Remove configure test.
47611         (libc_cv_ld_version_script_option): Likewise.
47612         (VERSIONING): Remove variable and AC_SUBST.
47613         (DO_VERSIONING): Remove AC_DEFINE.
47614         * configure: Regenerated.
47615         * config.h.in (DO_VERSIONING): Remove macro.
47616         * Makerules [$(versioning) = yes]: Change conditionals to
47617         [$(build-shared) = yes].
47618         * config.make.in (versioning): Remove variable.
47619         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47620         [$(build-shared) = yes].
47621         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47622         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47623         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47624         [$(build-shared) = yes].
47625         * extra-lib.mk [$(versioning) = yes]: Likewise.
47626         * hurd/Makefile [$(versioning) = yes]: Likewise.
47627         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47628         [SHARED].
47629         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47630         [SHARED].
47631         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47632         [SHARED && !NO_HIDDEN].
47633         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47634         [SHARED].
47635         [SHARED && DO_VERSIONING]: Likewise..
47636         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47637         [$(build-shared) = yes].
47638         * manual/install.texi (--disable-versioning): Remove
47639         documentation.
47640         * INSTALL: Regenerated.
47641         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47642         to [SHARED].
47643         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47644         [$(build-shared) = yes].
47645         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47646         * sysdeps/i386/i686/multiarch/strstr-c.c
47647         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47648         [SHARED && !NO_HIDDEN].
47649         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47650         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47651         * sysdeps/powerpc/powerpc32/dl-machine.c
47652         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47653         * sysdeps/powerpc/powerpc32/sysdep.h
47654         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47655         to [SHARED && PIC && !NO_HIDDEN].
47656         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47657         conditional to [SHARED].
47659 2013-09-04   Will Newton  <will.newton@linaro.org>
47661         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47662         * benchtests/bench-string.h: Include bench-timing.h instead
47663         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47664         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47665         call to HP_TIMING_DIFF_INIT.
47666         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47667         instead of hp-timing.h macros.
47668         * benchtests/bench-memchr.c: Likewise.
47669         * benchtests/bench-memcmp.c: Likewise.
47670         * benchtests/bench-memcpy.c: Likewise.
47671         * benchtests/bench-memmem.c: Likewise.
47672         * benchtests/bench-memmove.c: Likewise.
47673         * benchtests/bench-memset.c: Likewise.
47674         * benchtests/bench-rawmemchr.c: Likewise.
47675         * benchtests/bench-strcasecmp.c: Likewise.
47676         * benchtests/bench-strcasestr.c: Likewise.
47677         * benchtests/bench-strcat.c: Likewise.
47678         * benchtests/bench-strchr.c: Likewise.
47679         * benchtests/bench-strcmp.c: Likewise.
47680         * benchtests/bench-strcpy.c: Likewise.
47681         * benchtests/bench-strcpy_chk.c: Likewise.
47682         * benchtests/bench-strlen.c: Likewise.
47683         * benchtests/bench-strncasecmp.c: Likewise.
47684         * benchtests/bench-strncat.c: Likewise.
47685         * benchtests/bench-strncmp.c: Likewise.
47686         * benchtests/bench-strncpy.c: Likewise.
47687         * benchtests/bench-strnlen.c: Likewise.
47688         * benchtests/bench-strpbrk.c: Likewise.
47689         * benchtests/bench-strrchr.c: Likewise.
47690         * benchtests/bench-strspn.c: Likewise.
47691         * benchtests/bench-strstr.c: Likewise.
47693 2013-09-04  Will Newton  <will.newton@linaro.org>
47695         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47697 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47699         [BZ #15427]
47700         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47701         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47702         * math/libm-test.inc (lgamma_test_data): Add more tests.
47703         * sysdeps/i386/fpu/libm-test-ulps: Update.
47704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47706 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47708         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47709         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47710         Add ifunc.
47711         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47712         Add strcmp-sse2-unaligned
47713         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47715 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47717         * Versions.def (libc): Add GLIBC_2.19.
47719 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47721         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47722         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47724 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47726         [BZ #14155]
47727         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47728         intermediate calculations in recurrence.
47729         (__ieee754_ynf): Likewise.
47730         * math/libm-test.inc (jn_test_data): Do not allow spurious
47731         underflow exception.  Add more tests.
47732         (yn_test_data): Add more tests.
47733         * sysdeps/i386/fpu/libm-test-ulps: Update.
47734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47736 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47738         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47740 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47742         * csu/init-first.c: Fix then/than typos.
47743         * locale/programs/ld-collate.c: Likewise.
47744         * locale/programs/linereader.h: Likewise.
47745         * manual/charset.texi: Likewise.
47746         * manual/filesys.texi: Likewise.
47747         * manual/stdio.texi: Likewise.
47748         * manual/string.texi: Likewise.
47749         * stdlib/fmtmsg.c: Likewise.
47750         * sysdeps/i386/stpncpy.S: Likewise.
47751         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47752         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47753         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47754         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47756 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47758         * elf/dl-open.c: Fix typos.
47759         * iconvdata/gbbig5.c: Likewise.
47760         * iconvdata/iso-2022-jp.c: Likewise.
47761         * iconv/gconv_int.h: Likewise.
47762         * iconv/loop.c: Likewise.
47763         * nis/rpcsvc/nis.h: Likewise.
47764         * resolv/ns_name.c: Likewise.
47765         * stdio-common/vfscanf.c: Likewise.
47766         * streams/stropts.h: Likewise.
47767         * sunrpc/rpc_thread.c: Likewise.
47768         * sysdeps/i386/strpbrk.S: Likewise.
47769         * sysdeps/ieee754/k_standard.c: Likewise.
47770         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47771         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47772         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47773         * sysdeps/mach/hurd/profil.c: Likewise.
47774         * sysdeps/s390/dl-procinfo.h: Likewise.
47775         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47776         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47777         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47778         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47779         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47781 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47783         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47784         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47786 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47788         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47789         aix specific files.
47790         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47791         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47792         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47793         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47794         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47795         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47796         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47797         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47799 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47800             Roland McGrath  <roland@hack.frob.com>
47802         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47803         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47805 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47807         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47808         __executable_start symbol instead of _start.
47810 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47812         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47813         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47814         Move macros to...
47815         * sysdeps/gnu/ldsodefs.h: ... this new file.
47817         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47818         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47819         instead of ELFOSABI_LINUX.
47821         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47822         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47823         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47824         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47825         Likewise.
47826         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47827         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47828         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47829         Likewise.
47830         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47831         (ibm_extended_long_double): Add ieee_nan member.
47832         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47833         (do_test): New function.
47835         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47836         TEST_TRUNC.
47837         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47838         functions, renamed from truncdfsf_test, trunctfsf_test,
47839         trunctfdf_test.
47840         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47841         functions.
47842         (do_test): Run all these.
47844 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47846         * argp/argp-help.c: Fix typos.
47847         * argp/argp-parse.c: Likewise.
47848         * debug/backtracesyms.c: Likewise.
47849         * elf/elf.h: Likewise.
47850         * malloc/malloc.c: Likewise.
47851         * nis/nis_print.c: Likewise.
47852         * resolv/res_comp.c: Likewise.
47853         * stdlib/stdlib.h: Likewise.
47854         * sunrpc/clnt_tcp.c: Likewise.
47855         * sunrpc/clnt_udp.c: Likewise.
47856         * sunrpc/clnt_unix.c: Likewise.
47857         * sysdeps/unix/bsd/ptsname.c: Likewise.
47858         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47859         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47861         Likewise.
47862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47863         Likewise.
47864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47865         Likewise.
47866         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47868 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47870         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47873 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47875         [BZ #15897]
47876         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47877         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47878         ($(objpfx)bug-dl-leaf): New rule.
47879         ($(objpfx)bug-dl-leaf.so): Likewise.
47880         ($(objpfx)bug-dl-leaf.out): Likewise.
47881         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47882         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47883         * dlfcn/bug-dl-leaf.c: New test.
47884         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47885         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47886         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47887         (dlclose): Likewise.
47888         (dlmopen): Likewise.
47890 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47892         * include/netdb.h [!_ISOMAC]:
47893         Don't include <tls.h>.
47894         (h_errno, __libc_h_errno): Move declaration and macros out of
47895         [_LIBC_REENTRANT].
47897         * include/resolv.h [_RESOLV_H_]:
47898         Don't include <tls.h>.
47899         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47900         * resolv/res_libc.c: Don't include <tls.h>.
47901         (_res): Use __attribute__ ((nocommon)) in place of
47902         __attribute__ ((section (".bss"))).
47904         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47905         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47907         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47909         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47910         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47912         * resolv/res_mkquery.c: Include <sys/time.h>.
47914         * inet/ifreq.c: Moved to ...
47915         * sysdeps/unix/ifreq.c: ... here.
47916         * inet/ifreq.c: New file, true stub version.
47918         * socket/sa_len.c: New file.
47919         * socket/Makefile (aux): Add it.
47920         * sysdeps/unix/sysv/linux/Makefile
47921         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47922         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47923         and #include <socket/sa_len.c>.
47924         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47925         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47927         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47928         * bits/socket.h: ... here.
47930         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47931         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47932         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47934 2013-08-27  Andreas Schwab  <schwab@suse.de>
47936         [BZ #15736]
47937         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47938         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47939         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47940         * string/test-strcasecmp.c (test_main): Run tests in several
47941         locales.
47942         * string/test-strncasecmp.c (test_main): Likewise.
47944         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47945         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47946         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47947         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47948         (__strncasecmp_ssse3) [PIC]: Likewise.
47950 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47952         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47954         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47955         instead of explicitly declaring xdecrypt.
47956         * nis/nss_nis/nis-publickey.c: Likewise.
47958 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47960         [BZ #15890]
47961         * nscd/aicache.c: Include res_hconf.h.
47962         (addhstaiX): Initialize res_hconf.
47964 2013-08-26  Andreas Schwab  <schwab@suse.de>
47966         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47967         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47969 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47971         * nscd/aicache.c (addhstaiX): Fix indentation.
47973 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47975         * configure.ac: Quote $build_pt_chown test.
47976         * configure: Regenerated.
47978 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47980         [BZ #15532]
47981         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47982         * math/s_cexpf.c (__cexpf): Likewise.
47983         * math/s_cexpl.c (__cexpl): Likewise.
47984         * math/libm-test.inc (cexp_test_data): Correct expected return
47985         value for NaN + i0.  Add another test.
47987 2013-08-22  David S. Miller  <davem@davemloft.net>
47989         * po/ca.po: Update Catalan translation from translation project.
47990         * po/uk.po: Add Ukrainian translations from translation project.
47992 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47994         [BZ #15797]
47995         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47996         is infinite, not alongside NaN test.
47997         * math/s_fdimf.c (__fdimf): Likewise.
47998         * math/s_fdiml.c (__fdiml): Likewise.
47999         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48000         errno is unchanged.
48002 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48004         * argp/argp-help.c: Fix typos.
48005         * crypt/speeds.c: Likewise.
48006         * csu/check_fds.c: Likewise.
48007         * elf/dl-load.c: Likewise.
48008         * elf/dl-open.c: Likewise.
48009         * elf/reldep3.c: Likewise.
48010         * elf/reldep.c: Likewise.
48011         * elf/sprof.c: Likewise.
48012         * iconv/iconv_charmap.c: Likewise.
48013         * iconv/skeleton.c: Likewise.
48014         * iconv/strtab.c: Likewise.
48015         * io/lockf64.c: Likewise.
48016         * libio/libioP.h: Likewise.
48017         * resolv/gai_notify.c: Likewise.
48018         * resolv/ns_name.c: Likewise.
48019         * resolv/ns_samedomain.c: Likewise.
48020         * resolv/res_send.c: Likewise.
48021         * stdlib/random.c: Likewise.
48022         * sunrpc/rpc/xdr.h: Likewise.
48023         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48024         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48025         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48026         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48027         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48028         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48029         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48030         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48031         * sysdeps/mach/hurd/check_fds.c: Likewise.
48032         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48033         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48034         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48035         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48036         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48037         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48038         * sysdeps/pthread/aio_notify.c: Likewise.
48039         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48040         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48041         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48042         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48043         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48045 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48047         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48048         version if bit_Slow_SSE4_2 is set.
48049         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48050         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48052 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48054         [BZ #15867]
48055         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48056         trampoline stack frame information.
48057         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48058         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48059         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48060         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48061         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48062         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48063         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48064         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48065         sa_flags value.
48066         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48067         interrupting a syscall and set with option SA_SIGINFO.
48069 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48071         [BZ #15531]
48072         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48073         argument is infinite.
48074         * math/s_cprojf.c (__cprojf): Likewise.
48075         * math/s_cprojl.c (__cprojl): Likewise.
48076         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48077         * math/libm-test.inc (cproj_test_data): Add more tests.
48079         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48081         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48082         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48083         size.  Use __ffs to determine corresponding shift.
48085 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48086             Roland McGrath  <roland@hack.frob.com>
48088         * Makefile (INSTALL): Remove trailing blank lines from output of
48089         makeinfo.
48091 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48093         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48094         Align 32 bit compat elf_greg to 8 bytes.
48096 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48098         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48100 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48102         * string/strcoll_l.c (coll_seq): New structure.
48103         (get_next_seq_cached): New function.
48104         (get_next_seq): New function.
48105         (do_compare): New function.
48106         (STRCOLL): Use GNU style definition.  Simplify implementation
48107         by using get_next_seq, get_next_seq_cached and do_compare.
48109 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48111         [BZ #14699]
48112         CVE-2013-4237
48113         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48114         member.
48115         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48116         member.
48117         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48118         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48119         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48120         conditional.
48121         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48122         GETDENTS_64BIT_ALIGNED.
48123         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48124         * manual/filesys.texi (Reading/Closing Directory): Document
48125         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48126         strongly.
48127         * manual/conf.texi (Limits for Files): Add portability note to
48128         NAME_MAX, PATH_MAX.
48129         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48131 2013-08-13  Andreas Schwab  <schwab@suse.de>
48133         [BZ #15749]
48134         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48135         of fabs.
48136         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48137         LDBL_MAX_EXP >= 16384]: Add tests for it.
48139 2013-08-12  David S. Miller  <davem@davemloft.net>
48141         * version.h (RELEASE): Set to "development".
48142         (VERSION): Set to "2.18.90".
48143         * NEWS: Add 2.19 section.
48145 2013-08-03  David S. Miller  <davem@davemloft.net>
48147         * po/ko.po: Update Korean translation from translation project.
48149 2013-08-01  David S. Miller  <davem@davemloft.net>
48151         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48152         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48153         Bilka.
48155 2013-07-30  David S. Miller  <davem@davemloft.net>
48157         * po/fr.po: Update French translation from translation project.
48159 2013-07-28  David S. Miller  <davem@davemloft.net>
48161         * po/cs.po: Update Czech translation from translation project.
48163         * po/sv.po: Update Swedish translation from translation project.
48165 2013-07-27  David S. Miller  <davem@davemloft.net>
48167         * po/eo.po: Update Esperanto translation from translation project.
48169         * po/vi.po: Update Vietnamese translation from translation project.
48171         * po/de.po: Update German translation from translation project.
48173 2013-07-26  David S. Miller  <davem@davemloft.net>
48175         * po/bg.po: Update Bulgarian translation from translation project.
48177         * po/nl.po: Update Dutch translation from translation project.
48178         * po/pl.po: Update Polish translation from translation project.
48179         * po/ru.po: Update Russian translation from translation project.
48181 2013-07-24  David S. Miller  <davem@davemloft.net>
48183         * po/libc.pot: Update.
48185 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48187         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48188         variable page size.
48189         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48190         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48191         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48193 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48195         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48197 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48198             Andreas Schwab  <schwab@suse.de>
48199             Roland McGrath  <roland@hack.frob.com>
48200             Joseph Myers  <joseph@codesourcery.com>
48201             Carlos O'Donell  <carlos@redhat.com>
48203         [BZ #15755]
48204         * config.h.in: Define HAVE_PT_CHOWN.
48205         * config.make.in (build-pt-chown): New variable.
48206         * configure.in (--enable-pt_chown): New configure option.
48207         * configure: Regenerate.
48208         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48209         build-pt-chown is enabled.
48210         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48211         pt_chown to fix pty ownership.
48212         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48213         CLOSE_ALL_FDS.
48214         * manual/install.texi (Configuring and compiling): Mention
48215         --enable-pt_chown. Add @findex for grantpt.
48216         * INSTALL: Regenerate.
48218 2013-07-20  David S. Miller  <davem@davemloft.net>
48220         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48221         difference between 32-bit and 64-bit.
48223 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48225         [BZ #15711]
48226         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48227         Avoid system header dependency with -ffreestanding.
48228         ($(objpfx)bits/syscall%d): Likewise.
48230 2013-07-13  David S. Miller  <davem@davemloft.net>
48232         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48233         underflows from atanl/atan2l due to bug 15319.
48234         (casinh_test_data): Likewise.
48236 2013-07-07  David S. Miller  <davem@davemloft.net>
48238         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48240 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48242         * sysdeps/i386/fpu/libm-test-ulps: Update.
48243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48245 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48247         * configure.in (--enable-lock-elision): Fix message text.
48248         * INSTALL: Regenerate.
48249         * configure: Regenerate.
48251 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48255 2013-07-03  Andreas Jaeger  <aj@suse.de>
48257         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48258         define.
48259         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48260         (ptrace_peeksiginfo_args): Add.
48261         (__ptrace_peeksiginfo_flags): Add.
48262         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48263         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48264         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48266 2013-07-03  Allan McRae  <allan@archlinux.org>
48268         * sysdeps/i386/fpu/libm-test-ulps: Update.
48270 2013-07-02  David S. Miller  <davem@davemloft.net>
48272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48274 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48278 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48280         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48283 2013-07-02  Andi Kleen <ak@linux.intel.com>
48285         * config.h.in (ENABLE_LOCK_ELISION): Add.
48286         * configure.in (--enable-lock-elision): Add option.
48287         * manual/install.texi: Document --enable lock elision.
48288         * configure: Regenerate
48289         * INSTALL: Regenerate.
48291 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48293         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48294         SSE4.2 strcasecmp for libc.a.
48295         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48297 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48299         [BZ #13304]
48300         * soft-fp/op-common.h (_FP_FMA): New macro.
48301         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48302         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48303         (_FP_MUL_MEAT_1_imm): ... here.
48304         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48305         (_FP_MUL_MEAT_1_wide): ... here.
48306         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48307         (_FP_MUL_MEAT_1_hard): ... here.
48308         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48309         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48310         (_FP_MUL_MEAT_2_wide): ... here.
48311         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48312         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48313         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48314         (_FP_MUL_MEAT_2_gmp): ... here.
48315         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48316         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48317         (_FP_MUL_MEAT_4_wide): ... here.
48318         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48319         (_FP_MUL_MEAT_4_gmp): ... here.
48320         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48321         (_FP_WFRACBITS_DW_S): Likewise.
48322         (_FP_WFRACXBITS_DW_S): Likewise.
48323         (_FP_HIGHBIT_DW_S): Likewise.
48324         (FP_FMA_S): Likewise.
48325         (_FP_FRAC_HIGH_DW_S): Likewise.
48326         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48327         (_FP_WFRACBITS_DW_D): Likewise.
48328         (_FP_WFRACXBITS_DW_D): Likewise.
48329         (_FP_HIGHBIT_DW_D): Likewise.
48330         (FP_FMA_D): Likewise.
48331         (_FP_FRAC_HIGH_DW_D): Likewise.
48332         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48333         (_FP_WFRACBITS_DW_E): Likewise.
48334         (_FP_WFRACXBITS_DW_E): Likewise.
48335         (_FP_HIGHBIT_DW_E): Likewise.
48336         (FP_FMA_E): Likewise.
48337         (_FP_FRAC_HIGH_DW_E): Likewise.
48338         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48339         (_FP_WFRACBITS_DW_Q): Likewise.
48340         (_FP_WFRACXBITS_DW_Q): Likewise.
48341         (_FP_HIGHBIT_DW_Q): Likewise.
48342         (FP_FMA_Q): Likewise.
48343         (_FP_FRAC_HIGH_DW_Q): Likewise.
48344         * soft-fp/fmasf4.c: New file.
48345         * soft-fp/fmadf4.c: Likewise.
48346         * soft-fp/fmatf4.c: Likewise.
48348 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48351         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48352         Silvermont.
48353         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48354         macro.
48355         (index_Slow_SSE4_2): Likewise.
48356         (index_Prefer_PMINUB_for_stringop): Likewise.
48357         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48358         bit_Slow_SSE4_2 is set.
48359         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48360         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48362 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48364         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48365         rtld_global._dl_hwcap2.
48366         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48367         POWER8.
48368         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48369         POWER8 feature descriptions defined in _dl_hwcap2.
48370         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48371         string handling for POWER8 feature bits.
48372         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48373         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48374         _dl_powerpc_cap_flags.
48375         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48376         * sysdeps/powerpc/rtld-global-offsets.sym
48377         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48378         _dl_hwcap2 in the rtld_global_ro structure.
48380 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48382         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48383         hardware capabilities in support of AT_HWCAP2.
48384         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48385         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48386         GLRO(dl_hwcap2).
48387         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48388         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48389         explicitly the unknown a_type display mechanism is used.
48390         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48391         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48392         struct member.
48393         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48394         to macro prototype for AT_HWCAP2 support.
48395         * sysdeps/i386/dl-procinfo.h: Likewise.
48396         * sysdeps/s390/dl-procinfo.h: Likewise.
48397         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48398         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48399         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48400         return -1 for unknown a_type display fallback.
48401         * sysdeps/sparc/dl-procinfo.h: Likewise.
48402         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48403         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48405 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48407         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48408         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48410 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48412         [BZ #12492]
48413         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48414         mprotect making __stack_prot writable.
48416 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48417             Joseph Myers  <joseph@codesourcery.com>
48419         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48420         as being properly aligned.
48422 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48424         * dlfcn/modstatic5.c: New file.
48425         * dlfcn/tststatic5.c: New file.
48426         * dlfcn/Makefile (tests): Add tststatic5.
48427         (tests-static): Likewise.
48428         (modules-names): Add modstatic5.
48429         (tststatic5-ENV): New variable.
48430         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48432         [BZ #15022]
48433         * elf/dl-support.c (_dl_main_map): New variable.
48434         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48435         (_dl_nns, _dl_load_adds): Set to 1.
48436         (_dl_initial_searchlist): Refer to _dl_main_map.
48437         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48438         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48439         call to _dl_get_origin.
48440         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48441         around call_map.
48442         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48443         * dlfcn/modstatic3.c: New file.
48444         * dlfcn/tststatic3.c: New file.
48445         * dlfcn/tststatic4.c: New file.
48446         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48447         (tests-static): Likewise.
48448         (modules-names): Add modstatic3.
48449         (tststatic3-ENV, tststatic4-ENV): New variables.
48450         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48451         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48453 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48455         * configure.in (CC): Require GCC version 4.4 or later.
48456         * configure: Regenerated.
48457         * manual/install.texi (Tools for Compilation): Update GCC version
48458         requirement.
48459         * INSTALL: Regenerated.
48461 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48463         [BZ #15674]
48464         * string/test-memcmp.c (check2): New.
48465         (main): Call check2.
48467         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48469 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48471         [BZ #15022]
48472         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48473         over to...
48474         (dl_open_worker) [!SHARED]: ... here.
48476 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48478         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48480 2013-06-25  Richard Henderson  <rth@redhat.com>
48482         * locale/programs/locarchive.c: Include <libc-internal.h>
48484 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48486         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48487         trailing whitespace removed.
48489 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48491         [BZ #10283]
48492         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48493         * locale/programs/locarchive.c: Include libc-mmap.h.
48494         (prepare_address_space): Take two new outputs (the mmap base and len).
48495         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48496         values.
48497         (create_archive): Declare new mmap base and len values for
48498         prepare_address_space, and store the result in ah.
48499         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48500         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48501         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48502         Declare new mmap base and len values for
48503         prepare_address_space, and store the result in new_ah.
48504         (open_archive): Declare new mmap base and len values for
48505         prepare_address_space, and store the result in ah.
48506         (close_archive): If ah->mmap_base is not NULL, use that and
48507         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48508         * sysdeps/generic/libc-mmap.h: New file.
48510 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48512         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48513         (ALIGN_UP): Likewise.
48514         (PTR_ALIGN_DOWN): Likewise.
48515         (PTR_ALIGN_UP): Likewise.
48517 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48519         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48520         entry mapped to PPC_PLATFORM_POWER8.
48521         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48522         POWER8.
48523         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48524         (_dl_string_platform): Add case for exporting platform position for
48525         POWER8.
48526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48527         search path to sysdeps/powerpc/powerpc32/power8 directory.
48528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48529         search path to sysdeps/powerpc/powerpc64/power8 directory.
48530         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48531         power7 directories.
48532         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48533         power7 directories.
48535 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48537         * INSTALL: Regenerate.
48539         * nscd/connections.c (nscd_init): Fix comment.
48541 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48543         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48545         [BZ #15667]
48546         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48547         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48549 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48551         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48552         DL_DST_REQ_STATIC.
48553         (DL_DST_REQ_STATIC): Remove macro.
48555 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48557         [BZ #7006]
48558         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48559         with a shift of 0 bits.
48561 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48563         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48564         $(tststatic-ENV).
48566 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48568         [BZ #15655]
48569         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48571 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48573         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48574         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48575         accepts -fno-tree-loop-distribute-patterns.
48576         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48577         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48578         recursive call.
48579         * string/memset.c (memset): Likewise.
48580         * string/test-memmove.c (simple_memmove): Disable loop transformation
48581         to library calls.
48582         * string/test-memset.c (simple_memset): Likewise.
48583         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48584         * benchtests/bench-memset.c (simple_memset): Likewise.
48585         * configure: Regenerated.
48587 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48589         * math/test-misc.c (main): Ignore fesetround failure when failures
48590         of subsequent rounding tests would be ignored.
48592         [BZ #15654]
48593         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48594         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48595         * math/fegetenv.c (__fegetenv): Return 0.
48596         * math/fegetexcept.c (fegetexcept): Return 0.
48597         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48598         FE_TONEAREST.
48599         * math/feholdexcpt.c (feholdexcept): Return 0.
48600         * math/fesetenv.c (__fesetenv): Return 0.
48601         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48602         argument FE_TONEAREST.
48603         * math/feupdateenv.c (__feupdateenv): Return 0.
48604         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48606 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48608         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48609         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48610         ($(objpfx)rtld-%.os rules): Use them.
48612 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48614         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48615         fields.
48617 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48619         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48620         length of target pattern, then descending length of dependency pattern.
48621         * configure.in (AWK): Require gawk 3.1.2 or newer.
48622         * manual/install.texi (Tools for Compilation): Say that we do.
48623         * configure: Regenerated.
48625         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48626         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48627         * scripts/sysd-rules.awk: ... this new script.
48628         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48629         than a glob-style pattern.
48631 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48633         * math/test-misc.c (main): Do not treat incorrectly rounded
48634         conversions as failure unless ROUNDING_TESTS passes.
48636 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48638         [BZ #15631]
48639         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48640         restore exception state around main square root computation, then
48641         check for inexactness explicitly.
48643         * math/libm-test.inc (fma_test_data): Add another test.
48645 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48647         * manual/threads.texi (Non-POSIX Extensions): New document
48648         node.  Document pthread_getattr_default_np and
48649         pthread_setattr_default_np.
48651         * Versions.def (libpthread): Add GLIBC_2.18.
48652         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48654         Likewise.
48655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48656         Likewise.
48657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48658         Likewise.
48659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48660         Likewise.
48661         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48662         Likewise.
48663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48664         Likewise.
48665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48666         Likewise.
48667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48668         Likewise.
48669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48670         Likewise.
48672 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48674         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48675         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48677 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48678             H.J. Lu  <hjl.tools@gmail.com>
48680         [BZ #15627]
48681         * sysdeps/x86_64/rtld-memset.c: Remove file.
48682         * sysdeps/x86_64/rtld-memset.S: New file.
48684 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48686         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48687         (test_in_one_mode): Take arguments for whether the rounding mode
48688         is supported for each floating-point type.
48689         (do_test): Pass new arguments to test_in_one_mode using
48690         ROUNDING_TESTS.
48692 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48694         * posix/tst-waitid.c (do_test): Distinguish different instances of
48695         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48696         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48697         before entering the kernel for waitpid.
48699 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48701         * NEWS: Fix note on clock function precision.  Text by Roland
48702         McGrath.
48704 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48706         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48707         it into place only when and if the sanity check passes.
48709 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48711         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48712         output for whether conversion result is exact.  Take argument
48713         indicating whether type is IBM long double.
48714         (round_for_all): Change need_exact field to ibm_ld.
48715         * stdlib/tst-strtod-round.c (struct exactness): New type.
48716         (struct test): Change bool ld_ok field to struct exactness exact.
48717         (TEST): Update all definitions for change to field.
48718         (tests): Regenerate array contents.
48719         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48720         field value.  Check for IBM long double here.
48721         (do_test): Update calls to test_in_one_mode.
48723 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48725         [BZ #12515]
48726         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48727         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48729 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48731         [BZ #15605]
48732         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48733         generated by the compiler on loop optimizations.
48734         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48735         general definitions.
48737 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48739         * math/bug-nextafter.c: Include <math-tests.h>.
48740         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48741         the relevant type.
48742         * math/bug-nexttoward.c: Include <math-tests.h>.
48743         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48744         the relevant type.
48745         * math/test-misc.c: Include <math-tests.h>.
48746         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48747         the relevant type.
48749 2013-06-12  Andreas Jaeger  <aj@suse.de>
48751         * po/ia.po: Update Interlingua translation from translation
48752         project.
48754 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48756         * include/fenv.h: Include stdbool.h.
48757         (struct rm_ctx): New structure.
48758         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48759         Define macro.
48760         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48761         (SET_RESTORE_ROUNDF): Likewise.
48762         (SET_RESTORE_ROUNDL): Likewise.
48763         (SET_RESTORE_ROUND_NOEX): Likewise.
48764         (SET_RESTORE_ROUND_NOEXF): Likewise.
48765         (SET_RESTORE_ROUND_NOEXL): Likewise.
48766         (SET_RESTORE_ROUND_53BIT): Likewise.
48767         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48768         (libc_feresetround_noexf_ctx): Likewise.
48769         (libc_feresetround_noexl_ctx): Likewise.
48770         (libc_feholdsetround_53bit_ctx): Likewise.
48771         (libc_feresetround_53bit_ctx): Likewise.
48772         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48773         (libc_feholdexcept_setround_sse_ctx): New function.
48774         (libc_fesetenv_sse_ctx): Likewise.
48775         (libc_feupdateenv_sse_ctx): Likewise.
48776         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48777         (libc_feholdexcept_setround_387_ctx): Likewise.
48778         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48779         (libc_feholdsetround_387_prec_ctx): Likewise.
48780         (libc_feholdsetround_387_ctx): Likewise.
48781         (libc_feholdsetround_387_53bit_ctx): Likewise.
48782         (libc_feholdsetround_sse_ctx): Likewise.
48783         (libc_feresetround_sse_ctx): Likewise.
48784         (libc_feresetround_387_ctx): Likewise.
48785         (libc_feupdateenv_387_ctx): Likewise.
48786         (libc_feholdexcept_setroundf_ctx): Define macro.
48787         (libc_fesetenvf_ctx): Likewise.
48788         (libc_feupdateenvf_ctx): Likewise.
48789         (libc_feholdsetroundf_ctx): Likewise.
48790         (libc_feresetroundf_ctx): Likewise.
48791         (libc_feholdexcept_setround_ctx): Likewise.
48792         (libc_fesetenv_ctx): Likewise.
48793         (libc_feupdateenv_ctx): Likewise.
48794         (libc_feholdsetround_ctx): Likewise.
48795         (libc_feresetround_ctx): Likewise.
48796         (libc_feholdexcept_setroundl_ctx): Likewise.
48797         (libc_feupdateenvl_ctx): Likewise.
48798         (libc_feholdsetroundl_ctx): Likewise.
48799         (libc_feresetroundl_ctx): Likewise.
48800         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48801         (libc_feresetround_53bit_ctx): Likewise.
48803 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48805         * locale/iso-639.def: Convert to UTF-8.
48807 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48809         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48810         (EXCEPTION_TESTS_double): Likewise.
48811         (EXCEPTION_TESTS_long_double): Likewise.
48812         (EXCEPTION_TESTS): Likewise.
48813         * math/libm-test.inc (test_exceptions): Only test exceptions if
48814         EXCEPTION_TESTS (FLOAT).
48816 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48818         * benchtests/Makefile (string-bench): Add strcpy_chk and
48819         stpcpy_chk.
48820         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48821         * benchtests/bench-stpcpy_chk.c: New file.
48822         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48823         * benchtests/bench-strcpy_chk.c: New file.
48824         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48825         code.
48826         (do_test): Likewise.
48828 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48830         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48831         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48832         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48833         with tabs where appropriate.
48834         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48835         dl-procinfo.h.
48836         [PPC_PLATFORM_PPC440]: Likewise.
48837         [PPC_PLATFORM_PPC464]: Likewise.
48838         [PPC_PLATFORM_PPC476]: Likewise.
48839         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48840         ppc464, and ppc476 platform strings merging from ports/
48841         dl-procinfo.h.
48843 2013-06-11  Andreas Schwab  <schwab@suse.de>
48845         [BZ #14991]
48846         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48847         (from_ucs4_idx): Regenerate.
48848         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48849         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48850         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48851         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48852         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48853         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48854         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48855         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48856         from FROM_LOOP and TO_LOOP specific macros.
48857         (BODY): Handle combining characters.
48858         * iconvdata/BIG5HKSCS.irreversible: Update.
48859         * iconvdata/BIG5HKSCS.precomposed: New file.
48860         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48861         characters.
48862         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48864 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48866         * include/sys/time.h: Fix indentation and add copyright header.
48868         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48869         (do_test): Likewise.
48870         * string/test-memchr.c (do_one_test): Likewise.
48871         (do_test): Likewise.
48872         * string/test-memcmp.c (do_one_test): Likewise.
48873         (do_test): Likewise.
48874         * string/test-memcpy.c (do_one_test): Likewise.
48875         (do_test): Likewise.
48876         * string/test-memmem.c (do_one_test): Likewise.
48877         (do_test): Likewise.
48878         (do_random_tests): Likewise.
48879         * string/test-memmove.c (do_one_test): Likewise.
48880         (do_test): Likewise.
48881         * string/test-memset.c (do_one_test): Likewise.
48882         (do_test): Likewise.
48883         * string/test-rawmemchr.c (do_one_test): Likewise.
48884         (do_test): Likewise.
48885         * string/test-strcasecmp.c (do_one_test): Likewise.
48886         (do_test): Likewise.
48887         * string/test-strcasestr.c (do_one_test): Likewise.
48888         (do_test): Likewise.
48889         * string/test-strcat.c (do_one_test): Likewise.
48890         (do_test): Likewise.
48891         * string/test-strchr.c (do_one_test): Likewise.
48892         (do_test): Likewise.
48893         * string/test-strcmp.c (do_one_test): Likewise.
48894         (do_test): Likewise.
48895         * string/test-strcpy.c (do_one_test): Likewise.
48896         (do_test): Likewise.
48897         * string/test-string.h: Likewise.
48898         (test_init): Likewise.
48899         * string/test-strlen.c (do_one_test): Likewise.
48900         (do_test): Likewise.
48901         * string/test-strncasecmp.c (do_one_test): Likewise.
48902         (do_test): Likewise.
48903         * string/test-strncat.c (do_one_test): Likewise.
48904         (do_test): Likewise.
48905         * string/test-strncmp.c (do_one_test): Likewise.
48906         (do_test_limit): Likewise.
48907         (do_test): Likewise.
48908         * string/test-strncpy.c (do_one_test): Likewise.
48909         (do_test): Likewise.
48910         * string/test-strnlen.c (do_one_test): Likewise.
48911         (do_test): Likewise.
48912         * string/test-strpbrk.c (do_one_test): Likewise.
48913         (do_test): Likewise.
48914         * string/test-strrchr.c (do_one_test): Likewise.
48915         (do_test): Likewise.
48916         * string/test-strspn.c (do_one_test): Likewise.
48917         (do_test): Likewise.
48918         * string/test-strstr.c (do_one_test): Likewise.
48919         (do_test): Likewise.
48921         * benchtests/Makefile (string-bench): Add string benchmarks.
48922         * benchtests/bench-bcopy-ifunc.c: New file.
48923         * benchtests/bench-bcopy.c: New file.
48924         * benchtests/bench-bzero-ifunc.c: New file.
48925         * benchtests/bench-bzero.c: New file.
48926         * benchtests/bench-memccpy-ifunc.c: New file.
48927         * benchtests/bench-memccpy.c: New file.
48928         * benchtests/bench-memchr-ifunc.c: New file.
48929         * benchtests/bench-memchr.c: New file.
48930         * benchtests/bench-memcmp-ifunc.c: New file.
48931         * benchtests/bench-memcmp.c: New file.
48932         * benchtests/bench-memmem-ifunc.c: New file.
48933         * benchtests/bench-memmem.c: New file.
48934         * benchtests/bench-memmove-ifunc.c: New file.
48935         * benchtests/bench-memmove.c: New file.
48936         * benchtests/bench-mempcpy-ifunc.c: New file.
48937         * benchtests/bench-mempcpy.c: New file.
48938         * benchtests/bench-memset-ifunc.c: New file.
48939         * benchtests/bench-memset.c: New file.
48940         * benchtests/bench-rawmemchr-ifunc.c: New file.
48941         * benchtests/bench-rawmemchr.c: New file.
48942         * benchtests/bench-stpcpy-ifunc.c: New file.
48943         * benchtests/bench-stpcpy.c: New file.
48944         * benchtests/bench-stpncpy-ifunc.c: New file.
48945         * benchtests/bench-stpncpy.c: New file.
48946         * benchtests/bench-strcasecmp-ifunc.c: New file.
48947         * benchtests/bench-strcasecmp.c: New file.
48948         * benchtests/bench-strcasestr-ifunc.c: New file.
48949         * benchtests/bench-strcasestr.c: New file.
48950         * benchtests/bench-strcat-ifunc.c: New file.
48951         * benchtests/bench-strcat.c: New file.
48952         * benchtests/bench-strchr-ifunc.c: New file.
48953         * benchtests/bench-strchr.c: New file.
48954         * benchtests/bench-strchrnul-ifunc.c: New file.
48955         * benchtests/bench-strchrnul.c: New file.
48956         * benchtests/bench-strcmp-ifunc.c: New file.
48957         * benchtests/bench-strcmp.c: New file.
48958         * benchtests/bench-strcpy-ifunc.c: New file.
48959         * benchtests/bench-strcpy.c: New file.
48960         * benchtests/bench-strcspn-ifunc.c: New file.
48961         * benchtests/bench-strcspn.c: New file.
48962         * benchtests/bench-strlen-ifunc.c: New file.
48963         * benchtests/bench-strlen.c: New file.
48964         * benchtests/bench-strncasecmp-ifunc.c: New file.
48965         * benchtests/bench-strncasecmp.c: New file.
48966         * benchtests/bench-strncat-ifunc.c: New file.
48967         * benchtests/bench-strncat.c: New file.
48968         * benchtests/bench-strncmp-ifunc.c: New file.
48969         * benchtests/bench-strncmp.c: New file.
48970         * benchtests/bench-strncpy-ifunc.c: New file.
48971         * benchtests/bench-strncpy.c: New file.
48972         * benchtests/bench-strnlen-ifunc.c: New file.
48973         * benchtests/bench-strnlen.c: New file.
48974         * benchtests/bench-strpbrk-ifunc.c: New file.
48975         * benchtests/bench-strpbrk.c: New file.
48976         * benchtests/bench-strrchr-ifunc.c: New file.
48977         * benchtests/bench-strrchr.c: New file.
48978         * benchtests/bench-strspn-ifunc.c: New file.
48979         * benchtests/bench-strspn.c: New file.
48980         * benchtests/bench-strstr-ifunc.c: New file.
48981         * benchtests/bench-strstr.c: New file.
48983         * benchtests/Makefile: Disable parallel execution of targets.
48984         (string-bench): Add memcpy.
48985         (benchset): New variable to store a list of benchmark sets.
48986         (bench-func): Renamed from bench.
48987         (bench-set): New target.
48988         (bench): Depend on bench-func and bench-set.
48989         * benchtests/README: Add section on benchmark sets.
48990         * benchtests/bench-memcpy-ifunc.c: New file.
48991         * benchtests/bench-memcpy.c: New file.
48992         * benchtests/bench-string.h: New file.
48994 2013-06-11  Andreas Schwab  <schwab@suse.de>
48996         [BZ #15577]
48997         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48998         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48999         values in the triple.
49000         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49001         terminator in the group key.
49003 2013-06-11  Andreas Jaeger  <aj@suse.de>
49005         * po/zh_TW.po: Update Chinese (traditional) translation from
49006         translation project.
49008 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49010         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49011         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49012         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49013         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49014         (clock_getcpuclockid): Likewise.
49015         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49016         Add weak_alias and libc_hidden_def.
49017         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49018         * rt/clock_gettime.c (clock_gettime): Rename to
49019         __clock_gettime.  Add weak_alias and libc_hidden_def.
49020         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49021         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49022         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49023         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49024         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49025         Likewise.
49026         * rt/clock_settime.c (clock_settime): Rename to
49027         __clock_settime.  Add weak_alias and libc_hidden_def.
49028         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49030 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49032         * mach/err_boot.sub: Remove trailing whitespace.
49033         * mach/err_ipc.sub: Likewise.
49034         * mach/err_mach.sub: Likewise.
49036         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49037         (ROUNDING_TESTS_double): Likewise.
49038         (ROUNDING_TESTS_long_double): Likewise.
49039         (ROUNDING_TESTS): Likewise.
49040         * math/libm-test.inc: Include <math-tests.h>.
49041         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49042         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49043         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49044         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49046 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49048         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49049         of assigning.
49051 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49053         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49054         otherwise empty TRANS lines.
49055         * sysdeps/gnu/errlist.c: Regenerated.
49057         * catgets/gencat.c (error_print): Use (void) in function
49058         definition.
49059         * crypt/crypt_util.c (__init_des): Likewise.
49060         * crypt/speeds.c (Stop): Likewise.
49061         (main): Likewise.
49062         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49063         * inet/ruserpass.c (token): Likewise.
49064         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49065         * intl/localealias.c (extend_alias_table): Likewise.
49066         * intl/plural-exp.c (init_germanic_plural): Likewise.
49067         * libio/fcloseall.c (__fcloseall): Likewise.
49068         * libio/genops.c (_IO_flush_all): Likewise.
49069         (_IO_flush_all_linebuffered): Likewise.
49070         (_IO_cleanup): Likewise.
49071         (_IO_iter_begin): Likewise.
49072         (_IO_iter_end): Likewise.
49073         (_IO_list_lock): Likewise.
49074         (_IO_list_unlock): Likewise.
49075         (_IO_list_resetlock): Likewise.
49076         * libio/getchar.c (getchar): Likewise.
49077         * libio/getchar_u.c (getchar_unlocked): Likewise.
49078         * libio/getwchar.c (getwchar): Likewise.
49079         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49080         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49081         * login/getpt.c (__getpt): Likewise.
49082         * login/tst-utmp.c (main): Likewise.
49083         * malloc/hooks.c (__malloc_check_init): Likewise.
49084         * malloc/malloc.c (__malloc_stats): Likewise.
49085         * malloc/mtrace.c (tr_break): Likewise.
49086         (mtrace): Likewise.
49087         (muntrace): Likewise.
49088         * misc/fstab.c (endfsent): Likewise.
49089         * misc/getclktck.c (__getclktck): Likewise.
49090         * misc/getdtsz.c (__getdtablesize): Likewise.
49091         * misc/gethostid.c (gethostid): Likewise.
49092         * misc/getpagesize.c (__getpagesize): Likewise.
49093         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49094         (__get_nprocs): Likewise.
49095         (__get_phys_pages): Likewise.
49096         (__get_avphys_pages): Likewise.
49097         * misc/getttyent.c (getttyent): Likewise.
49098         (setttyent): Likewise.
49099         (endttyent): Likewise.
49100         * misc/getusershell.c (getusershell): Likewise.
49101         (endusershell): Likewise.
49102         (setusershell): Likewise.
49103         (initshells): Likewise.
49104         * misc/hsearch.c (__hdestroy): Likewise.
49105         * misc/sync.c (sync): Likewise.
49106         * misc/syslog.c (closelog_internal): Likewise.
49107         (closelog): Likewise.
49108         * misc/ttyslot.c (ttyslot): Likewise.
49109         * misc/vhangup.c (vhangup): Likewise.
49110         * posix/fork.c (__fork): Likewise.
49111         * posix/getegid.c (__getegid): Likewise.
49112         * posix/geteuid.c (__geteuid): Likewise.
49113         * posix/getgid.c (__getgid): Likewise.
49114         * posix/getpid.c (__getpid): Likewise.
49115         * posix/getppid.c (__getppid): Likewise.
49116         * posix/getuid.c (__getuid): Likewise.
49117         * posix/pause.c (pause): Likewise.
49118         * posix/setpgrp.c (setpgrp): Likewise.
49119         * posix/setsid.c (__setsid): Likewise.
49120         * posix/test-vfork.c (noop): Likewise.
49121         * resolv/gethnamaddr.c (_endhtent): Likewise.
49122         (_gethtent): Likewise.
49123         (ht_endhostent): Likewise.
49124         (gethostent): Likewise.
49125         (dns_service): Likewise.
49126         * stdlib/drand48.c (drand48): Likewise.
49127         * stdlib/lrand48.c (lrand48): Likewise.
49128         * stdlib/mrand48.c (mrand48): Likewise.
49129         * stdlib/rand.c (rand): Likewise.
49130         * stdlib/random.c (__random): Likewise.
49131         * stdlib/setenv.c (clearenv): Likewise.
49132         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49133         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49134         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49135         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49136         (__get_nprocs): Likewise.
49137         (__get_phys_pages): Likewise.
49138         (__get_avphys_pages): Likewise.
49139         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49140         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49141         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49142         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49143         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49144         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49145         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49146         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49147         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49148         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49149         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49150         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49151         * sysdeps/posix/clock.c (clock): Likewise.
49152         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49153         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49154         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49155         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49156         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49157         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49158         (__get_nprocs_conf): Likewise.
49159         (__get_phys_pages): Likewise.
49160         (__get_avphys_pages): Likewise.
49161         * time/clock.c (clock): Likewise.
49162         * time/tzset.c (__tzname_max): Likewise.
49164 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49166         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49167         (__bswap_32): Do not use "register".
49168         * crypt/crypt.c (_ufc_doit_r): Likewise.
49169         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49170         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49171         * gmon/gmon.c (__monstartup): Likewise.
49172         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49173         * hurd/hurdmalloc.c (more_memory): Likewise.
49174         (malloc): Likewise.
49175         (free): Likewise.
49176         (realloc): Likewise.
49177         (malloc_fork_prepare): Likewise.
49178         (malloc_fork_parent): Likewise.
49179         (malloc_fork_child): Likewise.
49180         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49181         (_svcauth_des): Likewise.
49182         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49183         * inet/inet_net.c (inet_network): Likewise.
49184         * inet/inet_netof.c (inet_netof): Likewise.
49185         * inet/rcmd.c (__validuser2_sa): Likewise.
49186         * io/fts.c (fts_open): Likewise.
49187         (fts_load): Likewise.
49188         (fts_close): Likewise.
49189         (fts_read): Likewise.
49190         (fts_children): Likewise.
49191         (fts_build): Likewise.
49192         (fts_stat): Likewise.
49193         (fts_sort): Likewise.
49194         (fts_alloc): Likewise.
49195         (fts_lfree): Likewise.
49196         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49197         (_IO_file_xsgetn): Likewise.
49198         (_IO_file_xsgetn_mmap): Likewise.
49199         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49200         (_IO_cookie_write): Likewise.
49201         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49202         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49203         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49204         * malloc/obstack.c (_obstack_begin): Likewise.
49205         (_obstack_begin_1): Likewise.
49206         (_obstack_newchunk): Likewise.
49207         (_obstack_allocated_p): Likewise.
49208         (obstack_free): Likewise.
49209         (_obstack_memory_used): Likewise.
49210         * misc/getttyent.c (getttynam): Likewise.
49211         (getttyent): Likewise.
49212         (skip): Likewise.
49213         (value): Likewise.
49214         * misc/getusershell.c (initshells): Likewise.
49215         * misc/syslog.c (__vsyslog_chk): Likewise.
49216         * misc/ttyslot.c (ttyslot): Likewise.
49217         * nis/nis_hash.c (__nis_hash): Likewise.
49218         * posix/fnmatch_loop.c (FCT): Likewise.
49219         * posix/getconf.c (print_all): Likewise.
49220         (main): Likewise.
49221         * posix/getopt.c (exchange): Likewise.
49222         * posix/glob.c (globfree): Likewise.
49223         (prefix_array): Likewise.
49224         (__glob_pattern_type): Likewise.
49225         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49226         (NS_GET32): Likewise.
49227         (NS_PUT16): Likewise.
49228         (NS_PUT32): Likewise.
49229         * resolv/gethnamaddr.c (getanswer): Likewise.
49230         (gethostbyname2): Likewise.
49231         (gethostbyaddr): Likewise.
49232         (_gethtent): Likewise.
49233         (_gethtbyname2): Likewise.
49234         (_gethtbyaddr): Likewise.
49235         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49236         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49237         * resolv/res_init.c (__res_vinit): Likewise.
49238         (net_mask): Likewise.
49239         * resolv/res_mkquery.c (outchar): Likewise.
49240         (PRINT): Likewise.
49241         * stdio-common/printf_fp.c (outchar): Likewise.
49242         (PRINT): Likewise.
49243         * stdio-common/printf_fphex.c (outchar): Likewise.
49244         (PRINT): Likewise.
49245         * stdio-common/printf_size.c (outchar): Likewise.
49246         (PRINT): Likewise.
49247         * stdio-common/test_rdwr.c (main): Likewise.
49248         * stdio-common/tfformat.c (matches): Likewise.
49249         * stdio-common/vfprintf.c (outchar): Likewise.
49250         (printf_unknown): Likewise.
49251         (buffered_vfprintf): Likewise.
49252         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49253         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49254         (ReadFile): Likewise.
49255         * stdlib/qsort.c (SWAP): Likewise.
49256         (_quicksort): Likewise.
49257         * stdlib/setenv.c (__add_to_environ): Likewise.
49258         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49259         * stdlib/strtol_l.c (__strtol_l): Likewise.
49260         * stdlib/tst-strtod.c (main): Likewise.
49261         * stdlib/tst-strtol.c (main): Likewise.
49262         * stdlib/tst-strtoll.c (main): Likewise.
49263         * string/bits/string2.h (__strcmp_cc): Likewise.
49264         (__strcmp_cg): Likewise.
49265         (__strcspn_c1): Likewise.
49266         (__strcspn_c2): Likewise.
49267         (__strcspn_c3): Likewise.
49268         (__strspn_c1): Likewise.
49269         (__strspn_c2): Likewise.
49270         (__strspn_c3): Likewise.
49271         (__strsep_1c): Likewise.
49272         (__strsep_2c): Likewise.
49273         (__strsep_3c): Likewise.
49274         * string/memccpy.c (__memccpy): Likewise.
49275         * string/stpcpy.c (__stpcpy): Likewise.
49276         * string/strcmp.c (strcmp): Likewise.
49277         * string/strrchr.c (strrchr): Likewise.
49278         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49279         Likewise.
49280         * sysdeps/mach/hurd/getcwd.c
49281         (_hurd_canonicalize_directory_name_internal): Likewise.
49282         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49283         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49284         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49285         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49286         Likewise, in both definitions.
49287         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49288         definitions.
49289         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49290         64] (__bswap_64): Likewise.
49291         * time/test_time.c (main): Likewise.
49292         * time/tzfile.c (__tzfile_read): Likewise.
49293         (__tzfile_compute): Likewise.
49294         * time/tzset.c (__tzset_parse_tz): Likewise.
49295         (tzset_internal): Likewise.
49296         (compute_change): Likewise.
49297         * wcsmbs/wcscat.c (__wcscat): Likewise.
49298         * wcsmbs/wcschr.c (wcschr): Likewise.
49299         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49300         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49301         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49302         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49303         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49304         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49305         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49306         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49307         * wcsmbs/wmemset.c (wmemset): Likewise.
49309 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49311         * scripts/config.guess: Update to version 2013-05-16.
49312         * scripts/config.sub: Update to version 2013-04-24.
49313         * scripts/install-sh: Update to version 2011-11-20.07.
49314         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49315         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49317 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49319         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49320         * elf/sln.c: Likewise.
49321         * hurd/hurd/ioctl.h: Likewise.
49322         * hurd/hurdmalloc.c: Likewise.
49323         * hurd/xattr.c: Likewise.
49324         * include/shlib-compat.h: Likewise.
49325         * inet/ruserpass.c: Likewise.
49326         * libio/iofgets_u.c: Likewise.
49327         * libio/iofgetws_u.c: Likewise.
49328         * locale/programs/ld-identification.c: Likewise.
49329         * locale/programs/ld-time.c: Likewise.
49330         * mach/msg-destroy.c: Likewise.
49331         * nss/nss_files/files-netgrp.c: Likewise.
49332         * resolv/res_data.c: Likewise.
49333         * soft-fp/op-1.h: Likewise.
49334         * soft-fp/op-2.h: Likewise.
49335         * soft-fp/op-4.h: Likewise.
49336         * soft-fp/op-common.h: Likewise.
49337         * stdio-common/printf_fphex.c: Likewise.
49338         * stdlib/strtod_l.c: Likewise.
49339         * sunrpc/rpc/clnt.h: Likewise.
49340         * sysdeps/generic/framestate.c: Likewise.
49341         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49342         * sysdeps/i386/bsd-setjmp.S: Likewise.
49343         * sysdeps/i386/__longjmp.S: Likewise.
49344         * sysdeps/i386/setjmp.S: Likewise.
49345         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49346         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49347         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49348         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49349         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49350         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49351         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49352         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49353         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49354         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49355         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49356         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49357         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49358         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49359         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49360         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49361         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49362         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49363         * sysdeps/ieee754/support.c: Likewise.
49364         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49365         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49366         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49367         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49368         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49369         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49370         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49371         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49372         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49373         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49374         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49375         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49376         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49377         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49378         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49379         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49380         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49383 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49385         * posix/transbug.c: Remove executable mode.
49387 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49389         * crypt/speeds.c: Remove trailing whitespace.
49390         * dlfcn/default.c: Likewise.
49391         * elf/ifuncdep2.c: Likewise.
49392         * elf/ifuncmain1.c: Likewise.
49393         * elf/ifuncmain1vis.c: Likewise.
49394         * elf/testobj.h: Likewise.
49395         * elf/tst-stackguard1.c: Likewise.
49396         * gmon/sys/gmon.h: Likewise.
49397         * hurd/hurdmsg.c: Likewise.
49398         * hurd/new-fd.c: Likewise.
49399         * hurd/ports-get.c: Likewise.
49400         * iconvdata/ibm1008_420.c: Likewise.
49401         * inet/tst-getni1.c: Likewise.
49402         * inet/tst-getni2.c: Likewise.
49403         * libio/ioungetc.c: Likewise.
49404         * libio/wfiledoalloc.c: Likewise.
49405         * manual/libm-err-tab.pl: Likewise.
49406         * math/w_dremf.c: Likewise.
49407         * misc/ftruncate.c: Likewise.
49408         * posix/bug-glob2.c: Likewise.
49409         * posix/tst-pcre.c: Likewise.
49410         * posix/wait4.c: Likewise.
49411         * resolv/README: Likewise.
49412         * resolv/res_debug.h: Likewise.
49413         * resolv/tst-inet_ntop.c: Likewise.
49414         * setjmp/bug269-setjmp.c: Likewise.
49415         * soft-fp/extended.h: Likewise.
49416         * soft-fp/op-1.h: Likewise.
49417         * soft-fp/op-2.h: Likewise.
49418         * soft-fp/op-4.h: Likewise.
49419         * soft-fp/op-8.h: Likewise.
49420         * soft-fp/testit.c: Likewise.
49421         * stdio-common/bug16.c: Likewise.
49422         * stdlib/random.c: Likewise.
49423         * sunrpc/rpcsvc/rquota.x: Likewise.
49424         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49425         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49426         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49427         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49428         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49429         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49430         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49431         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49432         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49433         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49434         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49435         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49436         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49437         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49438         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49439         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49440         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49441         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49442         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49443         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49444         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49445         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49446         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49447         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49448         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49449         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49450         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49451         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49452         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49453         * sysdeps/ieee754/s_lib_version.c: Likewise.
49454         * sysdeps/mach/hurd/check_fds.c: Likewise.
49455         * sysdeps/mach/hurd/getsockname.c: Likewise.
49456         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49457         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49458         * sysdeps/powerpc/bits/link.h: Likewise.
49459         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49460         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49461         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49462         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49463         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49464         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49465         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49466         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49467         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49468         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49469         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49470         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49471         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49472         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49473         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49474         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49475         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49476         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49477         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49478         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49479         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49480         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49481         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49482         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49483         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49484         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49485         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49486         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49487         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49488         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49489         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49490         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49491         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49492         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49493         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49494         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49495         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49496         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49497         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49498         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49499         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49500         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49501         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49502         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49503         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49504         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49505         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49506         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49507         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49508         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49509         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49510         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49511         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49512         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49513         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49514         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49515         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49516         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49517         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49518         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49519         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49520         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49521         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49522         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49523         * sysdeps/powerpc/sysdep.h: Likewise.
49524         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49525         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49526         * sysdeps/sh/dl-trampoline.S: Likewise.
49527         * sysdeps/sh/memset.S: Likewise.
49528         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49529         * sysdeps/sh/strlen.S: Likewise.
49530         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49531         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49532         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49533         * sysdeps/sparc/sparc32/rem.S: Likewise.
49534         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49535         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49536         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49537         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49538         * sysdeps/sparc/sparc32/urem.S: Likewise.
49539         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49540         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49541         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49542         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49543         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49544         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49545         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49546         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49547         * sysdeps/unix/bsd/times.c: Likewise.
49548         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49549         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49553         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49554         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49555         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49556         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49557         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49558         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49559         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49560         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49561         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49562         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49563         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49564         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49565         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49566         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49567         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49568         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49569         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49570         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49571         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49572         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49573         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49574         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49575         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49576         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49577         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49578         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49579         * sysdeps/x86_64/strcspn.S: Likewise.
49581 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49583         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49584         generated file.  Regenerate properly from gen-translit.pl.
49585         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49586         locale/C-translit.h.
49588 2013-06-05  Andreas Schwab  <schwab@suse.de>
49590         [BZ #15100]
49591         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49592         week as 6 instead of -1.
49593         * time/tst-strptime.c (day_tests): Add test case.
49595 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49597         * sysdeps/generic/math_private.h
49598         (libc_feholdexcept_setround_53bit): Replace with
49599         libc_feholdsetround_53bit.
49600         (libc_feupdateenv_53bit): Replace with
49601         libc_feresetround_53bit.
49602         (SET_RESTORE_ROUND_53BIT): Adjust.
49604 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49606         * string/test-strchrnul.c: Add copyright header.
49608         * posix/tst-getaddrinfo4.c: Increase test timeout.
49610 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49612         [BZ #15536]
49613         * math/libm-test.inc (MAX_EXP): Remove
49614         (MIN_EXP): Define.
49615         (ulp): Use MIN_EXP - MANT_DIG.
49616         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49618 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49620         * po/be.po: Revert last change.
49621         * po/zh_CN.po: Likewise.
49622         * po/header.pot: Likewise.
49624 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49626         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49627         link-libc-deps to empty as target-specific variable.
49628         * Makerules (link-libc-args): New variable.
49629         (libc-for-link): Likewise.
49630         (link-libc-deps): Likewise.
49631         (lib%.so): Depend on $(link-libc-deps).  Link with
49632         $(link-libc-args).
49633         (build-module): Link with $(link-libc-args).
49634         (build-module-asneeded): Likewise.
49635         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49636         list of objects.
49637         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49638         target-specific variable.
49639         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49640         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49641         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49642         libc.
49643         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49644         libc and ld.so.
49645         ($(objpfx)libpcprofile.so): Likewise.
49646         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49647         libc_nonshared.a.
49648         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49649         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49650         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49651         $(link-libc-deps).
49652         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49653         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49654         * login/Makefile ($(objpfx)libutil.so): Likewise.
49655         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49656         * math/Makefile ($(objpfx)libm.so): Likewise.
49657         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49658         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49659         variable instead of depending directly on libc.
49660         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49661         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49662         $(link-libc-deps).
49663         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49664         libc.
49665         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49666         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49667         ($(objpfx)libanl.so): Likewise.
49668         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49669         ld.so.
49670         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49671         $(link-libc-deps).
49672         * sysdeps/i386/fpu/Makefile: Remove file.
49673         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49674         ($(objpfx)libm.so): Remove dependency on ld.so.
49676 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49678         [BZ # 15553]
49679         * nis/yp_xdr.c (XDRMAXNAME): Define.
49680         (XDRMAXRECORD): Define.
49681         (xdr_domainname): Use XDRMAXNAME.
49682         (xdr_mapname): Likewise.
49683         (xdr_peername): Likewise.
49684         (xdr_keydat): Use XDRMAXRECORD.
49685         (xdr_valdat): Likewise.
49687 2013-05-30  Jeff Law  <law@redhat.com>
49689         [BZ #14256]
49690         * manual/errno.texi (ESTALE): Update to account for more than
49691         just NFS file systems.
49692         * sysdeps/gnu/errlist.c: Regenerated.
49694 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49696         [BZ #15465]
49697         * elf/Makefile (tests): Add tst-null-argv.
49698         (modules-names):  Add tst-null-argv-lib.
49699         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49700         (tst-null-argv-ENV): Set environment for tst-null-argv.
49701         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49702         (RTLD_PROGNAME): New macro.
49703         * elf/tst-null-argv.c: New test case.
49704         * elf/tst-null-argv-lib.c: Library for test case.
49705         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49706         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49707         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49708         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49709         * elf/dl-init.c (call_init): Likewise.
49710         (_dl_init): Likewise.
49711         * elf/dl-load.c (print_search_path): Likewise.
49712         (_dl_map_object): Likewise.
49713         * elf/dl-lookup.c (do_lookup_x): Likewise.
49714         (add_dependency): Likewise.
49715         (_dl_lookup_symbol_x): Likewise.
49716         (_dl_debug_bindings): Likewise.
49717         * elf/dl-open.c (_dl_show_scope): Likewise.
49718         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49719         * elf/dl-version.c (match_symbol): Likewise.
49720         (_dl_check_map_versions): Likewise.
49721         * elf/rtld.c (dl_main): Likewise.
49722         (print_unresolved): Use RTLD_PROGNAME.
49723         (print_missing_version): Likewise.
49724         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49725         (elf_machine_rela): Likewise.
49726         * sysdeps/powerpc/powerpc32/dl-machine.c
49727         (__process_machine_rela): Likewise.
49728         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49729         Likewise.
49730         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49731         Likewise.
49732         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49733         Likewise.
49734         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49735         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49736         Likewise.
49737         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49738         Likewise.
49739         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49741 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49743         * po/be.po: Add descriptive title.
49744         * po/zh_CN.po: Likewise.
49745         * po/header.pot: Likewise.
49747 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49749         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49750         error message.
49751         (enlarge_archive): Likewise.
49753 2013-05-28  Ben North  <ben@redfrontdoor.org>
49755         * manual/arith.texi (frexp): It is the magnitude of the return
49756         value which lies in [0.5, 1), not the return value itself.
49758 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49762 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49764         * stdio-common/bug26.c (main): Correct fscanf template.
49766         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49767         declare _dl_skip_args.
49769         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49770         Don't declare.
49772         * manual/platform.texi: Add missing @end deftypefun.
49774 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49776         [BZ #15529]
49777         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49778         bit of mantissa of 2^16382.
49779         * math/libm-test.inc (hypot_test_data): Add more tests.
49781         * math/libm-test.inc: Add drem and pow10 to list of tested
49782         functions.
49783         (pow10_test): New function.
49784         (drem_test): Likewise.
49785         (drem_test_tonearest): Likewise.
49786         (drem_test_towardzero): Likewise.
49787         (drem_test_downward): Likewise.
49788         (drem_test_upward): Likewise.
49789         (main): Call the new functions.
49791         * math/libm-test.inc (finite_test_data): Remove.
49792         (finite_test): Run tests from isfinite_test_data.
49793         (gamma_test_data): Remove.
49794         (gamma_test): Run tests from lgamma_test_data.
49795         * sysdeps/i386/fpu/libm-test-ulps: Update.
49796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49798 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49800         * manual/platform.texi: Add PowerPC PPR function set documentation.
49801         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49802         implementation.
49804 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49806         * math/libm-test.inc (MAX_EXP): Define.
49807         (ULPDIFF): Define.
49808         (ulp): New function.
49809         (check_float_internal): Use ULPDIFF.
49810         (cpow_test): Disable failing test.
49811         (check_ulp): Test ulp() implemetnation.
49812         (main): Call check_ulp before starting tests.
49814 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49816         * math/gen-libm-test.pl (generate_testfile): Do not handle
49817         START_DATA and END_DATA.
49818         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49819         END_DATA.
49820         (acos_tonearest_test_data): Likewise.
49821         (acos_towardzero_test_data): Likewise.
49822         (acos_downward_test_data): Likewise.
49823         (acos_upward_test_data): Likewise.
49824         (acosh_test_data): Likewise.
49825         (asin_test_data): Likewise.
49826         (asin_tonearest_test_data): Likewise.
49827         (asin_towardzero_test_data): Likewise.
49828         (asin_downward_test_data): Likewise.
49829         (asin_upward_test_data): Likewise.
49830         (asinh_test_data): Likewise.
49831         (atan_test_data): Likewise.
49832         (atanh_test_data): Likewise.
49833         (atan2_test_data): Likewise.
49834         (cabs_test_data): Likewise.
49835         (cacos_test_data): Likewise.
49836         (cacosh_test_data): Likewise.
49837         (carg_test_data): Likewise.
49838         (casin_test_data): Likewise.
49839         (casinh_test_data): Likewise.
49840         (catan_test_data): Likewise.
49841         (catanh_test_data): Likewise.
49842         (cbrt_test_data): Likewise.
49843         (ccos_test_data): Likewise.
49844         (ccosh_test_data): Likewise.
49845         (ceil_test_data): Likewise.
49846         (cexp_test_data): Likewise.
49847         (cimag_test_data): Likewise.
49848         (clog_test_data): Likewise.
49849         (clog10_test_data): Likewise.
49850         (conj_test_data): Likewise.
49851         (copysign_test_data): Likewise.
49852         (cos_test_data): Likewise.
49853         (cos_tonearest_test_data): Likewise.
49854         (cos_towardzero_test_data): Likewise.
49855         (cos_downward_test_data): Likewise.
49856         (cos_upward_test_data): Likewise.
49857         (cosh_test_data): Likewise.
49858         (cosh_tonearest_test_data): Likewise.
49859         (cosh_towardzero_test_data): Likewise.
49860         (cosh_downward_test_data): Likewise.
49861         (cosh_upward_test_data): Likewise.
49862         (cpow_test_data): Likewise.
49863         (cproj_test_data): Likewise.
49864         (creal_test_data): Likewise.
49865         (csin_test_data): Likewise.
49866         (csinh_test_data): Likewise.
49867         (csqrt_test_data): Likewise.
49868         (ctan_test_data): Likewise.
49869         (ctan_tonearest_test_data): Likewise.
49870         (ctan_towardzero_test_data): Likewise.
49871         (ctan_downward_test_data): Likewise.
49872         (ctan_upward_test_data): Likewise.
49873         (ctanh_test_data): Likewise.
49874         (ctanh_tonearest_test_data): Likewise.
49875         (ctanh_towardzero_test_data): Likewise.
49876         (ctanh_downward_test_data): Likewise.
49877         (ctanh_upward_test_data): Likewise.
49878         (erf_test_data): Likewise.
49879         (erfc_test_data): Likewise.
49880         (exp_test_data): Likewise.
49881         (exp_tonearest_test_data): Likewise.
49882         (exp_towardzero_test_data): Likewise.
49883         (exp_downward_test_data): Likewise.
49884         (exp_upward_test_data): Likewise.
49885         (exp10_test_data): Likewise.
49886         (exp2_test_data): Likewise.
49887         (expm1_test_data): Likewise.
49888         (fabs_test_data): Likewise.
49889         (fdim_test_data): Likewise.
49890         (finite_test_data): Likewise.
49891         (floor_test_data): Likewise.
49892         (fma_test_data): Likewise.
49893         (fma_towardzero_test_data): Likewise.
49894         (fma_downward_test_data): Likewise.
49895         (fma_upward_test_data): Likewise.
49896         (fmax_test_data): Likewise.
49897         (fmin_test_data): Likewise.
49898         (fmod_test_data): Likewise.
49899         (fpclassify_test_data): Likewise.
49900         (frexp_test_data): Likewise.
49901         (gamma_test_data): Likewise.
49902         (hypot_test_data): Likewise.
49903         (ilogb_test_data): Likewise.
49904         (isfinite_test_data): Likewise.
49905         (isgreater_test_data): Likewise.
49906         (isgreaterequal_test_data): Likewise.
49907         (isinf_test_data): Likewise.
49908         (isless_test_data): Likewise.
49909         (islessequal_test_data): Likewise.
49910         (islessgreater_test_data): Likewise.
49911         (isnan_test_data): Likewise.
49912         (isnormal_test_data): Likewise.
49913         (issignaling_test_data): Likewise.
49914         (isunordered_test_data): Likewise.
49915         (j0_test_data): Likewise.
49916         (j1_test_data): Likewise.
49917         (jn_test_data): Likewise.
49918         (ldexp_test_data): Likewise.
49919         (lgamma_test_data): Likewise.
49920         (lrint_test_data): Likewise.
49921         (lrint_tonearest_test_data): Likewise.
49922         (lrint_towardzero_test_data): Likewise.
49923         (lrint_downward_test_data): Likewise.
49924         (lrint_upward_test_data): Likewise.
49925         (llrint_test_data): Likewise.
49926         (llrint_tonearest_test_data): Likewise.
49927         (llrint_towardzero_test_data): Likewise.
49928         (llrint_downward_test_data): Likewise.
49929         (llrint_upward_test_data): Likewise.
49930         (log_test_data): Likewise.
49931         (log10_test_data): Likewise.
49932         (log1p_test_data): Likewise.
49933         (log2_test_data): Likewise.
49934         (logb_test_data): Likewise.
49935         (logb_downward_test_data): Likewise.
49936         (lround_test_data): Likewise.
49937         (llround_test_data): Likewise.
49938         (modf_test_data): Likewise.
49939         (nearbyint_test_data): Likewise.
49940         (nextafter_test_data): Likewise.
49941         (nexttoward_test_data): Likewise.
49942         (pow_test_data): Likewise.
49943         (pow_tonearest_test_data): Likewise.
49944         (pow_towardzero_test_data): Likewise.
49945         (pow_downward_test_data): Likewise.
49946         (pow_upward_test_data): Likewise.
49947         (remainder_test_data): Likewise.
49948         (remainder_tonearest_test_data): Likewise.
49949         (remainder_towardzero_test_data): Likewise.
49950         (remainder_downward_test_data): Likewise.
49951         (remainder_upward_test_data): Likewise.
49952         (remquo_test_data): Likewise.
49953         (rint_test_data): Likewise.
49954         (rint_tonearest_test_data): Likewise.
49955         (rint_towardzero_test_data): Likewise.
49956         (rint_downward_test_data): Likewise.
49957         (rint_upward_test_data): Likewise.
49958         (round_test_data): Likewise.
49959         (scalb_test_data): Likewise.
49960         (scalbn_test_data): Likewise.
49961         (scalbln_test_data): Likewise.
49962         (signbit_test_data): Likewise.
49963         (sin_test_data): Likewise.
49964         (sin_tonearest_test_data): Likewise.
49965         (sin_towardzero_test_data): Likewise.
49966         (sin_downward_test_data): Likewise.
49967         (sin_upward_test_data): Likewise.
49968         (sincos_test_data): Likewise.
49969         (sinh_test_data): Likewise.
49970         (sinh_tonearest_test_data): Likewise.
49971         (sinh_towardzero_test_data): Likewise.
49972         (sinh_downward_test_data): Likewise.
49973         (sinh_upward_test_data): Likewise.
49974         (sqrt_test_data): Likewise.
49975         (tan_test_data): Likewise.
49976         (tan_tonearest_test_data): Likewise.
49977         (tan_towardzero_test_data): Likewise.
49978         (tan_downward_test_data): Likewise.
49979         (tan_upward_test_data): Likewise.
49980         (tanh_test_data): Likewise.
49981         (tgamma_test_data): Likewise.
49982         (trunc_test_data): Likewise.
49983         (y0_test_data): Likewise.
49984         (y1_test_data): Likewise.
49985         (yn_test_data): Likewise.
49986         (significand_test_data): Likewise.
49988         * math/gen-libm-test.pl (@functions): Remove variable.
49989         (generate_testfile): Don't handle START and END lines.
49990         * math/libm-test.inc (START): New macro.
49991         (END): Likewise.
49992         (END_COMPLEX): Likewise.
49993         (acos_test): Use END macro without arguments.
49994         (acos_test_tonearest): Likewise.
49995         (acos_test_towardzero): Likewise.
49996         (acos_test_downward): Likewise.
49997         (acos_test_upward): Likewise.
49998         (acosh_test): Likewise.
49999         (asin_test): Likewise.
50000         (asin_test_tonearest): Likewise.
50001         (asin_test_towardzero): Likewise.
50002         (asin_test_downward): Likewise.
50003         (asin_test_upward): Likewise.
50004         (asinh_test): Likewise.
50005         (atan_test): Likewise.
50006         (atanh_test): Likewise.
50007         (atan2_test): Likewise.
50008         (cabs_test): Likewise.
50009         (cacos_test): Use END_COMPLEX macro without arguments.
50010         (cacosh_test): Likewise.
50011         (carg_test): Use END macro without arguments.
50012         (casin_test): Use END_COMPLEX macro without arguments.
50013         (casinh_test): Likewise.
50014         (catan_test): Likewise.
50015         (catanh_test): Likewise.
50016         (cbrt_test): Use END macro without arguments.
50017         (ccos_test): Use END_COMPLEX macro without arguments.
50018         (ccosh_test): Likewise.
50019         (ceil_test): Use END macro without arguments.
50020         (cexp_test): Use END_COMPLEX macro without arguments.
50021         (cimag_test): Use END macro without arguments.
50022         (clog_test): Use END_COMPLEX macro without arguments.
50023         (clog10_test): Likewise.
50024         (conj_test): Likewise.
50025         (copysign_test): Use END macro without arguments.
50026         (cos_test): Likewise.
50027         (cos_test_tonearest): Likewise.
50028         (cos_test_towardzero): Likewise.
50029         (cos_test_downward): Likewise.
50030         (cos_test_upward): Likewise.
50031         (cosh_test): Likewise.
50032         (cosh_test_tonearest): Likewise.
50033         (cosh_test_towardzero): Likewise.
50034         (cosh_test_downward): Likewise.
50035         (cosh_test_upward): Likewise.
50036         (cpow_test): Use END_COMPLEX macro without arguments.
50037         (cproj_test): Likewise.
50038         (creal_test): Use END macro without arguments.
50039         (csin_test): Use END_COMPLEX macro without arguments.
50040         (csinh_test): Likewise.
50041         (csqrt_test): Likewise.
50042         (ctan_test): Likewise.
50043         (ctan_test_tonearest): Likewise.
50044         (ctan_test_towardzero): Likewise.
50045         (ctan_test_downward): Likewise.
50046         (ctan_test_upward): Likewise.
50047         (ctanh_test): Likewise.
50048         (ctanh_test_tonearest): Likewise.
50049         (ctanh_test_towardzero): Likewise.
50050         (ctanh_test_downward): Likewise.
50051         (ctanh_test_upward): Likewise.
50052         (erf_test): Use END macro without arguments.
50053         (erfc_test): Likewise.
50054         (exp_test): Likewise.
50055         (exp_test_tonearest): Likewise.
50056         (exp_test_towardzero): Likewise.
50057         (exp_test_downward): Likewise.
50058         (exp_test_upward): Likewise.
50059         (exp10_test): Likewise.
50060         (exp2_test): Likewise.
50061         (expm1_test): Likewise.
50062         (fabs_test): Likewise.
50063         (fdim_test): Likewise.
50064         (finite_test): Likewise.
50065         (floor_test): Likewise.
50066         (fma_test): Likewise.
50067         (fma_test_towardzero): Likewise.
50068         (fma_test_downward): Likewise.
50069         (fma_test_upward): Likewise.
50070         (fmax_test): Likewise.
50071         (fmin_test): Likewise.
50072         (fmod_test): Likewise.
50073         (fpclassify_test): Likewise.
50074         (frexp_test): Likewise.
50075         (gamma_test): Likewise.
50076         (hypot_test): Likewise.
50077         (ilogb_test): Likewise.
50078         (isfinite_test): Likewise.
50079         (isgreater_test): Likewise.
50080         (isgreaterequal_test): Likewise.
50081         (isinf_test): Likewise.
50082         (isless_test): Likewise.
50083         (islessequal_test): Likewise.
50084         (islessgreater_test): Likewise.
50085         (isnan_test): Likewise.
50086         (isnormal_test): Likewise.
50087         (issignaling_test): Likewise.
50088         (isunordered_test): Likewise.
50089         (j0_test): Likewise.
50090         (j1_test): Likewise.
50091         (jn_test): Likewise.
50092         (ldexp_test): Likewise.
50093         (lgamma_test): Likewise.
50094         (lrint_test): Likewise.
50095         (lrint_test_tonearest): Likewise.
50096         (lrint_test_towardzero): Likewise.
50097         (lrint_test_downward): Likewise.
50098         (lrint_test_upward): Likewise.
50099         (llrint_test): Likewise.
50100         (llrint_test_tonearest): Likewise.
50101         (llrint_test_towardzero): Likewise.
50102         (llrint_test_downward): Likewise.
50103         (llrint_test_upward): Likewise.
50104         (log_test): Likewise.
50105         (log10_test): Likewise.
50106         (log1p_test): Likewise.
50107         (log2_test): Likewise.
50108         (logb_test): Likewise.
50109         (logb_test_downward): Likewise.
50110         (lround_test): Likewise.
50111         (llround_test): Likewise.
50112         (modf_test): Likewise.
50113         (nearbyint_test): Likewise.
50114         (nextafter_test): Likewise.
50115         (nexttoward_test): Likewise.
50116         (pow_test): Likewise.
50117         (pow_test_tonearest): Likewise.
50118         (pow_test_towardzero): Likewise.
50119         (pow_test_downward): Likewise.
50120         (pow_test_upward): Likewise.
50121         (remainder_test): Likewise.
50122         (remainder_test_tonearest): Likewise.
50123         (remainder_test_towardzero): Likewise.
50124         (remainder_test_downward): Likewise.
50125         (remainder_test_upward): Likewise.
50126         (remquo_test): Likewise.
50127         (rint_test): Likewise.
50128         (rint_test_tonearest): Likewise.
50129         (rint_test_towardzero): Likewise.
50130         (rint_test_downward): Likewise.
50131         (rint_test_upward): Likewise.
50132         (round_test): Likewise.
50133         (scalb_test): Likewise.
50134         (scalbn_test): Likewise.
50135         (scalbln_test): Likewise.
50136         (signbit_test): Likewise.
50137         (sin_test): Likewise.
50138         (sin_test_tonearest): Likewise.
50139         (sin_test_towardzero): Likewise.
50140         (sin_test_downward): Likewise.
50141         (sin_test_upward): Likewise.
50142         (sincos_test): Likewise.
50143         (sinh_test): Likewise.
50144         (sinh_test_tonearest): Likewise.
50145         (sinh_test_towardzero): Likewise.
50146         (sinh_test_downward): Likewise.
50147         (sinh_test_upward): Likewise.
50148         (sqrt_test): Likewise.
50149         (tan_test): Likewise.
50150         (tan_test_tonearest): Likewise.
50151         (tan_test_towardzero): Likewise.
50152         (tan_test_downward): Likewise.
50153         (tan_test_upward): Likewise.
50154         (tanh_test): Likewise.
50155         (tgamma_test): Likewise.
50156         (trunc_test): Likewise.
50157         (y0_test): Likewise.
50158         (y1_test): Likewise.
50159         (yn_test): Likewise.
50160         (significand_test): Likewise.
50162 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50164         [BZ #15381]
50165         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50167 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50169         [BZ #14894]
50170         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50171         __ppc_mdoio and __ppc_mdoom.
50172         * manual/platform.texi: Document new functions __ppc_yield,
50173         __ppc_mdoio and __ppc_mdoom.
50175 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50177         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50178         (main): Mention "tls" pseudo-hwcap is legacy.
50179         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50181 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50183         * math/gen-libm-test.pl (parse_args): Output only string of
50184         arguments as text for test name, not full call or descriptions of
50185         tests for extra outputs.
50186         (generate_testfile): Do not pass function name to parse_args.
50187         Generate this_func variable from START.
50188         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50189         field to arg_str.
50190         (struct test_ff_f_data): Likewise.
50191         (test_ff_f_data_nexttoward): Likewise.
50192         (struct test_fi_f_data): Likewise.
50193         (struct test_fl_f_data): Likewise.
50194         (struct test_if_f_data): Likewise.
50195         (struct test_fff_f_data): Likewise.
50196         (struct test_c_f_data): Likewise.
50197         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50198         (struct test_fF_f1_data): Likewise.
50199         (struct test_ffI_f1_data): Likewise.
50200         (struct test_c_c_data): Rename test_name field to arg_str.
50201         (struct test_cc_c_data): Likewise.
50202         (struct test_f_i_data): Likewise.
50203         (struct test_ff_i_data): Likewise.
50204         (struct test_f_l_data): Likewise.
50205         (struct test_f_L_data): Likewise.
50206         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50207         and extra2_name.
50208         (COMMON_TEST_SETUP): New macro.
50209         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50210         (COMMON_TEST_CLEANUP): Likewise.
50211         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50212         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50213         macros.
50214         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50215         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50216         macros.
50217         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50218         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50219         cleanup macros.
50220         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50221         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50222         macros.
50223         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50224         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50225         macros.
50226         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50227         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50228         cleanup macros.
50229         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50230         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50231         cleanup macros.
50232         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50233         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50234         cleanup macros.
50235         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50236         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50237         macros.
50238         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50239         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50240         macros.
50241         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50242         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50243         macros.
50244         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50245         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50246         cleanup macros.
50247         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50248         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50249         cleanup macros.
50250         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50251         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50252         macros.
50253         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50254         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50255         cleanup macros.
50256         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50257         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50258         macros.
50259         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50260         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50261         macros.
50262         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50263         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50264         cleanup macros.
50265         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50267 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50269         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50270         to _sifields.sigfault.
50271         (si_addr_lsb): Define new macro.
50272         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50273         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50274         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50276 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50278         [BZ #15441]
50279         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50280         returns -1.
50281         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50282         null return -1.
50283         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50284         loading the domain.
50286 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50288         * math/gen-libm-test.pl (parse_args): Do not include expected
50289         result in test name.
50290         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50291         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50292         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50293         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50294         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50297 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50299         * benchtests/Makefile: Sort function entries.
50301         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50302         tanh, asinh, acosh, atanh.
50303         * benchtests/acos-inputs: New file.
50304         * benchtests/acosh-inputs: New file.
50305         * benchtests/asin-inputs: New file.
50306         * benchtests/asinh-inputs: New file.
50307         * benchtests/atanh-inputs: New file.
50308         * benchtests/cosh-inputs: New file.
50309         * benchtests/log-inputs: New file.
50310         * benchtests/sinh-inputs: New file.
50311         * benchtests/tanh-inputs: New file.
50313 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50315         [BZ #15339]
50316         * posix/tst-getaddrinfo4.c: New test.
50317         * posix/Makefile (tests): Add it.
50319 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50321         [BZ #15339]
50322         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50323         when no services were used.
50324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50325         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50327 2013-05-21  Andreas Schwab  <schwab@suse.de>
50329         [BZ #15014]
50330         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50331         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50332         successful.
50333         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50334         redundant variable declarations and reallocation of buffer when
50335         parsing as IPv6 address.  Always set NSS status when called from
50336         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50337         buffer too small.  Correct computation of needed size.
50338         * nss/Makefile (tests): Add test-digits-dots.
50339         * nss/test-digits-dots.c: New test.
50341 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50343         * benchtests/Makefile: Remove instructions for adding
50344         benchmark tests.
50345         * benchtests/README: New file to explain how to execute and
50346         enhance the benchmark tests.
50348 2013-05-21  Andreas Schwab  <schwab@suse.de>
50350         [BZ #15493]
50351         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50352         * setjmp/tst-sigsetjmp.c: New test.
50354 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50356         * sysdeps/x86_64/memset.S (memset): New implementation.
50357         (__bzero): Likewise.
50358         (__memset_tail): New function.
50360 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50362         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50363         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50364         __memcpy_sse2_unaligned ifunc selection.
50365         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50366         Add memcpy-sse2-unaligned.S.
50367         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50368         Add: __memcpy_sse2_unaligned.
50370 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50372         [BZ #15490]
50373         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50374         math_force_eval before restoring floating-point envrionment.
50375         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50376         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50377         Likewise.
50378         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50379         <math_private.h>.
50380         (__nearbyintl): Use math_force_eval before restoring
50381         floating-point environment.
50382         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50384         * math/gen-libm-test.pl (special_functions): Remove.
50385         (parse_args): Don't handle TEST_extra.  Handle functions with no
50386         return value.
50387         * math/libm-test.inc (struct test_sincos_data): Replace with
50388         struct test_fFF_11_data.
50389         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50390         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50391         (sincos_test_data): Change element type to struct
50392         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50393         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50394         RUN_TEST_LOOP_sincos.
50395         * math/README.libm-test: Don't mention special handling of
50396         individual functions.
50397         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50398         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50399         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50400         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50401         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50404         * math/gen-libm-test.pl (get_variable): Remove function.
50405         (parse_args): Don't show pointer parameters to call in test
50406         names.  Use "extra output N" in test names for extra outputs
50407         rather than naming variables.
50409 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50411         [BZ #15488]
50412         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50413         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50414         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50415         double tests.
50416         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50417         disable.
50418         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50419         check_long_double.
50421         * math/gen-libm-test.pl (@tests): Remove variable.
50422         ($count): Likewise.
50423         (new_test): Remove function.
50424         (show_exceptions): New function.
50425         (special_functions): Use show_exceptions instead of new_test.
50426         (parse_args): Likewise.
50427         (generate_testfile): Pass only function name in generated call to
50428         print_max_error or print_complex_max_error.
50429         (get_ulps): Do not handle complex tests specially.
50430         (output_test): Rename to ...
50431         (get_all_ulps_for_test): ... this.  Return a string rather than
50432         printing to a file.  Require ulps to be present.
50433         (output_ulps): Generate arrays rather than #defines.
50434         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50435         (struct ulp_data): New type.
50436         (BUILD_COMPLEX_ULP): Remove macro.
50437         (compare_ulp_data): New function.
50438         (find_ulps): Likewise.
50439         (find_test_ulps): Likewise.
50440         (find_function_ulps): Likewise.
50441         (find_complex_function_ulps): Likewise.
50442         (print_max_error): Determine allowed ulps using
50443         find_function_ulps.
50444         (print_complex_max_error): Determine allowed ulps using
50445         find_complex_function_ulps.
50446         (check_float_internal): Determine max ulps using find_test_ulps.
50447         (check_float): Do not take max_ulp parameter.  Update call to
50448         check_float_internal.
50449         (check_complex): Likewise.
50450         (check_int): Do not take max_ulp parameter.
50451         (check_long): Likewise.
50452         (check_bool): Likewise.
50453         (check_longlong): Likewise.
50454         (struct test_f_f_data): Remove max_ulp field.
50455         (struct test_ff_f_data): Likewise.
50456         (struct test_ff_f_data_nexttoward): Likewise.
50457         (struct test_fi_f_data): Likewise.
50458         (struct test_fl_f_data): Likewise.
50459         (struct test_if_f_data): Likewise.
50460         (struct test_fff_f_data): Likewise.
50461         (struct test_c_f_data): Likewise.
50462         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50463         (struct test_fF_f1_data): Likewise.
50464         (struct test_ffI_f1_data): Likewise.
50465         (struct test_c_c_data): Remove max_ulp field.
50466         (struct test_cc_c_data): Likewise.
50467         (struct test_f_i_data): Likewise.
50468         (struct test_ff_i_data): Likewise.
50469         (struct test_f_l_data): Likewise.
50470         (struct test_f_L_data): Likewise.
50471         (struct test_sincos_data): Likewise.
50472         (RUN_TEST_f_f): Do not handle ulps.
50473         (RUN_TEST_LOOP_f_f): Likewise.
50474         (RUN_TEST_2_f): Likewise.
50475         (RUN_TEST_LOOP_2_f): Likewise.
50476         (RUN_TEST_fff_f): Likewise.
50477         (RUN_TEST_LOOP_fff_f): Likewise.
50478         (RUN_TEST_c_f): Likewise.
50479         (RUN_TEST_LOOP_c_f): Likewise.
50480         (RUN_TEST_f_f1): Likewise.
50481         (RUN_TEST_LOOP_f_f1): Likewise.
50482         (RUN_TEST_fF_f1): Likewise.
50483         (RUN_TEST_LOOP_fF_f1): Likewise.
50484         (RUN_TEST_fI_f1): Likewise.
50485         (RUN_TEST_LOOP_fI_f1): Likewise.
50486         (RUN_TEST_ffI_f1): Likewise.
50487         (RUN_TEST_LOOP_ffI_f1): Likewise.
50488         (RUN_TEST_c_c): Likewise.
50489         (RUN_TEST_LOOP_c_c): Likewise.
50490         (RUN_TEST_cc_c): Likewise.
50491         (RUN_TEST_LOOP_cc_c): Likewise.
50492         (RUN_TEST_f_i): Likewise.
50493         (RUN_TEST_LOOP_f_i): Likewise.
50494         (RUN_TEST_f_i_tg): Likewise.
50495         (RUN_TEST_LOOP_f_i_tg): Likewise.
50496         (RUN_TEST_ff_i_tg): Likewise.
50497         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50498         (RUN_TEST_f_b): Likewise.
50499         (RUN_TEST_LOOP_f_b): Likewise.
50500         (RUN_TEST_f_b_tg): Likewise.
50501         (RUN_TEST_LOOP_f_b_tg): Likewise.
50502         (RUN_TEST_f_l): Likewise.
50503         (RUN_TEST_LOOP_f_l): Likewise.
50504         (RUN_TEST_f_L): Likewise.
50505         (RUN_TEST_LOOP_f_L): Likewise.
50506         (RUN_TEST_sincos): Likewise.
50507         (RUN_TEST_LOOP_sincos): Likewise.
50509 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50511         [BZ #15480]
50512         [BZ #15485]
50513         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50514         main case of finite arguments, set rounding mode to FE_TONEAREST
50515         and discard exceptions.
50516         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50517         exceptions.
50518         (remainder_tonearest_test_data): New variable.
50519         (remainder_test_tonearest): New function.
50520         (remainder_towardzero_test_data): New variable.
50521         (remainder_test_towardzero): New function.
50522         (remainder_downward_test_data): New variable.
50523         (remainder_test_downward): New function.
50524         (remainder_upward_test_data): New variable.
50525         (remainder_test_upward): New function.
50526         (main): Call the new test functions.
50528         * math/libm-test.inc (struct test_f_f1_data): Remove field
50529         extra_init.
50530         (struct test_fF_f1_data): Likewise.
50531         (struct test_ffI_f1_data): Likewise.
50532         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50533         based on value of EXTRA_EXPECTED.
50534         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50535         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50536         EXTRA_VAR based on value of EXTRA_EXPECTED.
50537         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50538         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50539         EXTRA_VAR based on value of EXTRA_EXPECTED.
50540         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50541         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50542         EXTRA_VAR based on value of EXTRA_EXPECTED.
50543         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50544         * math/gen-libm-test.pl (parse_args): Don't output initializers
50545         for extra output values.
50547         * math/libm-test.inc (check_int): Expect result to be exactly
50548         equal to expected value and do not handle ulps.
50549         (check_long): Likewise.
50550         (check_longlong): Likewise.
50552         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50553         exceptions.
50554         (cimag_test_data): Likewise.
50555         (conj_test_data): Likewise.
50556         (copysign_test_data): Likewise.
50557         (cproj_test_data): Likewise.
50558         (creal_test_data): Likewise.
50559         (fabs_test_data): Likewise.
50560         (fdim_test_data): Likewise.
50561         (finite_test_data): Likewise.
50562         (floor_test_data): Likewise.
50563         (fmax_test_data): Likewise.
50564         (fmin_test_data): Likewise.
50565         (fmod_test_data): Likewise.
50566         (fpclassify_test_data): Likewise.
50567         (frexp_test_data): Likewise.
50568         (ilogb_test_data): Likewise.
50569         (isfinite_test_data): Likewise.
50570         (isgreater_test_data): Likewise.
50571         (isgreaterequal_test_data): Likewise.
50572         (isinf_test_data): Likewise.
50573         (isless_test_data): Likewise.
50574         (islessequal_test_data): Likewise.
50575         (islessgreater_test_data): Likewise.
50576         (isnan_test_data): Likewise.
50577         (isnormal_test_data): Likewise.
50578         (issignaling_test_data): Likewise.
50579         (isunordered_test_data): Likewise.
50580         (ldexp_test_data): Likewise.
50581         (lrint_test_data): Likewise.
50582         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50583         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50584         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50585         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50586         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50587         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50588         test input.
50589         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50590         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50591         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50592         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50593         that test input.
50594         (lrint_downward_test_data): Test for "inexact" exceptions.
50595         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50596         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50597         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50598         test input.
50599         (lrint_upward_test_data): Test for "inexact" exceptions.
50600         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50601         test input.
50602         (llrint_test_data): Test for "inexact" exceptions.
50603         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50604         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50605         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50606         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50607         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50608         (llrint_downward_test_data): Test for "inexact" exceptions.
50609         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50610         (llrint_upward_test_data): Test for "inexact" exceptions.
50611         (logb_test_data): Likewise.
50612         (logb_downward_test_data): Likewise.
50613         (nextafter_test_data): Likewise.
50614         (nexttoward_test_data): Likewise.
50615         (remainder_test_data): Likewise.
50616         (remquo_test_data): Likewise.
50617         (scalbn_test_data): Likewise.
50618         (scalbln_test_data): Likewise.
50619         (signbit_test_data): Likewise.
50620         (sqrt_test_data): Likewise.
50621         (significand_test_data): Likewise.
50623 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50625         [BZ #15424]
50626         * benchtests/bench-modf.c (struct args): Mark arg0 as
50627         volatile.
50628         * scripts/bench.pl: Mark members of struct args as volatile.
50630 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50632         [BZ # 15497]
50633         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50634         negative infinity on POWER6 or lower.
50635         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50637 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50639         [BZ #15442]
50640         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50641         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50642         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50643         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50644         (_FP_SETQNAN): New macro.
50645         (_FP_SETQNAN_SEMIRAW): Likewise.
50646         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50647         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50648         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50649         (FP_EXTEND): Use _FP_FRAC_SNANP.
50650         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50651         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50652         into account.
50653         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50654         New macro.
50655         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50656         Likewise.
50658 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50660         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50661         with DIVIDE_BY_ZERO_EXCEPTION.
50662         (gamma_test_data): Likewise.
50663         (lgamma_test_data): Likewise.
50664         (log_test_data): Likewise.
50665         (log10_test_data): Likewise.
50666         (log2_test_data): Likewise.
50667         (tgamma_test_data): Likewise.
50669         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50670         (acos_test_tonearest): Likewise.
50671         (acos_test_towardzero): Likewise.
50672         (acos_test_downward): Likewise.
50673         (acos_test_upward): Likewise.
50674         (acosh_test): Likewise.
50675         (asin_test): Likewise.
50676         (asin_test_tonearest): Likewise.
50677         (asin_test_towardzero): Likewise.
50678         (asin_test_downward): Likewise.
50679         (asin_test_upward): Likewise.
50680         (asinh_test): Likewise.
50681         (atan_test): Likewise.
50682         (atanh_test): Likewise.
50683         (atan2_test): Likewise.
50684         (cabs_test): Likewise.
50685         (cacos_test): Likewise.
50686         (cacosh_test): Likewise.
50687         (casin_test): Likewise.
50688         (casinh_test): Likewise.
50689         (catan_test): Likewise.
50690         (catanh_test): Likewise.
50691         (cbrt_test): Likewise.
50692         (ccos_test): Likewise.
50693         (ccosh_test): Likewise.
50694         (cexp_test): Likewise.
50695         (clog_test): Likewise.
50696         (clog10_test): Likewise.
50697         (cos_test): Likewise.
50698         (cos_test_tonearest): Likewise.
50699         (cos_test_towardzero): Likewise.
50700         (cos_test_downward): Likewise.
50701         (cos_test_upward): Likewise.
50702         (cosh_test): Likewise.
50703         (cosh_test_tonearest): Likewise.
50704         (cosh_test_towardzero): Likewise.
50705         (cosh_test_downward): Likewise.
50706         (cosh_test_upward): Likewise.
50707         (cpow_test): Likewise.
50708         (csin_test): Likewise.
50709         (csinh_test): Likewise.
50710         (csqrt_test): Likewise.
50711         (ctan_test): Likewise.
50712         (ctan_test_tonearest): Likewise.
50713         (ctan_test_towardzero): Likewise.
50714         (ctan_test_downward): Likewise.
50715         (ctan_test_upward): Likewise.
50716         (ctanh_test): Likewise.
50717         (ctanh_test_tonearest): Likewise.
50718         (ctanh_test_towardzero): Likewise.
50719         (ctanh_test_downward): Likewise.
50720         (ctanh_test_upward): Likewise.
50721         (erf_test): Likewise.
50722         (erfc_test): Likewise.
50723         (exp_test): Likewise.
50724         (exp_test_tonearest): Likewise.
50725         (exp_test_towardzero): Likewise.
50726         (exp_test_downward): Likewise.
50727         (exp_test_upward): Likewise.
50728         (exp10_test): Likewise.
50729         (exp2_test): Likewise.
50730         (expm1_test): Likewise.
50731         (fmod_test): Likewise.
50732         (gamma_test): Likewise.
50733         (hypot_test): Likewise.
50734         (j0_test): Likewise.
50735         (j1_test): Likewise.
50736         (jn_test): Likewise.
50737         (lgamma_test): Likewise.
50738         (log_test): Likewise.
50739         (log10_test): Likewise.
50740         (log1p_test): Likewise.
50741         (log2_test): Likewise.
50742         (logb_test_downward): Likewise.
50743         (pow_test): Likewise.
50744         (pow_test_tonearest): Likewise.
50745         (pow_test_towardzero): Likewise.
50746         (pow_test_downward): Likewise.
50747         (pow_test_upward): Likewise.
50748         (remainder_test): Likewise.
50749         (remquo_test): Likewise.
50750         (sin_test): Likewise.
50751         (sin_test_tonearest): Likewise.
50752         (sin_test_towardzero): Likewise.
50753         (sin_test_downward): Likewise.
50754         (sin_test_upward): Likewise.
50755         (sincos_test): Likewise.
50756         (sinh_test): Likewise.
50757         (sinh_test_tonearest): Likewise.
50758         (sinh_test_towardzero): Likewise.
50759         (sinh_test_downward): Likewise.
50760         (sinh_test_upward): Likewise.
50761         (sqrt_test): Likewise.
50762         (tan_test): Likewise.
50763         (tan_test_tonearest): Likewise.
50764         (tan_test_towardzero): Likewise.
50765         (tan_test_downward): Likewise.
50766         (tan_test_upward): Likewise.
50767         (tanh_test): Likewise.
50768         (tgamma_test): Likewise.
50769         (y0_test): Likewise.
50770         (y1_test): Likewise.
50771         (yn_test): Likewise.
50773         * math/gen-libm-test.pl (adjust_arg): Remove function.
50774         (special_function): Remove argument $in_func.  Only handle
50775         generating output for tables of tests, not inside functions.
50776         (parse_args): Likewise.
50777         (generate_testfile): Remove variable $in_func.  Update call to
50778         parse_args.
50779         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50780         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50781         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50782         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50783         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50784         (MAX_VALUE_INIT): Rename macro to max_value.
50785         (MIN_VALUE_INIT): Rename macro to min_value.
50786         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50787         (plus_zero): Remove variable.
50788         (minus_zero): Likewise.
50789         (plus_infty): Likewise.
50790         (minus_infty): Likewise.
50791         (qnan_value): Likewise.
50792         (max_value): Likewise.
50793         (min_value): Likewise.
50794         (min_subnorm_value): Likewise.
50796 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50798         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50799         uint64_t or uint32_t usage.
50800         * crypt/sha256-block.c: Likewise.
50801         * crypt/sha256-crypt.c: Likewise.
50802         * crypt/sha256.c: Likewise.
50803         * crypt/sha512-block.c: Likewise.
50804         * crypt/sha512-crypt.c: Likewise.
50805         * crypt/sha512.c: Likewise.
50806         * debug/backtrace-tst.c: Likewise.
50807         * debug/pcprofiledump.c: Likewise.
50808         * elf/cache.c: Likewise.
50809         * elf/dl-cache.c: Likewise.
50810         * elf/dl-misc.c: Likewise.
50811         * elf/dl-profile.c: Likewise.
50812         * elf/dl-support.c: Likewise.
50813         * elf/ldconfig.c: Likewise.
50814         * elf/sprof.c: Likewise.
50815         * iconv/dummy-repertoire.c: Likewise.
50816         * iconv/iconv_charmap.c: Likewise.
50817         * iconv/skeleton.c: Likewise.
50818         * iconvdata/8bit-generic.c: Likewise.
50819         * iconvdata/cp737.h: Likewise.
50820         * iconvdata/cp775.h: Likewise.
50821         * iconvdata/ibm1008.h: Likewise.
50822         * iconvdata/ibm1025.h: Likewise.
50823         * iconvdata/ibm1046.h: Likewise.
50824         * iconvdata/ibm1097.h: Likewise.
50825         * iconvdata/ibm1112.h: Likewise.
50826         * iconvdata/ibm1122.h: Likewise.
50827         * iconvdata/ibm1123.h: Likewise.
50828         * iconvdata/ibm1124.h: Likewise.
50829         * iconvdata/ibm1129.h: Likewise.
50830         * iconvdata/ibm1130.h: Likewise.
50831         * iconvdata/ibm1132.h: Likewise.
50832         * iconvdata/ibm1133.h: Likewise.
50833         * iconvdata/ibm1137.h: Likewise.
50834         * iconvdata/ibm1140.h: Likewise.
50835         * iconvdata/ibm1141.h: Likewise.
50836         * iconvdata/ibm1142.h: Likewise.
50837         * iconvdata/ibm1143.h: Likewise.
50838         * iconvdata/ibm1144.h: Likewise.
50839         * iconvdata/ibm1145.h: Likewise.
50840         * iconvdata/ibm1146.h: Likewise.
50841         * iconvdata/ibm1147.h: Likewise.
50842         * iconvdata/ibm1148.h: Likewise.
50843         * iconvdata/ibm1149.h: Likewise.
50844         * iconvdata/ibm1153.h: Likewise.
50845         * iconvdata/ibm1154.h: Likewise.
50846         * iconvdata/ibm1155.h: Likewise.
50847         * iconvdata/ibm1156.h: Likewise.
50848         * iconvdata/ibm1157.h: Likewise.
50849         * iconvdata/ibm1158.h: Likewise.
50850         * iconvdata/ibm1160.h: Likewise.
50851         * iconvdata/ibm1161.h: Likewise.
50852         * iconvdata/ibm1162.h: Likewise.
50853         * iconvdata/ibm1163.h: Likewise.
50854         * iconvdata/ibm1164.h: Likewise.
50855         * iconvdata/ibm1166.h: Likewise.
50856         * iconvdata/ibm1167.h: Likewise.
50857         * iconvdata/ibm12712.h: Likewise.
50858         * iconvdata/ibm1390.h: Likewise.
50859         * iconvdata/ibm1399.h: Likewise.
50860         * iconvdata/ibm16804.h: Likewise.
50861         * iconvdata/ibm4517.h: Likewise.
50862         * iconvdata/ibm4899.h: Likewise.
50863         * iconvdata/ibm4909.h: Likewise.
50864         * iconvdata/ibm4971.h: Likewise.
50865         * iconvdata/ibm5347.h: Likewise.
50866         * iconvdata/ibm803.h: Likewise.
50867         * iconvdata/ibm856.h: Likewise.
50868         * iconvdata/ibm901.h: Likewise.
50869         * iconvdata/ibm902.h: Likewise.
50870         * iconvdata/ibm9030.h: Likewise.
50871         * iconvdata/ibm9066.h: Likewise.
50872         * iconvdata/ibm921.h: Likewise.
50873         * iconvdata/ibm922.h: Likewise.
50874         * iconvdata/ibm9448.h: Likewise.
50875         * iconvdata/isiri-3342.h: Likewise.
50876         * iconvdata/jis0201.h: Likewise.
50877         * include/link.h: Likewise.
50878         * include/netdb.h: Likewise.
50879         * inet/check_native.c: Likewise.
50880         * inet/check_pf.c: Likewise.
50881         * inet/getipv4sourcefilter.c: Likewise.
50882         * inet/getnameinfo.c: Likewise.
50883         * inet/getsourcefilter.c: Likewise.
50884         * inet/htonl.c: Likewise.
50885         * inet/setipv4sourcefilter.c: Likewise.
50886         * inet/setsourcefilter.c: Likewise.
50887         * inet/test-inet6_opt.c: Likewise.
50888         * inet/tst-network.c: Likewise.
50889         * locale/C-collate.c: Likewise.
50890         * locale/C-ctype.c: Likewise.
50891         * locale/C-time.c: Likewise.
50892         * locale/C-translit.h: Likewise.
50893         * locale/loadarchive.c: Likewise.
50894         * locale/programs/3level.h: Likewise.
50895         * locale/programs/charmap.c: Likewise.
50896         * locale/programs/charmap.h: Likewise.
50897         * locale/programs/ld-address.c: Likewise.
50898         * locale/programs/ld-collate.c: Likewise.
50899         * locale/programs/ld-ctype.c: Likewise.
50900         * locale/programs/ld-identification.c: Likewise.
50901         * locale/programs/ld-measurement.c: Likewise.
50902         * locale/programs/ld-messages.c: Likewise.
50903         * locale/programs/ld-monetary.c: Likewise.
50904         * locale/programs/ld-name.c: Likewise.
50905         * locale/programs/ld-numeric.c: Likewise.
50906         * locale/programs/ld-paper.c: Likewise.
50907         * locale/programs/ld-telephone.c: Likewise.
50908         * locale/programs/ld-time.c: Likewise.
50909         * locale/programs/linereader.c: Likewise.
50910         * locale/programs/locale.c: Likewise.
50911         * locale/programs/locarchive.c: Likewise.
50912         * locale/programs/locfile.h: Likewise.
50913         * locale/programs/repertoire.c: Likewise.
50914         * locale/programs/simple-hash.c: Likewise.
50915         * locale/programs/simple-hash.h: Likewise.
50916         * malloc/memusage.c: Likewise.
50917         * malloc/memusagestat.c: Likewise.
50918         * nis/nis_defaults.c: Likewise.
50919         * nis/nis_hash.c: Likewise.
50920         * nis/nis_print.c: Likewise.
50921         * nis/nis_xdr.c: Likewise.
50922         * nscd/connections.c: Likewise.
50923         * nscd/hstcache.c: Likewise.
50924         * nscd/nscd_gethst_r.c: Likewise.
50925         * nscd/nscd_getserv_r.c: Likewise.
50926         * nscd/nscd_helper.c: Likewise.
50927         * nscd/servicescache.c: Likewise.
50928         * nss/makedb.c: Likewise.
50929         * nss/nss_db/db-XXX.c: Likewise.
50930         * nss/nss_db/db-initgroups.c: Likewise.
50931         * nss/nss_db/db-netgrp.c: Likewise.
50932         * nss/nss_files/files-network.c: Likewise.
50933         * nss/nss_files/files-parse.c: Likewise.
50934         * posix/bug-regex5.c: Likewise.
50935         * posix/fnmatch_loop.c: Likewise.
50936         * posix/regcomp.c: Likewise.
50937         * posix/regexec.c: Likewise.
50938         * posix/tst-rfc3484-2.c: Likewise.
50939         * posix/tst-rfc3484-3.c: Likewise.
50940         * posix/tst-rfc3484.c: Likewise.
50941         * resolv/nss_dns/dns-canon.c: Likewise.
50942         * resolv/nss_dns/dns-network.c: Likewise.
50943         * resolv/res_init.c: Likewise.
50944         * resolv/res_mkquery.c: Likewise.
50945         * resolv/tst-aton.c: Likewise.
50946         * stdlib/cxa_atexit.c: Likewise.
50947         * stdlib/cxa_finalize.c: Likewise.
50948         * stdlib/gen-fpioconst.c: Likewise.
50949         * stdlib/strtol_l.c: Likewise.
50950         * string/tst-endian.c: Likewise.
50951         * sunrpc/auth_des.c: Likewise.
50952         * sunrpc/clnt_udp.c: Likewise.
50953         * sunrpc/rtime.c: Likewise.
50954         * sunrpc/svcauth_des.c: Likewise.
50955         * sunrpc/xdr.c: Likewise.
50956         * sunrpc/xdr_intXX_t.c: Likewise.
50957         * sunrpc/xdr_rec.c: Likewise.
50958         * sysdeps/generic/ldconfig.h: Likewise.
50959         * sysdeps/generic/ldsodefs.h: Likewise.
50960         * sysdeps/generic/memusage.h: Likewise.
50961         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50962         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50963         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50964         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50965         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50966         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50967         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50968         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50969         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50970         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50971         * sysdeps/posix/getaddrinfo.c: Likewise.
50972         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50973         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50974         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50975         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50976         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50977         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50978         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50979         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50980         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50981         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50982         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50983         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50984         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50985         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50986         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50987         * sysdeps/x86_64/dl-tls.h: Likewise.
50988         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50989         * time/alt_digit.c: Likewise.
50990         * time/era.c: Likewise.
50991         * wcsmbs/tst-c16c32-1.c: Likewise.
50993 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50995         * math/libm-test.inc (struct test_sincos_data): New type.
50996         (RUN_TEST_LOOP_sincos): New macro.
50997         (sincos_test_data): New variable.
50998         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51000 2013-05-16  Richard Henderson  <rth@redhat.com>
51002         * math/atest-exp2.c (LIMB64): New macro.
51003         (CONSTSZ): New macro.
51004         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51005         (hexdig): Move ...
51006         (print_mpn_fp): ... to function scope.
51007         (read_mpn_hex): Remove.
51008         (get_log2): Remove.
51009         (exp2_mpn): Use mp_log2.
51010         (main): Use mp_exp1.
51012 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51014         * math/libm-test.inc: Remove comment about not testing "inexact"
51015         exceptions.
51016         (INEXACT_EXCEPTION): New macro.
51017         (NO_INEXACT_EXCEPTION): Likewise.
51018         (INVALID_EXCEPTION_OK): Update value.
51019         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51020         (OVERFLOW_EXCEPTION_OK): Likewise.
51021         (UNDERFLOW_EXCEPTION_OK): Likewise.
51022         (IGNORE_ZERO_INF_SIGN): Likewise.
51023         (ERRNO_UNCHANGED): Likewise.
51024         (ERRNO_EDOM): Likewise.
51025         (ERRNO_ERANGE): Likewise.
51026         (test_exceptions): Handle testing "inexact" exceptions.
51027         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51028         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51029         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51030         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51031         INEXACT_EXCEPTION.
51032         (rint_towardzero_test_data): Likewise.
51033         (rint_downward_test_data): Likewise.
51034         (rint_upward_test_data): Likewise.
51036         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51037         with OVERFLOW_EXCEPTION.
51038         (exp10_test_data): Likewise.
51039         (exp2_test_data): Likewise.
51040         (expm1_test_data): Likewise.
51041         (lgamma_test_data): Likewise.
51042         (pow_test_data): Likewise.
51043         (tgamma_test_data): Likewise.
51044         (yn_test_data): Remove duplicate test of overflow.
51046         * math/libm-test.inc (struct test_cc_c_data): New type.
51047         (RUN_TEST_LOOP_cc_c): New macro.
51048         (cpow_test_data): New variable.
51049         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51051         * math/libm-test.inc (struct test_f_L_data): New type.
51052         (RUN_TEST_LOOP_f_L): New macro.
51053         (llrint_test_data): New variable.
51054         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51055         (llrint_tonearest_test_data): New variable.
51056         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51057         (llrint_towardzero_test_data): New variable.
51058         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51059         (llrint_downward_test_data): New variable.
51060         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51061         (llrint_upward_test_data): New variable.
51062         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51063         (llround_test_data): New variable.
51064         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51066 2013-05-13  Peter Collingbourne  <pcc@google.com>
51068         * math/atest-exp2.c (get_log2): Remove const attribute.
51070 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51072         * math/libm-test.inc (struct test_f_l_data): New type.
51073         (RUN_TEST_LOOP_f_l): New macro.
51074         (lrint_test_data): New variable.
51075         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51076         (lrint_tonearest_test_data): New variable.
51077         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51078         (lrint_towardzero_test_data): New variable.
51079         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51080         (lrint_downward_test_data): New variable.
51081         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51082         (lrint_upward_test_data): New variable.
51083         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51084         (lround_test_data): New variable.
51085         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51087 2013-05-15  Peter Collingbourne  <pcc@google.com>
51089         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51090         (EXTRACT_WORDS64) Use where appropriate.
51091         (INSERT_WORDS64) Likewise.
51093         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51094         constraints with x constraints.
51095         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51097         * malloc/obstack.c (_obstack_compat): Add initializer.
51099 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51101         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51102         si_trapno and add si_addr_lsb to _sifields.sigfault.
51103         (si_trapno): Remove macro.
51104         (si_addr_lsb): Define new macro.
51105         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51107 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51109         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51110         instead of TEST_f_l.
51111         (llrint_test_tonearest): Likewise.
51112         (llrint_test_towardzero): Likewise.
51113         (llrint_test_downward): Likewise.
51114         (llrint_test_upward): Likewise.
51115         (llround_test): Likewise.
51117         * math/libm-test.inc (struct test_f_i_data): Add comment.
51118         (RUN_TEST_LOOP_f_b): New macro.
51119         (RUN_TEST_LOOP_f_b_tg): Likewise.
51120         (finite_test_data): New variable.
51121         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51122         (isfinite_test_data): New variable.
51123         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51124         (isinf_test_data): New variable.
51125         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51126         (isnan_test_data): New variable.
51127         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51128         (isnormal_test_data): New variable.
51129         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51130         (issignaling_test_data): New variable.
51131         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51132         (signbit_test_data): New variable.
51133         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51135         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51136         with INVALID_EXCEPTION.
51137         (acosh_test_data): Likewise.
51138         (asin_test_data): Likewise.
51139         (atanh_test_data): Likewise.
51140         (fmod_test_data): Likewise.
51141         (log_test_data): Likewise.
51142         (log10_test_data): Likewise.
51143         (log2_test_data): Likewise.
51144         (pow_test_data): Likewise.
51145         (sqrt_test_data): Likewise.
51146         (y0_test_data): Likewise.
51147         (y1_test_data): Likewise.
51148         (yn_test_data): Likewise.
51150         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51151         function contents.
51153         * math/libm-test.inc (struct test_ff_i_data): New type.
51154         (RUN_TEST_LOOP_ff_i_tg): New macro.
51155         (isgreater_test_data): New variable.
51156         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51157         (isgreaterequal_test_data): New variable.
51158         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51159         (isless_test_data): New variable.
51160         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51161         (islessequal_test_data): New variable.
51162         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51163         (islessgreater_test_data): New variable.
51164         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51165         (isunordered_test_data): New variable.
51166         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51168 2013-05-14  David S. Miller  <davem@davemloft.net>
51170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51172 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51174         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51176         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51177         extra_test to int.
51178         (struct test_f_i_data): Change type of max_ulp to int.
51180         * math/libm-test.inc (test_ffI_f1_data): New type.
51181         (RUN_TEST_LOOP_ffI_f1): New macro.
51182         (remquo_test_data): New variable.
51183         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51185         * setjmp/tst-setjmp-fp.c: New file.
51186         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51187         (link-libm): New variable.
51188         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51190         * math/libm-test.inc (struct test_f_i_data): New type.
51191         (RUN_TEST_LOOP_f_i): New macro.
51192         (RUN_TEST_LOOP_f_i_tg): Likewise.
51193         (fpclassify_test_data): New variable.
51194         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51195         (ilogb_test_data): New variable.
51196         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51198         * math/libm-test.inc (scalbln_test): Correct function name in END
51199         call.
51201         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51202         (RUN_TEST_LOOP_fI_f1): New macro.
51203         (frexp_test_data): New variable.
51204         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51206         * math/libm-test.inc (struct test_fF_f1_data): New type.
51207         (RUN_TEST_LOOP_fF_f1): New macro.
51208         (modf_test_data): New variable.
51209         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51211         * math/libm-test.inc (struct test_f_f1_data): New type.
51212         (RUN_TEST_LOOP_f_f1): New macro.
51213         (gamma_test_data): New variable.
51214         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51215         (lgamma_test_data): New variable.
51216         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51218 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51220         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51221         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51222         (main): Comment "tls" pseudo-hwcap.
51224 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51226         * math/libm-test.inc (struct test_fl_f_data): New type.
51227         (RUN_TEST_LOOP_fl_f): New variable.
51228         (scalbln_test_data): New variable.
51229         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51231         * math/libm-test.inc (struct test_fi_f_data): New type.
51232         (RUN_TEST_LOOP_fi_f): New macro.
51233         (ldexp_test_data): New variable.
51234         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51235         (scalbn_test_data): New variable.
51236         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51238         * math/libm-test.inc (struct test_c_f_data): New type.
51239         (RUN_TEST_LOOP_c_f): New macro.
51240         (cabs_test_data): New variable.
51241         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51242         (carg_test_data): New variable.
51243         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51244         (cimag_test_data): New variable.
51245         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51246         (creal_test_data): New variable.
51247         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51249         * math/libm-test.inc (struct test_if_f_data): New type.
51250         (RUN_TEST_LOOP_if_f): New macro.
51251         (jn_test_data): New variable.
51252         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51253         (yn_test_data): New variable.
51254         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51256         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51258 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51260         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51261         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51263 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51265         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51266         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51267         (bench-deps): Add bench-timing.h.
51268         * benchtests-bench-skeleton.c: Include bench-timing.h.
51269         (main): Use TIMING_* macros instead of clock_gettime.
51270         * benchtests/bench-timing.h: New file.
51272         [BZ #14582]
51273         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51274         Renamed from _LIB_VERSION.
51275         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51277 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51279         * math/libm-test.inc (struct test_fff_f_data): New type.
51280         (RUN_TEST_LOOP_fff_f): New macro.
51281         (fma_test_data): New variable.
51282         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51283         (fma_towardzero_test_data): New variable.
51284         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51285         (fma_downward_test_data): New variable.
51286         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51287         (fma_upward_test_data): New variable.
51288         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51290         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51291         (struct test_c_c_data): New type.
51292         (RUN_TEST_LOOP_c_c): New macro.
51293         (cacos_test_data): New variable.
51294         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51295         (cacosh_test_data): New variable.
51296         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51297         (casin_test_data): New variable.
51298         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51299         (casinh_test_data): New variable.
51300         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51301         (catan_test_data): New variable.
51302         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51303         (catanh_test_data): New variable.
51304         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51305         (ccos_test_data): New variable.
51306         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51307         (ccosh_test_data): New variable.
51308         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51309         (cexp_test_data): New variable.
51310         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51311         (clog_test_data): New variable.
51312         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51313         (clog10_test_data): New variable.
51314         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51315         (conj_test_data): New variable.
51316         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51317         (cproj_test_data): New variable.
51318         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51319         (csin_test_data): New variable.
51320         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51321         (csinh_test_data): New variable.
51322         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51323         (csqrt_test_data): New variable.
51324         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51325         (ctan_test_data): New variable.
51326         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51327         (ctan_tonearest_test_data): New variable.
51328         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51329         (ctan_towardzero_test_data): New variable.
51330         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51331         (ctan_downward_test_data): New variable.
51332         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51333         (ctan_upward_test_data): New variable.
51334         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51335         (ctanh_test_data): New variable.
51336         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51337         (ctanh_tonearest_test_data): New variable.
51338         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51339         (ctanh_towardzero_test_data): New variable.
51340         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51341         (ctanh_downward_test_data): New variable.
51342         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51343         (ctanh_upward_test_data): New variable.
51344         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51345         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51346         of BUILD_COMPLEX.
51348         * math/libm-test.inc (struct test_ff_f_data): New type.
51349         (struct test_ff_f_data_nexttoward): Likewise.
51350         (RUN_TEST_LOOP_2_f): New macro.
51351         (RUN_TEST_LOOP_ff_f): Likewise.
51352         (atan2_test_data): New variable.
51353         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51354         (copysign_test_data): New variable.
51355         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51356         (fdim_test_data): New variable.
51357         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51358         (fmax_test_data): New variable.
51359         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51360         (fmin_test_data): New variable.
51361         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51362         (fmod_test_data): New variable.
51363         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51364         (hypot_test_data): New variable.
51365         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51366         (nextafter_test_data): New variable.
51367         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51368         (nexttoward_test_data): New variable.
51369         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51370         (pow_test_data): New variable.
51371         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51372         (pow_tonearest_test_data): New variable.
51373         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51374         (pow_towardzero_test_data): New variable.
51375         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51376         (pow_downward_test_data): New variable.
51377         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51378         (pow_upward_test_data): New variable.
51379         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51380         (remainder_test_data): New variable.
51381         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51382         (scalb_test_data): New variable.
51383         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51384         * sysdeps/i386/fpu/libm-test-ulps: Update.
51386 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51388         * math/libm-test.inc (fma_test): Use max_value instead of local
51389         variable fltmax.
51390         (nextafter_test): Likewise.
51392         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51393         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51394         (acos_downward_test_data): New variable.
51395         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51396         (acos_upward_test_data): New variable.
51397         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51398         (acosh_test_data): New variable.
51399         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51400         (asin_test_data): New variable.
51401         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51402         (asin_tonearest_test_data): New variable.
51403         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51404         (asin_towardzero_test_data): New variable.
51405         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51406         (asin_downward_test_data): New variable.
51407         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51408         (asin_upward_test_data): New variable.
51409         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51410         (asinh_test_data): New variable.
51411         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51412         (atan_test_data): New variable.
51413         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51414         (atanh_test_data): New variable.
51415         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51416         (cbrt_test_data): New variable.
51417         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51418         (ceil_test_data): New variable.
51419         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51420         (cos_test_data): New variable.
51421         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51422         (cos_tonearest_test_data): New variable.
51423         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51424         (cos_towardzero_test_data): New variable.
51425         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51426         (cos_downward_test_data): New variable.
51427         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51428         (cos_upward_test_data): New variable.
51429         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51430         (cosh_test_data): New variable.
51431         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51432         (cosh_tonearest_test_data): New variable.
51433         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51434         (cosh_towardzero_test_data): New variable.
51435         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51436         (cosh_downward_test_data): New variable.
51437         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51438         (cosh_upward_test_data): New variable.
51439         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51440         (erf_test_data): New variable.
51441         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51442         (erfc_test_data): New variable.
51443         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51444         (exp_test_data): New variable.
51445         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51446         (exp_tonearest_test_data): New variable.
51447         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51448         (exp_towardzero_test_data): New variable.
51449         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51450         (exp_downward_test_data): New variable.
51451         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51452         (exp_upward_test_data): New variable.
51453         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51454         (exp10_test_data): New variable.
51455         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51456         (exp2_test_data): New variable.
51457         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51458         (expm1_test_data): New variable.
51459         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51460         (fabs_test_data): New variable.
51461         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51462         (floor_test_data): New variable.
51463         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51464         (j0_test_data): New variable.
51465         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51466         (j1_test_data): New variable.
51467         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51468         (log_test_data): New variable.
51469         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51470         (log10_test_data): New variable.
51471         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51472         (log1p_test_data): New variable.
51473         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51474         (log2_test_data): New variable.
51475         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51476         (logb_test_data): New variable.
51477         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51478         (logb_downward_test_data): New variable.
51479         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51480         (nearbyint_test_data): New variable.
51481         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51482         (rint_test_data): New variable.
51483         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51484         (rint_tonearest_test_data): New variable.
51485         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51486         (rint_towardzero_test_data): New variable.
51487         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51488         (rint_downward_test_data): New variable.
51489         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51490         (rint_upward_test_data): New variable.
51491         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51492         (round_test_data): New variable.
51493         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51494         (sin_test_data): New variable.
51495         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51496         (sin_tonearest_test_data): New variable.
51497         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51498         (sin_towardzero_test_data): New variable.
51499         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51500         (sin_downward_test_data): New variable.
51501         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51502         (sin_upward_test_data): New variable.
51503         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51504         (sinh_test_data): New variable.
51505         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51506         (sinh_tonearest_test_data): New variable.
51507         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51508         (sinh_towardzero_test_data): New variable.
51509         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51510         (sinh_downward_test_data): New variable.
51511         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51512         (sinh_upward_test_data): New variable.
51513         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51514         (sqrt_test_data): New variable.
51515         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51516         (tan_test_data): New variable.
51517         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51518         (tan_tonearest_test_data): New variable.
51519         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51520         (tan_towardzero_test_data): New variable.
51521         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51522         (tan_downward_test_data): New variable.
51523         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51524         (tan_upward_test_data): New variable.
51525         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51526         (tanh_test_data): New variable.
51527         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51528         (tgamma_test_data): New variable.
51529         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51530         (trunc_test_data): New variable.
51531         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51532         (y0_test_data): New variable.
51533         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51534         (y1_test_data): New variable.
51535         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51536         (significand_test_data): New variable.
51537         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51539 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51541         [BZ #12387]
51542         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51544 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51546         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51548 2013-05-10  Andreas Jaeger  <aj@suse.de>
51550         [BZ #15448]
51551         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51552         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51554 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51556         * math/gen-libm-test.pl (adjust_arg): New function.
51557         (special_functions): Handle generating output in both functions
51558         and arrays.
51559         (parse_args): Likewise.
51560         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51561         $in_func argument to parse_args.
51562         * math/libm-test.inc (struct test_f_f_data): New type.
51563         (IF_ROUND_INIT_): New macro.
51564         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51565         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51566         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51567         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51568         (ROUND_RESTORE_): Likewise.
51569         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51570         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51571         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51572         (ROUND_RESTORE_FE_UPWARD): Likewise.
51573         (RUN_TEST_LOOP_f_f): New macro.
51574         (acos_test_data): New variable.
51575         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51576         (acos_tonearest_test_data): New variable.
51577         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51579 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51581         * benchtests/bench-skeleton.c (startup): Fix coding style.
51583 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51585         [BZ #6809]
51586         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51587         negative infinity argument.
51588         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51589         negative infinity argument.
51590         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51591         negative infinity argument.
51592         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51593         domain errors.
51595 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51597         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51598         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51599         * iconv/iconv_prog.c (main): Likewise.
51600         * locale/programs/charmap-dir.c (charmap_readdir)
51601         (fopen_uncompressed): Likewise.
51602         * locale/programs/locfile.c (siblings_uncached)
51603         (write_locale_data): Use lstat64 instead of lstat.
51604         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51605         stat.
51607 2013-05-10  Andreas Jaeger  <aj@suse.de>
51609         [BZ #15395]
51610         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51611         localization.
51612         Include <locale.h>.
51614 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51616         * elf/dl-close.c (_dl_close_worker): Add comments.
51618 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51620         [BZ #15359]
51621         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51622         high part of pi/2.
51623         (__ieee754_rem_pio2l): Update comments.
51625         [BZ #15429]
51626         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51627         high part of pi/2.
51628         (__ieee754_rem_pio2l): Update comments.
51630         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51631         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51633         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51634         M_PI_4l.
51636         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51637         (M_PI_34_LOG10El): Likewise.
51638         (M_PI2_LOG10El): Likewise.
51639         (M_PI4_LOG10El): Likewise.
51640         (M_PI_LOG10El): Likewise.
51642 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51646 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51648         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51649         (MINUS_ZERO_INIT): Likewise.
51650         (PLUS_INFTY_INIT): Likewise.
51651         (MINUS_INFTY_INIT): Likewise.
51652         (QNAN_VALUE_INIT): Likewise.
51653         (MAX_VALUE_INIT): Likewise.
51654         (MIN_VALUE_INIT): Likewise.
51655         (MIN_SUBNORM_VALUE_INIT): Likewise.
51656         (plus_zero): Initialize with PLUS_ZERO_INIT.
51657         (minus_zero): Initialize with MINUS_ZERO_INIT.
51658         (plus_infty): Initialize with PLUS_INFTY_INIT.
51659         (minus_infty): Initialize with MINUS_INFTY_INIT.
51660         (qnan_value): Initialize with QNAN_VALUE_INIT.
51661         (max_value): Initialize with MAX_VALUE_INIT.
51662         (min_value): Initialize with MIN_VALUE_INIT.
51663         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51665         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51666         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51667         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51668         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51670         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51671         (RUN_TEST_2_f): Likewise.
51672         (RUN_TEST_ff_f): Likewise.
51673         (RUN_TEST_fi_f): Likewise.
51674         (RUN_TEST_fl_f): Likewise.
51675         (RUN_TEST_fff_f): Likewise.
51676         (RUN_TEST_c_f): Likewise.
51677         (RUN_TEST_f_f1): Likewise.
51678         (RUN_TEST_fF_f1): Likewise.
51679         (RUN_TEST_fI_f1): Likewise.
51680         (RUN_TEST_ffI_f1): Likewise.
51681         (RUN_TEST_c_c): Likewise.
51682         (RUN_TEST_cc_c): Likewise.
51683         (RUN_TEST_f_i): Likewise.
51684         (RUN_TEST_f_i_tg): Likewise.
51685         (RUN_TEST_ff_i_tg): Likewise.
51686         (RUN_TEST_f_b): Likewise.
51687         (RUN_TEST_f_b_tg): Likewise.
51688         (RUN_TEST_f_l): Likewise.
51689         (RUN_TEST_f_L): Likewise.
51690         (RUN_TEST_sincos): Likewise.
51691         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51692         whether to show exceptions.  Do not include ");\n" in return
51693         value.
51694         (special_functions): Output call to RUN_TEST_sincos instead of
51695         check_float calls.  Update calls to new_test.
51696         (parse_args): Output call to single RUN_TEST_* macro instead of
51697         check_* calls and other assignments.  Update calls to new_test.
51699         [BZ #2546]
51700         [BZ #2560]
51701         [BZ #5159]
51702         [BZ #15426]
51703         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51704         input to result for tgamma overflow.
51705         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51706         (gamma_coeff): New variable.
51707         (NCOEFF): New macro.
51708         (gamma_positive): New function.
51709         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51710         underflow here.  Use gamma_positive instead of exp (lgamma) for
51711         other arguments.
51712         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51713         (gamma_coeff): New variable.
51714         (NCOEFF): New macro.
51715         (gammaf_positive): New function.
51716         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51717         underflow here.  Use gamma_positive instead of exp (lgamma) for
51718         other arguments.
51719         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51720         (gamma_coeff): New variable.
51721         (NCOEFF): New macro.
51722         (gammal_positive): New function.
51723         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51724         underflow here.  Use gamma_positive instead of exp (lgamma) for
51725         other arguments.
51726         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51727         (gamma_coeff): New variable.
51728         (NCOEFF): New macro.
51729         (gammal_positive): New function.
51730         (__ieee754_gammal_r): Handle positive infinity, overflow and
51731         underflow here.  Handle NaN the same as positive infinity.  Remove
51732         check x < 0xffffffff for negative integers.  Use gamma_positive
51733         instead of exp (lgamma) for other arguments.
51734         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51735         (gamma_coeff): New variable.
51736         (NCOEFF): New macro.
51737         (gammal_positive): New function.
51738         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51739         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51740         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51741         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51742         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51743         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51744         * sysdeps/generic/math_private.h (__gamma_productf): New
51745         prototype.
51746         (__gamma_product): Likewise.
51747         (__gamma_productl): Likewise.
51748         * math/Makefile (libm-calls): Add gamma_product.
51749         * math/libm-test.inc (tgamma_test): Add more tests.
51750         * sysdeps/i386/fpu/libm-test-ulps: Update.
51751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51753 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51755         * benchtests/bench-skeleton.c (main): Preheat CPU.
51757 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51759         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51761 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51763         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51764         and _dl_skip_args_internal.
51766 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51768         * manual/message.texi (Message Translation): Talk about users.
51769         Message to key mapping impacts design.
51771 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51773         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51775         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51777         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51778         * sysdeps/wordsize-64/glob64.c: ... here.
51780         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51781         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51782         New macros.
51784         * debug/getlogin_r_chk.c: Moved to ...
51785         * login/getlogin_r_chk.c: ... here.
51786         * debug/Makefile (routines): Move getlogin_r_chk to ...
51787         * login/Makefile (routines): ... here.
51788         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51789         * login/Versions (libc: GLIBC_2.4): ... here.
51791         * io/poll.c (__poll): Renamed from poll.
51792         Add libc_hidden_def.
51793         (poll): Define as weak alias.
51795         * debug/ptsname_r_chk.c: Moved to ...
51796         * login/ptsname_r_chk.c: ... here.
51797         * debug/Makefile (routines): Move ptsname_r_chk to ...
51798         * login/Makefile (routines): ... here.
51799         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51800         * login/Versions (libc: GLIBC_2.4): ... here.
51802         * posix/getlogin.c: Moved to ...
51803         * login/getlogin.c: ... here.
51804         * posix/getlogin_r.c: Moved to ...
51805         * login/getlogin_r.c: ... here.
51806         * posix/getlogin_r.c: Moved to ...
51807         * login/getlogin_r.c: ... here.
51808         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51809         * login/Makefile (routines): ... here.
51810         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51811         * login/Versions (libc: GLIBC_2.0): ... here.
51813         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51814         (setrlimit): Define as weak alias.
51816         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51817         Call __ names for open, ftruncate, and close.
51818         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51819         (truncate): Define as weak alias.
51821 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51823         * math/gen-libm-test.pl (parse_args): Initialize x before each
51824         test of frexp, modf and remquo.
51826         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51827         test signgam value.
51829 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51831         [BZ #15418]
51832         [BZ #15419]
51833         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51834         internal tests.
51835         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51837 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51839         * elf/dl-writev.h: New file.
51840         * elf/dl-misc.c: Include it.
51841         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51842         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51844 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51846         * math/libm-test.inc (noXFails): Remove variable.
51847         (noXPasses): Likewise.
51848         (BUILD_COMPLEX_INT): Remove macro.
51849         (print_screen): Remove xfail argument.
51850         (print_screen_max_error): Likewise.
51851         (update_stats): Likewise.
51852         (print_max_error): Likewise.  Update calls to other affected
51853         functions.
51854         (print_complex_max_error): Likewise.
51855         (test_single_exception): Update calls to print_screen.
51856         (test_single_errno): Likewise.
51857         (check_float_internal): Remove xfail argument.  Update calls to
51858         other affected functions.
51859         (check_float): Likewise.
51860         (check_complex): Likewise.
51861         (check_int): Likewise.
51862         (check_long): Likewise.
51863         (check_bool): Likewise.
51864         (check_longlong): Likewise.
51865         (main): Don't print noXFails and noXPasses.
51866         * math/gen-libm-test.pl (top level): Don't mention expected
51867         failure handling in comment.
51868         (new_test): Don't handle expected failures.
51869         (parse_args): Don't mention expected failure handling in comment.
51870         (generate_testfile): Don't handle expected failures.
51871         (parse_ulps): Likewise.
51872         (print_ulps_file): Likewise.
51873         (get_failure): Remove function.
51874         (output_test): Don't handle expected failures.
51875         * make/README.libm-test: Don't mention expected failure handling.
51877         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51878         (minus_zero): Likewise.
51879         (plus_infty): Likewise.
51880         (minus_infty): Likewise.
51881         (qnan_value): Likewise.
51882         (max_value): Likewise.
51883         (min_value): Likewise.
51884         (min_subnorm_value): Likewise.
51885         (initialize): Do not initialize those variables dynamically.
51887 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51889         * io/open.c (__open_2): Moved to ...
51890         * io/open_2.c: ... this new file.
51891         * io/open64.c (__open64_2): Moved to ...
51892         * io/open64_2.c: ... this new file.
51893         * io/openat.c (__openat_2): Moved to ...
51894         * io/openat_2.c: ... this new file.
51895         * io/openat64.c (__openat64_2): Moved to ...
51896         * io/openat64_2.c: ... this new file.
51897         * io/Makefile (routines): Add them.
51898         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51899         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51900         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51901         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51902         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51903         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51904         (__openat64): Add hidden_ver.
51905         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51906         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51908         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51909         Separately conditionalize setting of GLRO(dl_sysinfo) so
51910         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51911         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51913 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51915         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51916         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51917         definition.
51918         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51919         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51920         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51921         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51922         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51924 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51926         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51927         test signgam value.
51929         * math/libm-test.inc (hypot_test): Do not use
51930         IGNORE_ZERO_INF_SIGN.
51932 2013-05-03  Andreas Jaeger  <aj@suse.de>
51934         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51935         Linux 3.9.
51936         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51937         (PF_MAX): Adjust for VSOCK change.
51939 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51943 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51945         [BZ #15264]
51946         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51947         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51948         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51950 2013-05-02  David S. Miller  <davem@davemloft.net>
51952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51954 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51956         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51958 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51960         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51962 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51964         [BZ #14952]
51965         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51966         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51967         Use __attribute__ ((__gnu_inline__)).
51968         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51969         Don't use __attribute__ ((__gnu_inline__)).
51971 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51973         [BZ #15423]
51974         * math/s_catan.c (__catan): Handle small real or imaginary part of
51975         input specially to avoid spurious underflow.
51976         * math/s_catanf.c (__catanf): Likewise.
51977         * math/s_catanh.c (__catanh): Likewise.
51978         * math/s_catanhf.c (__catanhf): Likewise.
51979         * math/s_catanhl.c (__catanhl): Likewise.
51980         * math/s_catanl.c (__catanl): Likewise.
51981         * math/libm-test.inc (catan_test): Add more tests.
51982         (catanh_test): Likewise.
51983         * sysdeps/i386/fpu/libm-test-ulps: Update.
51984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51986 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51990 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51992         [BZ #15416]
51993         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51994         accurately for denominator in atan2.
51995         * math/s_catanf.c (__catanf): Likewise.
51996         * math/s_catanh.c (__catanh): Likewise.
51997         * math/s_catanhf.c (__catanhf): Likewise.
51998         * math/s_catanhl.c (__catanhl): Likewise.
51999         * math/s_catanl.c (__catanl): Likewise.
52000         * math/libm-test.inc (catan_test): Add more tests.
52001         (catanh_test): Likewise.
52002         * sysdeps/i386/fpu/libm-test-ulps: Update.
52003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52005 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52007         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52009         * benchtests/Makefile (bench): Remove slow benchmarks.
52010         * benchtests/atan-inputs: Add slow benchmark inputs.
52011         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52012         (BENCH_FUNC): Accept variant offset.
52013         (VARIANT): Define.
52014         * benchtests/bench-skeleton.c (main): Run benchmark for each
52015         variant.
52016         * benchtests/cos-inputs: Add slow benchmark inputs.
52017         * benchtests/exp-inputs: Likewise.
52018         * benchtests/pow-inputs: Likewise.
52019         * benchtests/sin-inputs: Likewise.
52020         * benchtests/slowatan-inputs: Remove.
52021         * benchtests/slowatan.c: Remove.
52022         * benchtests/slowcos-inputs: Remove.
52023         * benchtests/slowcos.c: Remove.
52024         * benchtests/slowexp-inputs: Remove.
52025         * benchtests/slowexp.c: Remove.
52026         * benchtests/slowpow-inputs: Remove.
52027         * benchtests/slowpow.c: Remove.
52028         * benchtests/slowsin-inputs: Remove.
52029         * benchtests/slowsin.c: Remove.
52030         * benchtests/slowtan-inputs: Remove.
52031         * benchtests/slowtan.c: Remove.
52032         * benchtests/tan-inputs: Add slow benchmark inputs.
52033         * scripts/bench.pl: Parse comments and directives.
52035         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52036         in CPPFLAGS.
52037         ($(objpfx)bench-%.c): Remove *-ITER.
52038         * benchtests/bench-modf.c: Remove definition of ITER.
52039         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52040         (main): Loop for DURATION seconds instead of fixed number of
52041         iterations.
52042         * scripts/bench.pl: Don't expect iterations in parameters.
52044 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52046         * io/fchdir.c (__fchdir): Renamed from fchdir.
52047         (fchdir): Define as weak alias.
52049 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52051         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52052         (ERRNO_EDOM): Likewise.
52053         (ERRNO_ERANGE): Likewise.
52054         (noErrnoTests): New variable.
52055         (init_max_error): Set errno to 0.
52056         (test_single_errno): New function.
52057         (test_errno): Likewise.
52058         (check_float_internal): Call test_errno.  Set errno to 0.
52059         (check_complex): Refer to errno tests in comment.
52060         (check_int): Call test_errno.  Set errno to 0.
52061         (check_long): Likewise.
52062         (check_bool): Likewise.
52063         (check_longlong): Likewise.
52064         (cos_test): Use ERRNO_* flags for errno tests instead of
52065         check_int.
52066         (expm1_test): Likewise.
52067         (fmod_test): Likewise.
52068         (ilogb_test): Likewise.
52069         (lgamma_test): Likewise.
52070         (pow_test): Likewise.
52071         (remainder_test): Likewise.
52072         (sin_test): Likewise.
52073         (tan_test): Likewise.
52074         (yn_test): Likewise.
52075         (initialize): Set errno to 0.
52076         (main): Print number of errno tests.
52077         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52079 2013-04-29  Andreas Jaeger  <aj@suse.de>
52081         [BZ #15084]
52082         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52083         and RES_USEVC.
52085         [BZ #15085]
52086         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52087         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52088         unimplemented.
52090         [BZ #15380]
52091         * stdlib/random.c (__initstate): Return NULL if
52092         __initstate fails.
52094         [BZ #15086]
52095         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52096         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52097         RES_SNGLKUPREOP.
52099 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52103 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52105         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52106         of individual tests.
52107         (casin_test): Likewise.
52108         (casinh_test): Likewise.
52110 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52112         [BZ #15409]
52113         * math/s_catan.c (__catan): Handle arguments with large real or
52114         imaginary part separately without squaring.
52115         * math/s_catanf.c (__catanf): Likewise.
52116         * math/s_catanh.c (__catanh): Likewise.
52117         * math/s_catanhf.c (__catanhf): Likewise.
52118         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52119         and redefine.
52120         (__catanhl): Handle arguments with large real or imaginary part
52121         separately without squaring.
52122         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52123         and redefine.
52124         (__catanl): Handle arguments with large real or imaginary part
52125         separately without squaring.
52126         * math/libm-test.inc (catan_test): Add more tests.
52127         (catanh_test): Likewise.
52128         * sysdeps/i386/fpu/libm-test-ulps: Update.
52129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52131 2013-04-27  Andreas Jaeger  <aj@suse.de>
52133         [BZ #15007]
52134         * stdlib/stdlib.h: Update guards for qecvt.
52135         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52136         <stdlib.h>.
52138 2013-04-27  Allan McRae  <allan@archlinux.org>
52140         * sysdeps/i386/fpu/libm-test-ulps: Update.
52142 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52144         [BZ #15406]
52145         * math/s_catan.c: Include <float.h>.
52146         (__catan): Ensure underflow exception occurs for underflowed
52147         result.
52148         * math/s_catanf.c: Include <float.h>.
52149         (__catanf): Ensure underflow exception occurs for underflowed
52150         result.
52151         * math/s_catanh.c: Include <float.h>.
52152         (__catanh): Ensure underflow exception occurs for underflowed
52153         result.
52154         * math/s_catanhf.c: Include <float.h>.
52155         (__catanhf): Ensure underflow exception occurs for underflowed
52156         result.
52157         * math/s_catanhl.c: Include <float.h>.
52158         (__catanhl): Ensure underflow exception occurs for underflowed
52159         result.
52160         * math/s_catanl.c: Include <float.h>.
52161         (__catanl): Ensure underflow exception occurs for underflowed
52162         result.
52163         * math/libm-test.inc (catan_test): Add more tests.
52164         (catanh_test): Likewise.
52166         [BZ #15405]
52167         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52168         underflowed result.
52169         * math/s_ccoshf.c (__ccoshf): Likewise.
52170         * math/s_ccoshl.c (__ccoshl): Likewise.
52171         * math/s_csin.c (__csin): Likewise.
52172         * math/s_csinf.c (__csinf): Likewise.
52173         * math/s_csinh.c (__csinh): Likewise.
52174         * math/s_csinhf.c (__csinhf): Likewise.
52175         * math/s_csinhl.c (__csinhl): Likewise.
52176         * math/s_csinl.c (__csinl): Likewise.
52177         * math/libm-test.inc (ccos_test): Add more tests.
52178         (ccosh_test): Likewise.
52179         (csin_test): Likewise.
52180         (csinh_test): Likewise.
52182 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52184         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52185         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52186         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52187         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52188         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52189         powerpc/power5+/fpu folders.
52190         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52193 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52195         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52197 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52199         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52200         additions to variable.
52201         [$(config-machine) = x86_64] (modules-names): Likewise.
52202         ($(objpfx)tst-audit3): Remove dependency.
52203         ($(objpfx)tst-audit3.out): Likewise.
52204         ($(objpfx)tst-audit4): Likewise.
52205         ($(objpfx)tst-audit4.out): Likewise.
52206         ($(objpfx)tst-audit5): Likewise.
52207         ($(objpfx)tst-audit5.out): Likewise.
52208         ($(objpfx)tst-audit6): Likewise.
52209         ($(objpfx)tst-audit6.out): Likewise.
52210         ($(objpfx)tst-audit7): Likewise.
52211         ($(objpfx)tst-audit7.out): Likewise.
52212         (tst-audit3-ENV): Remove variable.
52213         (tst-audit4-ENV): Likewise.
52214         (tst-audit5-ENV): Likewise.
52215         (tst-audit6-ENV): Likewise.
52216         (tst-audit7-ENV): Likewise.
52217         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52218         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52219         addition to variable.
52220         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52221         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52222         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52223         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52224         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52225         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52226         tst-audit3, tst-audit4 and tst-audit5.
52227         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52228         tst-audit6 and tst-audit7.
52229         [$(subdir) = elf] (modules-names): Add audit modules for those
52230         tests.
52231         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52232         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52233         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52234         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52235         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52236         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52237         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52238         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52239         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52240         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52241         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52242         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52243         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52244         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52245         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52246         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52247         Likewise.
52248         [$(subdir) = elf && $(config-cflags-avx) = yes]
52249         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52250         [$(subdir) = elf && $(config-cflags-avx) = yes]
52251         (CFLAGS-tst-auditmod4a.c): Likewise.
52252         [$(subdir) = elf && $(config-cflags-avx) = yes]
52253         (CFLAGS-tst-auditmod4b.c): Likewise.
52254         [$(subdir) = elf && $(config-cflags-avx) = yes]
52255         (CFLAGS-tst-auditmod6b.c): Likewise.
52256         [$(subdir) = elf && $(config-cflags-avx) = yes]
52257         (CFLAGS-tst-auditmod6c.c): Likewise.
52258         [$(subdir) = elf && $(config-cflags-avx) = yes]
52259         (CFLAGS-tst-auditmod7b.c): Likewise.
52260         * elf/tst-audit3.c: Move to ...
52261         * sysdeps/x86_64/tst-audit3.c: ... here.
52262         * elf/tst-audit4.c: Move to ...
52263         * sysdeps/x86_64/tst-audit4.c: ... here.
52264         * elf/tst-audit5.c: Move to ...
52265         * sysdeps/x86_64/tst-audit5.c: ... here.
52266         * elf/tst-audit6.c: Move to ...
52267         * sysdeps/x86_64/tst-audit6.c: ... here.
52268         * elf/tst-audit7.c: Move to ...
52269         * sysdeps/x86_64/tst-audit7.c: ... here.
52270         * elf/tst-auditmod3a.c: Move to ...
52271         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52272         * elf/tst-auditmod3b.c: Move to ...
52273         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52274         * elf/tst-auditmod4a.c: Move to ...
52275         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52276         * elf/tst-auditmod4b.c: Move to ...
52277         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52278         * elf/tst-auditmod5a.c: Move to ...
52279         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52280         * elf/tst-auditmod5b.c: Move to ...
52281         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52282         * elf/tst-auditmod6a.c: Move to ...
52283         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52284         * elf/tst-auditmod6b.c: Move to ...
52285         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52286         * elf/tst-auditmod6c.c: Move to ...
52287         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52288         * elf/tst-auditmod7a.c: Move to ...
52289         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52290         * elf/tst-auditmod7b.c: Move to ...
52291         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52293 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52295         [BZ #15366]
52296         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52297         define unconditionally.
52298         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52299         define unconditionally.
52300         (INT8_C, INT16_C, etc.): Likewise.
52302 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52304         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52305         __ehdr_start with hidden visibility.
52307         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52309 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52311         * math/libm-test.inc (cos_test): Use accurate hex constants.
52312         (sincost_test): Likewise.
52314 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52316         * math/libm-test.inc (catan_test): Add more tests.
52317         (catanh_test): Likewise.
52319         * math/s_catanf.c (__catanf): Use suffixed floating-point
52320         constants.
52321         * math/s_catanhf.c (__catanhf): Likewise.
52322         * math/s_catanhl.c (__catanhl): Likewise.
52323         * math/s_catanl.c (__catanl): Likewise.
52325         [BZ #15394]
52326         * math/s_catan.c (__catan): Calculate imaginary part of result
52327         with log1p not log unless computing log of number close to 0.
52328         * math/s_catanf.c (__catanf): Likewise.
52329         * math/s_catanl.c (__catanl): Likewise.
52330         * math/s_catanh.c (__catanh): Calculate real part of result with
52331         log1p not log unless computing log of number close to 0.
52332         * math/s_catanhf.c (__catanhf): Likewise.
52333         * math/s_catanhl.c (__catanhl): Likewise.
52334         * math/libm-test.inc (catan_test): Add more tests.
52335         (catanh_test): Likewise.
52336         * sysdeps/i386/fpu/libm-test-ulps: Update.
52337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52339 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52341         * benchtests/Makefile: Mention files in which fast and slow
52342         paths of math functions are implemented.
52344 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52346         * sysdeps/posix/timespec_get.c: New file.
52348 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52350         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52351         POWER.
52352         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52353         for POWER.
52354         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52355         powerpc/power5/fpu folders.
52356         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52357         * benchtests/Makefile: Add modf testcase.
52358         * benchtests/bench-modf.c: New file: Benchmark test for mo
52360 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52362         [BZ #14888]
52363         * time/Makefile (tests): Add tst-strptime-whitespace.
52364         * time/strptime_l.c (get_number): Use ISSPACE.
52365         (__strptime_internal): Likewise.
52366         * time/tst-strptime-whitespace.c: New test case.
52368 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52370         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52371         member.
52372         (_nss_files_init): Set it here.
52374 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52376         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52377         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52378         unsigned.
52380 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52382         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52384 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52386         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52387         size just once.
52389 2013-04-21  David S. Miller  <davem@davemloft.net>
52391         * po/ru.po: Update Russion translation from translation project.
52393 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52395         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52396         and setfsgid.
52398 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52400         * configure.in: Remove i386 configure warning. Remove i386 case.
52401         * configure: Regenerate.
52402         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52403         Add example to error message.
52404         * sysdeps/i386/configure: Regenerate.
52406 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52408         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52409         slowtan.
52410         * benchtests/cos-inputs: New file.
52411         * benchtests/slowcos-inputs: New file.
52412         * benchtests/slowcos.c: New file.
52413         * benchtests/slowtan-inputs: New file.
52414         * benchtests/slowtan.c: New file.
52415         * benchtests/tan-inputs: New file.
52417 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52419         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52420         considered kosher.
52422 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52424         * benchtests/Makefile: Include cppflags-iterator.mk to add
52425         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52427         * Makefile.in (bench-clean): New target.
52428         * benchtests/Makefile (bench-clean): Likewise.
52430 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52432         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52434 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52436         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52438 2013-04-15  Andreas Schwab  <schwab@suse.de>
52440         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52441         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52442         * nscd/pwdcache.c (cache_addpw): Likewise.
52443         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52444         more than recsize.
52446 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52448         * benchtests/Makefile (bench): Write all output to
52449         bench-out.tmp together.
52451 2013-04-15  Andreas Schwab  <schwab@suse.de>
52453         * nscd/nscd.c (main): Don't fork again after closing files.
52455 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52457         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52459         * benchtests/Rules (bench-deps): Collect dependencies into a
52460         single variable.  Add Makefile to dependencies.
52461         ($(objpfx)bench-%.c): Depend on bench-deps.
52463 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52464             Xavier Roche  <roche+kml2@exalead.com>
52466         [BZ #15361]
52467         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52468         just that it's a file descriptor.
52469         * manual/llio.texi (Synchronizing AIO Operations): Update description
52470         for EBADF error from aio_fsync.
52472 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52474         * Rules (bench): Move target definition...
52475         * benchtests/Makefile: ... here.
52477 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52479         * math/libm-test.inc (cos_test): Fix PI/2 test.
52480         (sincos_test): Likewise.
52481         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52482         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52484 2013-04-11  Andreas Schwab  <schwab@suse.de>
52486         [BZ #13988]
52487         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52488         accept exponent character only when digits were seen.
52489         * stdio-common/Makefile (tests): Add bug26.
52490         * stdio-common/bug26.c: New file.
52492         [BZ #14293]
52493         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52494         non-freeable.
52496 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52498         * Makeconfig (rtld-prefix): Define built linker prefix.
52499         * Rules (run-bench): Use it.
52500         * math/Makefile (run-regen-ulps): Likewise.
52502         * Rules (bench): Remove eval.
52504 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52505             Roland McGrath  <roland@hack.frob.com>
52506             Ondrej Bilka  <neleai@seznam.cz>
52508         [BZ #15346]
52509         * time/getdate.c: Include ctype.h and alloca.h.
52510         (__getdate_r): Trim leading and trailing spaces of input.
52511         * time/tst-getdate.c (tests): Add tests with leading and
52512         trailing spaces.
52514 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52516         [BZ #14280]
52517         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52518         when computing value.
52520 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52522         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52523         Use testrun.sh to run libm tests.
52525         [BZ #15309]
52526         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52528 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52530         [BZ #15264]
52531         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52533 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52535         * Makefile.in (regen-ulps): New target.
52536         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52537         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52538         [ifneq (no,$(PERL)] (regen-ulps): New target.
52539         [ifeq (no,$(PERL)] (regen-ulps): New target.
52540         * math/libm-test.inc (ulps_file_name): Define.
52541         (output_dir): New variable.
52542         (options): Add "output-dir" option.
52543         (parse_opt): Handle 'o' case.
52544         (main): If output_dir is non-NULL use it as a prefix
52545         otherwise use "".
52546         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52548 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52550         [BZ #10060, #10062]
52551         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52552         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52553         fail configure if __sync_val_compare_and_swap is not inlined.
52554         * sysdeps/i386/configure: Regenerate.
52555         * configure.in: Build for i686 when configured for i386.
52556         * configure: Regenerate.
52557         * README: Remove i386 reference.
52559 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52561         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52562         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52564 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52566         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52567         (lmsnanval): New variables.
52568         (F): Add conversion tests.
52569         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52570         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52572         * stdio-common/tstdiomisc.c (F): Properly collect individual
52573         tests' results.
52575         [BZ #14686, #15336]
52576         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52577         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52578         Instead, use input NaN values or generate a qNaN by arithmetic
52579         operation.  Also fix bugs to comply with the standard.
52580         * math/libm-test.inc (remainder_test): Add more tests.
52582         [BZ #15335, #15342]
52583         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52584         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52585         input NaN values or generate a qNaN by arithmetic operation.
52587         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52588         unreachable code.
52590         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52591         definitions.
52593 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52595         [BZ #14478]
52596         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52597         underflowed result.
52598         * math/s_cexpf.c (__cexpf): Likewise.
52599         * math/s_cexpl.c (__cexpl): Likewise.
52600         * math/libm-test.inc (cexp_test): Add more tests.
52602 2013-04-03  Andreas Schwab  <schwab@suse.de>
52604         [BZ #15330]
52605         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52606         order arrays from heap if bigger than alloca cutoff.
52608 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52610         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52611         (SNAN_TESTS_double): Refer to GCC PR56831.
52612         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52613         GCC PR56828.
52615 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52617         * Rules (bench): Move bench.out after the run is complete.
52619         * Rules (bench): Echo currently running benchmark.
52621         * benchtests/Makefile (bench): Add atan and slowatan.
52622         * benchtests/atan-inputs: New file.
52623         * benchtests/slowatan-inputs: New file.
52624         * benchtests/slowatan.c: New file.
52626         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52627         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52628         its value.
52630         [BZ #15305]
52631         * sysdeps/unix/sysv/linux/kernel-features.h
52632         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52633         __ASSUME_XFS_RESTRICTED_CHOWN.
52634         * sysdeps/unix/sysv/linux/pathconf.c
52635         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52636         Save and restore errno.
52638 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52640         [BZ #15327]
52641         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52642         arguments using __kernel_casinh.
52643         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52644         arguments using __kernel_casinhf.
52645         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52646         arguments using __kernel_casinhl.
52647         * math/libm-test.inc (cacosh_test): Add more tests.
52648         * sysdeps/i386/fpu/libm-test-ulps: Update.
52649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52651 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52653         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52654         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52656         * bench/Makefile (bench): Add sin and slowsin.
52657         * benchtests/sin-inputs: New file.
52658         * benchtests/slowsin-inputs: New file.
52659         * benchtests/slowsin.c: New file.
52661         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52662         (bench): Add slowexp and slowpow.
52663         (exp-ITER): Increase iterations.
52664         (pow-ITER): Likewise.
52665         * benchtests/exp-inputs: Change input.
52666         * benchtests/pow-inputs: Likewise.
52667         * benchtests/slowexp-inputs: New file.
52668         * benchtests/slowexp.c: New file.
52669         * benchtests/slowpow-inputs: New file.
52670         * benchtests/slowpow.c: New file.
52672 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52674         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52675         instructions.
52676         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52677         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52678         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52679         * benchtests/Makefile: Add rint benchtest.
52680         * benchtests/rint-inputs: Input for rint benchtest.
52682 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52684         * Versions.def (libm): Add GLIBC_2.18.
52685         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52686         hidden libm prototypes.
52687         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52688         * math/Makefile (libm-calls): Add s_issignaling.
52689         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52690         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52691         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52692         declaration.
52693         * math/math.h [__USE_GNU] (issignaling): New macro.
52694         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52695         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52696         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52697         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52698         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52699         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52700         * manual/arith.texi (issignaling): New section.
52701         * manual/libm-err-tab.pl (@all_functions): Update comment.
52702         * math/gen-libm-test.pl (parse_args): Apply special handling for
52703         issignaling.
52704         * math/libm-test.inc (print_float, issignaling_test): New
52705         functions.
52706         (check_float_internal): Add issignaling checks.
52707         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52708         default definition.
52709         * sysdeps/powerpc/math-tests.h: New file.
52710         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52711         tests.
52712         * math/test-snan.c (TEST_FUNC): Likewise.
52714 2013-03-30  David S. Miller  <davem@davemloft.net>
52716         * po/de.po: Update from translation team.
52718 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52720         [BZ #10357]
52721         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52722         imaginary part less than 1.0 and real part less than 0.5
52723         specially.
52724         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52725         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52726         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52727         (cacos_test): Add more tests.
52728         (casin_test): Likewise.
52729         (casinh_test): Likewise.
52730         * sysdeps/i386/fpu/libm-test-ulps: Update.
52731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52733 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52735         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52736         ONE with its value.
52738         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52739         (__pow_mp): Replace ONE and MONE with their values.
52740         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52741         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52742         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52743         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52744         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52745         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52747         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52749         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52750         (__pow_mp): Replace ZERO and MZERO with their values.
52751         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52752         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52753         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52754         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52755         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52756         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52757         (__sqr): Likewise.
52759         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52761         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52763 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52765         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52766         Declare with __attribute__ ((weak)).
52767         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52768         Call __call_tls_dtors only if it's not NULL.
52770 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52772         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52773         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52774         magic __ehdr_start linker symbol if it's defined.
52775         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52776         them up here if it was already done.
52778         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52779         (_dl_aux_init): Use const in cast when setting it.
52780         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52781         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52782         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52784         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52785         Declare them here.
52786         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52787         * csu/libc-tls.c: Nor here.
52788         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52790         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52791         (__libc_message): Never call vsyslog.
52793 2013-03-28  Alan Modra  <amodra@gmail.com>
52795         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52796         Define as empty.
52797         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52798         Likewise.
52800 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52802         [BZ #15214]
52803         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52804         underflow.
52805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52807 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52809         [BZ #15304]
52810         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52811         Don't add gid passed as argument.
52813         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52815 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52817         [BZ #15307]
52818         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52819         imaginary part between 1.0 and 1.5 and real part less than 0.5
52820         specially.
52821         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52822         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52823         * math/libm-test.inc (cacos_test): Add more tests.
52824         (casin_test): Likewise.
52825         (casinh_test): Likewise.
52826         * sysdeps/i386/fpu/libm-test-ulps: Update.
52827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52829 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52831         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52832         constants.
52833         (norm): Likewise.
52834         (denorm): Likewise.
52835         (__dbl_mp): Likewise.
52836         (add_magnitudes): Likewise.
52837         (sub_magnitudes): Likewise.
52838         (__add): Likewise.
52839         (__sub): Likewise.
52840         (__mul): Likewise.
52841         (__sqr): Likewise.
52842         (__inv): Likewise.
52843         (__dvd): Likewise.
52845         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52846         commented code.
52847         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52848         (__dubcos): Likewise.
52849         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52850         (__ieee754_acos): Likewise.
52851         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52852         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52853         (__exp1): Likewise.
52854         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52855         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52856         (log1): Likewise.
52857         (my_log2): Likewise.
52858         (checkint): Likewise.
52859         * sysdeps/ieee754/dbl-64/e_remainder.c
52860         (__ieee754_remainder): Likewise.
52861         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52862         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52863         (bsloww): Likewise.
52864         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52866         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52867         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52868         MANTISSA_STORE_T to store computations on mantissa.  Use
52869         macros for rounding and division.
52870         (denorm): Likewise.
52871         (__dbl_mp): Likewise.
52872         (add_magnitudes): Likewise.
52873         (sub_magnitudes): Likewise.
52874         (__mul): Likewise.
52875         (__sqr): Likewise.
52876         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52877         powers of two in terms of TWOPOW macro.
52878         (mp_no): Make type of mantissa as MANTISSA_T.
52879         [!RADIXI]: Define RADIXI.
52880         [!TWO52]: Define TWO52.
52881         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52883 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52885         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52886         llroundl symbol when building for PPC32.
52888 2013-03-24  Mark H Weaver  <mhw@netris.org>
52890         * manual/arith.texi (Normalization Functions): Fix prototypes for
52891         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52893 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52895         [BZ #13889]
52896         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52897         high value to check if expl overflow.
52898         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52899         to check for underflow and overflow.
52900         * math/libm-test.inc: Add exp test.
52902 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52904         [BZ #11120]
52905         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52906         with NOT_IN_libc.
52908 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52910         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52911         symbol.
52913 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52915         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52916         wrap blocks consisting of several statements.
52918         * sysdeps/generic/math-tests.h: New file.
52919         * sysdeps/i386/fpu/math-tests.h: Likewise.
52920         * math/test-snan.c: Include it.
52921         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52923 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52925         [BZ #15285]
52926         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52927         (__ieee754_j0l): Do not improve calculations using cos of twice
52928         input for inputs above LDBL_MAX / 2.0L.
52929         (__ieee754_y0l): Likewise.
52930         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52931         (__ieee754_j1l): Do not improve calculations using cos of twice
52932         input for inputs above LDBL_MAX / 2.0L.
52933         (__ieee754_y1l): Likewise.
52934         * math/libm-test.inc (j0_test): Add another test.
52935         (j1_test): Likewise.
52936         (y0_test): Likewise.
52937         (y1_test): Likewise.
52938         * sysdeps/i386/fpu/libm-test-ulps: Update.
52940 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52942         * Rules ($(objpfx)bench-%.c): Include code from a C source
52943         file.
52945 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52947         [BZ #15287]
52948         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52949         imaginary part 1.0 and real part less than 0.5 specially.
52950         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52951         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52952         * math/libm-test.inc (cacos_test): Add more tests.
52953         (casin_test): Likewise.
52954         (casinh_test): Likewise.
52955         * sysdeps/i386/fpu/libm-test-ulps: Update.
52956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52958 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52960         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52961         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52963 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52965         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52966         * config.make.in (config-cflags-sse4): Remove variable.
52967         (config-cflags-avx): Likewise.
52968         (config-cflags-sse2avx): Likewise.
52969         (config-cflags-novzeroupper): Likewise.
52970         (config-asflags-i686): Likewise.
52971         (have-mfma4): Likewise.
52972         (have-as-vis3): Likewise.
52973         (MIG): Likewise.
52974         * configure.in (MIG): Do not AC_SUBST.
52975         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52976         (libc_cv_cc_sse4): Do not AC_SUBST.
52977         (libc_cv_cc_avx): Likewise.
52978         (libc_cv_cc_sse2avx): Likewise.
52979         (libc_cv_cc_novzeroupper): Likewise.
52980         (libc_cv_cc_fma4): Likewise.
52981         (libc_cv_as_i686): Likewise.
52982         (libc_cv_sparc_as_vis3): Likewise.
52983         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52984         LIBC_CONFIG_VAR.
52985         (config-asflags-i686): Likewise.
52986         (config-cflags-avx): Likewise.
52987         (config-cflags-sse2avx): Likewise.
52988         (have-mfma4): Likewise.
52989         (config-cflags-novzeroupper): Likewise.
52990         * sysdeps/mach/configure.in (MIG): Likewise.
52991         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52992         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52993         LIBC_CONFIG_VAR.
52994         (config-cflags-avx): Likewise.
52995         (config-cflags-sse2avx): Likewise.
52996         (have-mfma4): Likewise.
52997         (config-cflags-novzeroupper): Likewise.
52998         * configure: Regenerated.
52999         * sysdeps/i386/configure: Likewise.
53000         * sysdeps/mach/configure: Likewise.
53001         * sysdeps/sparc/configure: Likewise.
53002         * sysdeps/x86_64/configure: Likewise.
53004 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53006         [BZ #14812]
53007         * locale/programs/localedef.c (options): Put N_ translation marker
53008         on argument names, not just descriptions.
53010 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53012         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53014 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53016         [BZ #14176]
53017         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53019 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53021         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53022         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53023         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53024         [!BEFORE_ABORT] (before_abort): New function.
53025         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53026         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53027         (writev_for_fatal): New function.
53028         (WRITEV_FOR_FATAL): New macro; call that.
53029         (backtrace_and_maps): New function.
53030         (BEFORE_ABORT): New macro; call that.
53031         (struct str_list): Type removed.
53032         (__libc_message, __libc_fatal): Functions removed.
53033         Include <sysdeps/posix/libc_fatal.c> instead.
53035 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53037         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53038         constants.
53039         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53040         double constants.
53042 2013-03-19  Andreas Schwab  <schwab@suse.de>
53044         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53045         * sysdeps/gnu/configure: Regenerate.
53047         * configure.in: Substitute libc_cv_rtlddir.
53048         * configure: Regenerate.
53049         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53050         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53051         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53052         * elf/Makefile (install-others, CFLAGS-interp.c)
53053         (ldso_install, common-ldd-rewrite): Likewise.
53054         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53055         $(inst_slibdir)/$(rtld-installed-name).
53056         * scripts/rellns-sh: Add -p option.
53057         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53058         for source.
53060 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53062         * manual/nptl.texi: Renamed to ...
53063         * manual/threads.texi: ... this.
53064         * manual/Makefile (chapters): Update.
53066 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53068         [BZ #14812]
53069         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53070         on argument names, not just descriptions.
53071         * malloc/memusagestat.c (options): Likewise.
53072         * nss/getent.c (options): Likewise.
53074 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53076         [BZ #14812]
53077         * iconv/iconv_prog.c (options): Put N_ translation marker
53078         on argument names, not just descriptions.
53079         * iconv/iconvconfig.c (options): Likewise.
53081 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53083         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53084         implementation which is faster on all x86_64 architectures.
53085         Tested on AMD, Intel Nehalem, SNB, IVB.
53086         * sysdeps/x86_64/strnlen.S: Likewise.
53088         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53089         Remove all multiarch strlen and strnlen versions.
53090         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53091         Remove strlen and strnlen related parts.
53093         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53094         Inline strlen part.
53095         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53097         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53098         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53099         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53100         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53101         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53102         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53104 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53106         * manual/memory.texi (Malloc Tunable Parameters):
53107         Sort parameters alphabetically. Add comments for missing entries.
53109 2013-03-17  David S. Miller  <davem@davemloft.net>
53111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53113 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53115         [BZ #15283]
53116         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53117         for arguments at most half maximum finite value.
53118         * math/libm-test.inc (j0_test): Add more tests.
53119         (j1_test): Likewise.
53120         (y0_test): Likewise.
53121         (y1_test): Likewise.
53122         * sysdeps/i386/fpu/libm-test-ulps: Update.
53123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53125         [BZ #14155]
53126         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53127         1 / x and functions P and Q for arguments above 0x1p256L.
53128         (__ieee754_y0l): Likewise.
53129         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53130         (__ieee754_y1l): Likewise.
53131         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53132         (j1_test): Likewise.
53133         (y0_test): Likewise.
53134         (y1_test): Likewise.
53136 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53138         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53139         variable.
53141 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53143         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53144         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53145         zero since it's initialized to EXEC_PAGESIZE.
53147         * sysdeps/unix/sysv/linux/ldsodefs.h
53148         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53149         * sysdeps/generic/ldsodefs.h: ... here.
53151 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53153         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53155         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53156         math/test-snan.c.
53157         * math/test-snan.c: Renamed from
53158         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53159         * math/Makefile (tests): Add test-snan.
53160         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53161         test-powerpc-snan.
53163         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53164         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53165         functions.
53166         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53167         __builtin_nan family of functions.
53168         * math/libm-test.inc (initialize): Initialize qnan_value with
53169         __builtin_nan family of functions.
53170         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53171         Remove variables.
53172         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53173         Remove functions.
53174         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53175         storage class.  Initialize qNaN_var and sNaN_var with
53176         __builtin_nan and __builtin_nans families of functions,
53177         respectively.
53179         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53180         (sqrt_test): Remove duplicate test with qNaN input.
53181         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53182         (round_test, signbit_test, significand_test): Note missing +/-Inf
53183         as well as qNaN tests.
53185         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53186         qNaN_var.  Fix a few strings, too.
53187         * math/libm-test.inc (nan_value): Rename to qnan_value.
53188         * math/gen-libm-test.pl (%beautify): Adjust to that.
53189         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53190         * math/test-misc.c (main): Likewise.
53191         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53192         to __qnan_bytes, and __qnan_union, respectively.
53193         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53194         Likewise.
53195         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53196         and lqnanval, respectively.
53197         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53198         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53199         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53200         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53202         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53203         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53204         doubles.
53206         * math/test-misc.c (main): Fix copy'n'pastos.
53207         * misc/tst-efgcvt.c (special): Likewise.
53209         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53210         Remove declarations.
53212 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53214         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53215         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53216         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53217         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53219 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53221         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53222         macro to return vdso values correctly in IFUNC implementations.
53223         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53224         Optimization by using IFUNC.
53226 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53227             Richard Henderson  <rth@redhat.com>
53228             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53230         * Makefile.in (bench): New target.
53231         * NEWS: Mention the benchmark framework.
53232         * Rules (bench): Likewise.
53233         (binaries-bench): Generate binaries for functions to
53234         benchmark.
53235         * benchtests/Makefile: New makefile for benchmark tests.
53236         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53237         programs.
53238         * benchtests/exp-inputs: New input file for EXP function.
53239         * benchtests/pow-inputs: New input file for POW function.
53240         * scripts/bench.pl: New script to generate source files for
53241         benchmark programs.
53243 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53245         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53246         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53247         computations on mantissa.  Use macros for rounding and
53248         division.
53249         (denorm): Likewise.
53250         (__dbl_mp): Likewise.
53251         (add_magnitudes): Likewise.
53252         (sub_magnitudes): Likewise.
53253         (__mul): Likewise.
53254         (__sqr): Likewise.
53255         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53256         powers of two in terms of TWOPOW macro.
53257         (mp_no): Make type of mantissa as MANTISSA_T.
53258         [!RADIXI]: Define RADIXI.
53259         [!TWO52]: Define TWO52.
53260         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53262         * manual/nptl.texi (cindex): Modify threads to pthreads.
53264 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53266         * sysdeps/x86_64/preconfigure: Regenerated.
53268 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53270         [BZ #14155]
53271         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53272         0x1p28 and above.
53273         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53274         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53275         0x1p28 and above.
53276         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53277         * math/libm-test.inc (j0_test): Do not allow one spurious
53278         underflow exception.
53279         (y1_test): Likewise.
53281 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53283         * manual/Makefile (chapters): Add nptl.
53284         * manual/debug.texi (Debugging Support): Add link to Threads
53285         chapter.
53286         * manual/nptl.texi: New file.
53288         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53290 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53292         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53293         for non-NULL pointer before the memory validity test. Pointed
53294         out by Holger Brunck <holger.brunck@keymile.com>.
53296 2013-03-13  Andreas Schwab  <schwab@suse.de>
53298         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53299         instead of .os.
53301 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53303         * timezone/zic.c: Update from tzcode 2013b.
53305 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53307         * manual/install.texi (Configuring and compiling):
53308         Mention i686 and i586.
53309         * INSTALL: Regenerate.
53311 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53313         * sysdeps/init_array/elf-init.c: New file.
53314         * csu/elf-init.c
53315         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53316         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53318         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53319         __gmon_start__ as global, but as static with a .preinit_array pointer.
53320         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53321         * sysdeps/init_array/crti.S: New file, empty except for comments.
53322         * sysdeps/init_array/crtn.S: Likewise.
53324 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53326         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53327         definining bcopy.
53328         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53329         Remove Prefer_SSE_for_memop.
53330         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53331         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53332         HAS_PREFER_SSE_FOR_MEMOP.
53333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53334         memset-x86-64.
53335         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53336         Remove bzero, memset ifunc support.
53337         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53338         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53339         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53340         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53342 2013-03-11  Andreas Schwab  <schwab@suse.de>
53344         [BZ #15234]
53345         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53346         by SHLIB_COMPAT.
53347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53348         (GLIBC_2.16): Remove pthread_atfork.
53350 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53352         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53353         (ptestcases.h): Likewise.
53355 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53357         * Makeconfig ($(common-objpfx)config.status): Depend on
53358         sysdeps/*/preconfigure{,.in} too.
53360 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53362         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53363         (__free_hook): Use void * instead of __malloc_ptr_t.
53364         (__malloc_hook): Likewise.
53365         (__realloc_hook): Likewise.
53366         (__memalign_hook): Likewise.
53367         (__after_morecore_hook): Likewise.
53368         * malloc/arena.c (save_malloc_hook): Likewise.
53369         (save_free_hook): Likewise.
53370         * malloc/hooks.c (malloc_hook_ini): Likewise.
53371         (realloc_hook_ini): Likewise.
53372         (memalign_hook_ini): Likewise.
53373         * malloc/malloc.c (malloc_hook_ini): Likewise.
53374         (realloc_hook_ini): Likewise.
53375         (memalign_hook_ini): Likewise.
53376         (__free_hook): Likewise.
53377         (__malloc_hook): Likewise.
53378         (__realloc_hook): Likewise.
53379         (__memalign_hook): Likewise.
53380         (__libc_malloc): Likewise.
53381         (__libc_free): Likewise.
53382         (__libc_realloc): Likewise.
53383         (__libc_memalign): Likewise.
53384         (__libc_valloc): Likewise.
53385         (__libc_pvalloc): Likewise.
53386         (__libc_calloc): Likewise.
53387         (__posix_memalign): Likewise.
53388         * malloc/morecore.c (__sbrk): Likewise.
53389         (__default_morecore): Likewise.
53391         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53393         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53394         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53395         __malloc_ptrdiff_t.
53397         * malloc/malloc.h (__malloc_size_t): Remove macro.
53398         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53399         __malloc_size_t.
53400         (old_memalign_hook): Likewise.
53401         (old_realloc_hook): Likewise.
53402         (struct hdr): Likewise.
53403         (flood): Likewise.
53404         (mallochook): Likewise.
53405         (memalignhook): Likewise.
53406         (reallochook): Likewise.
53407         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53408         (tr_old_realloc_hook): Likewise.
53409         (tr_old_memalign_hook): Likewise.
53410         (tr_mallochook): Likewise.
53411         (tr_reallochook): Likewise.
53412         (tr_memalignhook): Likewise.
53414 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53416         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53417         default_ldbl_pack and using as default implementation.
53418         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53419         implementation.
53420         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53421         redundant definition.
53422         (ldbl_insert_mantissa): Likewise.
53423         (ldbl_canonicalize): Likewise.
53424         (ldbl_nearbyint): Likewise.
53425         (ldbl_pack): Rename to ldbl_pack_ppc.
53426         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53427         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53428         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53430 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53432         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53433         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53434         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53435         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53436         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53437         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53438         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53439         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53441 2013-03-07  Andreas Jaeger  <aj@suse.de>
53443         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53444         bits/mman-linux.h.
53446 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53448         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53449         Include mpa.h and declare __MPEXP.
53450         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53451         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53452         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53453         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53454         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53455         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53456         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53458         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53459         (__slowpow): Use long double EXPL and LOGL functions to
53460         compute POW.
53461         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53462         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53463         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53464         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53465         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53466         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53469         intermediate variable to calculate exponent.
53470         (__sqr): Likewise.
53471         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53472         Likewise.
53473         (__sqr): Likewise.
53475         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53476         [!NO__SQR]: Define __sqr.
53477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53478         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53479         sysdeps/ieee754/dbl-64/mpa.c.
53480         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53482         [BZ #12723]
53483         * posix/Makefile (tests): Add tst-pathconf.
53484         * posix/tst-pathconf.c: New test case.
53485         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53486         _PC_PIPE_BUF.
53487         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53489 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53491         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53493 2013-03-06  Andreas Jaeger  <aj@suse.de>
53495         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53496         definition via __MAP_ANONYMOUS.
53498         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53499         it's not part of Linux headers.
53501         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53502         (MAP_HUGE_MASK): Define.
53504         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53505         Define.
53506         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53507         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53508         Define.
53509         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53510         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53511         Define.
53512         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53513         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53514         Define.
53515         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53517         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53518         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53519         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53520         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53521         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53522         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53524         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53525         Handle f2fs.
53527         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53528         Handle f2fs and efivarfs.
53530         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53531         f2fs.
53533         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53534         (EFIVARFS_MAGIC): Add.
53535         (F2FS_LINK_MAX): Add.
53537 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53539         * stdio-common/vfprintf.c: Replace __builtin_expect with
53540         __glibc_unlikely.
53542 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53544         [BZ #13550]
53545         * sysdeps/generic/bp-sym.h: Remove file.
53546         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53547         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53548         <bp-sym.h> and <bp-asm.h>.
53549         (__longjmp): Don't use BP_SYM.
53550         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53551         and <bp-asm.h>.
53552         (memcpy): Don't use BP_SYM.
53553         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53554         <bp-sym.h> and <bp-asm.h>.
53555         (memcpy): Don't use BP_SYM.
53556         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53557         <bp-asm.h>.
53558         (memcpy): Don't use BP_SYM.
53559         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53560         <bp-asm.h>.
53561         (memset): Don't use BP_SYM.
53562         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53563         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53564         (__bzero): Don't use BP_SYM.
53565         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53566         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53567         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53568         <bp-sym.h> and <bp-asm.h>.
53569         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53570         pointers.
53571         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53572         <bp-sym.h> and <bp-asm.h>.
53573         (memcpy): Don't use BP_SYM.
53574         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53575         <bp-sym.h> and <bp-asm.h>.
53576         (memset): Don't use BP_SYM.
53577         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53578         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53579         (__bzero): Don't use BP_SYM.
53580         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53581         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53582         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53583         <bp-sym.h> and <bp-asm.h>.
53584         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53585         pointers.
53586         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53587         <bp-sym.h> and <bp-asm.h>.
53588         (memcpy): Don't use BP_SYM.
53589         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53590         <bp-sym.h> and <bp-asm.h>.
53591         (memset): Don't use BP_SYM.
53592         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53593         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53594         (__bzero): Don't use BP_SYM.
53595         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53596         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53597         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53598         <bp-sym.h> and <bp-asm.h>.
53599         (__memchr): Don't use BP_SYM.
53600         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53601         <bp-sym.h> and <bp-asm.h>.
53602         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53603         pointers.
53604         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53605         <bp-sym.h> and <bp-asm.h>.
53606         (memcpy): Don't use BP_SYM.
53607         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53608         <bp-sym.h> and <bp-asm.h>.
53609         (__mempcpy): Don't use BP_SYM.
53610         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53611         <bp-sym.h> and <bp-asm.h>.
53612         (__memrchr): Don't use BP_SYM.
53613         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53614         <bp-sym.h> and <bp-asm.h>.
53615         (memset): Don't use BP_SYM.
53616         (__bzero): Likewise.
53617         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53618         <bp-sym.h> and <bp-asm.h>.
53619         (__rawmemchr): Don't use BP_SYM.
53620         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53621         <bp-sym.h> and <bp-asm.h>.
53622         (__STRCMP): Don't use BP_SYM.
53623         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53624         <bp-sym.h> and <bp-asm.h>.
53625         (strchr): Don't use BP_SYM.
53626         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53627         <bp-sym.h> and <bp-asm.h>.
53628         (__strchrnul): Don't use BP_SYM.
53629         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53630         <bp-sym.h> and <bp-asm.h>.
53631         (strlen): Don't use BP_SYM.
53632         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53633         <bp-sym.h> and <bp-asm.h>.
53634         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53635         pointers.
53636         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53637         <bp-sym.h> and <bp-asm.h>.
53638         (__strnlen): Don't use BP_SYM.
53639         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53640         <bp-sym.h> and <bp-asm.h>.
53641         (__GI__setjmp): Don't use BP_SYM.
53642         (_setjmp): Likewise.
53643         (__sigsetjmp): Likewise.
53644         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53645         (L(start_addresses)): Don't use BP_SYM.
53646         (_start): Likewise.
53647         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53648         <bp-asm.h>.
53649         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53650         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53651         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53652         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53653         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53654         <bp-asm.h>.
53655         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53656         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53657         about bounded pointers.
53658         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53659         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53660         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53661         <bp-asm.h>.
53662         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53663         about bounded pointers.  Remove GKM FIXME comments.
53664         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53665         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53666         <bp-asm.h>.
53667         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53668         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53669         Remove GKM FIXME comments.
53670         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53671         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53672         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53673         <bp-asm.h>.
53674         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53675         about bounded pointers.  Remove GKM FIXME comment.
53676         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53677         and <bp-asm.h>.
53678         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53679         pointers.
53680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53681         <bp-sym.h> and <bp-asm.h>.
53682         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53684         <bp-sym.h> and <bp-asm.h>.
53685         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53686         comment.
53688 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53690         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53691         call free(NULL).
53693 2013-03-05  David S. Miller  <davem@davemloft.net>
53695         * po/es.po: Update from translation team.
53697 2013-03-05  Andreas Jaeger  <aj@suse.de>
53699         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53700         <bits/mman-linux.h>.
53701         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53702         is fine.
53703         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53704         <bits/mman-linux.h> to end of file.
53705         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53706         is fine.
53707         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53708         <bits/mman-linux.h> to end of file.
53709         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53710         is fine.
53711         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53712         <bits/mman-linux.h> to end of file.
53714         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53715         (MCL_CURRENT, MCL_FUTURE): Define here.
53717 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53719         [BZ #15232]
53720         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53721         attribute_hidden.
53722         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53724 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53726         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53727         fourth parameter needed for rt_sigprocmask syscall.
53728         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53729         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53730         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53731         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53732         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53733         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53735 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53737         [BZ #13550]
53738         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53739         comment about bounded pointers.
53740         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53741         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53743 2013-03-04  Andreas Jaeger  <aj@suse.de>
53745         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53746         common definitions.
53748         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53749         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53750         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53751         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53752         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53753         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53755 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53757         [BZ #15055]
53758         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53759         __ieee754_sqrl instead of __sqrl.
53761 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53763         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53764         * sysdeps/powerpc/fpu_control.h: ... here.
53765         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53766         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53767         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53768         * sysdeps/powerpc/bits/mathinline.h: ... here.
53770 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53772         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53773         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53774         to just [NEED_DL_SYSINFO_DSO].
53775         * elf/dl-support.c: Likewise.
53776         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53777         * elf/rtld.c (dl_main): Likewise.
53778         * elf/setup-vdso.h (setup_vdso): Likewise.
53779         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53780         * sysdeps/unix/sysv/linux/dl-sysdep.c
53781         (_dl_discover_osversion): Likewise.
53783 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53785         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53786         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53788 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53790         * NEWS: Mention libm performance improvements and non-x86 PI
53791         futex support.
53793         * csu/libc-start.c (__pthread_initialize_minimal): Change
53794         function arguments.
53795         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53797 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53799         [BZ #13550]
53800         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53801         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53802         <bp-sym.h> and <bp-asm.h>.
53803         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53804         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53805         and <bp-asm.h>.
53806         (memcpy): Don't use BP_SYM.
53807         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53808         <bp-asm.h>.
53809         (__mpn_add_n): Don't use BP_SYM.
53810         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53811         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53812         and <bp-asm.h>.
53813         (__mpn_addmul_1): Don't use BP_SYM.
53814         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53815         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53816         <bp-sym.h>.
53817         (_setjmp): Don't use BP_SYM.
53818         (__novmx_setjmp): Likewise.
53819         (__GI__setjmp): Likewise.
53820         (__vmx_setjmp): Likewise.
53821         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53822         <bp-sym.h>.
53823         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53824         (__bzero): Don't use BP_SYM.
53825         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53826         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53827         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53828         <bp-sym.h> and <bp-asm.h>.
53829         (memcpy): Don't use BP_SYM.
53830         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53831         <bp-sym.h> and <bp-asm.h>.
53832         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53833         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53834         <bp-sym.h> and <bp-asm.h>.
53835         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53836         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53837         <bp-asm.h>.
53838         (__mpn_lshift): Don't use BP_SYM.
53839         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53840         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53841         <bp-asm.h>.
53842         (memset): Don't use BP_SYM.
53843         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53844         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53845         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53846         <bp-asm.h>.
53847         (__mpn_mul_1): Don't use BP_SYM.
53848         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53849         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53850         <bp-sym.h> and <bp-asm.h>.
53851         (memcmp): Don't use BP_SYM.
53852         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53853         <bp-sym.h> and <bp-asm.h>.
53854         (memcpy): Don't use BP_SYM.
53855         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53856         <bp-sym.h> and <bp-asm.h>.
53857         (memset): Don't use BP_SYM.
53858         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53859         <bp-sym.h> and <bp-asm.h>.
53860         (strncmp): Don't use BP_SYM.
53861         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53862         <bp-sym.h> and <bp-asm.h>.
53863         (memcpy): Don't use BP_SYM.
53864         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53865         <bp-sym.h> and <bp-asm.h>.
53866         (memset): Don't use BP_SYM.
53867         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53868         <bp-sym.h> and <bp-asm.h>.
53869         (__memchr): Don't use BP_SYM.
53870         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53871         <bp-sym.h> and <bp-asm.h>.
53872         (memcmp): Don't use BP_SYM.
53873         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53874         <bp-sym.h> and <bp-asm.h>.
53875         (memcpy): Don't use BP_SYM.
53876         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53877         <bp-sym.h> and <bp-asm.h>.
53878         (__mempcpy): Don't use BP_SYM.
53879         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53880         <bp-sym.h> and <bp-asm.h>.
53881         (__memrchr): Don't use BP_SYM.
53882         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53883         <bp-sym.h> and <bp-asm.h>.
53884         (memset): Don't use BP_SYM.
53885         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53886         <bp-sym.h> and <bp-asm.h>.
53887         (__rawmemchr): Don't use BP_SYM.
53888         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53889         <bp-sym.h> and <bp-asm.h>.
53890         (__STRCMP): Don't use BP_SYM.
53891         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53892         <bp-sym.h> and <bp-asm.h>.
53893         (strchr): Don't use BP_SYM.
53894         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53895         <bp-sym.h> and <bp-asm.h>.
53896         (__strchrnul): Don't use BP_SYM.
53897         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53898         <bp-sym.h> and <bp-asm.h>.
53899         (strlen): Don't use BP_SYM.
53900         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53901         <bp-sym.h> and <bp-asm.h>.
53902         (strncmp): Don't use BP_SYM.
53903         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53904         <bp-sym.h> and <bp-asm.h>.
53905         (__strnlen): Don't use BP_SYM.
53906         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53907         <bp-asm.h>.
53908         (__mpn_rshift): Don't use BP_SYM.
53909         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53910         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53911         <bp-sym.h> and <bp-asm.h>.
53912         (__sigsetjmp): Don't use BP_SYM.
53913         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53914         (L(start_addresses)): Don't use BP_SYM.
53915         (_start): Likewise.
53916         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53917         <bp-asm.h>.
53918         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53919         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53920         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53921         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53922         <bp-asm.h>.
53923         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53924         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53925         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53926         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53927         <bp-asm.h>.
53928         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53929         comments.
53930         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53931         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53932         <bp-asm.h>.
53933         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53934         FIXME comments.
53935         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53936         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53937         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53938         <bp-asm.h>.
53939         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53940         comment.
53941         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53942         and <bp-asm.h>.
53943         (strncmp): Don't use BP_SYM,
53944         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53945         <bp-asm.h>.
53946         (__mpn_sub_n): Don't use BP_SYM.
53947         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53948         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53949         and <bp-asm.h>.
53950         (__mpn_submul_1): Don't use BP_SYM.
53951         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53953         <bp-sym.h> and <bp-asm.h>.
53954         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53956         <bp-sym.h> and <bp-asm.h>.
53957         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53958         comment.
53960 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53962         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53963         Use ZK to minimize writes to Z.
53964         (sub_magnitudes): Simplify code a bit.
53965         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53966         Use ZK to minimize writes to Z.
53967         (sub_magnitudes): Simplify code a bit.
53969 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53971         * csu/gmon-start.c: Add special exception to license text.
53973 2013-02-27  Richard Henderson  <rth@redhat.com>
53975         * scripts/config.guess: Update from config.git.
53976         * scripts/config.sub: Likewise.
53978 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53980         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53982         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53984         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53986         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53988         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53990 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53992         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53993         [$(build-shared = yes].
53995 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53997         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53998         (__mul): Reduce iterations for calculating mantissa.
54000         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54001         MPTWO.
54002         (__mpranred): Likewise.
54004         [BZ #15160]
54005         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54006         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54008 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54010         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54011         Define __attribute__.
54013 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54015         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54016         unused.
54017         * posix/regex_internal.h (__attribute): Remove.
54018         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54019         (re_string_context_at): Likewise.
54020         (bitset_not): Use __attribute__ and mark function as possibly
54021         unused.
54022         (bitset_merge): Likewise.
54023         (bitset_mask): Likewise.
54024         (re_string_char_size_at): Likewise.
54025         (re_string_wchar_at): Likewise.
54026         (re_string_elem_size_at): Likewise.
54028 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54030         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54031         code.
54032         (cc32): Likewise.
54034         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54035         (__acr): Likewise.
54036         (__cpy): Likewise.
54037         (norm): Likewise.
54038         (denorm): Likewise.
54039         (__dbl_mp): Likewise.
54040         (add_magnitudes): Likewise.
54041         (sub_magnitudes): Likewise.
54042         (__mul): Likewise.
54043         (__inv): Likewise.
54045         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54046         style.
54048         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54049         style.
54051         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54052         code.
54054         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54055         up changes with default code.
54056         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54057         Likewise.
54059 2013-02-24  Allan McRae  <allan@archlinux.org>
54061         * manual/socket.texi (The Internet Namespace): Order menu items
54062         to match that in the file.
54064         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54065         node listing of the info page menu.
54067 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54069         [BZ #13550]
54070         * sysdeps/i386/bp-asm.h: Remove file.
54071         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54072         (PARMS): Do not use macros from bp-asm.h.
54073         (S1): Likewise.
54074         (S2): Likewise.
54075         (SIZE): Likewise.
54076         (__mpn_add_n): Do not use BP_SYM
54077         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54078         "bp-asm.h".
54079         (PARMS): Do not use macros from bp-asm.h.
54080         (S1): Likewise.
54081         (SIZE): Likewise.
54082         (__mpn_addmul_1): Do not use BP_SYM
54083         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54084         "bp-asm.h".
54085         (PARMS): Do not use macros from bp-asm.h.
54086         (SIGMSK): Likewise.
54087         (_setjmp): Likewise.  Do not use BP_SYM.
54088         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54089         "bp-asm.h".
54090         (PARMS): Do not use macros from bp-asm.h.
54091         (SIGMSK): Likewise.
54092         (setjmp): Likewise.  Do not use BP_SYM.
54093         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54094         "bp-asm.h".
54095         (PARMS): Do not use macros from bp-asm.h.
54096         (__frexp): Do not use BP_SYM.
54097         (frexp): Likewise.
54098         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54099         "bp-asm.h".
54100         (PARMS): Do not use macros from bp-asm.h.
54101         (__frexpf): Do not use BP_SYM.
54102         (frexpf): Likewise.
54103         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54104         "bp-asm.h".
54105         (PARMS): Do not use macros from bp-asm.h.
54106         (__frexpl): Do not use BP_SYM.
54107         (frexpl): Likewise.
54108         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54109         "bp-asm.h".
54110         (PARMS): Do not use macros from bp-asm.h.
54111         (__remquo): Do not use BP_SYM.
54112         (remquo): Likewise.
54113         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54114         "bp-asm.h".
54115         (PARMS): Do not use macros from bp-asm.h.
54116         (__remquof): Do not use BP_SYM.
54117         (remquof): Likewise.
54118         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54119         "bp-asm.h".
54120         (PARMS): Do not use macros from bp-asm.h.
54121         (__remquol): Do not use BP_SYM.
54122         (remquol): Likewise.
54123         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54124         "bp-asm.h".
54125         (PARMS): Do not use macros from bp-asm.h.
54126         (DEST): Likewise.
54127         (SRC): Likewise.
54128         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54129         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54130         "bp-asm.h".
54131         (PARMS): Do not use macros from bp-asm.h.
54132         (strlen): Do not use BP_SYM.
54133         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54134         "bp-asm.h".
54135         (PARMS): Do not use macros from bp-asm.h.
54136         (S1): Likewise.
54137         (S2): Likewise.
54138         (SIZE): Likewise.
54139         (__mpn_add_n): Do not use BP_SYM.
54140         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54141         "bp-asm.h".
54142         (PARMS): Do not use macros from bp-asm.h.
54143         (S1): Likewise.
54144         (SIZE): Likewise.
54145         (__mpn_addmul_1): Do not use BP_SYM.
54146         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54147         weak_alias.
54148         (bzero): Likewise.
54149         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54150         "bp-asm.h".
54151         (PARMS): Do not use macros from bp-asm.h.
54152         (S): Likewise.
54153         (SIZE): Likewise.
54154         (__mpn_lshift): Do not use BP_SYM.
54155         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54156         "bp-asm.h".
54157         (PARMS): Do not use macros from bp-asm.h.
54158         (DEST): Likewise.
54159         (SRC): Likewise.
54160         (LEN): Likewise.
54161         (memcpy): Likewise.  Do not use BP_SYM.
54162         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54163         libc_hidden_def and weak_alias.
54164         (mempcpy): Do not use BP_SYM in weak_alias.
54165         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54166         "bp-asm.h".
54167         (PARMS): Do not use macros from bp-asm.h.
54168         (DEST): Likewise.
54169         (LEN): Likewise.
54170         [!BZERO_P] (CHR): Likewise.
54171         (memset): Likewise.  Do not use BP_SYM.
54172         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54173         "bp-asm.h".
54174         (PARMS): Do not use macros from bp-asm.h.
54175         (S1): Likewise.
54176         (SIZE): Likewise.
54177         (__mpn_mul_1): Do not use BP_SYM.
54178         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54179         "bp-asm.h".
54180         (PARMS): Do not use macros from bp-asm.h.
54181         (S): Likewise.
54182         (SIZE): Likewise.
54183         (__mpn_rshift): Do not use BP_SYM.
54184         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54185         "bp-asm.h".
54186         (PARMS): Do not use macros from bp-asm.h.
54187         (STR): Likewise.
54188         (CHR): Likewise.
54189         (strchr): Likewise.  Do not use BP_SYM.
54190         (index): Do not use BP_SYM in weak_alias.
54191         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54192         "bp-asm.h".
54193         (PARMS): Do not use macros from bp-asm.h.
54194         (DEST): Likewise.
54195         (SRC): Likewise.
54196         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54197         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54198         "bp-asm.h".
54199         (PARMS): Do not use macros from bp-asm.h.
54200         (strlen): Do not use BP_SYM.
54201         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54202         "bp-asm.h".
54203         (PARMS): Do not use macros from bp-asm.h.
54204         (S1): Likewise.
54205         (S2): Likewise.
54206         (SIZE): Likewise.
54207         (__mpn_sub_n): Do not use BP_SYM.
54208         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54209         "bp-asm.h".
54210         (PARMS): Do not use macros from bp-asm.h.
54211         (S1): Likewise.
54212         (SIZE): Likewise.
54213         (__mpn_submul_1): Do not use BP_SYM.
54214         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54215         "bp-asm.h".
54216         (PARMS): Do not use macros from bp-asm.h.
54217         (S1): Likewise.
54218         (S2): Likewise.
54219         (SIZE): Likewise.
54220         (__mpn_add_n): Do not use BP_SYM.
54221         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54222         weak_alias.
54223         (bzero): Likewise.
54224         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54225         "bp-asm.h".
54226         (PARMS): Do not use macros from bp-asm.h.
54227         (BLK2): Likewise.
54228         (LEN): Likewise.
54229         (memcmp): Do not use BP_SYM.
54230         (bcmp): Do not use BP_SYM in weak_alias.
54231         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54232         "bp-asm.h".
54233         (PARMS): Do not use macros from bp-asm.h.
54234         (DEST): Likewise.
54235         (SRC): Likewise.
54236         (LEN): Likewise.
54237         (memcpy): Likewise.  Do not use BP_SYM.
54238         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54239         "bp-asm.h".
54240         (PARMS): Do not use macros from bp-asm.h.
54241         (DEST): Likewise.
54242         (SRC): Likewise.
54243         (LEN): Likewise.
54244         (memmove): Likewise.  Do not use BP_SYM.
54245         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54246         "bp-asm.h".
54247         (PARMS): Do not use macros from bp-asm.h.
54248         (DEST): Likewise.
54249         (SRC): Likewise.
54250         (LEN): Likewise.
54251         (__mempcpy): Likewise.  Do not use BP_SYM.
54252         (mempcpy): Do not use BP_SYM in weak_alias.
54253         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54254         "bp-asm.h".
54255         (PARMS): Do not use macros from bp-asm.h.
54256         (DEST): Likewise.
54257         (LEN): Likewise.
54258         [!BZERO_P] (CHR): Likewise.
54259         (memset): Likewise.  Do not use BP_SYM.
54260         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54261         "bp-asm.h".
54262         (PARMS): Do not use macros from bp-asm.h.
54263         (STR2): Likewise.
54264         (strcmp): Do not use BP_SYM.
54265         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54266         "bp-asm.h".
54267         (PARMS): Do not use macros from bp-asm.h.
54268         (STR): Likewise.
54269         (DELIM): Likewise.
54270         [USE_AS_STRTOK_R] (SAVE): Likewise.
54271         (FUNCTION): Likewise.  Do not use BP_SYM.
54272         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54273         aliases.
54274         (strtok_r): Likewise.
54275         (__GI___strtok_r): Likewise.
54276         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54277         (PARMS): Do not use macros from bp-asm.h.
54278         (S): Likewise.
54279         (SIZE): Likewise.
54280         (__mpn_lshift): Do not use BP_SYM.
54281         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54282         (PARMS): Do not use macros from bp-asm.h.
54283         (STR): Likewise.
54284         (CHR): Likewise.
54285         (__memchr): Do not use BP_SYM.
54286         (memchr): Do not use BP_SYM in weak_alias.
54287         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54288         (PARMS): Do not use macros from bp-asm.h.
54289         (BLK2): Likewise.
54290         (LEN): Likewise.
54291         (memcmp): Do not use BP_SYM.
54292         (bcmp): Do not use BP_SYM in weak_alias.
54293         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54294         (PARMS): Do not use macros from bp-asm.h.
54295         (S1): Likewise.
54296         (SIZE): Likewise.
54297         (__mpn_mul_1): Do not use BP_SYM.
54298         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54299         "bp-asm.h".
54300         (PARMS): Do not use macros from bp-asm.h.
54301         (STR): Likewise.
54302         (CHR): Likewise.
54303         (__rawmemchr): Do not use BP_SYM.
54304         (rawmemchr): Do not use BP_SYM in weak_alias.
54305         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54306         (PARMS): Do not use macros from bp-asm.h.
54307         (S): Likewise.
54308         (SIZE): Likewise.
54309         (__mpn_rshift): Do not use BP_SYM.
54310         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54311         (PARMS): Do not use macros from bp-asm.h.
54312         (SIGMSK): Likewise.
54313         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54314         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54315         (_start): Do not use BP_SYM.
54316         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54317         (PARMS): Do not use macros from bp-asm.h.
54318         (DEST): Likewise.
54319         (SRC): Likewise.
54320         (__stpcpy): Likewise.  Do not use BP_SYM.
54321         (stpcpy): Do not use BP_SYM in weak_alias.
54322         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54323         "bp-asm.h".
54324         (PARMS): Do not use macros from bp-asm.h.
54325         (DEST): Likewise.
54326         (SRC): Likewise.
54327         (LEN): Likewise.
54328         (__stpncpy): Likewise.  Do not use BP_SYM.
54329         (stpncpy): Do not use BP_SYM in weak_alias.
54330         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54331         (PARMS): Do not use macros from bp-asm.h.
54332         (STR): Likewise.
54333         (CHR): Likewise.
54334         (strchr): Likewise.  Do not use BP_SYM.
54335         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54336         "bp-asm.h".
54337         (PARMS): Do not use macros from bp-asm.h.
54338         (STR): Likewise.
54339         (CHR): Likewise.
54340         (__strchrnul): Likewise.  Do not use BP_SYM.
54341         (strchrnul): Do not use BP_SYM in weak_alias.
54342         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54343         "bp-asm.h".
54344         (PARMS): Do not use macros from bp-asm.h.
54345         (STOP): Likewise.
54346         (strcspn): Do not use BP_SYM.
54347         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54348         "bp-asm.h".
54349         (PARMS): Do not use macros from bp-asm.h.
54350         (STR): Likewise.
54351         (STOP): Likewise.
54352         (strpbrk): Likewise.  Do not use BP_SYM.
54353         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54354         "bp-asm.h".
54355         (PARMS): Do not use macros from bp-asm.h.
54356         (STR): Likewise.
54357         (CHR): Likewise.
54358         (strrchr): Likewise.  Do not use BP_SYM.
54359         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54360         (PARMS): Do not use macros from bp-asm.h.
54361         (SKIP): Likewise.
54362         (strspn): Do not use BP_SYM.
54363         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54364         (PARMS): Do not use macros from bp-asm.h.
54365         (STR): Likewise.
54366         (DELIM): Likewise.
54367         (SAVE): Likewise.
54368         (FUNCTION): Likewise.  Do not use BP_SYM.
54369         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54370         aliases.
54371         (strtok_r): Likewise.
54372         (__GI___strtok_r): Likewise.
54373         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54374         (PARMS): Do not use macros from bp-asm.h.
54375         (S1): Likewise.
54376         (S2): Likewise.
54377         (SIZE): Likewise.
54378         (__mpn_sub_n): Do not use BP_SYM.
54379         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54380         "bp-asm.h".
54381         (PARMS): Do not use macros from bp-asm.h.
54382         (S1): Likewise.
54383         (SIZE): Likewise.
54384         (__mpn_submul_1): Do not use BP_SYM.
54385         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54386         <bp-sym.h>.
54387         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54388         and <bp-asm.h>.
54389         (PARMS): Do not use macros from bp-asm.h.
54390         (FLAGS): Likewise.
54391         (PTID): Likewise.
54392         (TLS): Likewise.
54393         (CTID): Likewise.
54394         (__clone): Do not use BP_SYM.
54395         (clone): Do not use BP_SYM in weak_alias.
54396         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54397         and <bp-asm.h>.
54398         (PARMS): Do not use macros from bp-asm.h.
54399         (LEN): Likewise.
54400         (__mmap64): Do not use BP_SYM.
54401         (mmap64): Do not use BP_SYM in weak_alias.
54402         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54403         <bp-sym.h> and <bp-asm.h>.
54404         (PARMS): Do not use macros from bp-asm.h.
54405         (__posix_fadvise64_l64): Do not use BP_SYM.
54406         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54407         (PARMS): Do not use macros from bp-asm.h.
54408         (NSOPS): Likewise.
54409         (semtimedop): Do not use BP_SYM.
54410         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54411         and <bp-asm.h>.
54413 2013-02-21  Allan McRae  <allan@archlinux.org>
54415         * manual/message.texi (Charset conversion in gettext):
54416         Move @end statement to beginning of line.
54418 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54421         static.
54422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54423         Likewise.
54425         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54426         (denorm): Likewise.
54427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54430 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54432         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54433         tail-call to the resolved function if pltexit isn't needed.
54435 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54437         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54438         or Y being zero as being unlikely.
54439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54440         Likewise.
54442 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54444         * manual/nss.texi (System Databases and Name Service Switch):
54445         Remove frobnicate @pxref.
54447 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54449         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54450         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54452 2013-02-20  Petr Machata  <pmachata@redhat.com>
54454         * elf/elf.h (R_ARM_TARGET1): New macro.
54455         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54456         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54457         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54458         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54459         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54460         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54461         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54462         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54463         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54464         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54465         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54466         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54467         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54468         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54469         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54470         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54471         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54472         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54473         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54474         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54475         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54476         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54477         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54478         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54479         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54480         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54481         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54482         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54483         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54484         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54485         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54486         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54487         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54488         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54489         (R_ARM_THM_GOT_BREL12): Likewise.
54490         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54491         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54492         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54493         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54494         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54495         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54496         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54497         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54498         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54500 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54502         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54503         __attribute_used__ to __attribute__ ((unused)).
54505 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54507         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54508         powerpc mpa.c.
54509         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54510         comment formatting.
54511         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54513 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54515         [BZ #13550]
54516         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54517         Remove macro.
54518         (ENTER): Remove both macro definitions.
54519         (LEAVE): Likewise.
54520         (CHECK_BOUNDS_LOW): Likewise.
54521         (CHECK_BOUNDS_HIGH): Likewise.
54522         (CHECK_BOUNDS_BOTH): Likewise.
54523         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54524         (RETURN_BOUNDED_POINTER): Likewise.
54525         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54526         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54527         (POP_ERRNO_LOCATION_RETURN): Likewise.
54528         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54529         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54530         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54531         macros.
54532         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54533         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54534         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54535         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54536         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54537         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54538         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54539         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54540         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54541         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54542         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54543         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54544         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54545         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54546         removed macros.
54547         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54548         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54549         macros.
54550         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54551         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54552         * sysdeps/i386/i586/memset.S (memset): Likewise.
54553         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54554         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54555         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54556         macros.
54557         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54558         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54559         Change uses of L(2) to L(out).
54560         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54561         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54562         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54563         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54564         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54565         removed macros.
54566         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54567         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54568         macros.
54569         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54570         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54571         (RETURN): Do not use macro LEAVE.
54572         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54573         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54574         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54575         * sysdeps/i386/i686/memset.S (memset): Likewise.
54576         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54577         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54578         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54579         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54580         Likewise.
54581         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54582         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54583         L(1_2) and L(1_3) into L(1).
54584         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54585         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54586         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54587         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54588         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54589         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54590         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54591         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54592         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54593         macros.
54594         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54595         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54596         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54597         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54598         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54599         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54600         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54601         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54602         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54603         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54604         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54605         * sysdeps/i386/strspn.S (strspn): Likewise.
54606         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54607         conditional code.
54608         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54609         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54610         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54611         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54612         L(1_3) into L(1_1).
54613         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54614         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54615         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54616         macros.
54617         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54619 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54621         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54622         macro.
54624 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54626         * math/atest-exp.c (exp_mpn): Remove ROUND.
54627         * math/atest-exp2.c (exp_mpn): Likewise.
54628         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54630         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54631         * stdlib/tst-tls-atexit-lib.c: Likewise.
54632         * stdlib/tst-tls-atexit.c: Likewise.
54634 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54636         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54637         and __attribute_alloc_size__.
54639 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54641         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54642         __attribute_alloc_size__.
54643         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54644         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54646 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54648         * include/programs/xmalloc.h: New file.
54649         * catgets/gencat.c: Include it.
54650         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54651         * elf/pldd.c: Likewise.
54652         * iconv/iconv_charmap.c: Likewise.
54653         * iconv/iconvconfig.c: Likewise.
54654         * iconv/strtab.c: Likewise.
54655         * locale/programs/locale.c: Likewise.
54656         * locale/programs/localedef.h: Likewise.
54657         * locale/programs/simple-hash.c: Likewise.
54658         * nscd/nscd.h: Likewise.
54659         * nss/makedb.c: Likewise.
54660         * sysdeps/generic/ldconfig.h: Likewise.
54662 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54664         * Versions.def: Add GLIBC_2.18.
54665         * include/link.h (struct link_map): New member l_tls_dtor_count.
54666         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54667         (__call_tls_dtors): Likewise.
54668         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54669         __cxa_thread_atexit_impl.
54670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54671         Likewise.
54672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54673         Likewise.
54674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54675         Likewise.
54676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54677         Likewise.
54678         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54680         Likewise.
54681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54682         Likewise.
54683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54685         Likewise.
54686         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54687         (tests): Add test case tst-tls-atexit.
54688         (modules-names): Add shared library for tst-tls-atexit.
54689         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54690         (GLIBC_PRIVATE): Add __call_tls_dtors.
54691         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54692         for libstdc++.
54693         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54694         * stdlib/tst-tls-atexit.c: New test case.
54695         * stdlib/tst-tls-atexit-lib.c: New test case.
54697         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54699         * elf/Versions (ld): Add _dl_find_dso_for_object.
54700         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54701         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54702         (dl_open_worker): Use _dl_find_dso_for_object.
54703         * elf/dl-sym.c (do_sym): Likewise.
54704         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54706 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54708         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54709         Syntactic changes only.
54710         (_dl_runtime_profile): Do a tail-call to the resolved function.
54712 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54714         [BZ #13550]
54715         * sysdeps/x86_64/bp-asm.h: Remove file.
54716         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54717         <bp-sym.h> and <bp-asm.h>.
54718         (__clone): Do not use BP_SYM.
54719         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54720         <bp-sym.h> and <bp-asm.h>.
54721         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54722         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54723         "bp-asm.h".
54724         (_setjmp): Do not use BP_SYM.
54725         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54726         "bp-asm.h".
54727         (setjmp): Do not use BP_SYM.
54728         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54729         libc_hidden_def.
54730         (mempcpy): Do not use BP_SYM in weak_alias.
54731         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54732         "bp-asm.h".
54733         (strchr): Do not use BP_SYM.
54734         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54735         "bp-asm.h".
54736         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54737         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54738         (_start): Do not use BP_SYM.
54739         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54740         "bp-asm.h".
54741         (strcat): Do not use BP_SYM.
54742         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54743         "bp-asm.h".
54744         (STRCMP): Do not use BP_SYM.
54745         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54746         "bp-asm.h".
54747         (STRCPY): Do not use BP_SYM.
54748         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54749         "bp-asm.h".
54750         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54751         "bp-asm.h".
54752         (FUNCTION): Do not use BP_SYM.
54753         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54754         weak_alias.
54755         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54757 2013-02-17  Andreas Jaeger  <aj@suse.de>
54759         * time/Versions: Sort entries.
54760         * string/Versions: Likewise.
54761         * resolv/Versions: Likewise.
54762         * posix/Versions: Likewise.
54763         * iconv/Versions: Likewise.
54764         * elf/Versions: Likewise.
54765         * wcsmbs/Versions: Likewise.
54767 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54769         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54770         loop termination condition.
54772         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54773         variable to calculate EZ.
54774         (__sqr): Likewise.
54776         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54777         the lower precision input.
54779 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54781         [BZ #13550]
54782         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54783         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54784         (run-via-rtld-prefix): Do not handle %-bp tests.
54785         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54786         (all-object-suffixes): Remove .ob.
54787         (bppfx): Remove variable.
54788         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54789         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54790         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54791         [$(build-bounded) = yes] (libtype.ob): Likewise.
54792         * Makerules (elide-routines.ob): Remove variable.
54793         (do-tests-clean): Do not handle *-bp.out.
54794         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54795         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54796         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54797         (tests): Do not include $(tests-bp.out).
54798         (xtests): Do not include $(xtests-bp.out).
54799         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54800         [$(build-bounded) = yes] ($(addprefix
54801         $(objpfx),$(binaries-bounded))): Remove rule.
54802         ($(objpfx)%-bp.out): Remove rule.
54803         * config.make.in (build-bounded): Remove variable.
54804         * crypt/Makefile [$(build-bounded) = yes]
54805         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54806         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54807         append to variable.
54808         [$(build-bounded) = yes] (install-lib): Likewise.
54809         [$(build-bounded) = yes] (generated): Likewise.
54810         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54811         Remove rule.
54812         * intl/Makefile [$(build-bounded) = yes]
54813         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54814         * math/Makefile [$(build-bounded) = yes]
54815         ($(tests:%=$(objpfx)%-bp): Likewise.
54816         * misc/Makefile [$(build-bounded) = yes]
54817         ($(objpfx)tst-tsearch-bp): Likewise.
54818         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54819         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54820         Remove dependency.
54821         * string/Makefile (o-objects.ob): Remove variable.
54822         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54823         (CFLAGS-.ob): Remove variable.
54824         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54825         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54826         both definitions of variable.
54827         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54828         (ASFLAGS-.ob): Remove variable.
54830 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54832         [BZ #13550]
54833         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54834         Remove __BOUNDED_POINTERS__ from condition.
54835         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54836         * string/bits/string2.h [!__NO_STRING_INLINES &&
54837         !__BOUNDED_POINTERS__]: Likewise.
54838         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54839         Likewise.
54840         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54841         Remove conditional code.
54842         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54843         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54844         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54845         condition.
54847         [BZ #13550]
54848         * csu/libc-start.c: Do not include <bp-sym.h>.
54849         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54850         * elf/dl-open.c: Do not include <bp-sym.h>.
54851         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54852         * math/fegetenv.c: Do not include <bp-sym.h>.
54853         (fegetenv): Do not use BP_SYM in versioned symbols.
54854         * nptl/sysdeps/pthread/bits/libc-lockP.h
54855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54856         <bp-sym.h>.
54857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54858         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54860         (__pthread_mutex_destroy): Likewise.
54861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54862         (__pthread_mutex_lock): Likewise.
54863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54864         (__pthread_mutex_trylock): Likewise.
54865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54866         (__pthread_mutex_unlock): Likewise.
54867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54868         (__pthread_mutexattr_init): Likewise.
54869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54870         (__pthread_mutexattr_destroy): Likewise.
54871         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54872         (__pthread_mutexattr_settype): Likewise.
54873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54874         (__pthread_rwlock_init): Likewise.
54875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54876         (__pthread_rwlock_destroy): Likewise.
54877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54878         (__pthread_rwlock_rdlock): Likewise.
54879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54880         (__pthread_rwlock_tryrdlock): Likewise.
54881         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54882         (__pthread_rwlock_wrlock): Likewise.
54883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54884         (__pthread_rwlock_trywrlock): Likewise.
54885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54886         (__pthread_rwlock_unlock): Likewise.
54887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54888         (__pthread_key_create): Likewise.
54889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54890         (__pthread_setspecific): Likewise.
54891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54892         (__pthread_getspecific): Likewise.
54893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54894         Likewise.
54895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54896         (_pthread_cleanup_push_defer): Likewise.
54897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54898         (_pthread_cleanup_pop_restore): Likewise.
54899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54900         (pthread_setcancelstate): Likewise.
54901         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54902         <bp-sym.h>.
54903         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54904         (memchr): Do not use BP_SYM in weak_alias.
54905         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54906         (fegetenv): Do not use BP_SYM in versioned symbols.
54907         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54908         (fesetenv): Do not use BP_SYM in versioned symbols.
54909         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54910         (feupdateenv): Do not use BP_SYM in versioned symbols.
54911         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54912         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54913         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54914         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54915         (open64): Do not use BP_SYM in weak_alias.
54916         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54917         (fegetenv): Do not use BP_SYM in versioned symbols.
54918         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54919         (fesetenv): Do not use BP_SYM in versioned symbols.
54920         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54921         (feupdateenv): Do not use BP_SYM in versioned symbols.
54922         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54923         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54924         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54925         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54926         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54927         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54928         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54929         <bp-sym.h>.
54930         (__libc_start_main): Do not use BP_SYM.
54932 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54935         redundant return line.
54936         (norm): Likewise.
54937         (denorm): Likewise.
54938         (dbl_mp): Likewise.
54939         (sub_magnitudes): Likewise.
54940         (__add): Likewise.
54941         (__sub): Likewise.
54942         (__mul): Likewise.
54943         (__inv): Likewise.
54944         (__dvd): Likewise.
54945         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54946         (norm): Likewise.
54947         (denorm): Likewise.
54948         (dbl_mp): Likewise.
54949         (sub_magnitudes): Likewise.
54950         (__add): Likewise.
54951         (__sub): Likewise.
54952         (__mul): Likewise.
54953         (__inv): Likewise.
54954         (__dvd): Likewise.
54956         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54957         instead of __mul.
54958         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54959         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54960         (cc32): Likewise.
54962         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54963         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54964         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54965         of __mul for squares.
54966         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54967         function
54968         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54969         Likewise.
54970         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54971         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54973 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54975         [BZ #13550]
54976         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54977         code.
54978         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54979         prototype or function definition.  Rename ubp_* variables and
54980         parameters.  Remove argv definitions conditional on
54981         [__BOUNDED_POINTERS__].
54982         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54983         * elf/dl-runtime.c (_dl_fixup): Likewise.
54984         * include/set-hooks.h (RUN_HOOK): Likewise.
54985         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54986         definition.
54987         * string/strcpy.c (strcpy): Do not use __unbounded.
54988         * sysdeps/generic/frame.h (struct layout): Likewise.
54989         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54990         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54991         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54992         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54993         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54994         (__backtrace): Likewise.
54995         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54996         use __ptrvalue.
54997         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54998         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54999         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55000         Likewise.
55001         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55002         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55003         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55004         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55005         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55006         Do not use __unbounded.
55007         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55008         Rename __unboundedrlimits parameter to rlimits in prototype.
55009         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55010         Do not use __unbounded.
55011         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55012         not use __ptrvalue.
55013         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55014         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55015         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55016         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55017         __ptrvalue or __unbounded.
55018         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55019         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55020         use __unbounded.
55021         (__new_msgctl): Do not use __ptrvalue.
55022         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55023         __unbounded.
55024         (__libc_msgrcv): Do not use __ptrvalue.
55025         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55026         startup_info): Do not use __unbounded.
55027         (__libc_start_main): Likewise.  Rename ubp_* variables and
55028         parameters.  Remove argv definitions conditional on
55029         [__BOUNDED_POINTERS__].
55030         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55031         __ptrvalue.
55032         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55033         use __unbounded.
55034         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55035         or __ptrvalue.
55036         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55037         use __unbounded.
55038         (__new_shmctl): Do not use __ptrvalue.
55039         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55040         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55041         Likewise.
55042         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55043         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55044         (__libc_sigaction): Likewise.
55045         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55046         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55047         Likewise.
55048         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55050 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55052         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55054         * string/mempcpy.c: Implement by calling memcpy.
55056 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55058         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55060         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55061         evaluation.
55063         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55064         values in the mantissa.
55066         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55067         minimize writes to Z.
55068         (sub_magnitudes): Simplify code a bit.
55070 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55072         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55073         from the message.  The linker prefixes all warnings with that already.
55075 2013-02-12  Andreas Schwab  <schwab@suse.de>
55077         [BZ #15078]
55078         * posix/regexec.c (extend_buffers): Add parameter min_len.
55079         (check_matching): Pass minimum needed length.
55080         (clean_state_log_if_needed): Likewise.
55081         (get_subexp): Likewise.
55082         * posix/Makefile (tests): Add bug-regex34.
55083         (bug-regex34-ENV): Define.
55084         * posix/bug-regex34.c: New file.
55086         [BZ #11561]
55087         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55088         elements compare against the byte sequence of it, not its name.
55089         * posix/Makefile (tests): Add bug-regex35.
55090         (bug-regex35-ENV): Define.
55091         * posix/bug-regex35.c: New file.
55093 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55095         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55096         comment.
55097         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55098         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55099         (CHECK_EOL): Add undef.
55101 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55103         * bits/stdlib-bsearch.h: New file.
55104         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55105         * stdlib/stdlib.h: Likewise.
55107 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55109         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55110         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55111         declaration.
55112         * manual/search.texi (Array Search Function): Add missing const in
55113         lfind prototype.
55114         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55115         declaration to use rlim_t.
55116         (Basic Scheduling Functions): Remove erroneous const from
55117         sched_getparam prototype.  Remove erroneous * from
55118         sched_get_priority_max and sched_get_priority_min prototypes.
55119         (Resource Usage): Fix summary @comment on vtimes to refer to
55120         sys/vtimes.h rather than vtimes.h.
55121         Add missing *s in vtimes prototype.
55122         (Limits on Resources): Fix ulimit prototype to return long int.
55123         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55124         prototypes to use long int rather than double.
55125         (BSD Random): Fix initstate and setstate to use char *, not void *.
55126         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55127         prototype to make second argument 'struct aiocb64 *const[]'.
55128         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55129         (Status of AIO Operations): Remove erroneous const in aio_return and
55130         aio_return64 prototypes.
55131         (Synchronizing I/O): Fix sync prototype to return void.
55132         * manual/startup.texi (Suboptions): Remove an erroneous const in
55133         getsubopt prototype.
55134         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55135         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55136         use size_t rather than int.
55137         (Scanning All Users): Likewise for getpwent_r.
55138         (Setting Groups): Add missing const to setgroups prototype.
55139         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55140         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55141         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55142         'const void *' rather than 'const char *'.
55143         (Host Address Functions): Likewise for inet_ntop.
55144         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55145         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55146         ssize_t for return value.
55147         (Sending Data): Likewise for send, sendto, sendmsg.
55148         (Socket Option Functions): Add a missing const in setsockopt prototype.
55149         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55150         use wchar_t for the argument.
55151         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55152         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55153         take no arguments.
55154         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55155         double/float/long double for second argument.
55156         Fix return types of significand, significandf, significandl.
55157         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55158         argument in fchmod prototype.
55159         (File Owner): Use uid_t and gid_t in fchown prototype.
55160         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55161         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55162         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55163         use 'const struct dirent **' as argument types to CMP function pointer
55164         argument.
55165         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55166         (File Times): Fix summary magic @comment for struct utimbuf and utime
55167         to refer to utime.h, not time.h.
55168         * manual/string.texi (Argz Functions): Add missing const in
55169         argz_extract and argz_next prototypes.
55170         (Finding Tokens in a String): Likewise for basename.
55171         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55172         (Copying and Concatenation): Fix typo in wmemmove prototype.
55173         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55174         (Signal Stack): Remove erroneous const in sigstack prototype.
55175         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55176         prototype.
55177         (Simple Calendar Time): Likewise for stime.
55178         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55179         prototype.
55180         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55181         say sys/sysctl.h instead.
55182         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55183         and vsyslog prototypes.
55185 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55187         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55188         Remove.
55190 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55192         * misc/sys/mman.h: Fix typo in mremap comment.
55194 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55196         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55197         the '\0' terminator.
55199 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55201         [BZ #13550]
55202         * debug/segfault.c: Don't include <bp-checks.h>.
55203         * sysdeps/generic/bp-checks.h: Remove file.
55204         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55205         (__GETDENTS): Don't use CHECK_N.
55206         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55207         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55208         (__getgroups): Don't use CHECK_N.
55209         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55210         (setgroups): Don't use CHECK_N.
55211         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55212         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55213         (__libc_msgrcv): Don't use CHECK_N.
55214         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55215         (__libc_msgsnd): Don't use CHECK_N.
55216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55217         <bp-checks.h>.
55218         (__libc_pread): Don't use CHECK_N.
55219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55220         include <bp-checks.h>.
55221         (__libc_pread64): Don't use CHECK_N.
55222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55223         include <bp-checks.h>.
55224         (__libc_pwrite): Don't use CHECK_N.
55225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55226         include <bp-checks.h>.
55227         (__libc_pwrite64): Don't use CHECK_N.
55228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55229         <bp-checks.h>.
55230         (__libc_pread): Don't use CHECK_N.
55231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55232         include <bp-checks.h>.
55233         (__libc_pread64): Don't use CHECK_N.
55234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55235         include <bp-checks.h>.
55236         (__libc_pwrite): Don't use CHECK_N.
55237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55238         include <bp-checks.h>.
55239         (__libc_pwrite64): Don't use CHECK_N.
55240         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55241         (do_pread): Don't use CHECK_N.
55242         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55243         (do_pread64): Don't use CHECK_N.
55244         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55245         (do_pwrite): Don't use CHECK_N.
55246         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55247         (do_pwrite64): Don't use CHECK_N.
55248         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55249         (__libc_readv): Don't use CHECK_N.
55250         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55251         (semop): Don't use CHECK_N.
55252         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55253         <bp-checks.h>.
55254         (semtimedop): Don't use CHECK_N.
55255         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55256         (__libc_pread): Don't use CHECK_N.
55257         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55258         <bp-checks.h>.
55259         (__libc_pread64): Don't use CHECK_N.
55260         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55261         <bp-checks.h>.
55262         (__libc_pwrite): Don't use CHECK_N.
55263         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55264         <bp-checks.h>.
55265         (__libc_pwrite64): Don't use CHECK_N.
55266         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55267         <bp-checks.h>.
55268         (__libc_msgrcv): Don't use CHECK_N.
55269         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55270         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55271         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55272         (__libc_writev): Don't use CHECK_N.
55274 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55276         * string/strcpy.c: Removed unused variable.
55278         * Makeconfig (+sysdep-includes): Define with := rather than =.
55279         Use an existing include/ subdir of each sysdeps dir before it.
55281 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55283         * nscd/connection.c (register_traced_file): Comment function.
55284         [HAVE_INOTIFY] (union __inev): Define.
55285         [HAVE_INOTIFY] (inotify_check_files): New function.
55286         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55287         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55288         clear_db_cache.
55289         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55291 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55293         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55294         loaded if not already and that a failure is permanent.
55296 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55298         [BZ #15006]
55299         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55300         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55302 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55304         [BZ #13550]
55305         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55306         (CHECK_1_NULL_OK): Likewise.
55307         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55308         (__fxstat): Do not use CHECK_1.
55309         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55310         <bp-checks.h>.
55311         (___fxstat64): Do not use CHECK_1.
55312         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55313         <bp-checks.h>.
55314         (__fxstatat): Do not use CHECK_1.
55315         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55316         <bp-checks.h>.
55317         (__fxstatat64): Do not use CHECK_1.
55318         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55319         <bp-checks.h>.
55320         (__fxstat): Do not use CHECK_1.
55321         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55322         <bp-checks.h>.
55323         (__fxstatat): Do not use CHECK_1.
55324         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55325         <bp-checks.h>.
55326         (__getresgid): Do not use CHECK_1.
55327         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55328         <bp-checks.h>.
55329         (__getresuid): Do not use CHECK_1.
55330         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55331         <bp-checks.h>.
55332         (__lxstat): Do not use CHECK_1.
55333         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55334         <bp-checks.h>.
55335         (__old_msgctl): Do not use CHECK_1.
55336         (__new_msgctl): Likewise.
55337         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55338         <bp-checks.h>.
55339         (__new_setrlimit): Do not use CHECK_1.
55340         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55341         <bp-checks.h>.
55342         (__old_shmctl): Do not use CHECK_1.
55343         (__new_shmctl): Likewise.
55344         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55345         <bp-checks.h>.
55346         (__xstat): Do not use CHECK_1.
55347         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55348         (__lxstat): Do not use CHECK_1.
55349         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55350         <bp-checks.h>.
55351         (___lxstat64): Do not use CHECK_1.
55352         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55353         (__old_msgctl): Do not use CHECK_1.
55354         (__new_msgctl): Likewise.
55355         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55356         <bp-checks.h>.
55357         (__gettimeofday): Do not use CHECK_1.
55358         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55359         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55360         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55361         <bp-checks.h>.
55362         (__gettimeofday): Do not use CHECK_1.
55363         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55364         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55365         (__new_shmctl): Do not use CHECK_1.
55366         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55367         <bp-checks.h>.
55368         (do_sigtimedwait): Do not use CHECK_1.
55369         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55370         <bp-checks.h>.
55371         (do_sigwaitinfo): Do not use CHECK_1.
55372         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55373         <bp-checks.h>.
55374         (msgctl): Do not use CHECK_1.
55375         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55376         <bp-checks.h>.
55377         (shmctl): Do not use CHECK_1.
55378         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55379         (ustat): Do not use CHECK_1.
55380         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55381         <bp-checks.h>.
55382         (__fxstat): Do not use CHECK_1.
55383         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55384         <bp-checks.h>.
55385         (__fxstatat): Do not use CHECK_1.
55386         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55387         <bp-checks.h>.
55388         (__lxstat): Do not use CHECK_1.
55389         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55390         <bp-checks.h>.
55391         (__xstat): Do not use CHECK_1.
55392         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55393         (__xstat): Do not use CHECK_1.
55394         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55395         (___xstat64): Do not use CHECK_1.
55397         [BZ #13550]
55398         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55399         definitions.
55400         (CHECK_BOUNDS_HIGH): Likewise.
55401         * string/strcpy.c: Do not include <bp-checks.h>.
55402         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55404 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55406         * nscd/nscd-client.h (__nscd_drop_map_ref):
55407         Add __attribute__ ((unused)).
55408         * nis/nss-nisplus.h (niserr2nss): Likewise.
55410         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55411         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55413         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55414         Remove inline keyword.
55415         * include/rounding-mode.h (round_away): Likewise.
55416         * libio/wfileops.c (adjust_wide_data): Likewise.
55417         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55418         (__m128i_strloadu_tolower): Likewise.
55419         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55420         (__m128i_strloadu_tolower): Likewise.
55421         * time/mktime.c (ydhms_diff): Likewise.
55422         * locale/elem-hash.h (elem_hash): Likewise.
55423         * locale/setlocale.c (setdata): Likewise.
55424         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55425         (re_string_wchar_at): Likewise.
55426         (bitset_not, bitset_merge, bitset_mask): Likewise.
55427         [!(__GNUC__ > 3)] (inline): Remove macro.
55428         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55429         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55430         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55431         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55432         * string/memcmp.c (memcmp_bytes): Likewise.
55433         * locale/programs/locarchive.c (compute_hashval): Likewise.
55434         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55435         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55436         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55437         * nss/getent.c (print_rpc, print_protocols): Likewise.
55438         (print_passwd, print_group, print_aliases): Likewise.
55439         * nis/nss-nisplus.h (niserr2nss): Likewise.
55440         * nscd/connections.c (restart_p): Likewise.
55441         Change return type to bool.
55443 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55445         * Makeconfig (all-Depend-files): Add existing
55446         $(sorted-subdirs:=/Depend) files.
55447         (all-subdirs): Remove nss.
55448         * sysdeps/unix/inet/Subdirs: Add it here instead.
55449         * hesiod/Depend: New file.
55451         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55452         instead of calling alloca.
55454         * io/lseek.c (__lseek): Rename to __libc_lseek.
55455         Define __lseek as an alias.
55457         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55459 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55461         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55462         else clause and remove check for non-standard endianness.
55464 2013-02-04  David S. Miller  <davem@davemloft.net>
55466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55468 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55470         [BZ #13550]
55471         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55472         (__ubp_memchr): Remove prototype.
55473         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55474         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55475         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55476         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55477         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55478         Remove alias.
55479         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55480         (__ubp_memchr): Likewise.
55481         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55482         (__ubp_memchr): Likewise.
55483         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55484         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55485         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55486         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55487         CHECK_STRING.
55488         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55489         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55490         (__getcwd): Do not use CHECK_STRING.
55491         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55492         <bp-checks.h>.
55493         (__real_chown): Do not use CHECK_STRING.
55494         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55495         <bp-checks.h>.
55496         (fchownat): Do not use CHECK_STRING.
55497         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55498         CHECK_STRING.
55499         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55500         <bp-checks.h>.
55501         (__lchown): Do not use CHECK_STRING.
55502         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55503         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55504         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55505         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55507         include <bp-checks.h>.
55508         (truncate64): Do not use CHECK_STRING.
55509         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55510         <bp-checks.h>.
55511         (__real_chown): Do not use CHECK_STRING.
55512         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55513         <bp-checks.h>.
55514         (__lchown): Do not use CHECK_STRING.
55515         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55516         <bp-checks.h>.
55517         (__chown): Do not use CHECK_STRING.
55518         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55519         <bp-checks.h>.
55520         (truncate64): Do not use CHECK_STRING.
55521         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55522         Likewise.
55523         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55524         (__xmknod): Do not use CHECK_STRING.
55525         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55526         <bp-checks.h>.
55527         (__xmknodat): Do not use CHECK_STRING.
55528         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55529         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55531 2013-02-04  Andreas Schwab  <schwab@suse.de>
55533         [BZ #14142]
55534         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55535         * include/netdb.h: Likewise for h_errno.
55536         * elf/tst-stackguard1.c: Include <tls.h>.
55538 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55540         * elf/link.h (struct link_map): Extend the l_addr comment.
55541         * include/link.h (struct link_map): Likewise.
55543 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55545         [BZ #13550]
55546         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55547         (BOUNDED_1): Remove macro.
55548         * debug/backtrace.c: Don't include <bp-checks.h>.
55549         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55550         (__backtrace): Likewise.
55551         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55552         <bp-checks.h>.
55553         (__backtrace): Don't use BOUNDED_1.
55554         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55555         <bp-checks.h>.
55556         (__backtrace): Don't use BOUNDED_1.
55557         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55558         (__backtrace): Don't use BOUNDED_1.
55559         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55560         (shmat): Don't use BOUNDED_N.
55562 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55564         [BZ #13550]
55565         * sysdeps/generic/bp-start.h: Remove file.
55566         * csu/libc-start.c: Don't include <bp-start.h>.
55567         (LIBC_START_MAIN): Set up __environ directly instead of using
55568         INIT_ARGV_and_ENVIRON.
55569         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55570         <bp-start.h>.
55572         [BZ #13550]
55573         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55574         definitions.
55575         (CHECK_FCNTL): Likewise.
55576         (CHECK_N_PAGES): Likewise.
55578         [BZ #13550]
55579         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55580         definitions.
55581         (CHECK_SIGSET_NULL_OK): Likewise.
55582         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55583         <bp-checks.h>.
55584         (sigpending): Don't use CHECK_SIGSET.
55585         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55586         <bp-checks.h>.
55587         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55588         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55589         <bp-checks.h>.
55590         (do_sigsuspend): Don't use CHECK_SIGSET.
55591         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55592         use CHECK_SIGSET.
55593         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55594         (do_sigwait): Don't use CHECK_SIGSET.
55595         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55596         use CHECK_SIGSET.
55597         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55598         include <bp-checks.h>.
55599         (sigpending): Don't use CHECK_SIGSET.
55600         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55601         include <bp-checks.h>.
55602         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55603         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55604         <bp-checks.h>.
55605         (sigpending): Don't use CHECK_SIGSET.
55606         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55607         <bp-checks.h>.
55608         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55610         [BZ #13550]
55611         * sysdeps/generic/bp-semctl.h: Remove file.
55612         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55613         <bp-checks.h> and <bp-semctl.h>.
55614         (__old_semctl): Don't use CHECK_SEMCTL.
55615         (__new_semctl): Likewise.
55616         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55617         and <bp-semctl.h>.
55618         (__old_semctl): Don't use CHECK_SEMCTL.
55619         (__new_semctl): Likewise.
55620         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55621         <bp-checks.h> and <bp-semctl.h>.
55622         (__old_semctl): Don't use CHECK_SEMCTL.
55623         (__new_semctl): Likewise.
55624         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55625         <bp-checks.h> and <bp-semctl.h>.
55626         (semctl): Don't use CHECK_SEMCTL.
55628         [BZ #13550]
55629         * Makerules (elide-bp-thunks): Remove variable.
55630         (elide-routines.oS): Don't use $(elide-bp-thunks).
55631         (elide-routines.os): Likewise.
55632         (elide-routines.o): Likewise.
55633         (elide-routines.op): Likewise.
55634         (elide-routines.og): Likewise.
55635         (objects): Don't use $(bp-thunks).
55636         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55637         include.
55638         (common-generated): Do not add s-proto-bp.d.
55639         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55640         (int): Likewise.
55641         (typ): Likewise.
55642         Do not generate makefile rules for bounded-pointer thunks.
55643         * sysdeps/generic/bp-thunks.h: Remove file.
55644         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55645         * sysdeps/unix/s-proto-bp.S: Likewise.
55647         [BZ #15062]
55648         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55649         parts of result separately when argument is not close to line from
55650         -i to i and one part of argument is small.
55651         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55652         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55653         * math/libm-test.inc (cacos_test): Add more tests.
55654         (casin_test): Likewise.
55655         (casinh_test): Likewise.
55656         * sysdeps/i386/fpu/libm-test-ulps: Update.
55657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55659 2013-01-31  David S. Miller  <davem@davemloft.net>
55661         * po/de.po: Update from translation team.
55663 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55665         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55667 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55669         * configure.in (_AC_PROG_CC_C89): New definition.
55670         * configure: Regenerate.
55672         * configure.in (AC_PROG_CPP): New definition.
55673         * configure: Regenerate.
55675 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55677         * debug/tst-backtrace.h: New file.
55678         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55679         (ret): Remove variable.
55680         (x): Likewise.
55681         (FAIL): Remove macro.
55682         (NO_INLINE): Likewise.
55683         (fn1): Use match function instead of strstr.
55684         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55685         (ret): Remove variable.
55686         (x): Likewise.
55687         (FAIL): Remove macro.
55688         (NO_INLINE): Likewise.
55689         (fn): Use match function instead of strstr.
55690         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55691         (ret): Remove variable.
55692         (x): Likewise.
55693         (FAIL): Remove macro.
55694         (NO_INLINE): Likewise.
55695         (handle_signal): Use match function instead of strstr.
55696         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55697         (ret): Remove variable.
55698         (x): Likewise.
55699         (FAIL): Remove macro.
55700         (NO_INLINE): Likewise.
55701         (handle_signal): Use match function instead of strstr.
55703 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55705         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55707 2013-01-23  David S. Miller  <davem@davemloft.net>
55709         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55710         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55711         argument of CAS if possible.
55712         * sysdeps/sparc/sparc64/bits/atomic.h
55713         (__arch_compare_and_exchange_val_32_acq): Likewise.
55714         (__arch_compare_and_exchange_val_64_acq): Likewise.
55716 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55718         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55719         * sysdeps/posix/ulimit.c: ... this.
55720         Include <limits.h>.
55721         * sysdeps/unix/bsd/ulimit.c: Remove file.
55723 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55725         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55726         (LDFLAGS-tst-array5): Likewise.
55728 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55730         [BZ #15036]
55731         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55732         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55733         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55734         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55736 2013-01-21  David S. Miller  <davem@davemloft.net>
55738         * sysdeps/sparc/backtrace.c: New file.
55739         * sysdeps/sparc/sparc32/backtrace.h: New file.
55740         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55741         * sysdeps/sparc/sparc64/backtrace.h: New file.
55742         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55743         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55744         -funwind-tables.
55746 2013-01-21  Andreas Schwab  <schwab@suse.de>
55748         [BZ #15020]
55749         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55750         closed its stdout.
55752 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55755         "mpa2.h".
55756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55758 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55759             Mark Mitchell  <mark@codesourcery.com>
55760             Tom de Vries  <tom@codesourcery.com>
55761             Paul Pluzhnikov  <ppluzhnikov@google.com>
55763         * debug/tst-backtrace2.c: New file.
55764         * debug/tst-backtrace3.c: Likewise.
55765         * debug/tst-backtrace4.c: Likewise.
55766         * debug/tst-backtrace5.c: Likewise.
55767         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55768         (CFLAGS-tst-backtrace3.c): Likewise.
55769         (CFLAGS-tst-backtrace4.c): Likewise.
55770         (CFLAGS-tst-backtrace5.c): Likewise.
55771         (LDFLAGS-tst-backtrace2): Likewise.
55772         (LDFLAGS-tst-backtrace3): Likewise.
55773         (LDFLAGS-tst-backtrace4): Likewise.
55774         (LDFLAGS-tst-backtrace5): Likewise.
55775         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55776         tst-backtrace4 and tst-backtrace5.
55778 2013-01-18  Anton Blanchard  <anton@samba.org>
55779             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55781         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55782         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55783         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55784         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55786         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55787         "+r" and remove output regs list as redundant.  Add explicit inline
55788         asm to specify register of return val to work around compiler codegen
55789         bug.  Remove (int) cast on return value.  Add return type parameter to
55790         use in macro so that this macro does not truncate return value for
55791         64-bit values.
55792         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55793         pass to INTERNAL_VSYSCALL_NCS.
55794         (INLINE_VSYSCALL): Add 'long int' as return type to
55795         INTERNAL_VSYSCALL_NCS macro invocation.
55796         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55797         INTERNAL_VSYSCALL_NCS macro invocation.
55798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55800 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55802         [BZ #14496]
55803         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55804         Fix application of SIMD FP exception mask.
55806         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55807         mp_no from a power of two.
55808         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55809         __mpexp_twomm1.  Use __pow_mp.
55811         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55812         multiplication.
55814 2013-01-17  David S. Miller  <davem@davemloft.net>
55816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55818 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55820         [BZ #15023]
55821         * include/complex.h: Condition contents on [!_COMPLEX_H].
55822         (__kernel_casinhf): New prototype.
55823         (__kernel_casinh): Likewise.
55824         (__kernel_casinhl): Likewise.
55825         * math/Makefile (libm_calls): Add k_casinh.
55826         * math/k_casinh.c: New file.
55827         * math/k_casinhf.c: Likewise.
55828         * math/k_casinhl.c: Likewise.
55829         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55830         finite nonzero arguments.
55831         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55832         finite nonzero arguments.
55833         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55834         finite nonzero arguments.
55835         * math/s_casinh.c: Do not include <float.h>.
55836         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55837         * math/s_casinhf.c: Do not include <float.h>.
55838         (__casinhf): Move code for finite nonzero arguments to
55839         k_casinhf.c.
55840         * math/s_casinhl.c: Do not include <float.h>.
55841         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55842         redefine.
55843         (__casinhl): Move code for finite nonzero arguments to
55844         k_casinhl.c.
55845         * math/libm-test.inc (cacos_test): Add more tests.
55846         * sysdeps/i386/fpu/libm-test-ulps: Update.
55847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55849 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55851         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55852         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55853         [!HAVE_MREMAP]: Remove [defined linux] case.
55854         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55856 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55858         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55860 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55862         * elf/elf.h (R_386_SIZE32): New relocation.
55863         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55864         R_386_SIZE32.
55865         (elf_machine_rela): Likewise.
55866         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55867         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55869 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55871         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55872         (FP_FAST_FMA): Do not define.
55873         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55874         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55875         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55876         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55877         !_SOFT_FLOAT]: Likewise.
55878         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55879         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55880         value.
55881         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55882         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55883         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55884         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55885         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55886         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55887         file.
55889 2013-01-16  Andreas Schwab  <schwab@suse.de>
55891         [BZ #14327]
55892         * include/stdlib.h (__mktemp): Add declaration.
55893         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55894         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55896 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55898         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55899         definitions.
55900         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55901         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55902         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55903         definitions here.
55904         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55905         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55906         definitions.
55907         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55908         and ONE.
55909         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55910         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55911         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55912         definitions.
55913         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55914         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55915         definitions.
55916         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55918         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55920 2013-01-15  David S. Miller  <davem@davemloft.net>
55922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55923         trunc{,f} to libm-sysdep_routes.
55924         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55926         file.
55927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55929         file.
55930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55931         file.
55932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55934         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55935         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55936         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55937         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55938         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55939         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55942         nearbyint{,f} to libm-sysdep_routes.
55943         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55945         New file.
55946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55947         file.
55948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55949         New file.
55950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55951         file.
55952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55954         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55955         file.
55956         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55957         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55958         file.
55959         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55960         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55961         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55963         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55964         libc_feholdexcept and libc_fesetenv.
55966 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55968         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55970 2013-01-14  David S. Miller  <davem@davemloft.net>
55972         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55973         (SPARC_ASM_VIS2_IFUNC): Likewise.
55974         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55976         use of 'siam' instruction.
55977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55978         Likewise.
55979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55980         Likewise.
55981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55982         Likewise.
55983         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55984         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55988         file.
55989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55990         file.
55991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55992         file.
55993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55994         file.
55995         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55996         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55997         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55998         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56000         new VIS2 routines.
56001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56004         Likewise.
56005         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56006         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56007         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56008         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56010         routines to libm-sysdep_routines.
56011         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56014         fdim/fdimf to libm-sysdep_routines.
56015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56016         file.
56017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56019         file.
56020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56023         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56024         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56025         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56026         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56028 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56030         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56031         to optimize copies.
56033         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56037         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56038         local variable MPTWO.
56039         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56040         Likewise.
56042 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56044         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56045         GLOB_NOESCAPE.
56047 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56049         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56051 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56053         * manual/pattern.texi (glob_t): Document gl_flags.
56054         (glob64_t): Likewise.
56056 2013-01-11  David S. Miller  <davem@davemloft.net>
56058         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56059         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56060         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56061         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56062         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56063         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56064         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56065         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56066         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56067         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56068         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56069         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56070         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56072         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56073         sparc V9 rather than using V8 code.
56074         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56075         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56077         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56078         Move to...
56079         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56080         Here.
56082 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56084         [BZ #14941]
56085         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56086         not in the main loop.
56087         * configure: Regenerated.
56089 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56091         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56092         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56093         to just #else.
56094         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56095         [!__GLIBC_HAVE_LONG_LONG] case.
56096         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56097         condition to just #else.
56098         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56099         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56100         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56101         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56102         unconditional.
56103         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56104         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56105         #elif condition to just #else.
56106         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56107         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56108         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56109         #elif condition to just #else.
56111 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56113         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56114         (EF_MIPS_ARCH_64): Fix value.
56115         (EF_MIPS_ARCH_32R2): New.
56116         (EF_MIPS_ARCH_64R2): New.
56118 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56120         * Makeconfig (+link-pie-before-libc): New.
56121         (+link-pie-after-libc): Likewise.
56122         (+link-pie-tests): Likewise.
56123         (+link-pie): Rewritten.
56124         (link-before-libc): Remove $(config-LDFLAGS).
56125         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56126         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56127         (config-LDFLAGS): Renamed to ...
56128         (rtld-LDFLAGS): This.
56129         (rtld-tests-LDFLAGS): New macro.
56130         (link-libc-rpath-link): Likewise.
56131         (link-libc-tests-rpath-link): Likewise.
56132         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56133         (link-libc): Prepand $(link-libc-rpath-link).
56134         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56135         (test-program-prefix): New macro.
56136         (test-via-rtld-prefix): Likewise.
56137         (test-program-cmd): Likewise.
56138         (host-test-program-cmd): Likewise.
56139         * Makefile ($(common-objpfx)testrun.sh): Replace
56140         $(run-program-prefix) with $(test-program-prefix).
56141         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56142         $(rtld-LDFLAGS).
56143         ($(common-objpfx)shlib.lds): Likewise.
56144         (build-module-helper): Likewise.
56145         ($(common-objpfx)format.lds): Likewise.
56146         * Rules (binaries-pie-tests): New.
56147         (binaries-pie-notests): Likewise.
56148         (binaries-pie): Rewritten.
56149         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56150         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56151         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56152         (make-test-out): Replace $(host-built-program-cmd) with
56153         $(host-test-program-cmd).
56154         * config.make.in (build-hardcoded-path-in-tests): New variable.
56155         * configure.in (--enable-hardcoded-path-in-tests): New configure
56156         option.
56157         (hardcoded_path_in_tests): New AC_SUBST.
56158         * configure: Regenerated.
56159         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56160         $(built-program-cmd) with $(test-program-cmd).
56161         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56162         (test_program_cmd): This.
56163         * elf/Makefile ($(objpfx)order.out): Run test with
56164         $(test-program-prefix).
56165         ($(objpfx)order2.out): Likewise.
56166         ($(objpfx)tst-initorder.out): Likewise.
56167         ($(objpfx)tst-initorder2.out): Likewise.
56168         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56169         $(test-program-cmd).
56170         ($(objpfx)tst-array1-static.out): Likewise.
56171         ($(objpfx)tst-array2.out): Likewise.
56172         ($(objpfx)tst-array3.out): Likewise.
56173         ($(objpfx)tst-array4.out): Likewise.
56174         ($(objpfx)tst-array5.out): Likewise.
56175         ($(objpfx)tst-array5-static.out): Likewise.
56176         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56177         $(test-program-cmd).
56178         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56179         $(run-program-prefix) with $(test-program-prefix).
56180         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56181         (test_program_prefix): This.
56182         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56183         $(run-program-prefix) with $(test-program-prefix).
56184         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56185         (test_program_prefix): This.
56186         * iconvdata/tst-tables.sh: Likewise.
56187         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56188         $(run-program-prefix) with $(test-program-prefix).
56189         ($(objpfx)tst-translit.out): Likewise.
56190         ($(objpfx)tst-gettext2.out): Likewise.
56191         ($(objpfx)tst-gettext4.out): Likewise.
56192         ($(objpfx)tst-gettext6.out): Likewise.
56193         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56194         (test_program_prefix): This.
56195         * intl/tst-gettext2.sh: Likewise.
56196         * intl/tst-gettext4.sh  Likewise.
56197         * intl/tst-gettext6.sh: Likewise.
56198         * intl/tst-translit.sh: Likewise.
56199         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56200         with $(test-program-cmd).
56201         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56202         $(run-program-prefix) with $(test-program-prefix).
56203         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56204         (test_program_prefix): This.
56205         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56206         $(run-program-prefix) with $(test-program-prefix).
56207         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56208         (test_program_prefix): This.
56209         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56210         * posix/Makefile ($(objpfx)globtest.out): Replace
56211         $(run-via-rtld-prefix) and $(test-wrapper) with
56212         $(test-program-prefix) and $(test-via-rtld-prefix).
56213         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56214         $(test-program-prefix).
56215         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56216         $(host-test-program-cmd).
56217         (tst-spawn-ARGS): Likewise.
56218         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56219         $(test-program-prefix).
56220         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56221         (test_via_rtld_prefix): This.
56222         (test_wrapper): Renamed to ...
56223         (test_program_prefix): This.
56224         (run_program_prefix): Replaced by test_program_prefix.
56225         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56226         (test_program_prefix): This.
56227         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56228         with $(host-test-program-cmd).
56229         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56230         $(run-program-prefix) with $(test-program-prefix).
56231         ($(objpfx)tst-printf.out): Likewise.
56232         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56233         $(test-program-cmd).
56234         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56235         (test_program_prefix): This.
56236         * stdio-common/tst-unbputc.sh: Likewise.
56237         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56238         $(run-program-prefix) with $(test-program-prefix).
56239         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56240         (test_program_prefix): This.
56241         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56242         $(built-program-cmd) with $(test-program-cmd).
56244 2013-01-11  Andreas Jaeger  <aj@suse.de>
56246         [BZ #15003]
56247         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56248         value. Sync with Linux 3.7.
56250 2013-01-10  David S. Miller  <davem@davemloft.net>
56252         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56253         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56254         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56256 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56258         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56259         never set.
56260         * configure: Regenerated.
56262 2013-01-10  David S. Miller  <davem@davemloft.net>
56264         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56265         sparc V9 rather than using V8 code.
56266         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56267         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56269 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56271         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56272         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56273         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56274         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56275         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56276         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56277         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56278         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56279         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56280         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56281         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56282         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56283         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56284         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56285         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56286         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56287         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56288         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56289         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56290         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56291         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56292         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56293         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56294         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56295         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56296         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56297         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56299 2013-01-10  David S. Miller  <davem@davemloft.net>
56301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56303 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56305         * posix/Makefile (tests-static): New variable.
56306         (tests): Add $(tests-static).
56307         (tst-exec-static-ARGS): New variable.
56308         (tst-spawn-static-ARGS): Likewise.
56309         * posix/tst-exec-static.c: New file.
56310         * posix/tst-spawn-static.c: Likewise.
56311         * posix/tst-exec.c: Support run directly.
56312         * posix/tst-spawn.c: Likewise.
56314 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56316         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56317         long.
56318         * math/bits/mathcalls.h (llrint): Likewise.
56319         (llround): Likewise.
56320         * stdlib/stdlib.h (struct drand48_data): Likewise.
56321         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56322         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56323         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56324         Likewise.
56325         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56326         Likewise.
56327         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56328         (elf_greg_t): Likewise.
56329         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56330         (__jmp_buf): Likewise.
56331         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56332         definitions.
56333         (llrint): Likewise, for all definitions.
56334         (llrintl): Likewise.
56336         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56337         Remove [__GNUC__] condition.
56338         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56339         condition to just [__USE_ISOC99].
56340         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56342 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56344         [BZ #14200]
56345         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56346         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56347         defined.
56348         (_POSIX_V6_ILP32_OFF32): Likewise.
56349         (_XBS5_ILP32_OFF32): Likewise.
56350         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56351         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56353 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56355         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56357         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56358         doubles __mpexp_twomm1.  Adjust usage.
56359         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56360         Remove.
56362 2013-01-10  Andreas Schwab  <schwab@suse.de>
56364         [BZ #14964]
56365         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56366         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56368 2013-01-09  David S. Miller  <davem@davemloft.net>
56370         [BZ #15003]
56371         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56372         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56373         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56374         (TCP_FASTOPEN): Define.
56375         (tcp_repair_opt): New structure.
56376         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56377         enum values.
56378         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56379         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56380         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56381         (tcp_cookie_transactions): New structure.
56383 2013-01-09  Anton Blanchard  <anton@samba.org>
56385         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56386         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56387         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56388         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56390 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56392         * include/features.h (__USE_ANSI): Remove.
56394 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56396         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56398         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56400 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56402         * sysdeps/s390/fpu/libm-test-ulps: Update.
56404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56406         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56407         (__acr): Likewise.
56408         (__cpy): Likewise.
56409         (norm): Likewise.
56410         (denorm): Likewise.
56411         (__mp_dbl): Likewise.
56412         (__dbl_mp): Likewise.
56413         (add_magnitudes): Likewise.
56414         (sub_magnitudes): Likewise.
56415         (__add): Likewise.
56416         (__sub): Likewise.
56417         (__mul): Likewise.
56418         (__inv): Likewise.
56419         (__dvd): Likewise.
56420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56421         (__acr): Likewise.
56422         (__cpy): Likewise.
56423         (norm): Likewise.
56424         (denorm): Likewise.
56425         (__mp_dbl): Likewise.
56426         (__dbl_mp): Likewise.
56427         (add_magnitudes): Likewise.
56428         (sub_magnitudes): Likewise.
56429         (__add): Likewise.
56430         (__sub): Likewise.
56431         (__mul): Likewise.
56432         (__inv): Likewise.
56433         (__dvd): Likewise.
56434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56435         (__acr): Likewise.
56436         (__cpy): Likewise.
56437         (norm): Likewise.
56438         (denorm): Likewise.
56439         (__mp_dbl): Likewise.
56440         (__dbl_mp): Likewise.
56441         (add_magnitudes): Likewise.
56442         (sub_magnitudes): Likewise.
56443         (__add): Likewise.
56444         (__sub): Likewise.
56445         (__mul): Likewise.
56446         (__inv): Likewise.
56447         (__dvd): Likewise.
56449 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56451         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56452         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56453         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56454         2 && __USE_EXTERN_INLINES]: Likewise.
56456 2013-01-08  Andreas Jaeger  <aj@suse.de>
56458         [BZ# 14985]
56459         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56460         Remove.
56461         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56462         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56464 2013-01-07  Anton Blanchard  <anton@samba.org>
56466         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56467         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56468         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56469         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56470         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56471         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56472         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56473         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56475         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56476         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56477         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56478         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56479         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56480         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56481         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56482         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56483         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56484         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56485         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56486         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56487         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56488         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56489         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56490         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56491         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56492         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56493         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56494         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56495         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56496         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56498         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56499         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56500         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56501         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56502         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56503         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56504         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56505         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56506         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56507         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56508         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56510 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56512         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56513         (__MALLOC_PMT): Likewise.
56514         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56515         [__GNUC__], only on [_LIBC].
56516         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56517         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56518         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56519         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56520         forward declaration.
56521         (realloc_hook_ini): Likewise.
56522         (memalign_hook_ini): Likewise.
56523         (__libc_memalign): Do not use __MALLOC_PMT in variable
56524         declaration.
56525         (__libc_valloc): Likewise.
56526         (__libc_pvalloc): Likewise.
56527         (__libc_calloc): Likewise.
56528         (__posix_memalign): Likewise.
56530         [BZ #14996]
56531         * math/s_casinh.c: Include <float.h>.
56532         (__casinh): Do not do computation with squaring and square root
56533         for large arguments.
56534         * math/s_casinhf.c: Include <float.h>.
56535         (__casinhf): Do not do computation with squaring and square root
56536         for large arguments.
56537         * math/s_casinhl.c: Include <float.h>.
56538         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56539         (__casinhl): Do not do computation with squaring and square root
56540         for large arguments.
56541         * math/libm-test.inc (casin_test): Add more tests.
56542         (casinh_test): Likewise.
56543         * sysdeps/i386/fpu/libm-test-ulps: Update.
56544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56546 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56548         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56549         (__x86_64_raw_data_cache_size): Likewise.
56550         (__x86_64_data_cache_size_half): Likewise.
56551         (__x86_64_raw_data_cache_size_half): Likewise.
56552         (__x86_64_shared_cache_size): Likewise.
56553         (__x86_64_raw_shared_cache_size): Likewise.
56554         (__x86_64_shared_cache_size_half): Likewise.
56555         (__x86_64_raw_shared_cache_size_half): Likewise.
56556         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56557         to ...
56558         (__x86_data_cache_size): This.
56559         (__x86_64_raw_data_cache_size): Renamed to ...
56560         (__x86_raw_data_cache_size): This.
56561         (__x86_64_data_cache_size_half): Renamed to ...
56562         (__x86_data_cache_size_half): This.
56563         (__x86_64_raw_data_cache_size_half): Renamed to ...
56564         (__x86_raw_data_cache_size_half): This.
56565         (__x86_64_shared_cache_size): Renamed to ...
56566         (__x86_shared_cache_size): This.
56567         (__x86_64_raw_shared_cache_size): Renamed to ...
56568         (__x86_raw_shared_cache_size): This.
56569         (__x86_64_shared_cache_size_half): Renamed to ...
56570         (__x86_shared_cache_size_half): This.
56571         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56572         (__x86_raw_shared_cache_size_half): This.
56573         * sysdeps/x86_64/memcpy.S: Updated.
56574         * sysdeps/x86_64/memset.S: Likewise.
56575         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56576         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56577         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56579 2013-01-04  David S. Miller  <davem@davemloft.net>
56581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56583 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56585         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56586         1 to avoid redefinition warning.
56587         (__USE_GNU): Don't define.
56588         (init_signaling_nan): Protoize.
56590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56592 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56594         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56596         (__cpymn): Likewise.
56597         (norm): Remove commented code.
56598         (denorm): Likewise.
56599         (__mp_dbl): Likewise.
56600         (__inv): Likewise.
56601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56602         (__cpymn): Likewise.
56603         (norm): Remove commented code.
56604         (denorm): Likewise.
56605         (__mp_dbl): Likewise.
56606         (__inv): Likewise.
56608         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56609         mp_no value for 1.0 and 2.0.
56610         (norm): Use RADIXI instead of radixi.d.
56611         (denorm): Likewise.
56612         (__mul): Use 0.0 instead of zero.d.
56613         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56614         mp_no value for 1.0 and 2.0.
56615         (norm): Use RADIXI instead of radixi.d.
56616         (denorm): Likewise.
56617         (__mul): Use 0.0 instead of zero.d.
56619 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56621         [BZ #14994]
56622         * math/s_casinh.c (__casinh): Reduce finite argument to first
56623         quadrant then set signs of results at the end.
56624         * math/s_casinhf.c (__casinhf): Likewise.
56625         * math/s_casinhl.c (__casinhl): Likewise.
56626         * math/libm-test.inc (casin_test): Add more tests.
56627         (casinh_test): Likewise.
56628         * sysdeps/i386/fpu/libm-test-ulps: Update.
56629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56631 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56633         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56635         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56637         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56638         declarations.
56639         (denorm): Likewise.
56640         (__mp_dbl): Likewise.
56641         (__inv): Likewise.
56643         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56644         and adjust the header comment.
56646         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56647         variable name from declaration.
56649 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56651         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56652         Initialize COMMON_CPUID_INDEX_7 element.
56653         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56654         (CPUID_RTM): Likewise.
56655         (HAS_RTM): Likewise.
56656         (COMMON_CPUID_INDEX_7): New enum.
56658 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56660         [BZ #14981]
56661         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56662         size is zero, record memory as freed.
56664 2013-01-03  Andreas Jaeger  <aj@suse.de>
56666         * po/ia.po: Add new Interlingua translation.
56668 2012-01-03  Allan McRae  <allan@archlinux.org>
56670         * locale/programs/localedef.c: Fix description of '--posix' flag.
56672 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56674         * NEWS: Update dates in second copyright notice.
56675         * README: Update copyright dates in example.
56676         * manual/libc.texinfo: Update copyright dates.
56677         * scripts/test-installation.pl: Update copyright date in --version
56678         output.
56680         * hurd/ctty-input.c: Fix copyright notice formatting.
56681         * hurd/ctty-output.c: Likewise.
56682         * hurd/dtable.c: Likewise.
56683         * hurd/hurd-raise.c: Likewise.
56684         * hurd/hurdprio.c: Likewise.
56685         * hurd/msgportdemux.c: Likewise.
56686         * misc/sys/file.h: Likewise.
56687         * misc/sys/ioctl.h: Likewise.
56688         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56689         * sysdeps/mach/hurd/chdir.c: Likewise.
56690         * sysdeps/mach/hurd/fchdir.c: Likewise.
56691         * sysdeps/mach/hurd/rename.c: Likewise.
56692         * sysdeps/mach/hurd/rmdir.c: Likewise.
56693         * sysdeps/mach/hurd/seekdir.c: Likewise.
56694         * sysdeps/mach/hurd/setsid.c: Likewise.
56695         * sysdeps/posix/wait3.c: Likewise.
56697         * All files with FSF copyright notices: Update copyright dates
56698         using scripts/update-copyrights.
56699         * intl/plural.c: Regenerated.
56700         * locale/programs/charmap-kw.h: Likewise.
56701         * locale/programs/locfile-kw.h: Likewise.
56703 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56705         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56706         four values.
56708         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56709         calculation loop and add branch prediction.
56711         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56712         check access beyond bounds of m1np.
56714         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56715         MPTWO.
56716         (__inv): Remove local variable MPTWO to use the global
56717         constant.
56718         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56719         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56720         variable MPTWO.
56721         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56722         MP3HALFS static const.
56724 2013-01-01  David S. Miller  <davem@davemloft.net>
56726         * po/ca.po: Update from translation team.
56728 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56730         * scripts/update-copyrights: New file.
56731         * Makeconfig: Reformat copyright notice.
56732         * ctype/ctype.h: Likewise.
56733         * debug/swprintf_chk.c: Likewise.
56734         * elf/dl-cache.c: Likewise.
56735         * elf/dl-debug.c: Likewise.
56736         * elf/dl-object.c: Likewise.
56737         * grp/initgroups.c: Likewise.
56738         * hurd/Makefile: Likewise.
56739         * hurd/hurd/signal.h: Likewise.
56740         * hurd/hurdfault.c: Likewise.
56741         * hurd/hurdioctl.c: Likewise.
56742         * hurd/hurdlookup.c: Likewise.
56743         * hurd/intr-msg.c: Likewise.
56744         * iconv/gconv_open.c: Likewise.
56745         * libio/swprintf.c: Likewise.
56746         * locale/lc-ctype.c: Likewise.
56747         * locale/nl_langinfo.c: Likewise.
56748         * mach/Machrules: Likewise.
56749         * mach/Makefile: Likewise.
56750         * malloc/obstack.h: Likewise.
56751         * manual/Makefile: Likewise.
56752         * manual/tsort.awk: Likewise.
56753         * misc/bits/stab.def: Likewise.
56754         * nis/nis_print_group_entry.c: Likewise.
56755         * nis/nis_table.c: Likewise.
56756         * nis/nss_compat/compat-pwd.c: Likewise.
56757         * nis/nss_compat/compat-spwd.c: Likewise.
56758         * po/Makefile: Likewise.
56759         * posix/fnmatch.c: Likewise.
56760         * posix/regex.h: Likewise.
56761         * resolv/Makefile: Likewise.
56762         * resolv/nss_dns/dns-network.c: Likewise.
56763         * resolv/res_hconf.c: Likewise.
56764         * scripts/gen-sorted.awk: Likewise.
56765         * soft-fp/soft-fp.h: Likewise.
56766         * stdio-common/printf.h: Likewise.
56767         * stdlib/monetary.h: Likewise.
56768         * stdlib/random.c: Likewise.
56769         * stdlib/random_r.c: Likewise.
56770         * sysdeps/generic/Makefile: Likewise.
56771         * sysdeps/gnu/Makefile: Likewise.
56772         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56773         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56774         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56775         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56776         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56777         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56778         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56779         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56780         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56781         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56782         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56783         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56784         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56785         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56786         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56787         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56788         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56789         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56790         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56791         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56792         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56793         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56794         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56795         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56796         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56797         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56798         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56799         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56800         * sysdeps/mach/hurd/errnos.awk: Likewise.
56801         * sysdeps/mach/hurd/fork.c: Likewise.
56802         * sysdeps/mach/hurd/getcwd.c: Likewise.
56803         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56804         * sysdeps/mach/hurd/mmap.c: Likewise.
56805         * sysdeps/mach/hurd/utimes.c: Likewise.
56806         * sysdeps/mach/hurd/xmknod.c: Likewise.
56807         * sysdeps/posix/profil.c: Likewise.
56808         * sysdeps/posix/readdir_r.c: Likewise.
56809         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56810         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56811         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56812         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56814         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56815         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56816         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56817         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56818         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56819         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56820         * sysdeps/pthread/lio_listio.c: Likewise.
56821         * sysdeps/sparc/dl-procinfo.h: Likewise.
56822         * sysdeps/unix/i386/sysdep.S: Likewise.
56823         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56824         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56825         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56826         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56828         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56829         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56830         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56831         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56832         * sysdeps/wordsize-32/divdi3.c: Likewise.
56833         * time/sys/time.h: Likewise.
56834         * wcsmbs/Makefile: Likewise.
56836 2013-01-01  David S. Miller  <davem@davemloft.net>
56838         * po/fr.po: Update from translation team.
56840         * catgets/gencat.c: Update copyright year.
56841         * csu/version.c: Likewise.
56842         * debug/catchsegv.sh: Likewise.
56843         * debug/pcprofiledump.c: Likewise.
56844         * debug/xtrace.sh: Likewise.
56845         * elf/ldconfig.c: Likewise.
56846         * elf/ldd.bash.in: Likewise.
56847         * elf/pldd.c: Likewise.
56848         * elf/sotruss.ksh: Likewise.
56849         * elf/sprof.c: Likewise.
56850         * iconv/iconv_prog.c: Likewise.
56851         * iconv/iconvconfig.c: Likewise.
56852         * locale/programs/locale.c: Likewise.
56853         * locale/programs/localedef.c: Likewise.
56854         * login/programs/pt_chown.c: Likewise.
56855         * malloc/memusage.sh: Likewise.
56856         * malloc/memusagestat.c: Likewise.
56857         * malloc/mtrace.pl: Likewise.
56858         * nscd/nscd.c: Likewise.
56859         * nss/getent.c: Likewise.
56860         * nss/makedb.c: Likewise.
56861         * posix/getconf.c: Likewise.
56863 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56865         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56866         numbers.
56868 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56870         * math/bits/mathcalls.h (modf): Use __nonnull.
56872 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56874         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56875         (split): Use macro CN instead of the bare value.
56876         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56877         could be used.
56878         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56879         instead of the bare value.
56880         (power1): Likewise.
56882 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56884         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56885         __ATAN_TWOM.
56886         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56888         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56889         their values.
56890         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56891         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56892         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56893         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56895 2012-12-28  Andreas Jaeger  <aj@suse.de>
56897         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56898         values are from Linux 3.7.
56900         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56901         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56903 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56905         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56906         TRUE case.
56908         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56909         (norm): Likewise.
56910         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56911         variables with preprocessor constants.
56912         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56913         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56914         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56916 2012-12-27  Bruno Haible  <bruno@clisp.org>
56918         [BZ #14317]
56919         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56920         only if needed.
56922 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56924         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56925         and use variable directly.
56926         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56928         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56929         MPONE.
56930         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56931         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56932         variable MPONE.
56933         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56934         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56935         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56936         include directive.  Remove local variable MPONE.
56937         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56938         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56939         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56941 2012-12-25  David S. Miller  <davem@davemloft.net>
56943         * version.h (RELEASE): Set to "development".
56944         (VERSION): Set to "2.17.90".
56945         * NEWS: Add 2.18 section.
56947 2012-12-21  David S. Miller  <davem@davemloft.net>
56949         * po/hr.po: Update from translation team.
56951 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56953         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56955 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56957         * NEWS:  Mention new memcpy for MIPS.
56959 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56961         * manual/contrib.texi (Contributors): Spelling correction.
56963 2012-12-15  David S. Miller  <davem@davemloft.net>
56965         * po/ru.po: Update from translation team.
56967 2012-12-13  David S. Miller  <davem@davemloft.net>
56969         * NEWS: Mention IFUNC testsuite enhancements.
56971         * po/pl.po: Update from translation team.
56972         * po/bg.po: Likewise.
56974         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56975         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56977 2012-12-11  David S. Miller  <davem@davemloft.net>
56979         * po/sv.po: Update from translation team.
56981         * po/vi.po: Update from translation team.
56983         * po/cs.po: Update from translation team.
56985         * po/de.po: Update from translation team.
56986         * po/eo.po: Likewise.
56987         * po/nl.po: Likewise.
56989 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56991         [BZ #14246]
56992         * manual/argp.texi (Argp Helper Functions): Move node to follow
56993         Argp Parsing State.
56995         [BZ #14872]
56996         * manual/conf.texi (Limits on File System Capacity): Mention if
56997         terminating null is included in the max size.
56999 2012-12-10  Andreas Jaeger  <aj@suse.de>
57001         * po/cs.po: Update from translation team.
57003 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57005         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57006         void pointer and cast to uintptr_t.
57007         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57008         path.
57009         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57010         * sysdeps/s390/s390-64/memset.S: Likewise.
57012 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57014         [BZ #14833]
57015         * menual/message.texi (Message Translation): Fix typos.
57016         (Helper programs for gettext): Likewise.
57018 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57020         [BZ #14898]
57021         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57022         Change to -1.
57024 2012-12-07  David S. Miller  <davem@davemloft.net>
57026         * po/libc.pot: Update.
57028 2012-12-07  Richard Henderson  <rth@redhat.com>
57030         [BZ #10114]
57031         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57032         normal/normal case to before the switch.
57033         (_FP_DIV): Likewise.
57035 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57036             Mike Frysinger  <vapier@gentoo.org>
57038         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57039         check for __NR_fadvise64_64.
57041 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57043         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57044         0, not just to plain "0" as a statement.
57045         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57046         with cw.
57048 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57050         * NEWS: Use sourceware.org in Bugzilla URL.
57052 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57055         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57057         * stdio-common/tst-put-error.c (do_test): Add newline to the
57058         padded test to ensure flush.
57060 2012-12-05  Jeff Law  <law@redhat.com>
57062         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57064 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57066         * README: Don't refer to ports add-on as distributed separately.
57067         Mention AArch64 in list of systems supported in the ports add-on.
57069         * LICENSES: Add more non-FSF copyright and license notices.
57071         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57072         ((unused)).
57074         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57076         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57077         10000 as width of padded output.
57079 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57081         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57083         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57084         variable LX with __attribute__ ((unused)).
57085         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57086         Likewise.
57087         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57088         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57089         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57090         with __attribute__ ((unused)).
57092 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57094         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57096 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57098         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57099         (CFLAGS-nldbl-acos.c): New variable.
57100         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57101         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57102         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57103         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57104         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57105         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57106         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57107         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57108         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57109         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57110         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57111         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57112         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57113         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57114         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57115         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57116         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57117         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57118         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57119         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57120         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57121         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57122         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57123         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57124         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57125         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57126         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57127         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57128         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57129         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57130         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57131         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57132         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57133         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57134         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57135         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57136         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57137         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57138         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57139         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57140         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57141         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57142         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57143         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57144         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57145         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57146         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57147         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57148         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57149         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57150         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57151         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57152         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57153         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57154         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57155         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57156         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57157         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57158         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57159         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57160         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57161         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57162         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57163         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57164         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57165         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57166         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57167         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57168         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57169         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57170         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57171         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57172         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57173         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57174         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57175         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57176         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57177         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57178         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57179         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57180         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57181         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57182         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57183         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57184         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57185         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57186         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57187         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57188         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57189         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57190         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57191         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57192         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57193         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57194         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57195         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57196         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57199         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57201         [BZ #14914]
57202         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57203         whole low double instead of just low 47 bits when splitting values
57204         into two parts.
57206 2012-12-03  Allan McRae  <allan@archlinux.org>
57208         * manual/stdio.texi (Predefined Printf Handlers): Remove
57209         @hsep and @vsep usage.
57211 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57213         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57214         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57216 2012-12-03  Jeff Law  <law@redhat.com>
57218         * time/sys/time.h (settimeofday): Do not mark TV argument
57219         as __nonnull.
57221 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57223         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57224         when currently writing and seek to current position when not.
57225         * libio/Makefile (tests): Remove bug-fclose1.
57226         * libio/bug-fclose1.c: Delete.
57228 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57230         * manual/arith.texi (feenableexcept): Fix typo.
57231         (fedisableexcept): Likewise.
57233 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57235         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57236         second, differently-typed declaration, rather than a cast.
57238 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57240         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57241         * include/rpc/svc.h: ... here.
57243 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57245         [BZ #13013]
57246         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57247         depending n and resplen2 to catch cases where answer
57248         equals answerp2.
57250 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57252         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57253         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57255 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57257         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57259 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57261         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57263 2012-11-28  Jeff Law  <law@redhat.com>
57265         [BZ #13761]
57266         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57267         dataset_temporary.  Track alloca usage into alloca_used.
57268         If dataset is large allocate and release it via malloc/free.
57270 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57272         [BZ #14197]
57273         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57275 2012-11-28  David S. Miller  <davem@davemloft.net>
57277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57279 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57281         [BZ #14803]
57282         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57283         of pi/2 rounded to nearest to 64 bits.
57284         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57285         nearest to 64 bits.
57286         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57287         bits.
57289 2012-11-28  Jeff Law <law@redhat.com>
57290             Martin Osvald <mosvald@redhat.com>
57292         [BZ #14889]
57293         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57294         * sunrpc/svc.c: Include time.h.
57295         (__svc_accept_failed): New function.
57296         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57297         any reason other than EINTR, call __svc_accept_failed.
57298         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57299         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57301 2012-11-28  Andreas Schwab  <schwab@suse.de>
57303         * scripts/abilist.awk: Also handle indirect functions in .opd
57304         section.
57306 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57308         [BZ #13881]
57309         * sysdeps/x86/fpu/powl_helper.c: New file.
57310         * sysdeps/x86/fpu/Makefile: Likewise.
57311         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57312         (p3): New object.
57313         (__ieee754_powl): Use __powl_helper for finite arguments except
57314         integer exponents below 8.
57315         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57316         (p3): New object.
57317         (__ieee754_powl): Use __powl_helper for finite arguments except
57318         integer exponents below 8.
57319         * math/libm-test.inc (pow_test): Add more tests and enable some
57320         previously disabled tests.
57321         * sysdeps/i386/fpu/libm-test-ulps: Update.
57322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57324 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57325             Carlos O'Donell  <carlos_odonell@mentor.com>
57327         * nss/makedb.c (is_prime): Assert that input is odd and greater
57328         than 4.  Note that fact in a comment too.
57329         (next_prime): Add 4 to input.
57331 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57333         [BZ #11741]
57334         * libio/Makefile (tests): Add test case tst-fwrite-error.
57335         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57336         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57337         * libio/tst-fwrite-error.c: New test case.
57339 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57341         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57342         before casting to void *.
57343         * include/libc-internal.h (__pointer_type): New macro.
57344         (__integer_if_pointer_type_sub): Likewise.
57345         (__integer_if_pointer_type): Likewise.
57346         (cast_to_integer): Likewise.
57347         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57348         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57349         before casting to atomic64_t.
57350         (atomic_exchange_acq): Likewise.
57351         (__arch_exchange_and_add_body): Likewise.
57352         (__arch_add_body): Likewise.
57353         (atomic_add_negative): Likewise.
57354         (atomic_add_zero): Likewise.
57356 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57358         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57359         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57360         (add_fdes): Likewise.
57361         (linear_search_fdes): Likewise.
57362         (binary_search_unencoded_fdes): Likewise.
57364 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57366         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57368 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57370         * configure.in: Autodetect C++ header directories.
57371         * configure: Regenerated.
57373 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57375         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57377 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57381 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57383         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57384         LDBL_MANT_DIG == 106]: Disable some tests.
57385         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57386         Likewise.
57387         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57388         Likewise.
57390         [BZ #14871]
57391         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57392         input for small inputs.  Return +/- pi/2 for large inputs.
57393         * math/libm-test.inc (atan_test): Add more tests.
57395         * sysdeps/generic/unwind-dw2-fde-glibc.c
57396         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57397         __attribute__ ((unused)).
57399         [BZ #14645]
57400         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57401         x * y if x and y are nonzero and z is zero.
57403         [BZ #14811]
57404         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57405         nonzero exponents with absolute value below 0x1p-117 to +/-
57406         0x1p-117.
57408         [BZ #14869]
57409         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57410         up arguments below 2**-450, not just those below 2**-500.
57411         * math/libm-test.inc (hypot_test): Add another test.
57413         [BZ #14868]
57414         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57415         Return a+b for ratio over 2**120, not 2**60.
57416         * math/libm-test.inc (hypot_test): Add another test.
57418         * math/libm-test.inc (clog_test): Use
57419         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57420         (clog10_test): Likewise.
57422         [BZ #6778]
57423         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57425 2012-11-22  Andreas Schwab  <schwab@suse.de>
57427         * sysdeps/i386/fpu/libm-test-ulps: Update.
57429 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57431         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57432         printf output with newline.
57434 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57436         [BZ #14865]
57437         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57438         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57439         -z nodlopen, -z initfirst and -z execstack support.
57440         * configure: Regenerated.
57442         * elf/elf.h (DF_1_NODIRECT): New macro.
57443         (DF_1_IGNMULDEF): Likewise.
57444         (DF_1_NOKSYMS): Likewise.
57445         (DF_1_NOHDR): Likewise.
57446         (DF_1_EDITED): Likewise.
57447         (DF_1_NORELOC): Likewise.
57448         (DF_1_SYMINTPOSE): Likewise.
57449         (DF_1_GLOBAUDIT): Likewise.
57450         (DF_1_SINGLETON): Likewise.
57451         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57452         DT_1_SUPPORTED_MASK bits.
57453         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57455 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57457         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57459 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57461         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57462         macro.
57464         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57465         (sendmmsg): Move declarations...
57466         * socket/sys/socket.h: ... here.
57467         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57468         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57469         include it from...
57470         * socket/recvmmsg.c: ... this new file.
57471         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57472         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57473         definition of __sendmmsg hidden.
57474         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57475         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57476         Move ENOSYS stub into and include it from...
57477         * socket/sendmmsg.c: ... this new file.
57478         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57479         (sysdep_routines): Move recvmmsg and sendmmsg...
57480         * socket/Makefile (routines): ... here.
57481         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57482         (GLIBC_PRIVATE): Add __sendmmsg.
57483         * include/sys/socket.h (__sendmmsg): Add declarations.
57484         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57485         sendmmsg.
57487 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57489         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57490         variable I1 with __attribute__ ((unused)).
57491         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57493 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57495         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57496         DUMMY variables with __attribute__ ((unused)).
57498         * bits/byteswap.h: Include <bits/types.h>.
57499         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57501 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57503         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57504         string_t.  Do not manually set errno.
57505         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57506         length with __strnlen.  Make sure to both set errno and return it on
57507         failure.
57509 2012-11-19  David S. Miller  <davem@davemloft.net>
57511         With help from Joseph Myers.
57512         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57513         very large arguments properly.
57514         * math/libm-test.inc (atan_test): New tests.
57515         (atan2_test): New tests.
57516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57519 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57521         [BZ #14856]
57522         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57523         Define to 3.
57525         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57526         [POSIX] (EADDRNOTAVAIL): Likewise.
57527         [POSIX] (EAFNOSUPPORT): Likewise.
57528         [POSIX] (EALREADY): Likewise.
57529         [POSIX] (ECONNABORTED): Likewise.
57530         [POSIX] (ECONNREFUSED): Likewise.
57531         [POSIX] (ECONNRESET): Likewise.
57532         [POSIX] (EDESTADDRREQ): Likewise.
57533         [POSIX] (EDQUOT): Likewise.
57534         [POSIX] (EHOSTUNREACH): Likewise.
57535         [POSIX] (EIDRM): Likewise.
57536         [POSIX] (EISCONN): Likewise.
57537         [POSIX] (ELOOP): Likewise.
57538         [POSIX] (EMULTIHOP): Likewise.
57539         [POSIX] (ENETDOWN): Likewise.
57540         [POSIX] (ENETUNREACH): Likewise.
57541         [POSIX] (ENOBUFS): Likewise.
57542         [POSIX] (ENODATA): Likewise.
57543         [POSIX] (ENOLINK): Likewise.
57544         [POSIX] (ENOMSG): Likewise.
57545         [POSIX] (ENOPROTOOPT): Likewise.
57546         [POSIX] (ENOSR): Likewise.
57547         [POSIX] (ENOSTR): Likewise.
57548         [POSIX] (ENOTCONN): Likewise.
57549         [POSIX] (ENOTSOCK): Likewise.
57550         [POSIX] (EOPNOTSUPP): Likewise.
57551         [POSIX] (EOVERFLOW): Likewise.
57552         [POSIX] (EPROTO): Likewise.
57553         [POSIX] (EPROTONOSUPPORT): Likewise.
57554         [POSIX] (EPROTOTYPE): Likewise.
57555         [POSIX] (ESTALE): Likewise.
57556         [POSIX] (ETIME): Likewise.
57557         [POSIX] (ETXTBSY): Likewise.
57558         [POSIX] (EWOULDBLOCK): Likewise.
57559         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57560         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57561         [POSIX] (SEEK_CUR): Likewise.
57562         [POSIX] (SEEK_END): Likewise.
57563         [POSIX || UNIX98] (mode_t): Do not require.
57564         [POSIX] (off_t): Likewise.
57565         [POSIX] (pid_t): Likewise.
57566         [POSIX] (sys/stat.h): Do not allow header.
57567         [POSIX] (unistd.h): Likewise.
57568         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57569         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57570         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57571         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57572         require.
57573         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57574         sigevent): Specify elements.
57575         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57576         entry.
57577         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57578         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57580         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57581         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57582         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57583         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57584         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57585         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57586         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57587         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57588         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57589         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57590         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57591         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57592         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57593         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57594         Likewise.
57595         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57596         Likewise.
57597         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57598         Likewise.
57599         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57600         Likewise.
57601         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57602         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57603         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57604         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57605         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57606         Specify lower bound on value.
57607         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57608         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57609         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57610         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57611         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57612         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57613         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57614         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57615         value.
57616         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57617         as optional.
57618         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57619         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57620         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57621         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57622         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57623         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57624         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57625         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57626         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57627         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57628         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57629         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57630         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57631         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57632         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57633         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57634         entry.
57635         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57636         optional.
57637         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57638         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57639         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57640         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57641         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57642         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57643         Likewise.
57644         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57645         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57646         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57647         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57648         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57649         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57650         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57651         as optional.
57652         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57653         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57654         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57655         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57656         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57657         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57658         specify as optional.
57659         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57660         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57661         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57662         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57663         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57664         [XPG3] (NL_LANGMAX): Likewise.
57665         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57666         [POSIX || XPG3] (NL_NMAX): Likewise.
57667         [POSIX || XPG3] (NL_SETMAX): Likewise.
57668         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57669         [XPG3] (NZERO): Likewise.
57670         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57671         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57672         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57673         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57674         (REG_ERANGE): Expect.
57675         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57676         optional-constant.
57677         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57678         Use (void) in prototype.
57679         [POSIX] (*_t): Allow.
57680         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57681         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57682         (WRDE_BADVAL): Expect.
57684         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57685         expect.
57686         [XPG3 || XPG4] (O_RSYNC): Likewise.
57687         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57688         Likewise.
57689         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57690         [XPG3 || XPG4] (sigqueue): Likewise.
57691         [XPG3 || XPG4] (sigtimedwait): Likewise.
57692         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57693         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57694         [XPG3 || XPG4] (vsnprintf): Likewise.
57695         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57696         Likewise.
57697         [XPG3 || XPG4] (blksize_t): Likewise.
57698         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57699         Likewise.
57700         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57701         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57702         [XPG3 || XPG4] (struct itimerspec): Likewise.
57703         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57704         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57705         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57706         [XPG3 || XPG4] (clockid_t): Likewise.
57707         [XPG3 || XPG4] (timer_t): Likewise.
57708         [XPG3 || XPG4] (clock_getres): Likewise.
57709         [XPG3 || XPG4] (clock_gettime): Likewise.
57710         [XPG3 || XPG4] (clock_settime): Likewise.
57711         [XPG3 || XPG4] (nanosleep): Likewise.
57712         [XPG3 || XPG4] (timer_create): Likewise.
57713         [XPG3 || XPG4] (timer_delete): Likewise.
57714         [XPG3 || XPG4] (timer_gettime): Likewise.
57715         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57716         [XPG3 || XPG4] (timer_settime): Likewise.
57717         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57718         [XPG3 || XPG4] (getlogin_r): Likewise.
57719         [XPG3 || XPG4] (pread): Likewise.
57720         [XPG3 || XPG4] (pthread_atfork): Likewise.
57721         [XPG3 || XPG4] (pwrite): Likewise.
57723         [BZ #14835]
57724         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57725         <bits/siginfo.h>.
57727 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57729         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57730         finalizing MALLSTREAM.
57732         * sysdeps/mach/hurd/syncfs.c: New file.
57734 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57736         [BZ #14719]
57737         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57738         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57739         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57740         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57741         (_nss_dns_gethostbyname4_r): Likewise.
57742         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57743         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57745 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57747         [BZ #13763]
57748         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57750 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57752         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57753         * elf/cache.c (print_entry): Print ",AArch64" for
57754         FLAG_AARCH64_LIB64
57756         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57757         * elf/cache.c (print_entry): Print ",hard-float" for
57758         FLAG_ARM_LIBHF.
57760 2012-11-18  David S. Miller  <davem@davemloft.net>
57762         With help from Joseph Myers.
57763         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57764         cutoff to 2**-13.
57765         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57766         cutoff to 2**-25.
57767         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57768         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57769         small.
57770         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57771         * math/libm-test.inc (y0_test): New tests.
57772         (y1_test): New tests.
57773         * sysdeps/i386/fpu/libm-test-ulps: Update.
57774         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57777 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57779         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57780         64-bit targets.
57781         * configure: Regenerated.
57783 2012-11-17  David S. Miller  <davem@davemloft.net>
57785         [BZ #14811]
57786         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57787         nonzero exponents with absolute value below 0x1p-128 to +/-
57788         0x1p-128.
57790 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57792         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57794         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57796         * posix/getconf-speclist.c: New file.
57797         * posix/posix-envs.def: Likewise.
57798         * posix/confstr.c (START_ENV_GROUP): New macro.
57799         (END_ENV_GROUP): Likewise.
57800         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57801         (KNOWN_PRESENT_ENV_STRING): Likewise.
57802         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57803         (UNKNOWN_ENVIRONMENT): Likewise.
57804         (confstr): Include posix-envs.def instead of handling
57805         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57806         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57807         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57808         (END_ENV_GROUP): Likewise.
57809         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57810         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57811         (UNKNOWN_ENVIRONMENT): Likewise.
57812         (__sysconf): Include posix-envs.def instead of handling associated
57813         cases directly here.
57814         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57815         preprocessing getconf-speclist.c rather than running getconf or
57816         generating empty file.
57818 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57820         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57822 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57824         [BZ #14672]
57825         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57827 2012-11-16  David S. Miller  <davem@davemloft.net>
57829         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57830         smaller than LDBL_EPSILON/2.0L, just return xm1.
57832 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57834         * elf/tst-array1.c (init): Set constructor priority to 1000.
57835         (fini): Set destructor priority to 1000.
57836         * elf/tst-array2dep.c: Likewise.
57838 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57840         [BZ #11741]
57841         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57842         (_IO_new_file_xsputn): Also return EOF if none of the input
57843         data was written when overflow failed.
57844         * libio/iopadn.c (_IO_padn): Likewise.
57845         * libio/iowpadn.c (_IO_wpadn): Likewise.
57846         * stdio-common/tst-put-error.c: Add copyright notice.
57847         (do_test): Add case for printing padded string.
57848         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57849         _IO_padn returned error.
57850         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57851         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57852         return EOF.
57854 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57856         * libio/libioP.h: Add comment note that the references to C++
57857         bits are now obsolete.
57859 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57861         * math/libm-test.inc (check_complex): Use asprintf.
57863 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57865         * debug/pcprofiledump.c (print_version): Update copyright year.
57866         * malloc/memusagestat.c (print_version): Likewise.
57868 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57870         [BZ #14831]
57871         * elf/Makefile (tests): Add tst-audit8.
57872         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57873         ($(objpfx)tst-audit8.out): New target.
57874         (tst-audit8-ENV): New variable.
57875         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57876         audit if l_reloc_result is NULL.
57877         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57878         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57879         * elf/tst-audit8.c: New file.
57881 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57883         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57884         * misc/Makefile (CFLAGS-select.c): Define.
57885         * posix/Makefile (CFLAGS-pause.c): Define.
57887 2012-11-13  David S. Miller  <davem@davemloft.net>
57889         * crypt/Makefile: Move test targets after toplevel Rules
57890         inclusion.  Grab any necessary sysdep routines when linking.
57891         * crypt/md5.c (md5_process_block): Remove define, we will always
57892         name it __md5_process_block.
57893         (md5_finish_ctx): Update md5_process_block call.
57894         (md5_stream): Likewise.
57895         (md5_process_bytes): Likewise.
57896         (md5_process_block): Rename to __md5_process_block and move to ...
57897         * crypt/md5-block.c: ... here.
57898         * crypt/sha256.c (sha256_process_block): Move to ...
57899         * crypt/sha256-block.c: ... here.
57900         * crypt/sha512.c (sha512_process_block): Move to ...
57901         * crypt/sha512-block.c: ... here.
57902         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57903         path.
57904         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57905         * sysdeps/sparc/sparc64/multiarch/Makefile
57906         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57907         crypt subdir.
57908         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57909         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57910         multiarch changes.
57911         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57912         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57913         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57914         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57915         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57916         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57917         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57918         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57919         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57920         file.
57921         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57922         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57923         file.
57924         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57926 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57928         * timezone/tzselect.ksh: Update from tzcode git revision
57929         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57930         * timezone/zdump.c: Likewise.
57931         * timezone/zic.c: Likewise.
57932         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57933         in TZVERSION setting, not $(PKGVERSION).
57934         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57935         REPORT_BUGS_TO settings.
57937         [BZ #14838]
57938         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57939         macro.
57941 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57943         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57944         detection to immediately after _FP_ROUND().
57945         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57946         bits are 0.
57948 2012-11-11  David S. Miller  <davem@davemloft.net>
57950         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57951         inttypes.h
57952         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57953         __close rather than their public counterparts.
57955 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57957         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57958         file.
57959         [UNIX98] (sem_timedwait): Do not expect.
57960         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57961         [XPG4 || UNIX98] (sockatmark): Do not expect.
57962         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57963         (clock_getcpuclockid): Do not expect.
57964         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57965         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57966         Do not expect.
57967         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57968         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57969         [UNIX98] (vwscanf): Likewise.
57970         [UNIX98] (vswscanf): Likewise.
57972 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57974         * timezone/version.h: Remove file.
57975         * timezone/README: Do not refer to version.h.
57976         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57977         $(objpfx)version.h.
57978         ($(objpfx)zdump.o): Likewise.
57979         ($(objpfx)version.h): New target.
57981         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57982         2012i.
57983         * timezone/README: Don't mention modification to tzselect.ksh.
57984         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57985         work on unmodified tzselect.ksh.  Substitute version numbers in
57986         tzselect.ksh.
57988         * Makefile (format-me): Remove.
57989         (INSTALL): Adjust indentation.  Use commands directly instead of
57990         using $(format-me).
57992         * aclocal.m4 (ACX_PKGVERSION): New macro.
57993         (ACX_BUGURL): Likewise.
57994         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57995         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57996         (REPORT_BUGS_TO): Likewise.
57997         * configure: Regenerated.
57998         * config.h.in (PKGVERSION): New macro.
57999         (REPORT_BUGS_TO): Likewise.
58000         * config.make.in (PKGVERSION): New variable.
58001         (PKGVERSION_TEXI): Likewise.
58002         (REPORT_BUGS_TO): Likewise.
58003         (REPORT_BUGS_TEXI): Likewise.
58004         * Makefile (format-me): Use -I$(common-objpfx)manual.
58005         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58006         ($(common-objpfx)manual/%): New target.
58007         (manual/%): Remove target.
58008         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58009         (print_version): Use PKGVERSION.
58010         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58011         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58012         and REPORT_BUGS_TO.
58013         ($(objpfx)xtrace): Likewise.
58014         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58015         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58016         (print_version): Use PKGVERSION.
58017         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58018         (do_version): Use PKGVERSION.
58019         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58020         REPORT_BUGS_TO.
58021         (common-ldd-rewrite): Likewise.
58022         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58023         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58024         (print_version): Use PKGVERSION.
58025         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58026         * elf/pldd.c (argp_program_bug_address): Remove variable.
58027         (more_help): New function.
58028         (argp): Use more_help.
58029         (print_version): Use PKGVERSION.
58030         * elf/sln.c (main): Use PKGVERSION.
58031         (usage): Use REPORT_BUGS_TO.
58032         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58033         (top level): Use PKGVERSION.
58034         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58035         (print_version): Use PKGVERSION.
58036         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58037         (print_version): Use PKGVERSION.
58038         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58039         (print_version): Use PKGVERSION.
58040         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58041         (print_version): Use PKGVERSION.
58042         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58043         (print_version): Use PKGVERSION.
58044         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58045         (print_version): Use PKGVERSION.
58046         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58047         and BUGURL.
58048         ($(objpfx)memusage): Likewise.
58049         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58050         (do_version): Use PKGVERSION.
58051         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58052         (print_version): Use PKGVERSION.
58053         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58054         ($PKGVERSION): New variable.
58055         ($REPORT_BUGS_TO): Likewise.
58056         (usage): Use $REPORT_BUGS_TO.
58057         (top level): Use $PKGVERSION.
58058         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58059         ($(objpfx)pkgvers.texi): New rule.
58060         ($(objpfx)stamp-pkgvers): Likewise.
58061         * manual/install.texi: Include pkgvers.texi.
58062         (--with-pkgversion): Document new configure option.
58063         (--with-bugurl): Likewise.
58064         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58065         than necessarily for this particular distribution.  Use
58066         REPORT_BUGS_TO for where to report bugs.
58067         * INSTALL: Regenerated.
58068         * manual/libc.texinfo: Include pkgvers.texi.
58069         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58070         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58071         (print_version): Use PKGVERSION.
58072         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58073         (print_version): Use PKGVERSION.
58074         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58075         (print_version): Use PKGVERSION.
58076         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58077         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58078         macro.
58079         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58080         (print_version): Use PKGVERSION.
58081         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58082         (print_version): Use PKGVERSION.
58083         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58084         and PKGVERSION.
58086         * timezone/checktab.awk: Update from tzcode 2012i.
58087         * timezone/ialloc.c: Likewise.
58088         * timezone/private.h: Likewise.
58089         * timezone/scheck.c: Likewise.
58090         * timezone/tzfile.h: Likewise.
58091         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58092         (TZVERSION): Hardcode tzcode version number.
58093         * timezone/zdump.c: Update from tzcode 2012i.
58094         * timezone/zic.c: Likewise.
58095         * timezone/version.h: New file.
58096         * timezone/README: Describe version.h.  Update upstream location.
58098         [BZ #14824]
58099         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58100         (mktemp): Enable declaration.
58101         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58102         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58103         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58104         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58105         Likewise.
58106         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58107         Likewise.
58108         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58109         Likewise.
58110         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58111         Likewise.
58112         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58113         Likewise.
58114         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58115         Likewise.
58117         [BZ #14821]
58118         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58119         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58120         for copies of such integer values.
58121         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58122         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58124 2012-11-09  Andreas Jaeger  <aj@suse.de>
58126         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58127         definitions and declarations that are provided by
58128         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58130 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58132         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58133         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58134         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58135         definition.
58137 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58139         * elf/elf.h: Update comment before AArch64 relocations.
58141 2012-11-07  David S. Miller  <davem@davemloft.net>
58143         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58144         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58145         (__start_context): Declare.
58146         (__makecontext_ret): Delete.
58147         (__makecontext): Hook up __start_context instead of
58148         __makecontext_ret.
58149         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58150         (sysdep_routines): Add __start_context when in stdlib.
58152 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58154         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58155         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58156         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58157         hardcoded "nm".
58158         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58159         (READELF): New variable.  Use it instead of hardcoded "readelf".
58161 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58163         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58164         * sysdeps/x86/Makefile: Here.
58165         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58166         * sysdeps/x86/tst-xmmymm.sh: This.
58168 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58170         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58171         expectations.
58172         [UNIX98] (pthread_barrier_t): Do not expect.
58173         [UNIX98] (pthread_barrierattr_t): Likewise.
58174         [UNIX98] (pthread_spinlock_t): Likewise.
58175         [UNIX98] (pthread_barrier_destroy): Likewise.
58176         [UNIX98] (pthread_barrier_init): Likewise.
58177         [UNIX98] (pthread_barrier_wait): Likewise.
58178         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58179         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58180         [UNIX98] (pthread_barrierattr_init): Likewise.
58181         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58182         [UNIX98] (pthread_getcpuclockid): Likewise.
58183         [UNIX98] (pthread_mutex_timedlock): Likewise.
58184         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58185         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58186         [UNIX98] (pthread_sigmask): Likewise.
58187         [UNIX98] (pthread_spin_destroy): Likewise.
58188         [UNIX98] (pthread_spin_init): Likewise.
58189         [UNIX98] (pthread_spin_lock): Likewise.
58190         [UNIX98] (pthread_spin_trylock): Likewise.
58191         [UNIX98] (pthread_spin_unlock): Likewise.
58192         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58193         Do not expect.
58194         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58195         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58196         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58197         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58198         [XPG3 || XPG4] (pthread_key_t): Likewise.
58199         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58200         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58201         [XPG3 || XPG4] (pthread_once_t): Likewise.
58202         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58203         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58204         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58205         [XPG3 || XPG4] (pthread_t): Likewise.
58207         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58208         not expect.
58209         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58211         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58212         Change function return type to int.
58214         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58215         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58216         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58217         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58218         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58219         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58220         [!POSIX] (posix_madvise): Likewise.
58221         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58222         && !UNIX98].
58223         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58224         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58225         (mode_t): Likewise.
58226         (posix_mem_offset): Likewise.
58227         (posix_typed_mem_get_info): Likewise.
58228         (posix_typed_mem_open): Likewise.
58230         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58231         Change condition to [XOPEN2K8].
58233         * conform/conformtest.pl: Preprocess allow-header data with -x c
58234         instead of from stdin.
58235         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58236         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58237         [C99-based standards] (cerfc): Likewise.
58238         [C99-based standards] (cexp2): Likewise.
58239         [C99-based standards] (cexpm1): Likewise.
58240         [C99-based standards] (clog10): Likewise.
58241         [C99-based standards] (clog1p): Likewise.
58242         [C99-based standards] (clog2): Likewise.
58243         [C99-based standards] (clgamma): Likewise.
58244         [C99-based standards] (ctgamma): Likewise.
58245         [C99-based standards] (cerff): Likewise.
58246         [C99-based standards] (cerfcf): Likewise.
58247         [C99-based standards] (cexp2f): Likewise.
58248         [C99-based standards] (cexpm1f): Likewise.
58249         [C99-based standards] (clog10f): Likewise.
58250         [C99-based standards] (clog1pf): Likewise.
58251         [C99-based standards] (clog2f): Likewise.
58252         [C99-based standards] (clgammaf): Likewise.
58253         [C99-based standards] (ctgammaf): Likewise.
58254         [C99-based standards] (cerfl): Likewise.
58255         [C99-based standards] (cerfcl): Likewise.
58256         [C99-based standards] (cexp2l): Likewise.
58257         [C99-based standards] (cexpm1l): Likewise.
58258         [C99-based standards] (clog10l): Likewise.
58259         [C99-based standards] (clog1pl): Likewise.
58260         [C99-based standards] (clog2l): Likewise.
58261         [C99-based standards] (clgammal): Likewise.
58262         [C99-based standards] (ctgammal): Likewise.
58263         * conform/data/inttypes.h-data [C99-based standards]: Include
58264         stdint.h-data.  Remove all expectations for stdint.h contents.
58265         [C99-based standards] (PRI*): Do not allow.
58266         [C99-based standards] (SCN*): Likewise.
58267         [C99-based standards] (*_t): Likewise.
58268         [C99-based-standards] (PRId8): Expect macro.
58269         [C99-based-standards] (PRIi8): Likewise.
58270         [C99-based-standards] (PRIo8): Likewise.
58271         [C99-based-standards] (PRIu8): Likewise.
58272         [C99-based-standards] (PRIx8): Likewise.
58273         [C99-based-standards] (PRIX8): Likewise.
58274         [C99-based-standards] (SCNd8): Likewise.
58275         [C99-based-standards] (SCNi8): Likewise.
58276         [C99-based-standards] (SCNo8): Likewise.
58277         [C99-based-standards] (SCNu8): Likewise.
58278         [C99-based-standards] (SCNx8): Likewise.
58279         [C99-based-standards] (PRIdLEAST8): Likewise.
58280         [C99-based-standards] (PRIiLEAST8): Likewise.
58281         [C99-based-standards] (PRIoLEAST8): Likewise.
58282         [C99-based-standards] (PRIuLEAST8): Likewise.
58283         [C99-based-standards] (PRIxLEAST8): Likewise.
58284         [C99-based-standards] (PRIXLEAST8): Likewise.
58285         [C99-based-standards] (SCNdLEAST8): Likewise.
58286         [C99-based-standards] (SCNiLEAST8): Likewise.
58287         [C99-based-standards] (SCNoLEAST8): Likewise.
58288         [C99-based-standards] (SCNuLEAST8): Likewise.
58289         [C99-based-standards] (SCNxLEAST8): Likewise.
58290         [C99-based-standards] (PRIdFAST8): Likewise.
58291         [C99-based-standards] (PRIiFAST8): Likewise.
58292         [C99-based-standards] (PRIoFAST8): Likewise.
58293         [C99-based-standards] (PRIuFAST8): Likewise.
58294         [C99-based-standards] (PRIxFAST8): Likewise.
58295         [C99-based-standards] (PRIXFAST8): Likewise.
58296         [C99-based-standards] (SCNdFAST8): Likewise.
58297         [C99-based-standards] (SCNiFAST8): Likewise.
58298         [C99-based-standards] (SCNoFAST8): Likewise.
58299         [C99-based-standards] (SCNuFAST8): Likewise.
58300         [C99-based-standards] (SCNxFAST8): Likewise.
58301         [C99-based-standards] (PRId16): Likewise.
58302         [C99-based-standards] (PRIi16): Likewise.
58303         [C99-based-standards] (PRIo16): Likewise.
58304         [C99-based-standards] (PRIu16): Likewise.
58305         [C99-based-standards] (PRIx16): Likewise.
58306         [C99-based-standards] (PRIX16): Likewise.
58307         [C99-based-standards] (SCNd16): Likewise.
58308         [C99-based-standards] (SCNi16): Likewise.
58309         [C99-based-standards] (SCNo16): Likewise.
58310         [C99-based-standards] (SCNu16): Likewise.
58311         [C99-based-standards] (SCNx16): Likewise.
58312         [C99-based-standards] (PRIdLEAST16): Likewise.
58313         [C99-based-standards] (PRIiLEAST16): Likewise.
58314         [C99-based-standards] (PRIoLEAST16): Likewise.
58315         [C99-based-standards] (PRIuLEAST16): Likewise.
58316         [C99-based-standards] (PRIxLEAST16): Likewise.
58317         [C99-based-standards] (PRIXLEAST16): Likewise.
58318         [C99-based-standards] (SCNdLEAST16): Likewise.
58319         [C99-based-standards] (SCNiLEAST16): Likewise.
58320         [C99-based-standards] (SCNoLEAST16): Likewise.
58321         [C99-based-standards] (SCNuLEAST16): Likewise.
58322         [C99-based-standards] (SCNxLEAST16): Likewise.
58323         [C99-based-standards] (PRIdFAST16): Likewise.
58324         [C99-based-standards] (PRIiFAST16): Likewise.
58325         [C99-based-standards] (PRIoFAST16): Likewise.
58326         [C99-based-standards] (PRIuFAST16): Likewise.
58327         [C99-based-standards] (PRIxFAST16): Likewise.
58328         [C99-based-standards] (PRIXFAST16): Likewise.
58329         [C99-based-standards] (SCNdFAST16): Likewise.
58330         [C99-based-standards] (SCNiFAST16): Likewise.
58331         [C99-based-standards] (SCNoFAST16): Likewise.
58332         [C99-based-standards] (SCNuFAST16): Likewise.
58333         [C99-based-standards] (SCNxFAST16): Likewise.
58334         [C99-based-standards] (PRId32): Likewise.
58335         [C99-based-standards] (PRIi32): Likewise.
58336         [C99-based-standards] (PRIo32): Likewise.
58337         [C99-based-standards] (PRIu32): Likewise.
58338         [C99-based-standards] (PRIx32): Likewise.
58339         [C99-based-standards] (PRIX32): Likewise.
58340         [C99-based-standards] (SCNd32): Likewise.
58341         [C99-based-standards] (SCNi32): Likewise.
58342         [C99-based-standards] (SCNo32): Likewise.
58343         [C99-based-standards] (SCNu32): Likewise.
58344         [C99-based-standards] (SCNx32): Likewise.
58345         [C99-based-standards] (PRIdLEAST32): Likewise.
58346         [C99-based-standards] (PRIiLEAST32): Likewise.
58347         [C99-based-standards] (PRIoLEAST32): Likewise.
58348         [C99-based-standards] (PRIuLEAST32): Likewise.
58349         [C99-based-standards] (PRIxLEAST32): Likewise.
58350         [C99-based-standards] (PRIXLEAST32): Likewise.
58351         [C99-based-standards] (SCNdLEAST32): Likewise.
58352         [C99-based-standards] (SCNiLEAST32): Likewise.
58353         [C99-based-standards] (SCNoLEAST32): Likewise.
58354         [C99-based-standards] (SCNuLEAST32): Likewise.
58355         [C99-based-standards] (SCNxLEAST32): Likewise.
58356         [C99-based-standards] (PRIdFAST32): Likewise.
58357         [C99-based-standards] (PRIiFAST32): Likewise.
58358         [C99-based-standards] (PRIoFAST32): Likewise.
58359         [C99-based-standards] (PRIuFAST32): Likewise.
58360         [C99-based-standards] (PRIxFAST32): Likewise.
58361         [C99-based-standards] (PRIXFAST32): Likewise.
58362         [C99-based-standards] (SCNdFAST32): Likewise.
58363         [C99-based-standards] (SCNiFAST32): Likewise.
58364         [C99-based-standards] (SCNoFAST32): Likewise.
58365         [C99-based-standards] (SCNuFAST32): Likewise.
58366         [C99-based-standards] (SCNxFAST32): Likewise.
58367         [C99-based-standards] (PRId64): Likewise.
58368         [C99-based-standards] (PRIi64): Likewise.
58369         [C99-based-standards] (PRIo64): Likewise.
58370         [C99-based-standards] (PRIu64): Likewise.
58371         [C99-based-standards] (PRIx64): Likewise.
58372         [C99-based-standards] (PRIX64): Likewise.
58373         [C99-based-standards] (SCNd64): Likewise.
58374         [C99-based-standards] (SCNi64): Likewise.
58375         [C99-based-standards] (SCNo64): Likewise.
58376         [C99-based-standards] (SCNu64): Likewise.
58377         [C99-based-standards] (SCNx64): Likewise.
58378         [C99-based-standards] (PRIdLEAST64): Likewise.
58379         [C99-based-standards] (PRIiLEAST64): Likewise.
58380         [C99-based-standards] (PRIoLEAST64): Likewise.
58381         [C99-based-standards] (PRIuLEAST64): Likewise.
58382         [C99-based-standards] (PRIxLEAST64): Likewise.
58383         [C99-based-standards] (PRIXLEAST64): Likewise.
58384         [C99-based-standards] (SCNdLEAST64): Likewise.
58385         [C99-based-standards] (SCNiLEAST64): Likewise.
58386         [C99-based-standards] (SCNoLEAST64): Likewise.
58387         [C99-based-standards] (SCNuLEAST64): Likewise.
58388         [C99-based-standards] (SCNxLEAST64): Likewise.
58389         [C99-based-standards] (PRIdFAST64): Likewise.
58390         [C99-based-standards] (PRIiFAST64): Likewise.
58391         [C99-based-standards] (PRIoFAST64): Likewise.
58392         [C99-based-standards] (PRIuFAST64): Likewise.
58393         [C99-based-standards] (PRIxFAST64): Likewise.
58394         [C99-based-standards] (PRIXFAST64): Likewise.
58395         [C99-based-standards] (SCNdFAST64): Likewise.
58396         [C99-based-standards] (SCNiFAST64): Likewise.
58397         [C99-based-standards] (SCNoFAST64): Likewise.
58398         [C99-based-standards] (SCNuFAST64): Likewise.
58399         [C99-based-standards] (SCNxFAST64): Likewise.
58400         [C99-based-standards] (PRIdMAX): Likewise.
58401         [C99-based-standards] (PRIiMAX): Likewise.
58402         [C99-based-standards] (PRIoMAX): Likewise.
58403         [C99-based-standards] (PRIuMAX): Likewise.
58404         [C99-based-standards] (PRIxMAX): Likewise.
58405         [C99-based-standards] (PRIXMAX): Likewise.
58406         [C99-based-standards] (SCNdMAX): Likewise.
58407         [C99-based-standards] (SCNiMAX): Likewise.
58408         [C99-based-standards] (SCNoMAX): Likewise.
58409         [C99-based-standards] (SCNuMAX): Likewise.
58410         [C99-based-standards] (SCNxMAX): Likewise.
58411         [C99-based-standards] (PRIdPTR): Likewise.
58412         [C99-based-standards] (PRIiPTR): Likewise.
58413         [C99-based-standards] (PRIoPTR): Likewise.
58414         [C99-based-standards] (PRIuPTR): Likewise.
58415         [C99-based-standards] (PRIxPTR): Likewise.
58416         [C99-based-standards] (PRIXPTR): Likewise.
58417         [C99-based-standards] (SCNdPTR): Likewise.
58418         [C99-based-standards] (SCNiPTR): Likewise.
58419         [C99-based-standards] (SCNoPTR): Likewise.
58420         [C99-based-standards] (SCNuPTR): Likewise.
58421         [C99-based-standards] (SCNxPTR): Likewise.
58422         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58423         allow.
58424         * conform/data/stdint.h-data: Update comments to clarify
58425         requirements.
58426         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58427         type.
58428         [C99-based standards] (INT8_MAX): Likewise.
58429         [C99-based standards] (INT16_MIN): Likewise.
58430         [C99-based standards] (INT16_MAX): Likewise.
58431         [C99-based standards] (INT32_MIN): Likewise.
58432         [C99-based standards] (INT32_MAX): Likewise.
58433         [C99-based standards] (INT64_MIN): Likewise.
58434         [C99-based standards] (INT64_MAX): Likewise.
58435         [C99-based standards] (UINT8_MAX): Likewise.
58436         [C99-based standards] (UINT16_MAX): Likewise.
58437         [C99-based standards] (UINT32_MAX): Likewise.
58438         [C99-based standards] (UINT64_MAX): Likewise.
58439         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58440         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58441         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58442         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58443         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58444         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58445         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58446         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58447         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58448         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58449         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58450         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58451         [C99-based standards] (INT_FAST8_MIN): Likewise.
58452         [C99-based standards] (INT_FAST8_MAX): Likewise.
58453         [C99-based standards] (INT_FAST16_MIN): Likewise.
58454         [C99-based standards] (INT_FAST16_MAX): Likewise.
58455         [C99-based standards] (INT_FAST32_MIN): Likewise.
58456         [C99-based standards] (INT_FAST32_MAX): Likewise.
58457         [C99-based standards] (INT_FAST64_MIN): Likewise.
58458         [C99-based standards] (INT_FAST64_MAX): Likewise.
58459         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58460         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58461         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58462         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58463         [C99-based standards] (INTPTR_MIN): Likewise.
58464         [C99-based standards] (INTPTR_MAX): Likewise.
58465         [C99-based standards] (UINTPTR_MAX): Likewise.
58466         [C99-based standards] (INTMAX_MIN): Likewise.
58467         [C99-based standards] (INTMAX_MAX): Likewise.
58468         [C99-based standards] (UINTMAX_MAX): Likewise.
58469         [C99-based standards] (PTRDIFF_MIN): Likewise.
58470         [C99-based standards] (PTRDIFF_MAX): Likewise.
58471         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58472         [C99-based standards] (SIZE_MAX): Likewise.
58473         [C99-based standards] (WCHAR_MAX): Likewise.
58474         [C99-based standards] (WINT_MAX): Likewise.
58475         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58476         constraint on value.
58477         [C99-based standards] (WCHAR_MIN): Likewise.
58478         [C99-based standards] (WINT_MIN): Likewise.
58479         [C99-based standards] (*_t): Allow.
58480         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58481         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58482         Include math.h-data and complex.h-data.  Remove all expectations
58483         of math.h and complex.h contents.
58484         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58485         at end of line.
58486         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58487         (struct tm): Expect tag.
58488         [C99-based-standards] (wcstof): Expect function.
58489         [C99-based-standards] (wcstold): Likewise.
58490         [C99-based-standards] (wcstoll): Likewise.
58491         [C99-based-standards] (wcstoull): Likewise.
58492         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58493         macro-int-constant.  Specify type.
58494         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58495         constraint on value.
58496         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58497         Specify type.
58498         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58499         Specify value.
58500         [ISO C standards]: Do not allow headers.
58501         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58502         wcs[abcdefghijklmnopqrstuvwxyz]*.
58503         [ISO C standards] (*_t): Do not allow.
58504         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58505         Expect function.
58506         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58507         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58508         Specify type.
58509         [ISO C standards]: Do not allow headers.
58510         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58511         is[abcdefghijklmnopqrstuvwxyz]*.
58512         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58513         to[abcdefghijklmnopqrstuvwxyz]*.
58514         [ISO C standards] (*_t): Do not allow.
58515         * conform/data/stdalign.h-data: New file.
58516         * conform/data/stdbool.h-data: Likewise.
58517         * conform/data/stdnoreturn.h-data: Likewise.
58519 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58521         [BZ #14815]
58522         * manual/filesys.texi (Directory Entries): Typo fix.
58523         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58525 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58527         * elf/elf.h (EM_AARCH64): New macro.
58528         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58529         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58530         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58531         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58532         (R_AARCH64_TLSDESC): Likewise.
58533         (NT_ARM_TLS): Likewise.
58534         (NT_ARM_HW_BREAK): Likewise.
58535         (NT_ARM_HW_WATCH): Likewise.
58537 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58539         [BZ #14811]
58540         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58541         (__ieee754_powl): Saturate nonzero exponents with absolute value
58542         below 0x1p-79 to +/- 0x1p-79.
58543         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58544         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58545         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58546         nonzero exponents with absolute value below 0x1p-32 to +/-
58547         0x1p-32.
58548         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58549         (__ieee754_powl): Saturate nonzero exponents with absolute value
58550         below 0x1p-79 to +/- 0x1p-79.
58551         * math/libm-test.inc (pow_test): Add more tests.
58553 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58555         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58556         _dl_s390_cap_flags with kernel. Increase string length.
58557         (_dl_s390_platforms): Add z196 and zEC12.
58559 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58561         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58562         Change XOPEN21K to XOPEN2K.
58564 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58566         * string/memmove.c: Use memcpy when possible.
58568 2012-11-06  Andreas Jaeger  <aj@suse.de>
58570         * po/eo.po: Update from translation team.
58572 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58574         [BZ #14793]
58575         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58576         exponent and small x and y exponents, scale x or y up.  Increase
58577         by 2 the exponent used in scaling up.
58578         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58579         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58580         * math/libm-test.inc (fma_test): Add more tests.
58581         (fma_test_towardzero): Likewise.
58582         (fma_test_downward): Likewise.
58583         (fma_test_upward): Likewise.
58585 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58587         [BZ #14805]
58588         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58589         fenv_t *.
58591         [BZ #14801]
58592         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58593         namespace for names of struct fields.
58594         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58595         fenv_t fields.
58596         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58597         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58599 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58601         [BZ #3665]
58602         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58604 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58606         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58607         PTR_DEMANGLE.
58609         [BZ #5246]
58610         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58611         PTR_DEMANGLE.
58613 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58615         [BZ #14797]
58616         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58617         definitely overflow as x * y not x * y + z.
58618         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58619         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58620         * math/libm-test.inc (fma_test): Add more tests.
58621         (fma_test_towardzero): Likewise.
58622         (fma_test_downward): Likewise.
58623         (fma_test_upward): Likewise.
58625 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58627         [BZ #157]
58629         * include/stub-tag.h: Remove file.
58630         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58631         '#include' of it.
58632         * manual/maint.texi (Porting): Don't reference it.
58633         * Makerules ($(objpfx)stubs): Likewise.
58634         * dirent/closedir.c: Don't include <stub-tag.h>.
58635         * dirent/dirfd.c: Likewise.
58636         * dirent/fdopendir.c: Likewise.
58637         * dirent/getdents.c: Likewise.
58638         * dirent/getdents64.c: Likewise.
58639         * dirent/opendir.c: Likewise.
58640         * dirent/readdir.c: Likewise.
58641         * dirent/readdir64.c: Likewise.
58642         * dirent/readdir64_r.c: Likewise.
58643         * dirent/readdir_r.c: Likewise.
58644         * dirent/rewinddir.c: Likewise.
58645         * dirent/seekdir.c: Likewise.
58646         * dirent/telldir.c: Likewise.
58647         * gmon/profil.c: Likewise.
58648         * grp/setgroups.c: Likewise.
58649         * inet/if_index.c: Likewise.
58650         * io/access.c: Likewise.
58651         * io/chdir.c: Likewise.
58652         * io/chmod.c: Likewise.
58653         * io/chown.c: Likewise.
58654         * io/close.c: Likewise.
58655         * io/dup.c: Likewise.
58656         * io/dup2.c: Likewise.
58657         * io/dup3.c: Likewise.
58658         * io/euidaccess.c: Likewise.
58659         * io/faccessat.c: Likewise.
58660         * io/fchdir.c: Likewise.
58661         * io/fchmod.c: Likewise.
58662         * io/fchmodat.c: Likewise.
58663         * io/fchown.c: Likewise.
58664         * io/fchownat.c: Likewise.
58665         * io/fcntl.c: Likewise.
58666         * io/flock.c: Likewise.
58667         * io/fstatfs.c: Likewise.
58668         * io/fstatfs64.c: Likewise.
58669         * io/fstatvfs.c: Likewise.
58670         * io/fstatvfs64.c: Likewise.
58671         * io/futimens.c: Likewise.
58672         * io/fxstat.c: Likewise.
58673         * io/fxstat64.c: Likewise.
58674         * io/fxstatat.c: Likewise.
58675         * io/fxstatat64.c: Likewise.
58676         * io/getcwd.c: Likewise.
58677         * io/isatty.c: Likewise.
58678         * io/lchmod.c: Likewise.
58679         * io/lchown.c: Likewise.
58680         * io/link.c: Likewise.
58681         * io/linkat.c: Likewise.
58682         * io/lseek.c: Likewise.
58683         * io/lseek64.c: Likewise.
58684         * io/lxstat64.c: Likewise.
58685         * io/mkdir.c: Likewise.
58686         * io/mkdirat.c: Likewise.
58687         * io/mkfifo.c: Likewise.
58688         * io/mkfifoat.c: Likewise.
58689         * io/open.c: Likewise.
58690         * io/open64.c: Likewise.
58691         * io/openat.c: Likewise.
58692         * io/openat64.c: Likewise.
58693         * io/pipe.c: Likewise.
58694         * io/pipe2.c: Likewise.
58695         * io/poll.c: Likewise.
58696         * io/posix_fadvise.c: Likewise.
58697         * io/posix_fadvise64.c: Likewise.
58698         * io/posix_fallocate.c: Likewise.
58699         * io/posix_fallocate64.c: Likewise.
58700         * io/read.c: Likewise.
58701         * io/readlink.c: Likewise.
58702         * io/readlinkat.c: Likewise.
58703         * io/rmdir.c: Likewise.
58704         * io/sendfile.c: Likewise.
58705         * io/sendfile64.c: Likewise.
58706         * io/statfs.c: Likewise.
58707         * io/statfs64.c: Likewise.
58708         * io/statvfs.c: Likewise.
58709         * io/statvfs64.c: Likewise.
58710         * io/symlink.c: Likewise.
58711         * io/symlinkat.c: Likewise.
58712         * io/ttyname.c: Likewise.
58713         * io/ttyname_r.c: Likewise.
58714         * io/umask.c: Likewise.
58715         * io/unlink.c: Likewise.
58716         * io/unlinkat.c: Likewise.
58717         * io/utime.c: Likewise.
58718         * io/utimensat.c: Likewise.
58719         * io/write.c: Likewise.
58720         * io/xmknod.c: Likewise.
58721         * io/xmknodat.c: Likewise.
58722         * io/xstat.c: Likewise.
58723         * io/xstat64.c: Likewise.
58724         * login/getpt.c: Likewise.
58725         * login/grantpt.c: Likewise.
58726         * login/unlockpt.c: Likewise.
58727         * math/e_acoshl.c: Likewise.
58728         * math/e_acosl.c: Likewise.
58729         * math/e_asinl.c: Likewise.
58730         * math/e_atan2l.c: Likewise.
58731         * math/e_atanhl.c: Likewise.
58732         * math/e_coshl.c: Likewise.
58733         * math/e_expl.c: Likewise.
58734         * math/e_fmodl.c: Likewise.
58735         * math/e_gammal_r.c: Likewise.
58736         * math/e_hypotl.c: Likewise.
58737         * math/e_j0l.c: Likewise.
58738         * math/e_j1l.c: Likewise.
58739         * math/e_jnl.c: Likewise.
58740         * math/e_lgammal_r.c: Likewise.
58741         * math/e_log10l.c: Likewise.
58742         * math/e_log2l.c: Likewise.
58743         * math/e_logl.c: Likewise.
58744         * math/e_powl.c: Likewise.
58745         * math/e_rem_pio2l.c: Likewise.
58746         * math/e_sinhl.c: Likewise.
58747         * math/e_sqrtl.c: Likewise.
58748         * math/fclrexcpt.c: Likewise.
58749         * math/fedisblxcpt.c: Likewise.
58750         * math/feenablxcpt.c: Likewise.
58751         * math/fegetenv.c: Likewise.
58752         * math/fegetexcept.c: Likewise.
58753         * math/fegetround.c: Likewise.
58754         * math/feholdexcpt.c: Likewise.
58755         * math/fesetenv.c: Likewise.
58756         * math/fesetround.c: Likewise.
58757         * math/feupdateenv.c: Likewise.
58758         * math/fgetexcptflg.c: Likewise.
58759         * math/fraiseexcpt.c: Likewise.
58760         * math/fsetexcptflg.c: Likewise.
58761         * math/ftestexcept.c: Likewise.
58762         * math/k_cosl.c: Likewise.
58763         * math/k_rem_pio2l.c: Likewise.
58764         * math/k_sinl.c: Likewise.
58765         * math/k_tanl.c: Likewise.
58766         * math/s_asinhl.c: Likewise.
58767         * math/s_atanl.c: Likewise.
58768         * math/s_cbrtl.c: Likewise.
58769         * math/s_erfl.c: Likewise.
58770         * math/s_expm1l.c: Likewise.
58771         * math/s_log1pl.c: Likewise.
58772         * math/s_tanhl.c: Likewise.
58773         * misc/acct.c: Likewise.
58774         * misc/brk.c: Likewise.
58775         * misc/chflags.c: Likewise.
58776         * misc/chroot.c: Likewise.
58777         * misc/fchflags.c: Likewise.
58778         * misc/fgetxattr.c: Likewise.
58779         * misc/flistxattr.c: Likewise.
58780         * misc/fremovexattr.c: Likewise.
58781         * misc/fsetxattr.c: Likewise.
58782         * misc/fsync.c: Likewise.
58783         * misc/ftruncate.c: Likewise.
58784         * misc/futimes.c: Likewise.
58785         * misc/futimesat.c: Likewise.
58786         * misc/getdomain.c: Likewise.
58787         * misc/getdtsz.c: Likewise.
58788         * misc/gethostid.c: Likewise.
58789         * misc/gethostname.c: Likewise.
58790         * misc/getloadavg.c: Likewise.
58791         * misc/getpagesize.c: Likewise.
58792         * misc/getsysstats.c: Likewise.
58793         * misc/getxattr.c: Likewise.
58794         * misc/gtty.c: Likewise.
58795         * misc/ioctl.c: Likewise.
58796         * misc/lgetxattr.c: Likewise.
58797         * misc/listxattr.c: Likewise.
58798         * misc/llistxattr.c: Likewise.
58799         * misc/lremovexattr.c: Likewise.
58800         * misc/lsetxattr.c: Likewise.
58801         * misc/lutimes.c: Likewise.
58802         * misc/madvise.c: Likewise.
58803         * misc/mincore.c: Likewise.
58804         * misc/mlock.c: Likewise.
58805         * misc/mlockall.c: Likewise.
58806         * misc/mmap.c: Likewise.
58807         * misc/mprotect.c: Likewise.
58808         * misc/msync.c: Likewise.
58809         * misc/munlock.c: Likewise.
58810         * misc/munlockall.c: Likewise.
58811         * misc/munmap.c: Likewise.
58812         * misc/preadv.c: Likewise.
58813         * misc/preadv64.c: Likewise.
58814         * misc/ptrace.c: Likewise.
58815         * misc/pwritev.c: Likewise.
58816         * misc/pwritev64.c: Likewise.
58817         * misc/readv.c: Likewise.
58818         * misc/reboot.c: Likewise.
58819         * misc/remap_file_pages.c: Likewise.
58820         * misc/removexattr.c: Likewise.
58821         * misc/revoke.c: Likewise.
58822         * misc/select.c: Likewise.
58823         * misc/setdomain.c: Likewise.
58824         * misc/setegid.c: Likewise.
58825         * misc/seteuid.c: Likewise.
58826         * misc/sethostid.c: Likewise.
58827         * misc/sethostname.c: Likewise.
58828         * misc/setregid.c: Likewise.
58829         * misc/setreuid.c: Likewise.
58830         * misc/setxattr.c: Likewise.
58831         * misc/sstk.c: Likewise.
58832         * misc/stty.c: Likewise.
58833         * misc/swapoff.c: Likewise.
58834         * misc/swapon.c: Likewise.
58835         * misc/sync.c: Likewise.
58836         * misc/syncfs.c: Likewise.
58837         * misc/syscall.c: Likewise.
58838         * misc/truncate.c: Likewise.
58839         * misc/ualarm.c: Likewise.
58840         * misc/usleep.c: Likewise.
58841         * misc/ustat.c: Likewise.
58842         * misc/utimes.c: Likewise.
58843         * misc/vhangup.c: Likewise.
58844         * misc/writev.c: Likewise.
58845         * posix/_exit.c: Likewise.
58846         * posix/alarm.c: Likewise.
58847         * posix/execve.c: Likewise.
58848         * posix/fexecve.c: Likewise.
58849         * posix/fork.c: Likewise.
58850         * posix/fpathconf.c: Likewise.
58851         * posix/getaddrinfo.c: Likewise.
58852         * posix/getegid.c: Likewise.
58853         * posix/geteuid.c: Likewise.
58854         * posix/getgid.c: Likewise.
58855         * posix/getgroups.c: Likewise.
58856         * posix/getlogin.c: Likewise.
58857         * posix/getlogin_r.c: Likewise.
58858         * posix/getpgid.c: Likewise.
58859         * posix/getpid.c: Likewise.
58860         * posix/getppid.c: Likewise.
58861         * posix/getresgid.c: Likewise.
58862         * posix/getresuid.c: Likewise.
58863         * posix/getsid.c: Likewise.
58864         * posix/getuid.c: Likewise.
58865         * posix/glob64.c: Likewise.
58866         * posix/nanosleep.c: Likewise.
58867         * posix/pathconf.c: Likewise.
58868         * posix/pause.c: Likewise.
58869         * posix/posix_madvise.c: Likewise.
58870         * posix/pread.c: Likewise.
58871         * posix/pread64.c: Likewise.
58872         * posix/pwrite.c: Likewise.
58873         * posix/pwrite64.c: Likewise.
58874         * posix/sched_getaffinity.c: Likewise.
58875         * posix/sched_getp.c: Likewise.
58876         * posix/sched_gets.c: Likewise.
58877         * posix/sched_primax.c: Likewise.
58878         * posix/sched_primin.c: Likewise.
58879         * posix/sched_rr_gi.c: Likewise.
58880         * posix/sched_setaffinity.c: Likewise.
58881         * posix/sched_setp.c: Likewise.
58882         * posix/sched_sets.c: Likewise.
58883         * posix/sched_yield.c: Likewise.
58884         * posix/setgid.c: Likewise.
58885         * posix/setlogin.c: Likewise.
58886         * posix/setpgid.c: Likewise.
58887         * posix/setresgid.c: Likewise.
58888         * posix/setresuid.c: Likewise.
58889         * posix/setsid.c: Likewise.
58890         * posix/setuid.c: Likewise.
58891         * posix/sleep.c: Likewise.
58892         * posix/spawni.c: Likewise.
58893         * posix/sysconf.c: Likewise.
58894         * posix/times.c: Likewise.
58895         * posix/wait.c: Likewise.
58896         * posix/wait3.c: Likewise.
58897         * posix/wait4.c: Likewise.
58898         * posix/waitpid.c: Likewise.
58899         * resolv/gai_sigqueue.c: Likewise.
58900         * resource/getpriority.c: Likewise.
58901         * resource/getrlimit.c: Likewise.
58902         * resource/getrusage.c: Likewise.
58903         * resource/nice.c: Likewise.
58904         * resource/setpriority.c: Likewise.
58905         * resource/setrlimit.c: Likewise.
58906         * resource/ulimit.c: Likewise.
58907         * rt/aio_cancel.c: Likewise.
58908         * rt/aio_fsync.c: Likewise.
58909         * rt/aio_read.c: Likewise.
58910         * rt/aio_sigqueue.c: Likewise.
58911         * rt/aio_suspend.c: Likewise.
58912         * rt/aio_write.c: Likewise.
58913         * rt/clock_getres.c: Likewise.
58914         * rt/clock_gettime.c: Likewise.
58915         * rt/clock_nanosleep.c: Likewise.
58916         * rt/clock_settime.c: Likewise.
58917         * rt/lio_listio.c: Likewise.
58918         * rt/mq_close.c: Likewise.
58919         * rt/mq_getattr.c: Likewise.
58920         * rt/mq_notify.c: Likewise.
58921         * rt/mq_open.c: Likewise.
58922         * rt/mq_receive.c: Likewise.
58923         * rt/mq_send.c: Likewise.
58924         * rt/mq_setattr.c: Likewise.
58925         * rt/mq_timedreceive.c: Likewise.
58926         * rt/mq_timedsend.c: Likewise.
58927         * rt/mq_unlink.c: Likewise.
58928         * rt/shm_open.c: Likewise.
58929         * rt/shm_unlink.c: Likewise.
58930         * rt/timer_create.c: Likewise.
58931         * rt/timer_delete.c: Likewise.
58932         * rt/timer_getoverr.c: Likewise.
58933         * rt/timer_gettime.c: Likewise.
58934         * rt/timer_settime.c: Likewise.
58935         * setjmp/__longjmp.c: Likewise.
58936         * setjmp/setjmp.c: Likewise.
58937         * signal/kill.c: Likewise.
58938         * signal/killpg.c: Likewise.
58939         * signal/raise.c: Likewise.
58940         * signal/sigaction.c: Likewise.
58941         * signal/sigaltstack.c: Likewise.
58942         * signal/sigblock.c: Likewise.
58943         * signal/sigignore.c: Likewise.
58944         * signal/sigintr.c: Likewise.
58945         * signal/signal.c: Likewise.
58946         * signal/sigpause.c: Likewise.
58947         * signal/sigpending.c: Likewise.
58948         * signal/sigqueue.c: Likewise.
58949         * signal/sigreturn.c: Likewise.
58950         * signal/sigset.c: Likewise.
58951         * signal/sigsetmask.c: Likewise.
58952         * signal/sigstack.c: Likewise.
58953         * signal/sigsuspend.c: Likewise.
58954         * signal/sigtimedwait.c: Likewise.
58955         * signal/sigvec.c: Likewise.
58956         * signal/sigwait.c: Likewise.
58957         * signal/sigwaitinfo.c: Likewise.
58958         * signal/sysv_signal.c: Likewise.
58959         * socket/accept.c: Likewise.
58960         * socket/accept4.c: Likewise.
58961         * socket/bind.c: Likewise.
58962         * socket/connect.c: Likewise.
58963         * socket/getpeername.c: Likewise.
58964         * socket/getsockname.c: Likewise.
58965         * socket/getsockopt.c: Likewise.
58966         * socket/isfdtype.c: Likewise.
58967         * socket/listen.c: Likewise.
58968         * socket/recv.c: Likewise.
58969         * socket/recvfrom.c: Likewise.
58970         * socket/recvmsg.c: Likewise.
58971         * socket/send.c: Likewise.
58972         * socket/sendmsg.c: Likewise.
58973         * socket/sendto.c: Likewise.
58974         * socket/setsockopt.c: Likewise.
58975         * socket/shutdown.c: Likewise.
58976         * socket/sockatmark.c: Likewise.
58977         * socket/socket.c: Likewise.
58978         * socket/socketpair.c: Likewise.
58979         * stdio-common/ctermid.c: Likewise.
58980         * stdio-common/cuserid.c: Likewise.
58981         * stdio-common/remove.c: Likewise.
58982         * stdio-common/rename.c: Likewise.
58983         * stdio-common/renameat.c: Likewise.
58984         * stdio-common/tempname.c: Likewise.
58985         * stdlib/getcontext.c: Likewise.
58986         * stdlib/makecontext.c: Likewise.
58987         * stdlib/setcontext.c: Likewise.
58988         * stdlib/swapcontext.c: Likewise.
58989         * stdlib/system.c: Likewise.
58990         * streams/fattach.c: Likewise.
58991         * streams/fdetach.c: Likewise.
58992         * streams/getmsg.c: Likewise.
58993         * streams/getpmsg.c: Likewise.
58994         * streams/putmsg.c: Likewise.
58995         * streams/putpmsg.c: Likewise.
58996         * sysdeps/unix/bsd/getpt.c: Likewise.
58997         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58998         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58999         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59001         Likewise.
59002         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59003         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59004         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59005         * sysvipc/msgctl.c: Likewise.
59006         * sysvipc/msgget.c: Likewise.
59007         * sysvipc/msgrcv.c: Likewise.
59008         * sysvipc/msgsnd.c: Likewise.
59009         * sysvipc/semctl.c: Likewise.
59010         * sysvipc/semget.c: Likewise.
59011         * sysvipc/semop.c: Likewise.
59012         * sysvipc/semtimedop.c: Likewise.
59013         * sysvipc/shmat.c: Likewise.
59014         * sysvipc/shmctl.c: Likewise.
59015         * sysvipc/shmdt.c: Likewise.
59016         * sysvipc/shmget.c: Likewise.
59017         * termios/tcdrain.c: Likewise.
59018         * termios/tcflow.c: Likewise.
59019         * termios/tcflush.c: Likewise.
59020         * termios/tcgetattr.c: Likewise.
59021         * termios/tcgetpgrp.c: Likewise.
59022         * termios/tcsendbrk.c: Likewise.
59023         * termios/tcsetattr.c: Likewise.
59024         * termios/tcsetpgrp.c: Likewise.
59025         * time/adjtime.c: Likewise.
59026         * time/clock.c: Likewise.
59027         * time/getitimer.c: Likewise.
59028         * time/gettimeofday.c: Likewise.
59029         * time/setitimer.c: Likewise.
59030         * time/settimeofday.c: Likewise.
59031         * time/stime.c: Likewise.
59032         * time/time.c: Likewise.
59034 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59036         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59037         /usr/old/bin.
59039         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59040         instead of spaces.
59041         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59043 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59045         [BZ #14796]
59046         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59047         FE_TONEAREST before applying Dekker multiplication and Knuth
59048         addition.  Clear inexact exceptions and check for exact zero
59049         results afterwards.
59050         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59051         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59052         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59053         * math/libm-test.inc (fma_test): Add more tests.
59054         (fma_test_towardzero): Likewise.
59055         (fma_test_downward): Likewise.
59056         (fma_test_upward): Likewise.
59057         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59058         function.
59059         (libc_fesetround): New macro.
59060         (libc_fesetroundf): Likewise.
59061         (libc_fesetroundl): Likewise.
59062         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59063         function.
59064         (libc_fesetround_387): Likewise.
59065         (libc_fesetroundf): New macro.
59066         (libc_fesetround): Likewise.
59067         (libc_fesetroundl): Likewise.
59068         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59069         function.
59070         (libc_fesetroundf): New macro.
59071         (libc_fesetround): Likewise.
59072         (libc_fesetroundl): Likewise.
59073         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59074         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59075         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59076         libm_hidden_ver.
59077         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59078         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59079         libm_hidden_def.
59080         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59081         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59082         libm_hidden_ver.
59083         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59084         libm_hidden_def.
59086         [BZ #3439]
59087         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59088         integer constant usable in #if and use that to give value to enum
59089         constant.
59090         (FE_DIVBYZERO): Likewise.
59091         (FE_UNDERFLOW): Likewise.
59092         (FE_OVERFLOW): Likewise.
59093         (FE_INVALID): Likewise.
59094         (FE_INVALID_SNAN): Likewise.
59095         (FE_INVALID_ISI): Likewise.
59096         (FE_INVALID_IDI): Likewise.
59097         (FE_INVALID_ZDZ): Likewise.
59098         (FE_INVALID_IMZ): Likewise.
59099         (FE_INVALID_COMPARE): Likewise.
59100         (FE_INVALID_SOFTWARE): Likewise.
59101         (FE_INVALID_SQRT): Likewise.
59102         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59103         (FE_TONEAREST): Likewise.
59104         (FE_TOWARDZERO): Likewise.
59105         (FE_UPWARD): Likewise.
59106         (FE_DOWNWARD): Likewise.
59107         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59108         (FE_DIVBYZERO): Likewise.
59109         (FE_OVERFLOW): Likewise.
59110         (FE_UNDERFLOW): Likewise.
59111         (FE_INEXACT): Likewise.
59112         (FE_TONEAREST): Likewise.
59113         (FE_DOWNWARD): Likewise.
59114         (FE_UPWARD): Likewise.
59115         (FE_TOWARDZERO): Likewise.
59116         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59117         (FE_UNDERFLOW): Likewise.
59118         (FE_OVERFLOW): Likewise.
59119         (FE_DIVBYZERO): Likewise.
59120         (FE_INVALID): Likewise.
59121         (FE_TONEAREST): Likewise.
59122         (FE_TOWARDZERO): Likewise.
59123         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59124         (FE_OVERFLOW): Likewise.
59125         (FE_UNDERFLOW): Likewise.
59126         (FE_DIVBYZERO): Likewise.
59127         (FE_INEXACT): Likewise.
59128         (FE_TONEAREST): Likewise.
59129         (FE_TOWARDZERO): Likewise.
59130         (FE_UPWARD): Likewise.
59131         (FE_DOWNWARD): Likewise.
59132         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59133         (FE_DIVBYZERO): Likewise.
59134         (FE_OVERFLOW): Likewise.
59135         (FE_UNDERFLOW): Likewise.
59136         (FE_INEXACT): Likewise.
59137         (FE_TONEAREST): Likewise.
59138         (FE_DOWNWARD): Likewise.
59139         (FE_UPWARD): Likewise.
59140         (FE_TOWARDZERO): Likewise.
59142 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59144         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59146 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59148         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59149         commands.  Quote $PWD.
59150         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59151         -x" by "export".
59152         (remove_newlines): Remove.
59154 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59156         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59157         * stdlib/stdlib.h (atof): Moved to ...
59158         * include/bits/stdlib-float.h: Here.  New file.
59159         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59160         * stdlib/bits/stdlib-float.h: New file.
59161         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59162         -mno-sse -mno-mmx.
59163         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59164         <xmmintrin.h>.
59166 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59168         * conform/conformtest.pl (@headers): Add fenv.h.
59169         * conform/data/fenv.h-data: New file.
59170         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59171         include of <math/fenv.h>.
59173         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59174         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59175         && !UNIX98].  Enables tests for XOPEN2K8.
59176         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59177         POSIX2008]: Likewise.
59179         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59180         (struct rusage): Do not expect type or its members.
59182         [BZ #3439]
59183         * math/math.h (FP_NAN): Define macro to integer constant usable in
59184         #if and use that to give value to enum constant.
59185         (FP_INFINITE): Likewise.
59186         (FP_ZERO): Likewise.
59187         (FP_SUBNORMAL): Likewise.
59188         (FP_NORMAL): Likewise.
59190 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59192         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59193         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59194         arguments.
59196 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59198         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59199         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59200         autoconf-time if not.
59201         * configure.in: Remove AC_PREREQ.
59203 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59205         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59206         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59207         of the internal implementation.
59209 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59211         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59212         except include of <misc/sys/syslog.h>.
59214 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59217         function returns with a NULL context exit with zero.
59219 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59221         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59223 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59225         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59226         (run_program_cmd): This.
59227         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59228         (tst_langinfo): New variable.  Use it.
59230 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59232         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59233         floating point opcodes.
59235 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59237         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59238         variable.
59240         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59242         * sysdeps/mach/hurd/powerpc: Remove directory.
59243         * sysdeps/mach/powerpc: Likewise.
59245 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59247         * scripts/check-local-headers.sh: Ignore c++ headers.
59249 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59251         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59252         __libc_cleanup_region_start argument.
59254 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59256         [BZ #14784]
59257         [BZ #14785]
59258         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59259         x * y using scaling, not as x * y + z.
59260         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59261         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59262         * math/libm-test.inc (fma_test): Add more tests.
59263         (fma_test_towardzero): Likewise.
59264         (fma_test_downward): Likewise.
59265         (fma_test_upward): Likewise.
59267 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59269         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59271 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59273         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59274         New variable.
59276 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59278         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59280 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59283         Fix sort order.
59284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59285         Likewise.
59287 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59290         Fix the order of the list for glibc 2.17.
59291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59292         Likewise.
59294 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59298 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59300         [BZ #14610]
59301         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59302         for low part of x being zero before using __atanl (y).
59303         * math/libm-test.inc (atan2_test): Add another test.
59305         * manual/install.texi (Configuring and compiling): Document
59306         general use of test-wrapper and test-wrapper-env.
59307         * INSTALL: Regenerated.
59309         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59310         (__fma): Do not extract and scale down low bits on after-rounding
59311         systems when result rounded to normal precision would have normal
59312         exponent.
59313         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59314         (__fmal): Do not extract and scale down low bits on after-rounding
59315         systems when result rounded to normal precision would have normal
59316         exponent.
59317         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59318         (__fmal): Do not extract and scale down low bits on after-rounding
59319         systems when result rounded to normal precision would have normal
59320         exponent.
59321         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59322         macro.
59323         (fma_test): Add more tests.
59324         (fma_test_towardzero): Likewise.
59325         (fma_test_downward): Likewise.
59326         (fma_test_upward): Likewise.
59328 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59330         * sysdeps/i386/tininess.h: Renamed to ...
59331         * sysdeps/x86/tininess.h: This.
59332         * sysdeps/x86_64/tininess.h: Removed.
59334 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59336         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59337         input.  Use $(build-program-cmd).
59338         ($(objpfx)tst-array1-static.out): Likewise.
59339         ($(objpfx)tst-array2.out): Likewise.
59340         ($(objpfx)tst-array3.out): Likewise.
59341         ($(objpfx)tst-array4.out): Likewise.
59342         ($(objpfx)tst-array5.out): Likewise.
59343         ($(objpfx)tst-array5-static.out): Likewise.
59345 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59347         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59348         if defined.
59350         * nss/nsswitch.h (nss_interface_function): Provide new
59351         macro for use with NSS functions.
59352         * grp/initgroups.c: Use new macro.
59353         * nss/getXXbyYY.c: Likewise.
59354         * nss/getXXbyYY_r.c: Likewise.
59355         * nss/getXXent.c: Likewise.
59356         * nss/getXXent_r.c: Likewise.
59357         * sysdeps/posix/getaddrinfo.c: Likewise.
59359 2012-10-30  Andreas Jaeger  <aj@suse.de>
59361         * po/ru.po: Update Russion translation from translation project.
59363 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59365         [BZ #14152]
59366         [BZ #14783]
59367         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59368         result and shift together with sticky bit instead of replicating
59369         round-to-nearest rounding.
59370         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59371         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59372         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59373         missing underflow exceptions.
59374         (fma_test_towardzero): Add more tests.
59375         (fma_test_downward): Likewise.
59376         (fma_test_upward): Likewise.
59378         [BZ #14047]
59379         * sysdeps/generic/tininess.h: New file.
59380         * sysdeps/i386/tininess.h: Likewise.
59381         * sysdeps/sh/tininess.h: Likewise.
59382         * sysdeps/x86_64/tininess.h: Likewise.
59383         * stdlib/tst-strtod-underflow.c: Likewise.
59384         * stdlib/tst-tininess.c: Likewise.
59385         * stdlib/strtod_l.c: Include <tininess.h>.
59386         (round_and_return): Do not set errno for exact underflow cases.
59387         Force an underflow exception when setting errno for underflow.
59388         Determine underflow based on rounding to normal precision if
59389         TININESS_AFTER_ROUNDING.
59390         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59391         ERANGE for exact underflow cases.
59392         * stdlib/Makefile (tests): Add tst-tininess and
59393         tst-strtod-underflow.
59394         ($(objpfx)tst-tininess): Use $(link-libm).
59395         ($(objpfx)tst-strtod-underflow): Likewise.
59397 2012-10-30  Andreas Jaeger  <aj@suse.de>
59399         [BZ#14767]
59400         * elf/Makefile (tests): Remove conditional for have-initfini-array
59401         since this is now always required and the variable does not exist
59402         anymore.
59403         (tests-static): Likewise.
59404         (modules-names): Likewise.
59406         * po/eo.po: Add Esperanto translation from translation project.
59408         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59409         merged with constructor/destructor.
59410         (init_array): Likewise.
59411         * elf/tst-array2dep.c (fini_array): Likewise.
59412         (init_array): Likewise.
59414 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59416         * manual/message.texi: Delete @cartouche tags.
59418 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59420         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59421         EOPNOTSUPP.
59422         * sysdeps/mach/hurd/fsync.c: Likewise.
59424         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59425         [_POSIX_REALTIME_SIGNALS]: Change condition to
59426         [_POSIX_REALTIME_SIGNALS > 0].
59428 2012-10-27  Andreas Jaeger  <aj@suse.de>
59430         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59431         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59432         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59433         [__WORDSIZE != 64]: Likewise.
59435 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59437         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59438         *  iconvdata/tst-tables.sh: Likewise.
59440 2012-10-25  David S. Miller  <davem@davemloft.net>
59442         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59443         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59444         of strtoull.
59446         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59447         ifunc-impl-list.c
59448         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59449         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59450         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59451         file.
59453 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59455         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59456         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59457         __getdirentries.
59459 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59460             Jim Blandy  <jimb@codesourcery.com>
59462         * scripts/cross-test-ssh.sh: New file.
59463         * manual/install.texi (Configuring and compiling): Document use of
59464         cross-test-ssh.sh.
59465         * INSTALL: Regenerated.
59467 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59469         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59470         EOPNOTSUPP.
59472 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59474         * Makeconfig (run-program-prefix): Fix comment.
59476 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59477             Jim Blandy  <jimb@codesourcery.com>
59479         * Makeconfig (test-wrapper): New variable,
59480         (test-wrapper-env): Likewise.
59481         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59482         (run-built-tests): Define to yes.
59483         (run-program-prefix): Use $(test-wrapper).
59484         (built-program-cmd): Likewise.
59485         * Rules (make-test-out): Use $(test-wrapper-env) and
59486         $(host-built-program-cmd).
59487         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59488         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59489         tst-pathopt.sh.
59490         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59491         $(test-wrapper-env) to tst-rtld-load-self.sh.
59492         ($(objpfx)order2.out): Use $(test-wrapper).
59493         ($(objpfx)tst-initorder.out): Likewise.
59494         ($(objpfx)tst-initorder2.out): Likewise.
59495         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59496         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59497         (test_wrapper_env): New variable.  Use it to run ld.so.
59498         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59499         Use it to run ld.so.
59500         (test_wrapper_env): Likewise.
59501         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59502         $(test-wrapper) to run-iconv-test.sh.
59503         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59504         (ICONV): Use $test_wrapper.
59505         * posix/Makefile ($(objpfx)globtest.out): Pass
59506         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59507         globtest.sh, not $(run-program-prefix).
59508         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59509         (test_wrapper): Likewise.
59510         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59511         set together with run_via_rtld_prefix.
59512         (run_program_prefix): Define in terms of test_wrapper and
59513         run_via_rtld_prefix.
59515 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59517         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59518         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59519         Targets removed.
59521         [BZ #14743]
59522         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59523         Declare __clock_getres, __clock_gettime, __clock_settime,
59524         __clock_nanosleep, and __clock_getcpuclockid.
59525         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59526         Remove librt_hidden_def (clock_gettime).
59527         * sysdeps/unix/clock_gettime.c: Likewise.
59528         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59529         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59530         * rt/clock_getres.c: Define __clock_getres as an alias.
59531         * sysdeps/posix/clock_getres.c: Likewise.
59532         * rt/clock_settime.c: Define __clock_settime as an alias.
59533         * sysdeps/unix/clock_settime.c: Likewise.
59534         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59535         * sysdeps/unix/clock_nanosleep.c: Likewise.
59536         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59537         * rt/clock-compat.c: New file.
59538         * rt/Makefile (librt-routines): Add clock-compat and move
59539         $(clock-routines) to ...
59540         (routines): ... here, new variable.
59541         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59542         Don't add get_clockfreq here.
59543         * rt/Versions (libc: GLIBC_2.17): New version set.
59544         Add clock_* symbols here.
59545         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59546         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59547         (GLIBC_2.17): Add clock_* symbols.
59548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59550         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59552         Likewise.
59553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59554         Likewise.
59555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59559         * NEWS: Mention the move.
59561         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59562         Use __open, __read, __close rather than their public counterparts.
59563         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59564         (__get_clockfreq_via_cpuinfo): Likewise.
59565         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59566         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59568         * config.h.in (HAVE_IFUNC): New #undef.
59569         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59570         was successful.
59571         * configure: Regenerated.
59573 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59575         * configure.in: Move READELF check to start of file.
59576         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59577         libc_cv_asm_gnu_indirect_function in the process.
59578         * configure: Regenerated.
59580 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59582         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59583         send the output to /dev/null.
59584         (libc_cv_cc_with_libunwind): Likewise.
59585         (libc_cv_as_noexecstack): Likewise.
59586         * configure: Regenerate.
59588 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59590         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59592         * posix/globtest.sh (TMPDIR): Do not set.
59593         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59594         (testout): Likewise.
59596 2012-10-24  Andreas Jaeger  <aj@suse.de>
59598         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59599         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59600         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59601         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59602         posix_fadvise64, posix_fallocate64.
59604         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59605         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59606         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59607         Likewise.
59608         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59609         Likewise.
59610         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59612         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59613         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59614         <bits/fcntl-linux.h>.
59615         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59617         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59618         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59619         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59620         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59621         [__WORDSIZE != 64]: Likewise.
59623 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59625         * Makeconfig (run-built-tests): New variable.
59626         * Rules [$(cross-compiling) = yes]: Change condition to
59627         [$(run-built-tests) = no].
59628         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59629         to [$(run-built-tests) = yes].
59630         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59631         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59632         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59633         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59634         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59635         * io/Makefile [$(cross-compiling) = no]: Likewise.
59636         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59637         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59638         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59639         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59640         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59641         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59642         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59643         * string/Makefile [$(cross-compiling) = no]: Likewise.
59645         * posix/Makefile ($(objpfx)globtest.out): Pass
59646         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59647         $(rtld-installed-name).
59648         * posix/globtest.sh (elf_objpfx): Remove variable.
59649         (rtld_installed_name): Likewise.
59650         (library_path): Likewise.
59651         (run_program_prefix): New variable.  Use for running globtest
59652         binary.
59654 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59655             Joseph Myers  <joseph@codesourcery.com>
59657         * Makeconfig (host-built-program-cmd): New variable.
59658         * elf/Makefile (tst-stackguard1-ARGS): Use
59659         $(host-built-program-cmd).
59660         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59661         (tst-spawn-ARGS): Likewise.
59662         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59664 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59665             Jim Blandy  <jimb@codesourcery.com>
59667         * Makeconfig (run-via-rtld-prefix): New variable.
59668         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59669         (built-program-cmd): Likewise.
59671 2012-10-22  Andreas Jaeger  <aj@suse.de>
59673         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59674         __O_RSYNC if it exists, otherwise to O_SYNC.
59676 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59677             Joseph Myers  <joseph@codesourcery.com>
59679         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59680         /dev/null.
59681         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59682         from /dev/null
59683         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59684         /dev/null.
59686 2012-10-22  Andreas Jaeger  <aj@suse.de>
59688         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59689         Define always.
59690         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59692         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59693         bits/fcntl-linux.h.
59695         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59696         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59698         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59699         to __O_LARGEFILE.
59700         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59701         to __O_LARGEFILE.
59703 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59704             Joseph Myers  <joseph@codesourcery.com>
59706         * config.make.in (NM): New variable.
59708 2012-10-21  Andreas Jaeger  <aj@suse.de>
59710         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59711         definitions and declarations that are provided by
59712         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59714 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59716         [BZ #14683]
59717         * elf/Makefile (tests-static): Add tst-leaks1-static.
59718         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59719         ($(objpfx)tst-leaks1-static): New rule.
59720         ($(objpfx)tst-leaks1-static-mem): Likewise.
59721         (tst-leaks1-static-ENV): New macro.
59722         * elf/dl-open.c (dl_open_worker): Check the main application
59723         only if SHARED is defined.
59724         * elf/tst-leaks1-static.c: New file.
59726 2012-10-20  Andreas Jaeger  <aj@suse.de>
59728         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59729         generic values for Linux.
59730         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59731         and declarations that are provided by <bits/fcntl-linux.h> and
59732         include <bits/fcntl-linux.h>.
59733         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59734         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59736 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59738         * io/fcntl.h: Move include of <bits/types.h> to the top and
59739         include it unconditionally.
59741 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59743         * wcsmbs/Makefile (tests-ifunc): New variable.
59744         (tests): Add $(tests-ifunc).
59745         * wcsmbs/test-wcschr-ifunc.c: New file.
59746         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59747         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59748         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59749         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59750         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59752         * string/Makefile (tests-ifunc): New variable.
59753         (tests): Add $(tests-ifunc).
59754         * string/test-memccpy.c (TEST_NAME): New macro.
59755         * string/test-memchr.c (TEST_NAME): Likewise.
59756         * string/test-memcmp.c (TEST_NAME): Likewise.
59757         * string/test-memcpy.c (TEST_NAME): Likewise.
59758         * string/test-memmem.c (TEST_NAME): Likewise.
59759         * string/test-memmove.c (TEST_NAME): Likewise.
59760         * string/test-memset.c (TEST_NAME): Likewise.
59761         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59762         * string/test-stpcpy.c (TEST_NAME): Likewise.
59763         * string/test-stpncpy.c (TEST_NAME): Likewise.
59764         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59765         * string/test-strcasestr.c (TEST_NAME): Likewise.
59766         * string/test-strcat.c (TEST_NAME): Likewise.
59767         * string/test-strchr.c (TEST_NAME): Likewise.
59768         * string/test-strcmp.c(TEST_NAME): Likewise.
59769         * string/test-strcpy.c (TEST_NAME): Likewise.
59770         * string/test-strcspn.c (TEST_NAME): Likewise.
59771         * string/test-strlen.c (TEST_NAME): Likewise.
59772         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59773         * string/test-strncmp.c (TEST_NAME): Likewise.
59774         * string/test-strncpy.c (TEST_NAME): Likewise.
59775         * string/test-strnlen.c (TEST_NAME): Likewise.
59776         * string/test-strpbrk.c (TEST_NAME): Likewise.
59777         * string/test-strrchr.c (TEST_NAME): Likewise.
59778         * string/test-strspn.c (TEST_NAME): Likewise.
59779         * string/test-strstr.c (TEST_NAME): Likewise.
59780         * string/test-bcopy-ifunc.c: New file.
59781         * string/test-bzero-ifunc.c: Likewise.
59782         * string/test-memccpy-ifunc.c: Likewise.
59783         * string/test-memchr-ifunc.c: Likewise.
59784         * string/test-memcmp-ifunc.c: Likewise.
59785         * string/test-memcpy-ifunc.c: Likewise.
59786         * string/test-memmem-ifunc.c: Likewise.
59787         * string/test-memmove-ifunc.c: Likewise.
59788         * string/test-mempcpy-ifunc.c: Likewise.
59789         * string/test-memset-ifunc.c: Likewise.
59790         * string/test-rawmemchr-ifunc.c: Likewise.
59791         * string/test-stpcpy-ifunc.c: Likewise.
59792         * string/test-stpncpy-ifunc.c: Likewise.
59793         * string/test-strcasecmp-ifunc.c: Likewise.
59794         * string/test-strcasestr-ifunc.c: Likewise.
59795         * string/test-strcat-ifunc.c: Likewise.
59796         * string/test-strchr-ifunc.c: Likewise.
59797         * string/test-strchrnul-ifunc.c: Likewise.
59798         * string/test-strcmp-ifunc.c: Likewise.
59799         * string/test-strcpy-ifunc.c: Likewise.
59800         * string/test-strcspn-ifunc.c: Likewise.
59801         * string/test-strlen-ifunc.c: Likewise.
59802         * string/test-strncasecmp-ifunc.c: Likewise.
59803         * string/test-strncat-ifunc.c: Likewise.
59804         * string/test-strncmp-ifunc.c: Likewise.
59805         * string/test-strncpy-ifunc.c: Likewise.
59806         * string/test-strnlen-ifunc.c: Likewise.
59807         * string/test-strpbrk-ifunc.c: Likewise.
59808         * string/test-strrchr-ifunc.c: Likewise.
59809         * string/test-strspn-ifunc.c: Likewise.
59810         * string/test-strstr-ifunc.c: Likewise.
59812         * debug/Makefile (tests-ifunc): New variable.
59813         (tests): Add $(tests-ifunc).
59814         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59815         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59816         * debug/test-stpcpy_chk-ifunc.c: New file.
59817         * debug/test-strcpy_chk-ifunc.c: Likewise.
59819 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59821         [BZ #13601]
59822         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59823         header is not read in.
59825 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59827         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59828         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59829         directly.  Pass built executable to script as
59830         $(built-program-cmd).
59831         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59832         $testprogram without using LD_LIBRARY_PATH and $ldso.
59834         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59835         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59836         $(rtld-installed-name).
59837         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59838         (rtld_installed_name): Likewise.
59839         (library_path): Likewise.
59840         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59841         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59842         $(run-program-prefix) to tst-tables.sh.
59843         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59844         it to run tst-table-from and tst-table-to.
59845         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59846         Pass it to tst-table.sh.
59847         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59848         $(run-program-prefix) to tst-gettext.sh.
59849         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59850         tst-translit.sh.
59851         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59852         tst-gettext2.sh.
59853         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59854         to run tst-gettext.
59855         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59856         to run tst-gettext2.
59857         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59858         to run tst-translit.
59859         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59860         $(run-program-prefix) to tst-mtrace.sh.
59861         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59862         to run tst-mtrace.
59863         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59864         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59865         $(rtld-installed-name).
59866         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59867         (rtld_installed_name): Likewise.
59868         (run_program_prefix): New variable.  Use it to run wordexp-test.
59870         * Makeconfig (ARCH): Remove all definitions.
59871         (machine): Likewise.
59872         [ARCH]: Remove conditional code.
59873         [!objdir]: Give error.
59874         [!objdir] (objpfx): Remove.
59875         [!objdir] (common-objpfx): Likewise.
59876         [!objdir] (common-objdir): Likewise.
59877         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59878         AC_CONFIG_FILES call.
59879         * configure: Regenerated.
59881         [BZ #13888]
59882         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59883         or TMPDIR.
59884         (testout): Likewise.
59886         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59887         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59888         $(rtld-installed-name).
59889         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59890         (rtld_installed_name): Likwise.
59891         (runit): Remove function.
59892         (run_getconf): New variable,  Use it for running getconf binary.
59894 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59896         [BZ #14716]
59897         * string/test-memmem.c (check_result): New function.
59898         (do_one_test): Use it.
59899         (check1): New function.
59900         (test_main): Use it.
59902 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59904         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59906 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59908         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59909         (_G_LSEEK64): Likewise.
59910         (_G_MMAP64): Likewise.
59911         (_G_FSTAT64): Likewise.
59912         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59913         (_G_LSEEK64): Likewise.
59914         (_G_MMAP64): Likewise.
59915         (_G_FSTAT64): Likewise.
59916         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59917         unconditional.  Call __mmap64 directly.
59918         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59919         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59920         __lseek64 directly.
59921         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59922         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59923         __mmap64 directly.
59924         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59925         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59926         __lseek64 directly.
59927         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59928         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59929         __lseek64 directly.
59930         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59931         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59932         __lseek64 directly.
59933         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59934         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59935         __fxstat64 directly.
59936         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59937         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59938         unconditional.
59939         (freopen64) [!_G_OPEN64]: Remove conditional code.
59940         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59941         unconditional.
59942         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59943         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59944         unconditional.
59945         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59946         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59947         unconditional.
59948         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59949         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59950         unconditional.
59951         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59952         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59953         unconditional.
59954         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59955         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59956         unconditional.
59957         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59958         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59959         unconditional.
59960         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59962 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59964         [BZ #12140]
59965         * manual/memory.texi (Malloc Tunable Parameters): Add note
59966         about free list pointers overwriting some perturb bytes.
59967         Wording suggested by Roland McGrath.
59969 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59971         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59972         (lgamma_test): Likewise.
59973         (tgamma_test): Likewise.
59975 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59977         [BZ #14700]
59978         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59979         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59981 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59983         * NEWS: Mention BZ #14716.
59984         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59985         when removing AVAILABLE1_USES_J macro.
59987 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59989         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59990         (__bswap_64): __uint64_t for unsigned 64-bit int.
59992 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59994         * include/string.h (memmem): Declare libc hidden alias.
59995         * string/memmem.c (memmem): Define libc hidden alias.
59996         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59997         __read, __close instead of open, read, close.
59999 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60001         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60002         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60003         global and hidden.
60004         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60005         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60006         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60007         Likewise.
60008         (__rawmemchr_sse2): Likewise.
60009         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60010         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60011         (__strchr_sse2): Likewise.
60012         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60013         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60014         (__strcasecmp_sse2): Likewise.
60015         (__strncasecmp_sse2): Likewise.
60016         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60017         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60018         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60019         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60020         (__strrchr_sse2): Likewise.
60021         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60022         ifunc-impl-list.c.
60023         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60024         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60025         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60026         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60027         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60028         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60029         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60030         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60031         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60032         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60033         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60034         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60035         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60036         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60037         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60038         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60039         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60040         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60041         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60042         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60043         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60044         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60045         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60046         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60047         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60048         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60049         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60050         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60051         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60052         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60054         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60055         global and hidden.
60056         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60057         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60058         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60059         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60060         Likewise.
60061         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60062         Likewise.
60063         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60064         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60065         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60066         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60067         ifunc-impl-list.c.
60068         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60069         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60070         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60071         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60072         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60073         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60074         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60075         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60076         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60077         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60078         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60079         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60080         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60081         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60082         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60083         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60084         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60085         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60086         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60087         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60088         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60089         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60090         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60091         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60092         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60093         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60094         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60095         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60096         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60097         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60098         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60099         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60100         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60101         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60102         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60103         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60104         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60105         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60106         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60107         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60108         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60110         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60111         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60112         * include/ifunc-impl-list.h: New file.
60113         * misc/ifunc-impl-list.c: Likewise.
60114         * misc/Makefile (routines): Add ifunc-impl-list.
60115         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60116         * string/test-string.h: Include <ifunc-impl-list.h>.
60117         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60118         TEST_NAME]: New variables.
60119         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60120         are defined.
60121         (test_init): Call __libc_ifunc_impl_list to initialize
60122         func_list if TEST_IFUNC and TEST_NAME are defined.
60124         * string/Makefile (strop-tests): Add bcopy and bzero.
60125         * string/test-bcopy.c: New file.
60126         * string/test-bzero.c: Likewise.
60127         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60128         defined.
60129         * string/test-memset.c: Support bzero test if TEST_BZERO is
60130         defined.
60131         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60132         __libc_memmove.
60133         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60134         __libc_memset.
60135         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60136         of memset.
60138 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60140         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60141         * configure: Regenerated.
60143         * Makeconfig (+link-static-before-libc): Don't include
60144         $(link-static-libc).
60146         * libio/libio.h (_IO_pos_t): Remove.
60148 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60150         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60151         McGrath.
60153 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60155         * crypt/crypt-entry.c: Include fips-private.h.
60156         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60157         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60158         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60159         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60161 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60163         * crypt/crypt-private.h: Include stdbool.h.
60164         (_ufc_setup_salt_r): Return bool.
60165         * crypt/crypt-entry.c: Include errno.h.
60166         (__crypt_r): Return NULL with EINVAL for bad salt.
60167         * crypt/crypt_util.c (bad_for_salt): New.
60168         (_ufc_setup_salt_r): Check that salt is long enough and within
60169         the specified alphabet.
60170         * crypt/badsalttest.c: New file.
60171         * crypt/Makefile (tests): Add it.
60172         ($(objpfx)badsalttest): New.
60174 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60176         * NEWS: Add entry for BZ #14602.
60178 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60180         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60181         type-generic.
60182         * math/libm-test.inc: Update comment listing what functions and
60183         macros are tested.
60184         (isgreater_test): New function.
60185         (isgreaterequal_test): Likewise.
60186         (isless_test): Likewise.
60187         (islessequal_test): Likewise.
60188         (islessgreater_test): Likewise.
60189         (isunordered_test): Likewise.
60190         (main): Call the new functions.
60192 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60194         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60195         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60196         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60197         * sysdeps/i386/configure: Regenerated.
60198         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60199         * sysdeps/mach/configure: Regenerated.
60200         * sysdeps/mach/hurd/configure: Regenerated.
60201         * sysdeps/powerpc/configure: Regenerated.
60202         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60203         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60204         * sysdeps/s390/s390-32/configure: Regenerated.
60205         * sysdeps/s390/s390-64/configure: Regenerated.
60206         * sysdeps/sh/configure: Regenerated.
60207         * sysdeps/sparc/configure: Regenerated.
60208         * sysdeps/unix/sysv/linux/configure: Regenerated.
60209         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60210         * sysdeps/x86_64/configure: Regenerated.
60212         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60213         defined.  Don't check if MAP is NULL.
60215 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60217         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60218         (_G_stat64): Likewise.
60219         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60220         (_G_stat64): Likewise.
60221         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60222         instead of struct _G_stat64.
60223         * libio/fileops.c (mmap_remap_check): Likewise.
60224         (decide_maybe_mmap): Likewise.
60225         (_IO_new_file_seekoff): Likewise.
60226         (_IO_file_stat): Likewise.
60227         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60228         _G_off64_t.
60229         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60230         instead of struct _G_stat64.
60231         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60233 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60235         [BZ #14602]
60236         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60237         Replace with ...
60238         (CHECK_EOL): New macro.
60239         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60240         CHECK_EOL.
60241         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60242         Replace with CHECK_EOL.
60243         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60244         Replace with CHECK_EOL.
60246 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60248         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60249         type-generic.
60250         * math/libm-test.inc: Update comment listing what functions and
60251         macros are tested.
60252         (finite_test): New function.
60253         (isinf_test): Likewise.
60254         (isnan_test): Likewise.
60255         (fpclassify_test): Test subnormal input.
60256         (isfinite_test): Likewise.
60257         (isnormal_test): Likewise.
60258         (main): Call the new functions.
60260 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60262         [BZ #14660]
60263         * Makerules (%.dynsym): Force C locale when running
60264         $(OBJDUMP) --dynamic-syms.
60266 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60268         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60269         <stdint.h>.
60271 2012-10-06  David S. Miller  <davem@davemloft.net>
60273         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60274         upper 32-bits of the length value in %o2 since we use branch-on-register
60275         tests which consider the entire 64-bit register.
60277 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60279         * string/test-strstr.c (check2): Add a test for page boundary.
60281 2012-10-05  David S. Miller  <davem@davemloft.net>
60283         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60284         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60285         file.
60286         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60287         sysdep_routines.
60288         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60289         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60290         and bzero when HWCAP_SPARC_CRYPTO is present.
60292 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60294         [BZ #14602]
60295         * string/test-strstr.c (check2): New function.
60296         (test_main): Call check2.
60298         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60299         and bug-strchr1.
60300         * string/bug-strcasestr1.c (do_test): Moved to ...
60301         * string/test-strcasestr.c (check1): Here.  New function.
60302         (do_one_test): Break out result checking code into ...
60303         (check_result): This.  New function.
60304         (do_one_test): Call check_result.
60305         (test_main): Call check1.
60306         * string/bug-strchr1.c (do_test): Moved to ...
60307         * string/test-strchr.c (check1): Here.  New function.
60308         (do_one_test): Break out result checking code into ...
60309         (check_result): This.  New function.
60310         (do_one_test): Call check_result.
60311         (test_main): Call check1.
60312         * string/bug-strstr1.c (main): Moved to ...
60313         * string/test-strstr.c (check1): Here.  New function.
60314         (do_one_test): Break out result checking code into ...
60315         (check_result): This.  New function.
60316         (do_one_test): Call check_result.
60317         (test_main): Call check1.
60318         * string/bug-strcasestr1.c: Removed.
60319         * string/bug-strchr1.c: Likewise.
60320         * string/bug-strstr1.c: Likewise.
60322         * elf/Makefile (dl-routines): Add hwcaps.
60323         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60324         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60325         (_dl_important_hwcaps): Moved to ...
60326         * elf/dl-hwcaps.c: Here.  New file.
60327         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60329         [BZ #14557]
60330         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60331         if IS_IN_rtld isn't defined.
60333         * elf/dl-support.c (_dl_sysinfo_map): New.
60334         Include "get-dynamic-info.h" and "setup-vdso.h".
60335         (_dl_non_dynamic_init): Call setup_vdso.
60336         * elf/dynamic-link.h: Don't include <assert.h>.
60337         (elf_get_dynamic_info): Moved to ...
60338         * elf/get-dynamic-info.h: Here.  New file.
60339         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60340         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60341         * elf/setup-vdso.h: Here.  New file.
60342         * elf/rtld.c: Include "setup-vdso.h".
60343         (dl_main): Call setup_vdso.
60345 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60347         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60348         creal in comment listing functions tested.  List finite, isinf,
60349         isnan, isless, islessequal, isgreater, isgreaterequal,
60350         islessgreater, isunordered, lgamma_r and pow10 as functions and
60351         macros not tested.  Mention which functions not tested are aliases
60352         for other functions.  Fix typo.  Note that signs of NaNs are not
60353         tested.
60355         * scripts/config.guess: Update from config.git.
60356         * scripts/config.sub: Likewise.
60358 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60360         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60361         * misc/madvise.c (madvise): Renamed to __madvise.
60362         Make madvise a weak alias.
60363         * include/sys/mman.h: Declare __madvise.
60364         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60365         * sysdeps/unix/syscalls.list
60366         (madvise): Make __madvise the strong name, and madvise a weak alias.
60367         * sysdeps/unix/sysv/linux/syscalls.list
60368         (madvise, mmap): Remove redundant entries.
60369         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60370         * malloc/malloc.c (mtrim): Likewise.
60371         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60373 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60375         * sysdeps/mach/hurd/dl-cache.c: File removed.
60376         * config.h.in (USE_LDCONFIG): New #undef.
60377         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60378         * configure: Regenerated.
60379         * elf/Makefile (dl-routines): Add dl-cache only under
60380         [$(use-ldconfig) = yes].
60381         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60382         cache on [USE_LDCONFIG].
60383         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60384         [USE_LDCONFIG].
60385         * elf/rtld.c (dl_main): Likewise.
60387 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60389         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60390         _SC_LEVEL4_CACHE_LINESIZE.
60392 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60394         * sysdeps/unix/bsd/confstr.h: File removed.
60396 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60398         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60399         sys/sdt-config.h.
60401 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60403         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60404         Make 'mapoff' field ElfW(Off) rather than off_t.
60406 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60408         * nscd/Makefile: Remove nscd-cflags and all its users.
60409         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60410         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60412         [BZ #10631]
60413         * malloc.c (malloc_printerr): Clarify error message.
60415 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60417         [BZ #14648]
60418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60419         Set bit_FMA_Usable if FMA is supported.
60420         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60421         macro.
60422         (bit_FMA4_Usable): Updated.
60423         (index_FMA_Usable): New macro.
60424         (CPUID_FMA): Likewise.
60425         (HAS_FMA): Defined with bit_FMA_Usable.
60427 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60429         * bits/types.h (__swblk_t): Type removed.
60430         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60431         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60432         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60433         (__SWBLK_T_TYPE): Likewise.
60434         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60435         (__SWBLK_T_TYPE): Likewise.
60436         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60437         (__SWBLK_T_TYPE): Likewise.
60438         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60439         (__SWBLK_T_TYPE): Likewise.
60441 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60442             Honza Horak <hhorak@redhat.com>
60444         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60445         (xdr_mapname): Use YPMAXMAP as maxsize.
60446         (xdr_peername): Use YPMAXPEER as maxsize.
60447         (xdr_keydat): Use YPAXRECORD as maxsize.
60448         (xdr_valdat): Use YPMAXRECORD as maxsize.
60450 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60452         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60454         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60455         * csu/init-first.c: ... here.
60456         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60457         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60458         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60459         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60460         * sysdeps/i386/init-first.c: File removed.
60461         * sysdeps/sh/init-first.c: File removed.
60463 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60465         [BZ #14645]
60466         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60467         if x * y might underflow to zero and z is zero.
60468         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60469         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60470         * math/libm-test.inc (min_subnorm_value): New variable.
60471         (fma_test): Add more tests.
60472         (fma_test_towardzero): Likewise.
60473         (fma_test_downward): Likewise.
60474         (fma_test_upward): Likewise.
60475         (initialize): Set min_subnorm_value.
60477 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60479         [BZ #14638]
60480         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60481         0 + 0.
60482         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60483         mode for addition resulting in exact zero.
60484         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60485         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60486         exact 0 + 0.
60487         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60488         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60489         * math/libm-test.inc (fma_test): Add more tests.
60490         (fma_test_towardzero): New function.
60491         (fma_test_downward): Likewise.
60492         (fma_test_upward): Likewise.
60493         (main): Call the new functions.
60495 2012-09-28  David S. Miller  <davem@davemloft.net>
60497         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60499 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60501         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60502         instead of SIGALRM.
60504         * sysdeps/gnu/_G_config.h: Moved to ...
60505         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60506         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60507         * sysdeps/generic/_G_config.h: ... here.
60509         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60511         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60513         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60514         Conditionalize target on [libnss_test1.so-version].
60516         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60518         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60519         (elfobjdir): Move out of conditionals.
60521         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60522         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60523         (__nss_lookup_function): Conditionalize label remove_from_tree on
60524         [!DO_STATIC_NSS || SHARED], matching its only use.
60526 2012-09-28  David S. Miller  <davem@davemloft.net>
60528         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60529         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60530         file.
60531         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60532         sysdep_routines.
60533         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60534         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60535         when HWCAP_SPARC_CRYPTO is present.
60537 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60539         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60541 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60543         [BZ #6530]
60544         * stdio-common/vfprintf.c (process_string_arg): Revert
60545         2000-07-22 change.
60547 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60549         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60550         for testcase.
60551         * stdio-common/tst-sprintf.c: Include <locale.h>
60552         (main): Test sprintf's handling of incomplete multibyte
60553         characters.
60555 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60557         * elf/dl-runtime.c (VERSYMIDX): Removed.
60558         * elf/dl-version.c (VERSYMIDX): Likewise.
60559         * elf/do-rel.h (VERSYMIDX): Likewise.
60560         (VALIDX): Likewise.
60561         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60562         * elf/rtld.c (VALIDX): Likewise.
60563         (ADDRIDX): Likewise.
60564         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60565         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60566         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60567         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60568         (VALIDX): Likewise.
60569         (ADDRIDX): Likewise.
60571 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60573         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60575 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60577         [BZ #11438]
60578         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60579         to global scope.
60580         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60581         addresses are in the same scope as 192.0.2/24.
60582         * posix/gai.conf: Document new scope table defaults.
60584 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60586         [BZ #5298]
60587         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60588         for ftell.  Compute offsets from write pointers instead.
60589         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60591 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60593         [BZ #14543]
60594         * libio/Makefile (tests): New test case tst-fseek.
60595         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60596         combination works in wide mode.
60597         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60598         state when the external buffer state changes.
60600 2012-09-27  David S. Miller  <davem@davemloft.net>
60602         [BZ #14376]
60603         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60604         pass reloc->r_addend in as the 'high' argument to
60605         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60609 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60611         * rt/tst-aio2.c: Include <pthread.h>.
60612         * rt/tst-aio3.c: Likewise.
60614 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60616         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60618 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60620         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60621         contents on [SHARED].
60623 2012-09-26  Marek Polacek  <polacek@redhat.com>
60625         [BZ #14530]
60626         [BZ #13741]
60627         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60628         for C++ and GCC <4.3 as well as for non GCC compilers.
60630 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60634 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60636         * Makefile.in (all, install): Declare with .PHONY.
60637         Reported by Michael Hope <michael.hope@linaro.org>.
60639 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60641         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60642         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60643         system header.
60644         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60645         Likewise.
60646         (sydep_routines): Add the new and the internal functions.
60647         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60648         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60650         (GLIBC_2.17): Add the new function.
60651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60652         (GLIBC_2.17): Likewise.
60653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60654         (GLIBC_2.17): Likewise.
60655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60656         (GLIBC_2.17): Likewise.
60657         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60659 2012-09-25  Alan Modra  <amodra@gmail.com>
60661         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60662         Add release barrier before setting once_control to say
60663         initialisation is done.  Add hints on lwarx.  Use macro in
60664         place of isync.
60665         (clear_once_control): Add release barrier.
60667 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60669         [BZ #13629]
60670         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60671         specially.
60672         * math/s_clog10.c (__clog10): Likewise.
60673         * math/s_clog10f.c (__clog10f): Likewise.
60674         * math/s_clog10l.c (__clog10l): Likewise.
60675         * math/s_clogf.c (__clogf): Likewise.
60676         * math/s_clogl.c (__clogl): Likewise.
60677         * math/Makefile (libm-calls): Add x2y2m1.
60678         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60679         (__x2y2m1): Likewise.
60680         (__x2y2m1l): Likewise.
60681         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60682         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60683         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60684         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60685         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60686         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60687         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60688         * sysdeps/i386/fpu/libm-test-ulps: Update.
60689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60691         [BZ #14621]
60692         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60693         int as type of variable DEPTH.
60694         (glob): Use size_t instead of int as type of variables NEWCOUNT
60695         and OLD_PATHC.
60697 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60699         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60700         Add s_sincosf-sse2.
60701         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60702         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60703         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60704         macros for using routine as __sincosf_ia32.
60705         Use macro for function declaration and weak_alias.
60706         * sysdeps/i386/fpu/libm-test-ulps: Update.
60708         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60711         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60712         subnormal argument.
60713         * math/s_cexpf.c (__cexpf): Likewise.
60714         * math/s_csinf.c (__csinf): Likewise.
60715         * math/s_csinhf.c (__csinhf): Likewise.
60716         * math/s_ctanf.c (__ctanf): Likewise.
60717         * math/s_ctanhf.c (__ctanhf): Likewise.
60718         * math/s_ccosh.c (__ccoshf): Likewise.
60719         * math/s_cexp.c (__cexpl): Likewise.
60720         * math/s_csin.c (__csin): Likewise.
60721         * math/s_csinh.c (__csinh): Likewise.
60722         * math/s_ctan.c (__ctan): Likewise.
60723         * math/s_ctanh.c (ctanh): Likewise.
60724         * math/s_ccoshl.c (__ccoshl): Likewise.
60725         * math/s_cexpl.c (__cexpl): Likewise.
60726         * math/s_csinl.c (__csinl): Likewise.
60727         * math/s_csinhl.c (__csinhl): Likewise.
60728         * math/s_ctanl.c (__ctanl): Likewise.
60729         * math/s_ctanhl.c (__ctanhl): Likewise.
60731 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60733         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60734         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60735         (_IO_off_t): Define to __off_t, not _G_off_t.
60736         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60737         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60738         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60739         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60740         type of __dummy and __dummy2 fields.
60741         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60742         (_G_ssize_t): Likewise.
60743         (_G_off_t): Likewise.
60744         (_G_pid_t): Likewise.
60745         (_G_uid_t): Likewise.
60746         (_G_wchar_t): Likewise.
60747         (_G_wint_t): Likewise.
60748         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60749         (_G_ssize_t): Likewise.
60750         (_G_off_t): Likewise.
60751         (_G_pid_t): Likewise.
60752         (_G_uid_t): Likewise.
60753         (_G_wchar_t): Likewise.
60754         (_G_wint_t): Likewise.
60755         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60756         (_G_ssize_t): Likewise.
60757         (_G_off_t): Likewise.
60758         (_G_pid_t): Likewise.
60759         (_G_uid_t): Likewise.
60760         (_G_wchar_t): Likewise.
60761         (_G_wint_t): Likewise.
60763 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60765         * malloc/arena.c: Include malloc-sysdep.h.
60766         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60767         is sufficient to shrink the heap or an unmap is needed.
60768         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60769         new function check_may_shrink_heap.
60770         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60771         new function check_may_shrink_heap.
60773 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60775         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60776         comments.
60778 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60780         * catgets/test-gencat.sh: Add "set -e".
60781         * elf/tst-pathopt.sh: Likewise.
60782         * grp/tst_fgetgrent.sh: Likewise.
60783         * iconvdata/run-iconv-test.sh: Likewise.
60784         * intl/tst-gettext.sh: Likewise.
60785         * intl/tst-gettext2.sh: Likewise.
60786         * intl/tst-gettext4.sh: Likewise.
60787         * intl/tst-gettext6.sh: Likewise.
60788         * intl/tst-translit.sh: Likewise.
60789         * io/ftwtest-sh: Likewise.
60790         * libio/test-freopen.sh: Likewise.
60791         * malloc/tst-mtrace.sh: Likewise.
60792         * posix/globtest.sh: Likewise.
60793         * posix/tst-getconf.sh: Likewise.
60794         * posix/wordexp-tst.sh: Likewise.
60795         * stdio-common/tst-printf.sh: Likewise.
60796         * stdio-common/tst-unbputc.sh: Likewise.
60797         * stdlib/tst-fmtmsg.sh: Likewise.
60798         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60799         * catgets/Makefile: Do not specify -e option when running
60800         testsuite shell scripts.
60801         * elf/Makefile: Likewise.
60802         * grp/Makefile: Likewise.
60803         * iconvdata/Makefile: Likewise.
60804         * intl/Makefile: Likewise.
60805         * io/Makefile: Likewise.
60806         * libio/Makefile: Likewise.
60807         * malloc/Makefile: Likewise.
60808         * posix/Makefile: Likewise.
60809         * stdio-common/Makefile: Likewise.
60810         * stdlib/Makefile: Likewise.
60811         * sysdeps/x86_64/Makefile: Likewise.
60813         * io/ftwtest-sh: Add copyright header.
60814         * posix/globtest.sh: Likewise.
60815         * posix/tst-getconf.sh: Likewise.
60816         * posix/wordexp-tst.sh: Likewise.
60817         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60819 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60821         [BZ #13679]
60822         * Makeconfig (+link): Defined as $(+link-static) if
60823         $(build-shared) isn't yes.
60824         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60825         isn't yes.
60826         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60828         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60830         [BZ #14562]
60831         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60832         new chunk size with MALLOC_ALIGN_MASK.
60834 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60836         [BZ #5044]
60837         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60838         <rounding-mode.h>.
60839         (__printf_fphex): Determine rounding using get_rounding_mode and
60840         round_away.
60841         * stdio-common/tst-printf-round.c (struct hex_test): New
60842         structure.
60843         (hex_tests): New variable.
60844         (test_hex_in_one_mode): New function.
60845         (do_test): Also run tests for hex float output.
60847 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60849         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60850         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60851         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60852         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60853         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60854         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60855         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60856         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60858 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60860         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60861         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60862         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60863         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60865 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60867         [BZ #14579]
60868         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60869         mode only.
60870         * elf/tst-rtld-load-self.sh: New test.
60871         * elf/Makefile: Run it.
60873 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60875         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60876         (tst-writev-ENV): Remove.
60877         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60879 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60881         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60883 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60885         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60886         unconditional.
60887         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60888         Likewise.
60889         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60890         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60891         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60892         Likewise.
60894 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60896         [BZ #14587]
60897         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60898         * config.make.in (have-cpp-asm-debuginfo): Removed.
60899         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60900         * configure: Regenerated.
60902 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60904         [BZ #5044]
60905         * stdio-common/printf_fp.c: Include <stdbool.h> and
60906         <rounding-mode.h>.
60907         (___printf_fp): Determine rounding using get_rounding_mode and
60908         round_away.
60909         * stdio-common/tst-printf-round.c: New file.
60910         * stdio-common/Makefile (tests): Add tst-printf-round.
60911         (link-libm): New variable.
60912         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60914 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60916         [BZ #14576]
60917         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60918         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60919         Likewise.
60920         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60921         Likewise.
60923 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60925         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60926         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60927         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60928         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60930 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60932         [BZ #14518]
60933         * include/rounding-mode.h: New file.
60934         * sysdeps/generic/get-rounding-mode.h: Likewise.
60935         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60936         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60937         (MAX_VALUE): New macro.
60938         (MIN_VALUE): Likewise.
60939         (overflow_value): New function.
60940         (underflow_value): Likewise.
60941         (round_and_return): Use overflow_value and underflow_value to
60942         determine return values in overflow and underflow cases.  Use
60943         round_away to determine rounding depending on rounding mode.
60944         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60945         determine return values in overflow and underflow cases.
60946         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60947         (struct test_results): New structure.
60948         (struct test): Use struct test_results to store expected results
60949         for all rounding modes.
60950         (TEST): Include expected results for all rounding modes.
60951         (test_in_one_mode): New function.
60952         (do_test): Use test_in_one_mode to compute and check results.
60953         Check results for all rounding modes.
60954         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60955         $(link-libm).
60957 2012-12-09  Allan McRae  <allan@archlinux.org>
60959         * sysdeps/i386/fpu/libm-test-ulps: Update
60961 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60963         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60964         (_G_int32_t): Likewise.
60965         (_G_uint16_t): Likewise.
60966         (_G_uint32_t): Likewise.
60967         (_G_HAVE_BOOL): Likewise.
60968         (_G_HAVE_ATEXIT): Likewise.
60969         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60970         (_G_HAVE_IO_FILE_OPEN): Likewise.
60971         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60972         (_G_int32_t): Likewise.
60973         (_G_uint16_t): Likewise.
60974         (_G_uint32_t): Likewise.
60975         (_G_HAVE_BOOL): Likewise.
60976         (_G_HAVE_ATEXIT): Likewise.
60977         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60978         (_G_HAVE_IO_FILE_OPEN): Likewise.
60979         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60980         (_G_int32_t): Likewise.
60981         (_G_uint16_t): Likewise.
60982         (_G_uint32_t): Likewise.
60983         (_G_HAVE_BOOL): Likewise.
60984         (_G_HAVE_ATEXIT): Likewise.
60985         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60986         (_G_HAVE_IO_FILE_OPEN): Likewise.
60988 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60990         * csu/libc-tls.c: Update copyright years.
60992 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60994         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60995         [!_G_USING_THUNKS]: Remove conditional code.
60996         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60997         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60999         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61000         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61001         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61002         (_G_VTABLE_LABEL_PREFIX): Likewise.
61003         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61004         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61005         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61006         (_G_VTABLE_LABEL_PREFIX): Likewise.
61007         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61008         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61009         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61010         (_G_VTABLE_LABEL_PREFIX): Likewise.
61011         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61013 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61015         * libio/Makefile: Include ../Makeconfig before tests.
61016         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61017         only if $(build-shared) is yes.
61019         * iconv/gconv_db.c: Update copyright years.
61021 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61023         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61024         unwind info if defined PIC. Fix special cases description.
61025         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61027         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61028         DP_HI_MASK entry.
61029         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61031 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61033         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61035         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61036         is NULL.
61038         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61039         (LDLIBS-tst-chk4): This.
61040         (LDFLAGS-tst-chk5): Renamed to ...
61041         (LDLIBS-tst-chk5): This.
61042         (LDFLAGS-tst-chk6): Renamed to ...
61043         (LDLIBS-tst-chk6): This.
61044         (LDFLAGS-tst-lfschk4): Renamed to ...
61045         (LDLIBS-tst-lfschk4): This.
61046         (LDFLAGS-tst-lfschk5): Renamed to ...
61047         (LDLIBS-tst-lfschk5): This.
61048         (LDFLAGS-tst-lfschk6): Renamed to ...
61049         (LDLIBS-tst-lfschk6): This.
61051         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61052         on $(common-objpfx)soversions.mk.
61054 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61056         [BZ #10014]
61057         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61058         example host name.
61060 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61062         * malloc/arena.c (arena_get_retry): New function that gets
61063         another arena for the caller to try its request on.
61064         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61065         current arena cannot fulfill the request.
61066         (__libc_memalign): Likewise.
61067         (__libc_memalign): Likewise.
61068         (__libc_pvalloc): Likewise.
61069         (__libc_calloc): Likewise.
61071 2012-09-05  John Tobey  <john.tobey@gmail.com>
61073         [BZ #13542]
61074         * manual/arith.texi (Operations on Complex): Fix description
61075         of carg branch cut.
61077 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61079         [BZ #10014]
61080         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61081         host name.
61083         [BZ #10038]
61084         * manual/memory.texi (Memory): Make order of menu items match
61085         order of sections.
61087 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61089         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61090         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61091         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61093 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61095         * csu/libc-tls.c (static_dtv): Renamed to ...
61096         (_dl_static_dtv): This.  Make it global.
61097         (_dl_initial_dtv): Removed.
61098         (__libc_setup_tls): Updated.
61099         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61100         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61101         DL_INITIAL_DTV.
61103 2012-09-06  Petr Machata  <pmachata@redhat.com>
61105         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61106         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61107         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61108         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61110 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61112         [BZ #14545]
61113         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61114         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61115         freeing dtv[-1].
61117 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61119         [BZ #14544]
61120         * Makeconfig (link-static-before-libc): Replace $(+prector)
61121         with $(+prectorT).
61122         (link-static-after-libc): Replace $(+postctor) with
61123         $(+postctorT).
61124         (link-bounded): Replace $(+prector)/$(+postctor) with
61125         $(+prectorT)/$(+postctorT).
61126         (+prectorT): New macro.
61127         (+postctorT): Likewise.
61129 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61131         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61132         (round_str): Handle values above the maximum for IBM long double
61133         as inexact.
61134         * stdlib/tst-strtod-round.c (tests): Regenerated.
61136 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61138         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61139         assembler flag.
61140         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61141         zarch_nohighgprs around the zarch optimized routines.
61142         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61143         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61144         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61145         for zarch.
61147 2012-09-05  David S. Miller  <davem@davemloft.net>
61149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61151         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61152         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61153         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61154         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61155         entries.
61157 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61159         * malloc/arena.c: Fold copyright years.
61160         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61162 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61164         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61166 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61168         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61170 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61172         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61173         change internal state upon failure.
61175 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61177         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61178         * malloc/memusage.c (mmap): Likewise.
61179         (mmap64, mremap): Likewise.  Adjust name in comment.
61181 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61183         * libio/fileops.c: Fix typos in comments.
61184         * libio/oldfileops.c: Likewise.
61185         * libio/wfileops.c: Likewise.
61187 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61189         [BZ #1349]
61190         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61191         (tst-malloc-usable-ENV): Set environment for test case.
61192         * malloc/hooks.c (malloc_check_get_size): New function to get
61193         requested size.
61194         * malloc/malloc.c (musable): Use malloc_check_get_size.
61195         * malloc/tst-malloc-usable.c: New test case.
61197 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61199         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61201 2012-09-05  Allan McRae  <allan@archlinux.org>
61203         [BZ #13966]
61204         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61205         determine header location.
61206         * configure: Regenerated.
61208 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61210         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61211         float format.
61212         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61213         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61214         format.
61215         (test): Regenerate.
61217 2012-09-04  David S. Miller  <davem@davemloft.net>
61219         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61220         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61221         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61223 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61225         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61226         failures.
61228         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61230 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61232         [BZ #9914]
61233         * libio/iogetdelim.c: Include <limits.h>.
61234         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61235         + len + 1 would overflow.
61237 2012-09-03  Andreas Jaeger  <aj@suse.de>
61239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61240         * sysdeps/i386/fpu/libm-test-ulps: Update.
61242 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61244         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61245         Add s_sinf-sse2, s_conf-sse2.
61247         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61248         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61249         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61250         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61252         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61253         for using routine as __sinf_ia32.
61254         Use macro for function declaration and weak_alias.
61255         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61256         for using routine as __cosf_ia32.
61257         Use macro for function declaration and weak_alias.
61259         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61260         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61262         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61263         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61266         * math/libm-test.inc (cos_test): Add more test cases.
61267         (sin_test): Likewise.
61268         (sincos_test): Likewise.
61270 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61272         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61273         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61274         hidden.
61275         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61277 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61279         [BZ #14538]
61280         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61281         first element of the GOT.
61282         (elf_machine_load_address): Return the difference between
61283         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61285 2012-09-01  Allan McRae  <allan@archlinux.org>
61287         [BZ #13412]
61288         * configure.in (AWK): Require gawk version 3.0 or later.
61289         * configure: Regenerated.
61291 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61293         * sysdeps/unix/sysv/linux/kernel-features.h
61294         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61295         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61296         [__NR_clock_getres]: Make code unconditional.
61297         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61298         (clock_getcpuclockid): Remove code left unreachable by removal of
61299         conditionals.
61300         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61301         code unconditional.
61302         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61303         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61304         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61305         Make code unconditional.
61306         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61307         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61308         * sysdeps/unix/sysv/linux/clock_settime.c
61309         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61310         conditional code.
61311         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61312         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61314 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61316         [BZ #14476]
61317         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61318         scripts/test-installation.pl.
61320         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61321         and $ld_so_version if it is set.
61323 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61325         [BZ #14516]
61326         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61327         failure if reading from procfs failed.
61328         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61330 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61332         * sysdeps/unix/sysv/linux/kernel-features.h
61333         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61334         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61335         Remove conditional code.
61336         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61337         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61338         Remove conditional code.
61339         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61340         * sysdeps/unix/sysv/linux/i386/fxstat.c
61341         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61342         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61343         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61344         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61345         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61346         * sysdeps/unix/sysv/linux/i386/lxstat.c
61347         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61348         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61349         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61350         Remove conditional code.
61351         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61352         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61353         Remove conditional code.
61354         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61355         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61356         <kernel-features.h>.
61357         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61358         Remove.
61359         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61360         Remove conditional code.
61361         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61362         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61363         Remove conditional.
61365 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61367         [BZ #5400]
61368         * NEWS: Add fixed bug number.
61370 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61372         [BZ #14519]
61373         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61374         underflowing exponent in case of negative sign.
61375         * stdlib/tst-strtod-round-data: Add more tests.
61376         * stdlib/tst-strtod-round.c (tests): Regenerated.
61378         [BZ #3479]
61379         * stdlib/strtod_l.c (NDIG): Remove.
61380         (HEXNDIG): Likewise.
61381         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61382         smallest representable value.
61383         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61384         lie within an exact representation of 1/2 ulp of the result.
61385         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61386         unconditionally.
61387         (TENS_P9_IDX): Define unconditionally.
61388         (TENS_P9_SIZE): Likewise.
61389         (TENS_P10_IDX): Likewise.
61390         (TENS_P10_SIZE): Likewise.
61391         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61392         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61393         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61394         entries for 10^2^13 and 10^2^14.
61395         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61396         (TENS_P13_IDX): Define.
61397         (TENS_P13_SIZE): Likewise.
61398         (TENS_P14_IDX): Likewise.
61399         (TENS_P14_SIZE): Likewise.
61400         (_fpioconst_pow10): Change array size to
61401         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61402         unconditional.
61403         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61404         1024]: Add entries for 10^2^13 and 10^2^14.
61405         [LAST_POW10 > _LAST_POW10]: Remove #error.
61406         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61407         (_fpioconst_pow10): Change array size to
61408         FPIOCONST_POW10_ARRAY_SIZE.
61409         * stdlib/gen-fpioconst.c: New file.
61410         * stdlib/gen-tst-strtod-round.c: Likewise.
61411         * stdlib/tst-strtod-round-data: Likewise.
61412         * stdlib/tst-strtod-round.c: Likewise.
61413         * stdlib/Makefile (tests): Add tst-strtod-round.
61415         [BZ #14459]
61416         * stdlib/strtod_l.c: Include <stdint.h>.
61417         (NDEBUG): Do not define.
61418         (round_and_return): Change EXPONENT parameter to type intmax_t.
61419         Rearrange calculations to avoid internal overflow possibilities.
61420         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61421         Rearrange calculations to avoid internal overflow possibilities.
61422         Assert that number fits inside MPNSIZE limbs.
61423         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61424         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61425         calculations and add assertions to avoid internal overflow
61426         possibilities.  Add casts to avoid signed/unsigned operations.
61427         * stdlib/tst-strtod-overflow.c: New file.
61428         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61430 2012-08-25  Marek Polacek  <polacek@redhat.com>
61432         * time/time.h: Fix some typos in comments.
61434 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61436         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61437         * posix/tst-rfc3484-2.c: Likewise.
61438         * posix/tst-rfc3484-3.c: Likewise.
61440 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61442         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61443         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61445 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61447         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61448         #include of fxstatat64.c.
61450 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61452         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61453         * shadow/getspent_r.c: Likewise.
61454         * shadow/getspnam.c: Likewise.
61455         * shadow/getspnam_r.c: Likewise.
61456         * gshadow/getsgent.c: Likewise.
61457         * gshadow/getsgent_r.c: Likewise.
61458         * gshadow/getsgnam.c: Likewise.
61459         * gshadow/getsgnam_r.c: Likewise.
61460         * inet/getnetbyad.c: Likewise.
61461         * inet/getnetbyad_r.c: Likewise.
61462         * inet/getnetbynm.c: Likewise.
61463         * inet/getnetbynm_r.c: Likewise.
61464         * inet/getnetent.c: Likewise.
61465         * inet/getnetent_r.c: Likewise.
61466         * inet/getproto.c: Likewise.
61467         * inet/getproto_r.c: Likewise.
61468         * inet/getprtent.c: Likewise.
61469         * inet/getprtent_r.c: Likewise.
61470         * inet/getprtname.c: Likewise.
61471         * inet/getprtname_r.c: Likewise.
61472         * inet/getrpcbyname.c: Likewise.
61473         * inet/getrpcbyname_r.c: Likewise.
61474         * inet/getrpcbynumber.c: Likewise.
61475         * inet/getrpcbynumber_r.c: Likewise.
61476         * inet/getrpcent.c: Likewise.
61477         * inet/getrpcent_r.c: Likewise.
61478         * inet/getaliasent.c: Likewise.
61479         * inet/getaliasent_r.c: Likewise.
61480         * inet/getaliasname.c: Likewise.
61481         * inet/getaliasname_r.c: Likewise.
61482         * nscd/getgrgid_r.c: Likewise.
61483         * nscd/getgrnam_r.c: Likewise.
61484         * nscd/gethstbyad_r.c: Likewise.
61485         * nscd/gethstbynm3_r.c: Likewise.
61486         * nscd/getpwnam_r.c: Likewise.
61487         * nscd/getpwuid_r.c: Likewise.
61488         * nscd/getsrvbynm_r.c: Likewise.
61489         * nscd/getsrvbypt_r.c: Likewise.
61490         * nscd/gai.c: Likewise.
61492         * configure.in (build_nscd): New substituted variable, set
61493         by --disable-build-nscd and defaults to $use_nscd.
61494         * configure: Regenerated.
61495         * config.make.in (build-nscd): New substituted variable.
61496         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61497         Change conditional to require [$(build-nscd) = yes] as well.
61498         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61500         [BZ# 13696]
61501         * configure.in (use_nscd): New substituted variable, set by
61502         --disable-nscd.  If enabled, define USE_NSCD.
61503         * configure: Regenerated.
61504         * config.h.in: Add USE_NSCD.
61505         * config.make.in (use-nscd): New substituted variable.
61506         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61507         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61508         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61509         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61510         (CFLAGS-getgrnam_r.c): Likewise.
61511         (CFLAGS-initgroups.c): Likewise.
61512         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61513         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61514         Variables removed.
61515         * inet/getnetgrent_r.c
61516         (nscd_setnetgrent): New function, broken out of ...
61517         (setnetgrent): ... here.  Call it.
61518         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61519         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61520         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61521         * nscd/Makefile (routines, aux): Move definitions after include of
61522         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61523         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61524         Conditionalize on [USE_NSCD].
61525         (is_nscd, nscd_init_cb): Likewise.
61526         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61527         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61528         * nss/nss_db/db-init.c: Likewise.
61529         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61530         [USE_NSCD].
61531         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61532         (make_request): Use it.
61533         (cache_valid_p): New function.
61534         (__check_pf): Use it.
61535         * NEWS: Add item for --disable-nscd.
61537 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61539         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61540         to support sed >= 4.2.1-20-ga9bf076.
61541         * configure: Regenerated.
61543 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61545         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61546         Conditionalize whole body on [IREL].
61548 2012-08-22  Jeff Law <law@redhat.com>
61550         [BZ #14505]
61551         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61552         if the family is PF_UNSPEC.
61554 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61556         * Makerules (lib-version): Rename from V.
61557         (install-lib-nosubdir): Change V to lib-version.
61559 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61561         [BZ #14252]
61562         * powerpc32/power6/wcschr.c: New file.
61563         * powerpc32/power6/wcscpy.c: New file.
61564         * powerpc32/power6/wcsrchr.c: New file.
61565         * powerpc64/power6/wcschr.c: New file.
61566         * powerpc64/power6/wcscpy.c: New file.
61567         * powerpc64/power6/wcsrchr.c: New file.
61569 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61571         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61572         (two_way_short_needle): Use it.
61573         * string/strstr.c (AVAILABLE1_USES_J): Define.
61574         * string/strcasestr.c: Likewise.
61576         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61577         array references.
61578         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61580         [BZ #11607]
61581         * NEWS: Add an entry.
61582         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61583         define their defaults.
61584         (two_way_short_needle): Detect end-of-string on-the-fly.
61585         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61586         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61587         * string/bug-strcasestr1.c: New test.
61588         * string/Makefile: Run it.
61590 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61592         [BZ #11607]
61593         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61594         the first character.
61596 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61598         * csu/elf-init.c (__libc_csu_irel): Function removed.
61599         * csu/libc-start.c (apply_irel): New function.
61600         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61602 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61604         * sysdeps/unix/sysv/linux/kernel-features.h
61605         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61606         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61607         <kernel-features.h>.
61608         [__NR_fadvise64_64]: Make code unconditional.
61609         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61610         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61611         !__NR_fadvise64_64)]: Likewise.
61612         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61613         !__NR_fadvise64_64))]: Likewise.
61614         [__NR_fadvise64]: Make code unconditional.
61615         [!__NR_fadvise64]: Remove conditional code.
61616         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61617         <kernel-features.h>.
61618         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61619         unconditional.
61620         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61621         conditional code.
61622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61623         not include <kernel-features.h>.
61624         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61625         unconditional.
61626         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61627         conditional code.
61628         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61629         include <kernel-features.h>.
61630         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61631         unconditional.
61632         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61633         conditional code.
61635 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61637         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61638         slight instruction rearrangements per scrollpipe analysis.
61639         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61641 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61643         * manual/syslog.texi (syslog; vsyslog, closelog):
61644         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61645         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61647         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61648         DSOCAPS to match condition on defining it.
61650 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61652         * sysdeps/unix/sysv/linux/kernel-features.h
61653         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61655         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61656         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61658         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61659         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61661         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61662         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61664         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61665         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61667         * sysdeps/unix/sysv/linux/kernel-features.h
61668         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61669         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61670         unconditional.
61671         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61672         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61673         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61674         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61675         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61676         Make code unconditional.
61677         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61678         (__mmap64) [!__NR_mmap2]: Likewise.
61679         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61680         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61681         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61682         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61683         [__NR_mmap2]: Make code unconditional.
61684         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61685         (__mmap64) [!__NR_mmap2]: Likewise.
61687 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61689         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61691 2012-08-18  Andreas Jaeger  <aj@suse.de>
61693         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61695 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61697         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61698         * include/unistd.h (__have_sock_cloexec): Likewise.
61699         (__have_pipe2): Likewise.
61700         (__have_dup3): Likewise.
61702 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61704         [BZ #9685]
61705         * include/unistd.h (__have_pipe2): Change define into an extern int.
61706         (__have_dup3): Likewise.
61707         * socket/have_sock_cloexec.c: Include fcntl.h.
61708         (__have_pipe2): New variable.
61709         (__have_dup3): Likewise.
61711 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61713         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61715 2012-08-17  Marek Polacek  <polacek@redhat.com>
61717         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61718         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61720 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61722         * configure.in: Add AC_SUBST for sysheaders.
61723         * configure: Regenerated.
61724         * config.make.in (sysheaders): New substituted variable.
61726         * sysdeps/unix/mkfifo.c: Moved ...
61727         * sysdeps/posix/mkfifo.c: ... here.
61728         * sysdeps/unix/mkfifoat.c: Moved ...
61729         * sysdeps/posix/mkfifoat.c: ... here.
61731         * sysdeps/unix/utime.c: Moved ...
61732         * sysdeps/posix/utime.c: ... here.
61734         * sysdeps/unix/time.c: Moved ...
61735         * sysdeps/posix/time.c: ... here.
61736         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61737         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61739         * sysdeps/unix/nice.c: Moved ...
61740         * sysdeps/posix/nice.c: ... here.
61742         * sysdeps/unix/alarm.c: Moved ...
61743         * sysdeps/posix/alarm.c: ... here.
61745         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61747 2012-08-17  Jeff Law <law@redhat.com>
61749         * intl/Makefile (codeset_mo): New variable.
61750         ($(codeset_mo)): New target.
61751         (tst-codeset.out): Depend on that.  Remove explicit rule.
61752         (tst-gettext3.out, tst-gettext5.out): Likewise.
61753         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61754         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61755         * intl/tst-codeset.sh: Remove.
61756         * intl/tst-gettext3.sh: Likewise.
61757         * intl/tst-gettext5.sh: Likewise.
61759 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61761         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61762         * sysdeps/unix/syscalls.list: ... here.
61764         * sysdeps/posix/getaddrinfo.c
61765         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61766         (gaiconf_init, gaiconf_reload): Use them.
61767         [!_STATBUF_ST_NSEC]
61768         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61769         Define using time_t rather than struct timespec.
61771         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61772         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61773         Macros removed.
61774         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61775         [!NO_THREADS].
61776         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61777         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61778         Likewise.
61780         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61781         __libc_cleanup_push argument.
61783         * bits/param.h: New file.
61784         * misc/sys/param.h: New file.
61785         * include/sys/param.h: New file.
61786         * misc/Makefile (headers): Add bits/param.h.
61787         * sysdeps/generic/sys/param.h: File removed.
61788         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61789         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61790         * sysdeps/mach/hurd/bits/param.h: New file.
61791         * sysdeps/mach/hurd/sys/param.h: File removed.
61793         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61794         last change.
61796         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61797         [_IO_MTSAFE_IO].
61798         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61799         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61800         New macros.
61802         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61803         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61804         rather than -D_IO_MTSAFE_IO conditionally.
61805         * stdio-common/Makefile (CPPFLAGS): Likewise.
61806         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61807         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61808         Use $(libio-mtsafe).
61809         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61810         of -D_IO_MTSAFE_IO.
61811         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61812         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61813         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61814         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61815         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61816         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61817         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61818         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61819         (CFLAGS-fread_u_chk.c): Likewise.
61820         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61821         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61822         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61823         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61824         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61825         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61826         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61827         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61828         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61830         * libio/Makefile: Test [$(libc-reentrant) = yes]
61831         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61833         * Makeconfig
61834         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61835         * sysdeps/pthread/configure: File removed.
61836         * sysdeps/pthread/Makeconfig: New file.
61837         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61838         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61840 2012-08-16  Gary Benson  <gbenson@redhat.com>
61842         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61843         unmapping the first object in a namespace.
61845 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61847         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61848         (__internal_setnetgrent): ... this.  Add internal_function to
61849         definition.  Add libc_hidden_def.
61850         (setnetgrent): Update caller.
61851         (internal_endnetgrent): Renamed to ...
61852         (__internal_endnetgrent): ... this.  Add internal_function to
61853         definition.  Add libc_hidden_def.
61854         (endnetgrent): Update caller.
61855         (internal_getnetgrent_r): Renamed to ...
61856         (__internal_getnetgrent_r): ... this.  Add internal_function to
61857         definition.  Add libc_hidden_def.
61858         (__getnetgrent_r): Update caller.
61859         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61861 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61863         * stdlib/longlong.h: Update from GCC.
61865 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61867         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61868         on _QL, which is set by umul_ppmm but never used.
61869         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61870         variables, which are set by GMP macros but never used.
61871         * stdio-common/_itowa.c (_itowa): Likewise.
61872         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61873         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61875 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61877         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61878         struct La_sh_regs is not constant.
61879         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61880         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61881         and struct La_sparc64_regs are not constant.
61883 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61885         * sysdeps/unix/sysv/linux/kernel-features.h
61886         (__ASSUME_POSIX_TIMERS): Remove.
61887         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61888         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61889         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61890         Make code unconditional.
61891         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61892         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61893         Make code unconditional.
61894         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61895         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61896         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61897         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61898         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61899         Make code unconditional.
61900         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61901         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61902         (__libc_missing_posix_timers): Remove.
61904 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61906         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61907         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61909         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61911         * elf/dl-sym.c: Include <stdlib.h>.
61913         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61914         constants, which avoids warnings in 32-bit builds.
61916         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61917         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61919         * misc/lseek.c: File moved to ...
61920         * io/lseek.c: ... here.
61922         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61924         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61925         shifting LEN more than 31 bits at once.
61927 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61929         [BZ #14195]
61930         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61931         segmentation fault for a case of two empty input strings.
61932         * string/test-strncasecmp.c (check1): Renamed to...
61933         (bz12205): ...this.
61934         (bz14195): Add new testcase for two empty input strings and N > 0.
61935         (test_main): Call new testcase, adapt for renamed function.
61937 2012-08-15  Andreas Jaeger  <aj@suse.de>
61939         [BZ #14090]
61940         * crypt/md5test2.c: New test, based on test supplied by Serge
61941         Belyshev <belyshev@depni.sinp.msu.ru>.
61942         * crypt/Makefile (xtests): Add md5test-giant..
61943         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61945 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61947         [BZ #14090]
61948         * crypt/md5.c (md5_process_block): Don't assume the buffer
61949         length is less than 2**32.
61950         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61951         length is less than 2**64.
61953 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61955         * string/str-two-way.h: Include <sys/param.h>.
61956         (MAX): Macro removed.
61958         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61959         Move #define and #undef of memmove to just before and after
61960         including <string.h>.
61962         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61963         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61964         and after including <string.h>.  Move declarations of
61965         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61966         to before #include "string/memmove.c".
61968         * include/dirent.h: Declare __getdirentries.
61970         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61971         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61973 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61975         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61976         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61977         * sysdeps/i386/configure: Regenerated.
61978         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61979         STABS_CURRENT_FILE, and STABS_FUN.
61980         (END): Remove call to STABS_FUN_END.
61981         (STABS_CURRENT_FILE1): Delete.
61982         (STABS_CURRENT_FILE): Likewise.
61983         (STABS_FUN): Likewise.
61984         (STABS_FUN_END): Likewise.
61985         (STABS_FUN2): Likewise.
61986         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61987         * sysdeps/x86_64/configure: Regenerated.
61989 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61991         * elf/dl-open.c: Include <atomic.h>.
61992         * elf/dl-lookup.c: Likewise.
61994 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61996         * sysdeps/unix/sysv/linux/kernel-features.h
61997         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61998         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61999         unconditionally.
62000         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62001         unconditionally.
62002         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62003         condition on __ASSUME_CLONE_THREAD_FLAGS.
62005 2012-08-14  Andreas Jaeger  <aj@suse.de>
62007         * sysdeps/i386/fpu/libm-test-ulps: Update.
62009 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62011         * include/atomic.h (atomic_exchange_and_add): Split into ...
62012         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62013         New atomic macros.
62015 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62019 2012-08-13  Jeff Law <law@redhat.com>
62021         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62022         null byte in the output string.
62024 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62026         * sysdeps/unix/sysv/linux/kernel-features.h
62027         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62028         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62029         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62030         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62031         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62032         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62033         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62035 2012-08-09  Jeff Law <law@redhat.com>
62037         [BZ #13939]
62038         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62039         When avoid_arena is set, don't retry in the that arena.  Pick the
62040         next one, whatever it might be.
62041         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62042         (arena_lock): Pass in new parameter to arena_get2.
62043         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62044         arena_get2.
62045         (__libc_malloc): Unify retrying after main arena failure with
62046         __libc_memalign version.
62047         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62049 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62051         [BZ #14166]
62052         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62053         to __redirect_strstr.
62054         (__strstr_sse42): Use typeof __redirect_strstr.
62055         (__strstr_ia32): Likewise.
62056         (__libc_strstr): New prototype.
62057         (strstr): Renamed to ...
62058         (__libc_strstr): This.
62059         (strstr): New strong alias of __libc_strstr.
62060         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62061         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62062         __redirect_time.
62063         Include <time.h>.
62064         (__libc_time): New prototype.
62065         (time_ifunc): Replace time with __libc_time.
62066         (time): New strong alias and hidden definition of __libc_time.
62067         (__GI_time): Remove strong alias.
62068         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62069         Include <stddef.h>.
62070         (memmove): Redefined to __redirect_memmove.
62071         (__memmove_sse2): Use typeof __redirect_memmove.
62072         (__memmove_ssse3): Likewise.
62073         (__memmove_ssse3_back): Likewise.
62074         (__libc_memmove): New prototype.
62075         (memmove): Renamed to ...
62076         (__libc_memmove): This.
62077         (memmove): New strong alias of __libc_memmove.
62079 2012-08-08  Mark Salter  <msalter@redhat.com>
62081         * elf/elf.h
62082         (R_MN10300_TLS_GD): Define.
62083         (R_MN10300_TLS_LD): Likewise.
62084         (R_MN10300_TLS_LDO): Likewise.
62085         (R_MN10300_TLS_GOTIE): Likewise.
62086         (R_MN10300_TLS_IE): Likewise.
62087         (R_MN10300_TLS_LE): Likewise.
62088         (R_MN10300_TLS_DTPMOD): Likewise.
62089         (R_MN10300_TLS_DTPOFF): Likewise.
62090         (R_MN10300_TLS_TPOFF): Likewise.
62091         (R_MN10300_SYM_DIFF): Likewise.
62092         (R_MN10300_ALIGN): Likewise.
62093         (R_MN10300_NUM): Update.
62095 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62097         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62098         Remove.
62100 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62102         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62104         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62105         sysdeps/unix -> sysdeps/posix move.
62106         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62108 2012-08-07      Allan McRae     <allan@archlinux.org>
62110         [BZ #14303]
62111         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62112         (SUNOS_CPP): Likewise.
62113         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62114         not found.
62115         (open_input): Call CPP using execvp.
62117 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62119         * sysdeps/unix/sysv/linux/kernel-features.h
62120         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62121         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62122         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62123         (__ASSUME_WAITID_SYSCALL): Likewise.
62124         * sysdeps/unix/sysv/linux/dl-execstack.c
62125         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62126         code unconditional.
62127         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62128         conditional code.
62129         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62130         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62131         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62132         code.
62133         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62134         unconditional.
62135         [__ASSUME_WAITID_SYSCALL]: Likewise.
62136         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62138 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62140         * sysdeps/unix/closedir.c: Renamed to ...
62141         * sysdeps/posix/closedir.c: ... here.
62142         * sysdeps/unix/dirfd.c: Renamed to ...
62143         * sysdeps/posix/dirfd.c: ... here.
62144         * sysdeps/unix/dirstream.h: Renamed to ...
62145         * sysdeps/posix/dirstream.h: ... here.
62146         * sysdeps/unix/fdopendir.c: Renamed to ...
62147         * sysdeps/posix/fdopendir.c: ... here.
62148         * sysdeps/unix/opendir.c: Renamed to ...
62149         * sysdeps/posix/opendir.c: ... here.
62150         * sysdeps/unix/readdir.c: Renamed to ...
62151         * sysdeps/posix/readdir.c: ... here.
62152         * sysdeps/unix/readdir_r.c: Renamed to ...
62153         * sysdeps/posix/readdir_r.c: ... here.
62154         * sysdeps/unix/rewinddir.c: Renamed to ...
62155         * sysdeps/posix/rewinddir.c: ... here.
62156         * sysdeps/unix/seekdir.c: Renamed to ...
62157         * sysdeps/posix/seekdir.c: ... here.
62158         * sysdeps/unix/telldir.c: Renamed to ...
62159         * sysdeps/posix/telldir.c: ... here.
62160         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62161         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62162         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62163         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62165         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62166         * bits/fcntl.h: ... here.
62168         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62169         not 0.
62170         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62171         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62172         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62173         (struct flock): Move l_start, l_len to the beginning.
62174         Use __pid_t for l_pid.
62175         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62176         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62177         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62178         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62179         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62180         [__USE_LARGEFILE64] (struct flock64): New type.
62181         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62183         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62184         * bits/dirent.h: ... here.
62186         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62187         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62189 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62191         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62192         Change from 2.6.0 to 2.6.16.
62193         * sysdeps/unix/sysv/linux/configure: Regenerated.
62194         * sysdeps/unix/sysv/linux/kernel-features.h
62195         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62196         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62197         version.
62198         (__ASSUME_UTIMES): Likewise.
62199         (__ASSUME_CLONE_STOPPED): Remove.
62200         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62201         architectures, not kernel version.
62202         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62203         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62204         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62205         (__ASSUME_WAITID_SYSCALL): Likewise.
62206         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62207         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62208         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62209         refer to older versions.
62211 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62213         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62214         Define alphasort64 as an alias.
62215         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62216         Define versionsort64 as an alias.
62217         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62218         Define scandir64 as an alias.
62219         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62220         Define scandirat64 as an alias.
62221         * dirent/alphasort64.c (alphasort64):
62222         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62223         * dirent/versionsort64.c: Likewise.
62224         * dirent/scandir64.c: Likewise.
62225         * dirent/scandirat64.c: Likewise.
62226         * sysdeps/wordsize-64/alphasort.c: File removed.
62227         * sysdeps/wordsize-64/alphasort64.c: File removed.
62228         * sysdeps/wordsize-64/scandir.c: File removed.
62229         * sysdeps/wordsize-64/scandir64.c: File removed.
62230         * sysdeps/wordsize-64/scandirat.c: File removed.
62231         * sysdeps/wordsize-64/scandirat64.c: File removed.
62232         * sysdeps/wordsize-64/versionsort.c: File removed.
62233         * sysdeps/wordsize-64/versionsort64.c: File removed.
62234         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62235         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62236         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62237         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62238         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62239         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62240         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62241         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62243         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62244         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62245         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62246         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62247         [defined __arch64__ || defined __sparcv9]
62248         (__INO_T_MATCHES_INO64_T): New macro.
62249         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62250         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62251         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62252         * sysdeps/unix/sysv/linux/bits/dirent.h
62253         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62254         (_DIRENT_MATCHES_DIRENT64): New macro.
62256         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62257         Define lockf64 as an alias.
62258         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62259         Define fseeko64 as an alias.
62260         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62261         Define ftello64 as an alias.
62262         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62263         Define _IO_fgetpos64 and fgetpos64 as aliases.
62264         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62265         Define _IO_fsetpos64 and fsetpos64 as aliases.
62266         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62267         Conditionalize body on this.
62268         * libio/fseeko64.c: Likewise.
62269         * libio/ftello64.c: Likewise.
62270         * libio/iofgetpos64.c: Likewise.
62271         * libio/iofsetpos64.c: Likewise.
62272         * sysdeps/wordsize-64/lockf.c: File removed.
62273         * sysdeps/wordsize-64/lockf64.c: File removed.
62274         * sysdeps/wordsize-64/fseeko.c: File removed.
62275         * sysdeps/wordsize-64/fseeko64.c: File removed.
62276         * sysdeps/wordsize-64/ftello.c: File removed.
62277         * sysdeps/wordsize-64/ftello64.c: File removed.
62278         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62279         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62280         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62281         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62282         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62283         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62284         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62285         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62286         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62287         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62288         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62289         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62290         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62291         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62293         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62294         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62295         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62296         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62297         [defined __arch64__ || defined __sparcv9]
62298         (__OFF_T_MATCHES_OFF64_T): New macro.
62299         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62300         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62301         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62302         (__OFF_T_MATCHES_OFF64_T): New macro.
62304 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62306         * stdlib/secure-getenv.c (__secure_getenv): Replace
62307         GLIBC_2_16 with GLIBC_2_17.
62309 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62311         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62312         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62314 2012-08-03  David S. Miller  <davem@davemloft.net>
62316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62318 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62320         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62321         Remove.
62322         (__ASSUME_CORRECT_SI_PID): Likewise.
62323         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62324         (__ASSUME_TMPFS_NAME): Likewise.
62325         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62326         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62327         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62328         (HAVE_AUX_SECURE): Make definition unconditional.
62329         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62330         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62332 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62334         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62335         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62336         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62337         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62338         __eloop_threshold instead of SYMLOOP_MAX.
62340         * sysdeps/generic/eloop-threshold.h: New file.
62341         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62342         of MAXSYMLINKS.
62343         * elf/chroot_canon.c (chroot_canon): Likewise.
62345 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62347         [BZ #13717]
62348         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62349         Change to 2.6.0 everywhere.
62350         * sysdeps/unix/sysv/linux/configure: Regenerated.
62351         * sysdeps/unix/sysv/linux/kernel-features.h
62352         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62353         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62354         kernel versions.
62355         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62356         (__ASSUME_FUTEX_REQUEUE): Remove.
62357         (__ASSUME_STATFS64): Define unconditionally.
62358         (__ASSUME_AT_SECURE): Likewise.
62359         (__ASSUME_CORRECT_SI_PID): Likewise.
62360         (__ASSUME_TGKILL): Define without depending on kernel version for
62361         i386.
62362         (__ASSUME_UTIMES): Likewise.
62363         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62364         kernel version.
62365         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62366         (__ASSUME_TMPFS_NAME): Likewise.
62367         * README: Update reference to Linux kernel versions.
62369 2012-08-02  Marek Polacek  <polacek@redhat.com>
62371         [BZ# 14150]
62372         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62373         libc_cv_asm_type_prefix with %.
62374         * configure: Regenerated.
62375         * include/libc-symbols.h: Remove comment about
62376         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62377         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62378         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62379         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62380         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62381         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62382         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62383         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62384         * elf/tst-unique2mod1.c: Likewise.
62385         * elf/tst-unique1mod2.c: Likewise.
62386         * elf/tst-unique1mod1.c: Likewise.
62387         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62388         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62389         Replace ASM_TYPE_DIRECTIVE with .type.
62390         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62391         * sysdeps/i386/sysdep.h: Likewise.
62392         * sysdeps/x86_64/sysdep.h: Likewise.
62393         * sysdeps/sh/sysdep.h: Likewise.
62394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62395         Do not define ASM_TYPE_DIRECTIVE.
62396         * sysdeps/powerpc/sysdep.h: Likewise.
62397         * sysdeps/powerpc/powerpc32/sysdep.h:
62398         Replace ASM_TYPE_DIRECTIVE with .type.
62399         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62400         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62401         * sysdeps/i386/fpu/e_powf.S: Likewise.
62402         * sysdeps/i386/fpu/e_expl.S: Likewise.
62403         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62404         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62405         * sysdeps/i386/fpu/e_pow.S: Likewise.
62406         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62407         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62408         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62409         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62410         * sysdeps/i386/fpu/e_log2.S: Likewise.
62411         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62412         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62413         * sysdeps/i386/fpu/e_powl.S: Likewise.
62414         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62415         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62416         * sysdeps/i386/fpu/e_logl.S: Likewise.
62417         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62418         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62419         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62420         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62421         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62422         * sysdeps/i386/fpu/e_log.S: Likewise.
62423         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62424         * sysdeps/i386/fpu/e_logf.S: Likewise.
62425         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62426         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62427         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62428         * sysdeps/i386/fpu/e_log10.S: Likewise.
62429         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62430         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62431         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62432         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62433         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62434         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62435         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62436         * sysdeps/i386/i686/strtok.S: Likewise.
62437         * sysdeps/i386/i386-mcount.S: Likewise.
62438         * sysdeps/i386/strtok.S: Likewise.
62439         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62440         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62441         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62442         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62443         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62444         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62445         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62446         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62447         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62448         * sysdeps/x86_64/_mcount.S: Likewise.
62449         * sysdeps/x86_64/strtok.S: Likewise.
62450         * sysdeps/sh/_mcount.S: Likewise.
62452 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62454         * libio/iofopen.c: Include <fcntl.h>.
62455         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62456         (_IO_fopen64, fopen64): Define as aliases.
62457         * libio/iofopen64.c: Include <fcntl.h>.
62458         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62459         Conditionalize body on this.
62460         * sysdeps/wordsize-64/iofopen.c: File removed.
62461         * sysdeps/wordsize-64/iofopen64.c: File removed.
62463 2012-08-01  Marek Polacek  <polacek@redhat.com>
62465         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62466         Use dlfcn directly instead of a variable.
62467         (binfmt-subdir): Do not define.
62468         (dlfcn): Likewise.
62470 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62472         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62473         Remove all definitions.
62474         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62475         <kernel-features.h>.
62476         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62477         (miss_F_GETOWN_EX): Remove all definitions.
62478         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62479         macro definition.
62480         [!__ASSUME_FCNTL64]: Remove conditional code.
62481         [__ASSUME_FCNTL64]: Make code unconditional.
62482         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62483         <kernel-features.h>.
62484         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62485         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62486         (lockf64) [__NR_fcntl64]: Make code unconditional.
62487         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62489         * sysdeps/unix/sysv/linux/kernel-features.h
62490         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62491         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62492         Make code unconditional.
62493         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62494         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62496         [__NR_vfork]: Make code unconditional.
62497         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62498         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62500         [__NR_vfork]: Make code unconditional.
62501         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62502         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62504 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62506         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62507         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62509         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62510         Define mkstemp64 as an alias.
62511         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62512         Define mkstemps64 as an alias.
62513         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62514         Define mkostemp64 as an alias.
62515         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62516         Define mkostemps64 as an alias.
62517         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62518         Conditionalize body on this.
62519         * misc/mkostemp64.c: Likewise.
62520         * misc/mkostemps64.c: Likewise.
62521         * misc/mkstemps64.c: Likewise.
62522         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62523         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62524         * sysdeps/wordsize-64/mkostemp.c: File removed.
62525         * sysdeps/wordsize-64/mkstemp.c: File removed.
62526         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62527         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62528         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62529         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62531         [BZ #14138]
62532         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62533         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62534         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62535         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62537         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62538         compat_symbol macros from <shlib-compat.h> rather than the underlying
62539         default_symbol_version and symbol_version macros, so that DEFAULT
62540         lines in shlib-versions are respected.
62541         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62543 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62545         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62546         Declare with warn_unused_result.
62547         (setgid, setregid, setegid, setresgid): Likewise.
62548         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62549         Likewise.
62550         * WUR-REPORT: Remove set*id functions.
62552 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62554         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62556 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62558         [BZ #10191]
62559         * include/sys/socket.h (__libc_accept, __libc_accept4):
62560         Add attribute_hidden.
62561         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62563         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62564         use of PTR_MANGLE.
62565         * inet/getnetgrent_r.c (setup): Likewise.
62567         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62569 2012-07-31  David S. Miller  <davem@davemloft.net>
62571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62573 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62575         [BZ #13629]
62576         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62577         value between 1.0 and 2.0 and smaller part has absolute value less
62578         than 1.0.
62579         * math/s_clog10.c (__clog10): Likewise.
62580         * math/s_clog10f.c (__clog10f): Likewise.
62581         * math/s_clog10l.c (__clog10l): Likewise.
62582         * math/s_clogf.c (__clogf): Likewise.
62583         * math/s_clogl.c (__clogl): Likewise.
62584         * math/libm-test.inc (clog_test): Add more tests.
62585         (clog10_test): Likewise.
62586         * sysdeps/i386/fpu/libm-test-ulps: Update.
62587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62589 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62591         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62592         Exit with zero in case no suitable GID is found, and write a
62593         message to standard error.
62595 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62597         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62598         rather than to 1.
62599         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62600         (MAXPATHLEN): Removed.
62601         (NOGROUP, NODEV): New macros.
62602         (setbit, clrbit, isset, isclr): New macros.
62603         (howmany, roundup, powerof2): New macros.
62604         (DEV_BSIZE): New macro.
62606         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62607         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62609         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62610         definition on [!__NO_LONG_DOUBLE_MATH].
62612         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62613         PTR_MANGLE and PTR_DEMANGLE.
62615         * socket/accept4.c (accept4): Rename to __libc_accept4.
62616         Define accept4 as a weak alias.
62618         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62619         on [_DIRENT_HAVE_D_TYPE].
62620         * io/ftw.c (ftw_dir): Likewise.
62622         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62624         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62626         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62627         Use the BSD numbers rather than the arbitrary ones we had.
62628         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62629         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62630         (SIGXCPU, SIGXFSZ): New macros.
62631         (_NSIG): Now 32.
62633         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62634         initializer on [_LIBC_REENTRANT].
62636         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62637         definitions inside [_POSIX_MAPPED_FILES].
62639         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62641         * dirent/opendir.c: Include <fcntl.h>.
62643         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62644         (__libc_getspecific): Likewise.
62645         (__libc_key_create): Likewise.
62647         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62648         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62649         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62650         (tmpfile64): Define as alias.
62651         * sysdeps/wordsize-64/tmpfile.c: File removed.
62652         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62653         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62654         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62656         * stdio-common/vfscanf.c: Include <stdbool.h>.
62657         * nss/makedb.c: Likewise.
62658         * stdio-common/_i18n_number.h: Likewise.
62659         * argp/argp-help.c: Likewise.
62660         * posix/wordexp.c: Likewise.
62661         * sysdeps/posix/spawni.c: Likewise.
62662         * nss/nss_files/files-initgroups.c: Likewise.
62663         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62664         * nss/nss_files/files-initgroups.c: Likewise.
62665         * nss/nss_db/db-netgrp.c: Likewise.
62666         * nss/nss_db/db-initgroups.c: Likewise.
62667         * io/fchmodat.c: Include <sys/stat.h>.
62669         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62670         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62672         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62673         [HAVE_MMAP].
62675         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62676         Add multiple inclusion protection.
62678 2012-07-27  David S. Miller  <davem@davemloft.net>
62680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62682 2012-07-27  Gary Benson  <gbenson@redhat.com>
62684         [BZ #14298]
62685         * elf/rtld.c: Include <stap-probe.h>.
62686         (dl_main): Added static probes "init_start" and "init_complete".
62687         * elf/dl-load.c: Include <stap-probe.h>.
62688         (lose): Take new parameter "nsid".
62689         Added static probe "map_failed".
62690         (_dl_map_object_from_fd): Pass namespace id to lose.
62691         Added static probe "map_start".
62692         (open_verify): Pass namespace id to lose.
62693         * elf/dl-open.c: Include <stap-probe.h>.
62694         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62695         and "reloc_complete".
62696         * elf/dl-close.c: Include <stap-probe.h>.
62697         (_dl_close_worker): Added static probes "unmap_start" and
62698         "unmap_complete".
62699         * elf/rtld-debugger-interface.txt: New file documenting the above.
62701 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62703         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62704         rather than a string variable.
62705         * sunrpc/rpc_main.c (h_output): Likewise.
62706         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62708 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62710         * inet/check_native.c: New file.
62712 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62714         [BZ #13629]
62715         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62716         if larger part has absolute value 1.0.
62717         * math/s_clog10.c (__clog10): Likewise.
62718         * math/s_clog10f.c (__clog10f): Likewise.
62719         * math/s_clog10l.c (__clog10l): Likewise.
62720         * math/s_clogf.c (__clogf): Likewise.
62721         * math/s_clogl.c (__clogl): Likewise.
62722         * math/libm-test.inc (clog_test): Add more tests.
62723         (clog10_test): Likewise.
62724         * sysdeps/i386/fpu/libm-test-ulps: Update.
62725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62727         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62728         (pltexit): Likewise.
62729         (La_regs): Likewise.
62730         (La_retval): Likewise.
62731         (int_retval): Likewise.
62732         Update #error for removed macros to refer only to definitions in
62733         tst-audit.h.
62734         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62735         macro.
62736         (pltexit): Likewise.
62737         (La_regs): Likewise.
62738         (La_retval): Likewise.
62739         (int_retval): Likewise.
62740         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62741         macro.
62742         (pltexit): Likewise.
62743         (La_regs): Likewise.
62744         (La_retval): Likewise.
62745         (int_retval): Likewise.
62746         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62747         macro.
62748         (pltexit): Likewise.
62749         (La_regs): Likewise.
62750         (La_retval): Likewise.
62751         (int_retval): Likewise.
62752         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62753         macro.
62754         (pltexit): Likewise.
62755         (La_regs): Likewise.
62756         (La_retval): Likewise.
62757         (int_retval): Likewise.
62758         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62759         macro.
62760         (pltexit): Likewise.
62761         (La_regs): Likewise.
62762         (La_retval): Likewise.
62763         (int_retval): Likewise.
62764         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62765         macro.
62766         (pltexit): Likewise.
62767         (La_regs): Likewise.
62768         (La_retval): Likewise.
62769         (int_retval): Likewise.
62770         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62771         macro definitions in tst-audit.h.
62772         * sysdeps/i386/tst-audit.h: New file.
62773         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62774         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62775         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62776         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62777         * sysdeps/sh/tst-audit.h: Likewise.
62778         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62779         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62780         * sysdeps/x86_64/tst-audit.h: Likewise.
62782 2012-07-26  Andreas Jaeger  <aj@suse.de>
62784         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62785         ptrace.
62787         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62788         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62789         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62790         PTRACE_O_MASK.
62791         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62792         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62793         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62795         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62796         value.
62798         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62799         _sigsys.
62800         (si_call_addr, si_syscall, si_arch): Define new macro.
62801         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62802         _sigsys.
62803         (si_call_addr, si_syscall, si_arch): Define new marcro.
62804         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62805         _sigsys.
62806         (si_call_addr, si_syscall, si_arch): Define new macro.
62807         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62808         _sigsys.
62809         (si_call_addr, si_syscall, si_arch): Define new macro.
62811 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62813         [BZ #13717]
62814         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62815         Change to 2.4.21 where previously 2.4.1.
62816         * sysdeps/unix/sysv/linux/configure: Regenerated.
62817         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62818         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62819         Linux kernel version.
62820         (__ASSUME_STD_AUXV): Remove.
62821         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62822         kernel version.
62823         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62824         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62825         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62826         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62827         (__ASSUME_NETLINK_SUPPORT): Likewise.
62828         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62829         (__no_netlink_support): Remove conditional definition.
62830         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62831         Remove.
62832         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62833         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62834         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62835         (if_nameindex_ioctl): Remove.
62836         (if_nameindex_netlink): Do not handle __no_netlink_support.
62837         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62838         code.
62839         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62840         Remove conditional code.
62841         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62842         code.
62843         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62844         unconditional.
62845         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62846         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62847         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62848         Remove.
62849         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62850         [!__ASSUME_STD_AUXV]: Remove conditional code.
62851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62852         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62853         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62855         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62856         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62857         code.
62858         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62860         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62861         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62862         conditional code.
62863         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62865         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62866         code.
62867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62868         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62869         conditional code.
62870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62871         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62872         code unconditional.
62873         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62874         conditional code.
62875         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62876         unconditional.
62877         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62878         conditional code.
62879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62880         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62881         unconditional.
62882         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62883         conditional code.
62884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62885         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62886         code unconditional.
62887         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62888         conditional code.
62889         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62890         unconditional.
62891         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62892         conditional code.
62893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62894         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62895         code unconditional.
62896         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62897         conditional code.
62898         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62899         unconditional.
62900         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62901         conditional code.
62903 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62905         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62906         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62907         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62908         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62909         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62910         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62911         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62912         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62913         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62914         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62915         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62916         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62917         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62918         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62919         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62920         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62921         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62922         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62923         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62924         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62925         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62926         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62927         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62929 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62931         * Versions.def: Add GLIBC_2.17.
62932         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62933         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62934         Introduce __libc_secure_getenv.
62935         * stdlib/Versions (2.17): Add secure_getenv
62936         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62937         * stdlib/secure-getenv.c: Rename __secure_getenv to
62938         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62939         symbol __secure_getenv for GLIBC_2.0.
62940         * stdlib/tst-secure-getenv.c: New.
62941         * stdlib/Makefile (tests): Add testcase.
62942         * manual/startup.texi (Environment Access): Document
62943         secure_getenv.
62944         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62945         __libc_secure_getenv.
62946         * inet/ruserpass.c (ruserpass): Likewise.
62947         * malloc/mtrace.c (mtrace): Likewise.
62948         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62949         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62950         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62951         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62952         HAVE_SECURE_GETENV.
62953         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62954         __secure_getenv to __libc_secure_getenv.
62955         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62957         Likewise.
62958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62959         Likewise.
62960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62962         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62968 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62970         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62971         (struct La_i86_retval): Likewise.
62972         (struct La_x86_64_regs): Likewise.
62973         (struct La_x86_64_retval): Likewise.
62974         (struct La_x32_regs): Likewise.
62975         (struct La_x32_retval): Likewise.
62976         (struct La_ppc32_regs): Likewise.
62977         (struct La_ppc32_retval): Likewise.
62978         (struct La_ppc64_regs): Likewise.
62979         (struct La_ppc64_retval): Likewise.
62980         (struct La_sh_regs): Likewise.
62981         (struct La_sh_retval): Likewise.
62982         (struct La_s390_32_regs): Likewise.
62983         (struct La_s390_32_retval): Likewise.
62984         (struct La_s390_64_regs): Likewise.
62985         (struct La_s390_64_retval): Likewise.
62986         (struct La_sparc32_regs): Likewise.
62987         (struct La_sparc32_retval): Likewise.
62988         (struct La_sparc64_regs): Likewise.
62989         (struct La_sparc64_retval): Likewise.
62990         (struct audit_ifaces): Remove architecture-specific pltenter and
62991         pltexit members.
62992         * sysdeps/i386/ldsodefs.h: New file.
62993         * sysdeps/powerpc/ldsodefs.h: Likewise.
62994         * sysdeps/s390/ldsodefs.h: Likewise.
62995         * sysdeps/sh/ldsodefs.h: Likewise.
62996         * sysdeps/sparc/ldsodefs.h: Likewise.
62997         * sysdeps/x86_64/ldsodefs.h: Likewise.
62999 2012-07-25  Marek Polacek  <polacek@redhat.com>
63001         [BZ #6808]
63002         * math/libm-test.inc (yn_test): Add another test.
63003         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63004         to ERANGE when the result is +-Inf.
63005         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63006         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63007         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63008         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63010 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63012         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63013         equal to 0.
63014         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63015         clock_t.
63016         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63018 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63020         * configure.in <sysdeps resolving>: Correct printing
63021         Implies_before.
63022         * configure: Regenerate.
63024 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63026         * math/w_ilogb.c: Include <limits.h>.
63027         * math/w_ilogbl.c: Likewise.
63029 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63031         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63032         va_copy.  Document allowing for unavailable va_copy only as
63033         pre-C99 compatibility.
63034         * manual/string.texi (Copying and Concatenation): Use va_copy
63035         instead of __va_copy in concat example.
63037 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63039         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63040         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63041         it if not null.
63043         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63044         with O_NOLINK passed to __file_name_lookup.
63046         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63047         with O_NOLINK passed to __file_name_lookup.
63049         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63050         negative N or less than NGIDS.
63052         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63053         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63054         enough.  Use memcpy instead of strncpy.
63056 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63058         * elf/Makefile (check-data): Remove.
63059         (localplt.data): New vpath directive.
63060         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63061         instead of $(check-data).
63062         * scripts/data/localplt-generic.data: Move to ...
63063         * sysdeps/generic/localplt.data: ... here.
63064         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63065         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63066         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63068         ... here.
63069         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63071         ... here.
63072         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63074         ... here.
63075         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63077         ... here.
63078         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63080         ... here.
63081         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63083         ... here.
63085 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63087         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63088         PPC32 and PPC64 files.
63089         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63090         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63092 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63094         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63095         __makecontext_ret to ...
63096         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63097         ... here and call exit if uc_link is NULL.  New file.
63098         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63099         __makecontext_ret.S.
63100         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63101         __makecontext_ret to ...
63102         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63103         ... here and call exit if uc_link is NULL.  New file.
63104         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63105         __makecontext_ret.S.
63107 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63109         * elf/elf.h (R_390_IRELATIVE): New definition.
63110         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63111         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63112         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63113         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63114         (elf_machine_lazy_rel): Likewise.
63115         * sysdeps/s390/dl-irel.h: New file.
63116         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63117         * sysdeps/s390/s390-64/memset.S: New asm code.
63118         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63119         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63120         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63121         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63122         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63123         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63124         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63125         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63126         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63127         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63128         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63129         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63130         * sysdeps/s390/s390-32/memset.S: New asm code.
63131         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63133 2012-07-17  Marek Polacek  <polacek@redhat.com>
63135         [BZ #14349]
63136         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63137         * sysdeps/s390/s390-64/configure.in: Likewise.
63138         * sysdeps/sparc/configure.in: Likewise.
63139         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63140         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63141         * sysdeps/i386/configure.in: Likewise.
63142         * sysdeps/x86_64/configure.in: Likewise.
63143         * sysdeps/sh/configure.in: Likewise.
63144         * sysdeps/s390/s390-32/configure: Regenerated.
63145         * sysdeps/s390/s390-64/configure: Likewise.
63146         * sysdeps/x86_64/configure: Likewise.
63147         * sysdeps/sh/configure: Likewise.
63148         * sysdeps/powerpc/powerpc64/configure: Likewise.
63149         * sysdeps/powerpc/powerpc32/configure: Likewise.
63150         * sysdeps/sparc/configure: Likwise.
63151         * sysdeps/i386/configure: Likewise.
63153         * elf/dl-open.c: Comment fixes.
63155 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63157         * Makefile [CXX] (check-data): Remove.
63158         [CXX] (c++-types.data): New vpath directive.
63159         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63160         vpath.  Do not allow for C++ type data being missing.
63161         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63162         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63163         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63164         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63165         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63166         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63167         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63169         ... here.
63170         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63172         ... here.
63173         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63175         ... here.
63176         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63178         ... here.
63179         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63181         ... here.
63182         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63184         ... here.
63185         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63187         ... here.
63188         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63191         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63192         definitions to architecture-specific files.
63193         (TLS_IE): Likewise.
63194         (TLS_LD): Likewise.
63195         (TLS_GD): Likewise.
63196         * sysdeps/i386/tls-macros.h: New file.
63197         * sysdeps/powerpc/tls-macros.h: Likewise.
63198         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63199         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63200         * sysdeps/sh/tls-macros.h: Likewise.
63201         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63202         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63203         * sysdeps/x86_64/tls-macros.h: Likewise.
63205 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63207         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63208         zero value for regular exit case.
63210         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63211         (__start_context): Preserve zero value for regular exit case.
63213 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63214             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63216         * manual/setjmp.texi (setcontext): Clarify normal process
63217         termination when uc_link is the null pointer.
63218         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63219         exit call.
63221 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63223         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63224         preprocessor.  Test for each exception mask separately.
63226 2012-07-16  Andreas Jaeger  <aj@suse.de>
63228         * po/ru.po: Update from translation team.
63230 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63232         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63233         equal to 0.
63234         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63235         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63236         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63237         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63238         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63240 2012-07-13  Andreas Jaeger  <aj@suse.de>
63242         * po/fr.po: Update from translation team.
63244 2012-07-12  Marek Polacek  <polacek@redhat.com>
63246         [BZ #14173]
63247         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63248         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63249         loop condition.
63251 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63253         [BZ #13717]
63254         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63255         Change to 2.4.1 where previously 2.4.0.
63256         * sysdeps/unix/sysv/linux/configure: Regenerated.
63257         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63258         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63259         version.
63260         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63261         (__ASSUME_AT_CLKTCK): Remove.
63262         (__ASSUME_AT_PAGESIZE): Likewise.
63263         (__ASSUME_AT_XID): Likewise.
63264         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63265         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63266         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63267         unconditionally.
63268         (HAVE_AUX_PAGESIZE): Likewise.
63269         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63270         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63271         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63273 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63275         [BZ #14307]
63276         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63277         the temporary buffer used to invoke __gethostbyname2_r,
63278         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63279         host_data / struct gaih_addrtuple.
63280         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63281         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63282         header file nss/nsswitch.h.
63283         * nss/nsswitch.h (global scope): Add definition of implementation
63284         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63285         resolv/nss_dns/dns-host.c).
63287 2012-07-11  Andreas Jaeger  <aj@suse.de>
63289         * po/fr.po: Update from translation team.
63291         * po/sv.po: Update from translation team
63292         * po/fr.po: Another update from translation team.
63294 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63296         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63297         for subnormals or multiply small sinh result by itself.
63298         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63301 2012-07-11  David S. Miller  <davem@davemloft.net>
63303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63305 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63307         [BZ #14347]
63308         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63309         (INTERNAL_MARK): Shift it here.
63311 2012-07-10  Marek Polacek  <polacek@redhat.com>
63313         [BZ #14151]
63314         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63315         libc_cv_asm_global_directive with .globl.
63316         * configure: Regenerated.
63317         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63318         with .globl.
63319         * sysdeps/i386/configure: Regenerated.
63320         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63321         with .globl.
63322         * sysdeps/x86_64/configure: Regenerated.
63323         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63324         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63325         * elf/tst-unique2mod2.c: Likewise.
63326         * elf/tst-unique2mod1.c: Likewise.
63327         * elf/tst-unique1mod2.c: Likewise.
63328         * elf/tst-unique1mod1.c: Likewise.
63329         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63330         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63331         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63332         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63333         * sysdeps/mach/sysdep.h: Likewise.
63334         * sysdeps/i386/sysdep.h: Likewise.
63335         * sysdeps/i386/i386-mcount.S: Likewise.
63336         * sysdeps/x86_64/_mcount.S: Likewise.
63337         * sysdeps/x86_64/sysdep.h: Likewise.
63338         * sysdeps/sh/_mcount.S: Likewise.
63339         * sysdeps/sh/sysdep.h: Likewise.
63340         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63341         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63342         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63343         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63344         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63345         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63346         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63347         * locale/localeinfo.h: Likewise.
63348         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63349         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63351 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63353         [BZ #14336]
63354         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63355         system".
63356         * manual/message.texi (The Uniforum approach): Likewise.
63357         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63358         (glibc iconv Implementation): Likewise.
63360 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63362         [BZ #14337]
63363         * math/s_clog.c (__clog): Avoid scaling a value down where that
63364         could result in underflow.
63365         * math/s_clog10.c (__clog10): Likewise.
63366         * math/s_clog10f.c (__clog10f): Likewise.
63367         * math/s_clog10l.c (__clog10l): Likewise.
63368         * math/s_clogf.c (__clogf): Likewise.
63369         * math/s_clogl.c (__clogl): Likewise.
63370         * math/libm-test.inc (clog_test): Add more tests.
63371         (clog10_test): Likewise.
63372         * sysdeps/i386/fpu/libm-test-ulps: Update.
63373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63375 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63377         [BZ #14283]
63378         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63379         by 7 not 8 to examine high bit of fractional part.
63381         [BZ #14042]
63382         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63383         for call to __mcount_internal.
63384         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63385         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63386         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63388 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63390         [BZ #14154]
63391         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63392         approximation for values within 0x1p-13f of an odd multiple of
63393         pi/4.
63394         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63395         exception.  Add more tests.
63396         * sysdeps/i386/fpu/libm-test-ulps: Update.
63398         [BZ #6778]
63399         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63400         inputs and return -1 for them.  Do not check for +Inf in case not
63401         reachable for +Inf.
63402         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63403         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63404         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63405         and return -1 for them.  Do not check for +Inf in case not
63406         reachable for +Inf.
63407         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63408         define.
63409         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63410         and return -1 for them.  Do not check for +Inf in case not
63411         reachable for +Inf.
63412         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63413         spurious underflow.
63414         * sysdeps/i386/fpu/libm-test-ulps: Update.
63415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63417 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63419         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63421 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63423         [BZ #14157]
63424         [BZ #14331]
63425         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63426         could result in spurious underflow.  Scale down values above
63427         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63428         * math/s_csqrtf.c (__csqrtf): Likewise.
63429         * math/s_csqrtl.c (__csqrtl): Likewise.
63430         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63431         spurious underflow.
63432         * sysdeps/i386/fpu/libm-test-ulps: Update.
63433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63435 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63437         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63438         xopen-msg.sed.
63439         * catgets/xopen-msg.awk: New file.
63440         * catgets/xopen-msg.sed: Removed.
63442         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63443         po2text.sed.
63444         * intl/po2test.awk: New file.
63445         * intl/po2test.sed: Removed.
63447 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63449         [BZ #14328]
63450         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63451         or multiply small sinh result by itself.
63452         * math/s_ctanf.c (__ctanf): Likewise.
63453         * math/s_ctanh.c (__ctanh): Likewise.
63454         * math/s_ctanhf.c (__ctanhf): Likewise.
63455         * math/s_ctanhl.c (__ctanhl): Likewise.
63456         * math/s_ctanl.c (__ctanl): Likewise.
63457         * math/libm-test.inc (ctan_test_tonearest): New function.
63458         (ctan_test_towardzero): Likewise.
63459         (ctan_test_downward): Likewise.
63460         (ctan_test_upward): Likewise.
63461         (ctanh_test_tonearest): Likewise.
63462         (ctanh_test_towardzero): Likewise.
63463         (ctanh_test_downward): Likewise.
63464         (ctanh_test_upward): Likewise.
63465         (main): Call these new functions.
63466         * sysdeps/i386/fpu/libm-test-ulps: Update.
63467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63469 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63471         * .gitignore: Delete /ports entry.
63473 2012-07-03  Andreas Jaeger  <aj@suse.de>
63475         * po/bg.po: Update from translation team.
63476         * po/cs.po: Likewise.
63477         * po/de.po: Likewise.
63478         * po/hr.po: Likewise.
63479         * po/nl.pl: Likewise.
63480         * po/pl.po: Likewise.
63481         * po/vi.po: Likewise.
63483 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63485         * Makeconfig [!+link] (+link-before-libc): New variable.
63486         [!+link] (+link-after-libc): Likewise.
63487         [!+link] (+link-tests): Likewise.
63488         [!+link] (+link): Define in terms of $(+link-before-libc) and
63489         $(+link-after-libc).
63490         [!+link-static] (+link-static-before-libc): New variable.
63491         [!+link-static] (+link-static-after-libc): Likewise.
63492         [!+link-static] (+link-static-tests): Likewise.
63493         [!+link-static] (+link-static): Define in terms of
63494         $(+link-static-before-libc) and $(+link-static-after-libc).
63495         [build-shared] (link-libc-before-gnulib): New variable.
63496         [build-shared] (link-libc-tests): Likewise.
63497         [build-shared] (link-libc): Define in terms of
63498         $(link-libc-before-gnulib).
63499         [!build-shared] (link-libc-tests): New variable.
63500         (link-libc-static-tests): New variable.
63501         [!gnulib] (gnulib-arch): New variable.
63502         [!gnulib] (gnulib-tests): Likewise.
63503         [!gnulib] (static-gnulib-arch): Likewise.
63504         [!gnulib] (static-gnulib-tests): Likewise.
63505         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63506         Define with "=" instead of ":=".
63507         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63508         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63509         * Rules (binaries-all-notests): New variable.
63510         (binaries-all-tests): Likewise.
63511         (binaries-static-notests): Likewise.
63512         (binaries-static-tests): Likewise.
63513         (binaries-all): Define using $(binaries-all-notests) and
63514         $(binaries-all-tests).
63515         (binaries-static): Define using $(binaries-static-notests) and
63516         $(binaries-static-tests).
63517         (binaries-shared-tests): New variable.
63518         (binaries-shared-notests): Likewise.
63519         (binaries-shared): Remove variable.
63520         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63521         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63522         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63523         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63524         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63525         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63526         * elf/Makefile (sln-modules): New variable.
63527         (extra-objs): Add $(sln-modules:=.o).
63528         (ldconfig-modules): Add static-stubs.
63529         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63530         * elf/static-stubs.c: New file.
63532         [BZ #14283]
63533         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63534         by 7 not 8 to examine high bit of fractional part.  Use volatile
63535         variables when splitting into final array of floats if
63536         __FLT_EVAL_METHOD__ != 0.
63537         * math/libm-test.inc (cos_test): Add another test.
63538         (sin_test): Likewise.
63539         * sysdeps/i386/fpu/libm-test-ulps: Update.
63541         [BZ #14273]
63542         * math/libm-test.inc (cosh_test): Add more tests.
63544         * version.h (RELEASE): Set to "development".
63545         (VERSION): Set to "2.16.90".
63547 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63549         * NEWS: Update copyright. Remove last-updated date.
63550         Mention math library bug fixes and timezone data changes.
63551         * README: Mention GNU/Hurd, x32, and HPPA support status.
63553 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63555         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63557 2012-06-27  Andreas Jaeger  <aj@suse.de>
63559         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63561 2012-06-25  Andreas Jaeger  <aj@suse.de>
63563         * sysdeps/s390/fpu/libm-test-ulps: Update.
63565 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63566             Thomas Schwinge  <thomas@codesourcery.com>
63568         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63569         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63570         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63571         fanotify_mark.
63573 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63575         * sysdeps/mach/start.c: Remove file.
63576         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63577         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63578         * sysdeps/sh/init-first.c: Likewise.
63580         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63581         registers for frame unwinding purposes, add CFI directives.
63582         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63583         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63584         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63585         Likewise.
63587         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63588         __fortify_fail returning.
63589         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63591         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63592         sysdeps/sh/____longjmp_chk.S.
63593         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63594         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63595         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63596         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63598         * sysdeps/sh/abort-instr.h: New file.
63599         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63600         process in case exit returns.
63602         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63603         initialize the GOT register before use.
63605         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63606         calculation of ARGC > 4.
63608         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63609         meaningful names to some local labels.
63611 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63612             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63614         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63615         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63616         (__arch_compare_and_exchange_val_16_acq): Likewise.
63617         (__arch_compare_and_exchange_val_32_acq): Likewise.
63618         (atomic_exchange_and_add): Fix gUSA sequence.
63619         (atomic_add): Likewise.
63620         (atomic_add_negative): Likewise.
63621         (atomic_add_zero): Likewise.
63622         (atomic_bit_test_set): Likewise.
63624 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63626         [BZ #13579]
63627         * include/link.h (struct link_map): Add l_free_initfini.
63628         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63629         l_initfini.
63630         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63631         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63632         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63633         set.
63635 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63637         * configure.in: Use AC_LANG_SOURCE.
63638         * configure: Regenerate.
63640 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63642         * configure.in (libc_cv_localstatedir): New substituted variable.
63643         * configure: Regenerated.
63644         * config.make.in (localstatedir): New variable, substituted from
63645         libc_cv_localstatedir.
63646         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63647         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63648         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63649         * sysdeps/gnu/configure: Regenerated.
63651 2012-06-21  Jeff Law  <law@redhat.com>
63653         [BZ #14277]
63654         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63655         free.  Simplify list management for _LIBC case.
63657 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63659         [BZ #14273]
63660         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63661         Clear sign bit of 64-bit integer value before comparing against
63662         overflow value.
63664         * sysdeps/mach/configure: Regenerated.
63666 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63668         [BZ #14278]
63669         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63671 2012-06-21  Jeff Law  <law@redhat.com>
63673         [BZ #13882]
63674         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63675         uint16_t for elements in the "seen" array to avoid char overflows.
63676         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63677         * elf/dl-open.c (dl_open_worker): Likewise.
63679 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63681         * scripts/list-sources.sh: Scan PORTS for translations.
63682         * po/libc.pot: Regenerated.
63684 2012-06-21  Andreas Jaeger  <aj@suse.de>
63686         [BZ #12194]
63687         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63688         warning.
63689         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63690         * bits/byteswap-16.h (__bswap_16): Likewise.
63691         * bits/byteswap.h (__bswap_constant_16): Likewise.
63693 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63695         [BZ #14117]
63696         * sysdeps/i386/fpu_control.h: Removed.
63697         * sysdeps/x86_64/fpu_control.h: Moved to ...
63698         * sysdeps/x86/fpu_control.h: Here.
63700         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63701         (_FPU_SETCW): Likewise.
63703 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63705         [BZ #14117]
63706         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63707         * sysdeps/x86/fpu/bits/mathinline.h: This.
63708         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63710         [BZ #14050]
63711         [BZ #14117]
63712         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63713         functions if __x86_64__ is defined.
63715 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63717         * string/endian.h: Add !__ASSEMBLER__ condition for including
63718         conversion interfaces.
63720 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63722         [BZ #14241]
63723         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63724         of ABS(x) in calculating zero to negative powers other than odd
63725         integers.
63726         * math/libm-test.inc (pow_test): Add more tests.
63728 2012-06-15  Andreas Jaeger  <aj@suse.de>
63730         * manual/contrib.texi (Contributors): Update entry of Liubov
63731         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63732         Machado Filho.
63734 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63736         * string/string.h: Add __wur to GNU version of strerror_r.
63738 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63740         [BZ #14229]
63741         * string/Makefile (tests): Add tst-strtok_r.
63742         * string/tst-strtok_r.c: New file.
63743         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63744         RAX_LP/RDX_LP on SAVE_PTR.
63746 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63748         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63750 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63752         * libm_test.inc (csqrt_test): Allow more spurious underflow
63753         exceptions.
63754         (j0_test): Likewise.
63755         (j1_test): Likewise.
63756         (y0_test): Likewise.
63757         (y1_test): Likewise.
63759 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63761         * po/Makefile (libc.pot): Use UTF-8 charset.
63763 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63765         [BZ #14210]
63766         Suppress sign-conversion warning from FD_SET.
63767         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63768         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63769         not unsigned long int.
63770         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63772 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63774         [BZ #14050]
63775         [BZ #14117]
63776         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63777         __extern_always_inline instead of __extern_inline.
63778         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63779         (__signbit): Likewise.
63780         (__signbitl): Support C++ namespace.
63781         (lrintf): New inline function.
63782         (lrint): Likewise.
63783         (llrintf): Likewise.
63784         (llrint): Likewise.
63785         (fmaxf): Likewise.
63786         (fmax): Likewise.
63787         (fminf): Likewise.
63788         (fmin): Likewise.
63789         (rint): Likewise.
63790         (rintf): Likewise.
63791         (ceil): Likewise.
63792         (ceilf): Likewise.
63793         (floor): Likewise.
63794         (floorf): Likewise.
63795         (nearbyint): Likewise.
63796         (nearbyintf): Likewise.
63798 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63800         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63801         non-default versions.
63803 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63805         [BZ #14218]
63806         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63808 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63810         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63811         (FE_UPWARD, FE_DOWNWARD): Don't define.
63812         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63813         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63815         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63816         reading it.
63817         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63818         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63820 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63822         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63823         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63824         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63825         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63827 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63829         [BZ #14117]
63830         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63831         * sysdeps/i386/fpu/Implies: New file.
63832         * sysdeps/x86_64/fpu/Implies: Likewise.
63833         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63834         * sysdeps/x86/fpu/bits/fenv.h: This.
63836         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63837         __SSE_MATH__.
63839 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63841         [BZ #14134]
63842         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63843         character 0xffff that matches the last element of the
63844         conversion table.
63846 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63848         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63849         fmodl commit.
63851 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63853         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63854         values higher than 25.6283.
63856 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63858         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63859         subnormal exponent extraction and add some __builtin_expect.
63860         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63861         Fix for subnormal mantissa calculation.
63863 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63865         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63866         cpu2 is -1 and errno is not ENOSYS.
63868 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63870         [BZ #14117]
63871         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63872         * sysdeps/x86/bits/string.h: This.
63873         * sysdeps/x86_64/bits/string.h: Removed.
63875         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63876         if not compiling for x86-64, but compiling for >= i486.
63878         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63879         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63881         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63882         New macro from Linux kernel 3.4.0.
63883         (FP_XSTATE_MAGIC2): Likewise.
63884         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63885         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63886         (struct _fpx_sw_bytes): New struct.
63887         (struct _xsave_hdr): Likewise.
63888         (struct _ymmh_state): Likewise.
63889         (struct _xstate): Likewise.
63891         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63892         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63893         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63894         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63895         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63896         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63898         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63899         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63900         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63901         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63902         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63903         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63905 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63907         [BZ #13743]
63908         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63909         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63910         (sysdep_headers): Include sys/platform/ppc.h.
63911         * sysdeps/powerpc/test-gettimebase.c: Test for
63912         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63913         * manual/Makefile (appendices): Include platform.texi.
63914         * manual/contrib.texi (Contributors): Update @node pointers.
63915         * manual/maint.texi (Maintenance): Likewise.
63916         (Platform): New node.
63917         * manual/platform.texi: New file.  Document the new features.
63919 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63920             Jakub Jelinek  <jakub@redhat.com>
63922         [BZ #14188]
63923         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63924         where __builtin_expect is unavailable.
63926 2012-06-03  David S. Miller  <davem@davemloft.net>
63928         * stdlib/longlong.h: Updated from GCC.
63930 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63932         [BZ #14042]
63933         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63934         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63935         __mcount_internal.
63936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63937         (GLIBC_2.16): Likewise.
63939 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63941         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63943 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63946         (default-abi): New variable.
63947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63948         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63949         variable.
63950         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63951         Likewise.
63952         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63953         Likewise.
63954         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63955         Likewise.
63957         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63958         definition.  Document in comment.
63960 2012-06-01  David S. Miller  <davem@davemloft.net>
63962         * stdlib/longlong.h: Updated from GCC.
63964 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63966         [BZ #14117]
63967         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63968         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63969         sys/debugreg.h sys/io.h here.
63970         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63971         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63972         sys/io.h.
63973         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63974         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63975         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63976         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63977         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63978         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63980         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63981         Define only if __x86_64__ is defined.
63983 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63985         [BZ #14048]
63986         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63987         Use int64_t for variable i.
63988         * math/libm-test.inc (fmod_test): Add more tests.
63990         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63991         z computation is not scheduled after fetestexcept.
63992         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63993         Use math_force_eval instead of asm to ensure calculation scheduled
63994         before exception test.
63995         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63996         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63998 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64000         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64001         computation is not scheduled after fetestexcept.
64003 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64005         [BZ #14117]
64006         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64007         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64009 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64011         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64012         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64014 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64016         [BZ #14117]
64017         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64018         <bits/wordsize.h>.
64019         (__WCHAR_MIN): Support __WORDSIZE == 64.
64020         (__WCHAR_MAX): Likewise.
64022         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64023         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64025         [BZ #14183]
64026         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64027         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64029         [BZ #14117]
64030         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64031         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64033         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64034         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64036         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64037         Defined to 1 if __x86_64__ isn't defined.
64038         (_STAT_VER_LINUX_OLD): New.
64039         (st_atime): Remove duplicate.
64040         (st_mtime): Likewise.
64041         (st_ctime): Likewise.
64043 2012-05-31  David S. Miller  <davem@davemloft.net>
64045         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64046         entries.
64048 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64050         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64051         gen-libm-test.pl.
64053         [BZ #14132]
64054         * elf/dl-reloc.c: Include <_itoa.h>.
64055         (_dl_reloc_bad_type): Remove use of INTUSE.
64056         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64057         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64058         * stdio-common/psiginfo.c (psiginfo): Likewise.
64059         * stdio-common/psignal.c (psignal): Likewise.
64060         * string/strsignal.c (strsignal): Likewise.
64061         * include/signal.h (_sys_siglist): Declare hidden proto.
64062         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64063         INTVARDEF with libc_hidden_data_def.
64064         * stdio-common/itoa-udigits.c: Likewise.
64065         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64066         (_itoa_lower_digits_internal): Remove declaration.
64067         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64068         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64069         (_sys_sigabbrev_internal): Remove aliases.
64070         (_sys_siglist): Define hidden alias.
64072 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64074         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64075         bits/sysctl.h.
64077 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64079         [BZ #14117]
64080         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64081         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64083         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64084         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64085         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64086         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64087         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64088         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64090         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64091         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64092         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64094         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64095         with __addr.
64096         (insw): Likewise.
64097         (insl): Likewise.
64098         (outsb): Likewise.
64099         (outsw): Likewise.
64100         (outsl): Likewise.
64102         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64103         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64104         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64106         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64107         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64108         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64109         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64110         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64111         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64113         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64114         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64116         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64117         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64119         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64120         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64121         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64123         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64124         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64125         to ...
64126         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64128         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64129         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64130         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64132         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64133         for x86-64.
64134         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64136 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64138         * math/math.h (M_El): Use two more decimal places.
64139         (M_LOG2El): Likewise.
64140         (M_LOG10El): Likewise.
64141         (M_LN2l): Likewise.
64142         (M_LN10l): Likewise.
64143         (M_PIl): Likewise.
64144         (M_PI_2l): Likewise.
64145         (M_PI_4l): Likewise.
64146         (M_1_PIl): Likewise.
64147         (M_2_PIl): Likewise.
64148         (M_2_SQRTPIl): Likewise.
64149         (M_SQRT2l): Likewise.
64150         (M_SQRT1_2l): Likewise.
64152 2012-05-31  David S. Miller  <davem@davemloft.net>
64154         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64155         values between float registers.
64156         * sysdeps/sparc/sparc64/memset.S: Likewise.
64157         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64159 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64161         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64162         -D_FORTIFY_SOURCE=1.
64163         (CPPFLAGS-tst-longjmp_chk.c): Define.
64164         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64165         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64166         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64167         CFLAGS-tst-wchar-h.c.
64169 2012-05-31  Marek Polacek  <polacek@redhat.com>
64171         [BZ #14132]
64172         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64173         __endmntent_internal): Remove declaration.
64174         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64175         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64176         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64178 2012-05-30  David S. Miller  <davem@davemloft.net>
64180         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64181         (___Q_simulate_exceptions): Use real FP ops rather than writing
64182         into the %fsr.
64183         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64184         Likewise.
64186 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64188         [BZ #14117]
64189         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64190         * sysdeps/x86/bits/xtitypes.h: This.
64192         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64193         * sysdeps/x86/bits/wordsize.h: This.
64195         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64196         * sysdeps/x86/bits/huge_vall.h: This.
64198         * sysdeps/i386/bits/select.h: Removed.
64199         * sysdeps/x86_64/bits/select.h: Renamed to ...
64200         * sysdeps/x86/bits/select.h: This.
64202         * sysdeps/i386/bits/setjmp.h: Removed.
64203         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64204         * sysdeps/x86/bits/setjmp.h: This.
64206         * sysdeps/i386/bits/mathdef.h: Removed.
64207         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64208         * sysdeps/x86/bits/mathdef.h: This.
64210 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64212         [BZ #14132]
64213         * include/sys/socket.h (__connect_internal)
64214         (__libc_sa_len_internal): Remove declaration.
64215         (__connect, __libc_sa_len): Declare hidden_proto.
64216         (SA_LEN): Remove use of INTUSE.
64217         * socket/connect.c: Add libc_hidden_def.
64218         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64219         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64220         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64221         alias.
64222         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64223         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64224         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64225         of adding _internal alias.
64227 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64229         [BZ #14117]
64230         * sysdeps/i386/bits/link.h: Removed.
64231         * sysdeps/i386/bits/linkmap.h: Likewise.
64232         * sysdeps/x86_64/bits/link.h: Renamed to ...
64233         * sysdeps/x86/bits/link.h: This.
64234         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64235         * sysdeps/x86/bits/linkmap.h: This.
64237         * sysdeps/i386/bits/endian.h: Removed.
64238         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64239         * sysdeps/x86/bits/endian.h: This.
64241         * sysdeps/i386/bits/byteswap.h: Removed.
64242         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64243         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64244         * sysdeps/x86/bits/byteswap.h: This.
64245         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64246         * sysdeps/x86/bits/byteswap-16.h: This.
64247         * sysdeps/i386/Implies: Add x86.
64248         * sysdeps/x86_64/Implies: Likewise.
64250 2012-05-30  David S. Miller  <davem@davemloft.net>
64252         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64253         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64254         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64255         (FP_TRAPPING_EXCEPTIONS): Define.
64256         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64257         (FP_TRAPPING_EXCEPTIONS): Define.
64258         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64259         subnormals only when inexact has been signalled or underflow
64260         exceptions are enabled.
64261         (_FP_PACK_CANONICAL): Likewise.
64263 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64265         [BZ #14183]
64266         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64267         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64269 2012-05-30  Richard Henderson  <rth@twiddle.net>
64271         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64272         with #ifndef NOT_IN_libc.
64274         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64275         marked to avoid plt entry.
64277 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64279         [BZ #14112]
64280         * Makeconfig (default-abi): New macro.
64281         (abi-includes): Likewise.
64282         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64283         $(abi-$(default-abi)-lib-soname) for soname if defined.
64284         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64285         abi-variants.
64286         * Makefile (installed-stubs): Likewise.
64287         * include/stubs-biarch.h: Removed.
64288         * scripts/lib-names.awk: Only handle one library at a time.
64289         * scripts/soversions.awk: Remove WORDSIZE support.
64290         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64291         entries.
64292         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64293         Removed.
64294         (syscall-list-default-condition): Likewise.
64295         (syscall-list-default-condition): Likewise.
64296         (syscall-list-includes): Likewise.
64297         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64298         syscall-list-* with abi-*.  Handle undefined abi-variants.
64299         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64300         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64301         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64302         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64303         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64304         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64305         Removed.
64306         (syscall-list-32-options): Likewise.
64307         (syscall-list-32-condition): Likewise.
64308         (syscall-list-64-options): Likewise.
64309         (syscall-list-64-condition): Likewise.
64310         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64311         macro.
64312         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64313         Renamed to ...
64314         (abi-*): This.
64315         (abi-64-ld-soname): New macro.
64316         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64317         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64318         Renamed to ...
64319         (abi-*): This.
64320         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64321         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64323 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64325         * sysdeps/unix/sysv/linux/kernel-features.h
64326         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64327         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64328         include <kernel-features.h>.
64329         [!__NR_ftruncate64]: Remove conditional code.
64330         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64331         [__NR_ftruncate64]: Make code unconditional.
64332         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64333         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64334         include <kernel-features.h>.
64335         [!__NR_ftruncate64]: Remove conditional code.
64336         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64337         [__NR_ftruncate64]: Make code unconditional.
64338         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64340         include <kernel-features.h>.
64341         [!__NR_ftruncate64]: Remove conditional code.
64342         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64343         [__NR_ftruncate64]: Make code unconditional.
64344         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64346         include <kernel-features.h>.
64347         [!__NR_ftruncate64]: Remove conditional code.
64348         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64349         [__NR_ftruncate64]: Make code unconditional.
64350         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64352         * configure.in (libc_cv_fpie): Weaken to a compile test using
64353         LIBC_TRY_CC_OPTION.
64354         * configure: Regenerated.
64356 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64362         Refreshed.
64363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64369         Refreshed.
64371 2012-05-27  David S. Miller  <davem@davemloft.net>
64373         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64374         (___Q_zero): New.
64375         (__Q_simulate_exceptions): Return void.  Change to simulate
64376         exceptions by writing into the %fsr.
64377         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64378         (__Qp_handle_exceptions): Likewise.
64379         (numbers): Delete.
64380         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64381         __Qp_handle_exceptions.
64382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64383         __Qp_handle_exceptions.
64384         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64385         as unused and give dummy FP_RND_NEAREST initializer.
64386         (FP_INHIBIT_RESULTS): Define.
64387         (___Q_simulate_exceptions): Update declaration.
64388         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64389         formatting.
64390         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64391         as unused and give dummy FP_RND_NEAREST initializer.
64392         (__Qp_handle_exceptions): Update declaration.
64393         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64394         formatting.
64396 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64398         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64399         the temporary FPU control word.
64400         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64401         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64402         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64403         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64404         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64405         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64406         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64407         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64408         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64409         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64410         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64412 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64414         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64415         fields.
64417 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64419         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64420         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64421         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64422         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64423         Likewise.
64424         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64425         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64426         Likewise.
64428 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64430         * po/h.po: Update from translation team.
64432 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64434         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64436         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64437         handling of denormals.
64438         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64439         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64440         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64441         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64442         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64443         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64444         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64445         Likewise.
64447 2012-05-26  Marek Polacek  <polacek@redhat.com>
64449         [BZ #14152]
64450         * math/libm-test.inc (fma_test): Don't always expect underflow
64451         exception.
64453 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64455         [BZ #12416]
64456         * elf/tst-execstack.c: Include stackinfo.h.
64457         (do_test): Adjust test case to ensure that pthread_getattr_np
64458         behaviour remains the same after marking stack executable.
64460 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64462         * sysdeps/unix/sysv/linux/kernel-features.h
64463         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64464         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64465         kernel-features.h.
64466         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64467         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64468         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64469         kernel-features.h.
64470         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64471         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64473 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64475         * configure.in: Define the default includes to being none.
64476         * configure: Regenerated.
64478 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64480         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64481         * sysdeps/x86_64/setjmp.S: Likewise.
64482         * sysdeps/i386/bsd-setjmp.S: Likewise.
64483         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64484         * sysdeps/i386/setjmp.S: Likewise.
64485         * sysdeps/i386/__longjmp.S: Likewise.
64486         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64487         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64489         * include/stap-probe.h: New file.
64490         * configure.in: Handle --enable-systemtap.
64491         * configure: Regenerated.
64492         * config.h.in (USE_STAP_PROBE): New #undef.
64493         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64494         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64495         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64497 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64499         [BZ #13717]
64500         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64501         to 2.4.0 where earlier.
64502         * sysdeps/unix/sysv/linux/configure: Regenerated.
64503         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64504         <kernel-features.h>.
64505         [__ASSUME_32BITUIDS]: Make code unconditional.
64506         [!__ASSUME_32BITUIDS]: Remove conditional code.
64507         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64508         <kernel-features.h>.
64509         [__ASSUME_32BITUIDS]: Make code unconditional.
64510         [!__ASSUME_32BITUIDS]: Remove conditional code.
64511         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64512         [__ASSUME_32BITUIDS]: Make code unconditional.
64513         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64514         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
64515         <kernel-features.h>.
64516         [__ASSUME_32BITUIDS]: Make code unconditional.
64517         [!__ASSUME_32BITUIDS]: Remove conditional code.
64518         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
64519         <kernel-features.h>.
64520         [__ASSUME_32BITUIDS]: Make code unconditional.
64521         [!__ASSUME_32BITUIDS]: Remove conditional code.
64522         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
64523         <kernel-features.h>.
64524         [__ASSUME_32BITUIDS]: Make code unconditional.
64525         [!__ASSUME_32BITUIDS]: Remove conditional code.
64526         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64527         <kernel-features.h>.
64528         [__ASSUME_32BITUIDS]: Make code unconditional.
64529         [!__ASSUME_32BITUIDS]: Remove conditional code.
64530         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64531         <kernel-features.h>.
64532         [__ASSUME_32BITUIDS]: Make code unconditional.
64533         [!__ASSUME_32BITUIDS]: Remove conditional code.
64534         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64535         <kernel-features.h>.
64536         [__ASSUME_32BITUIDS]: Make code unconditional.
64537         [!__ASSUME_32BITUIDS]: Remove conditional code.
64538         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64539         <kernel-features.h>.
64540         [__ASSUME_32BITUIDS]: Make code unconditional.
64541         [!__ASSUME_32BITUIDS]: Remove conditional code.
64542         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64543         <kernel-features.h>.
64544         [__ASSUME_32BITUIDS]: Make code unconditional.
64545         [!__ASSUME_32BITUIDS]: Remove conditional code.
64546         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64547         <kernel-features.h>.
64548         [__ASSUME_32BITUIDS]: Make code unconditional.
64549         [!__ASSUME_32BITUIDS]: Remove conditional code.
64550         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64551         <kernel-features.h>.
64552         [__ASSUME_32BITUIDS]: Make code unconditional.
64553         [!__ASSUME_32BITUIDS]: Remove conditional code.
64554         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64555         <kernel-features.h>.
64556         [__NR_setresgid] (__setresgid): Do not declare.
64557         [__ASSUME_32BITUIDS]: Make code unconditional.
64558         [!__ASSUME_32BITUIDS]: Remove conditional code.
64559         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64560         <kernel-features.h>.
64561         [__NR_setresuid] (__setresuid): Do not declare.
64562         [__ASSUME_32BITUIDS]: Make code unconditional.
64563         [!__ASSUME_32BITUIDS]: Remove conditional code.
64564         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64565         <kernel-features.h>.
64566         [__ASSUME_32BITUIDS]: Make code unconditional.
64567         [!__ASSUME_32BITUIDS]: Remove conditional code.
64568         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64569         <kernel-features.h>.
64570         [__ASSUME_32BITUIDS]: Make code unconditional.
64571         [!__ASSUME_32BITUIDS]: Remove conditional code.
64572         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64573         <kernel-features.h>.
64574         [__ASSUME_32BITUIDS]: Make code unconditional.
64575         [!__ASSUME_32BITUIDS]: Remove conditional code.
64576         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
64577         <kernel-features.h>.
64578         [__ASSUME_32BITUIDS]: Make code unconditional.
64579         [!__ASSUME_32BITUIDS]: Remove conditional code.
64580         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64581         <kernel-features.h>.
64582         [__ASSUME_32BITUIDS]: Make code unconditional.
64583         [!__ASSUME_32BITUIDS]: Remove conditional code.
64584         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64585         <kernel-features.h>.
64586         [__ASSUME_32BITUIDS]: Make code unconditional.
64587         [!__ASSUME_32BITUIDS]: Remove conditional code.
64588         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64589         <kernel-features.h>.
64590         [__ASSUME_32BITUIDS]: Make code unconditional.
64591         [!__ASSUME_32BITUIDS]: Remove conditional code.
64592         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64593         <kernel-features.h>.
64594         [__ASSUME_32BITUIDS]: Make code unconditional.
64595         [!__ASSUME_32BITUIDS]: Remove conditional code.
64596         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64597         <kernel-features.h>.
64598         [__ASSUME_32BITUIDS]: Make code unconditional.
64599         [!__ASSUME_32BITUIDS]: Remove conditional code.
64600         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64601         <kernel-features.h>.
64602         [__ASSUME_32BITUIDS]: Make code unconditional.
64603         [!__ASSUME_32BITUIDS]: Remove conditional code.
64604         * sysdeps/unix/sysv/linux/kernel-features.h
64605         (__ASSUME_SETRESUID_SYSCALL): Remove.
64606         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64607         (__ASSUME_32BITUIDS): Likewise.
64608         (__ASSUME_LDT_WORKS): Likewise.
64609         (__ASSUME_O_DIRECTORY): Likewise.
64610         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64611         architecture but not kernel version.
64612         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64613         (__ASSUME_MMAP2_SYSCALL): Likewise.
64614         (__ASSUME_STAT64_SYSCALL): Likewise.
64615         (__ASSUME_IPC64): Likewise.
64616         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64617         <kernel-features.h>.
64618         [__ASSUME_32BITUIDS]: Make code unconditional.
64619         [!__ASSUME_32BITUIDS]: Remove conditional code.
64620         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64621         <kernel-features.h>.
64622         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64623         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64624         132096]: Remove conditional code.
64625         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64626         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64627         <kernel-features.h>.
64628         [__ASSUME_32BITUIDS]: Make code unconditional.
64629         [!__ASSUME_32BITUIDS]: Remove conditional code.
64630         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64631         <kernel-features.h>.
64632         [__ASSUME_32BITUIDS]: Make code unconditional.
64633         [!__ASSUME_32BITUIDS]: Remove conditional code.
64634         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64635         <kernel-features.h>.
64636         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64637         unconditional.
64638         (__setresgid): Do not declare.
64639         [__ASSUME_32BITUIDS]: Make code unconditional.
64640         [!__ASSUME_32BITUIDS]: Remove conditional code.
64641         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64642         <kernel-features.h>.
64643         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64644         unconditional.
64645         (__setresuid): Do not declare.
64646         [__ASSUME_32BITUIDS]: Make code unconditional.
64647         [!__ASSUME_32BITUIDS]: Remove conditional code.
64648         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64649         <kernel-features.h>.
64650         [__ASSUME_32BITUIDS]: Make code unconditional.
64651         [!__ASSUME_32BITUIDS]: Remove conditional code.
64652         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64653         <kernel-features.h>.
64654         [__ASSUME_32BITUIDS]: Make code unconditional.
64655         [!__ASSUME_32BITUIDS]: Remove conditional code.
64657 2012-05-25  Richard Henderson  <rth@twiddle.net>
64659         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64660         dl_hwcap to ifunc resolver.
64661         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64662         elf_ifunc_invoke.
64663         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64664         dl_hwcap to ifunc resolver.
64665         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64667 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64669         [BZ #14153]
64670         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64671         for |x| <= 2**-26, not 2**-57.
64672         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64673         exception.
64675 2012-05-24  Jeff Law  <law@redhat.com>
64677         * stdio-common/Makefile (tests): Add bug25.
64678         * stdio-common/bug25.c: New test.
64680 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64682         [BZ #13576]
64683         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64684         multiple of MALLOC_ALIGNMENT in size.
64685         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64687 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64689         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64690         Require >= 256.
64691         (FILENAME_MAX): Use macro-int-constant.
64692         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64693         (_IOFBF): Use macro-int-constant.
64694         (_IOLBF): Likewise.
64695         (_IONBF): Likewise.
64696         (SEEK_CUR): Likewise.
64697         (SEEK_END): Likewise.
64698         (SEEK_SET): Likewise.
64699         (TMP_MAX): Likewise.
64700         (EOF): Use macro-int-constant.  Require < 0.
64701         (NULL): Use macro-constant.  Require == 0.
64702         (stdin): Require type to be FILE *.
64703         (stdout): Likewise.
64704         (stderr): Likewise.
64705         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64706         macro-int-constant.
64707         (EXIT_SUCCESS): Likewise.
64708         (NULL): Use macro-constant.  Require == 0.
64709         (RAND_MAX): Use macro-int-constant.
64710         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64711         [C99-based standards] (strtof): Require function.
64712         [C99-based standards] (strtold): Likewise.
64713         [C99-based standards] (strtoll): Likewise.
64714         [C99-based standards] (strtoull): Likewise.
64715         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64716         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64717         [ISO || ISO99 || ISO11] (math.h): Likewise.
64718         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64719         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64720         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64722 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64724         [BZ #14132]
64725         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64726         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64727         * intl/dgettext.c (DCGETTEXT): Likewise.
64728         * intl/gettext.c (DCGETTEXT): Likewise.
64729         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64730         * posix/regex_internal.h (gettext): Likewise.
64731         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64732         Remove declaration.
64733         * include/argz.h (__argz_count_internal)
64734         (__argz_stringify_internal): Remove declaration.
64735         (__argz_count, __argz_stringify): Declare hidden proto.
64736         * intl/dcgettext.c: Remove use of INTDEF.
64737         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64738         * string/argz-stringify.c: Likewise.
64739         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64740         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64741         Declare hidden proto.
64742         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64743         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64744         Declare hidden proto.
64745         * include/stdio.h (__asprintf_internal): Don't declare.
64746         (__asprintf): Don't define as macro.  Declare hidden proto.
64747         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64748         (__fsetlocking): Declare hidden proto.
64749         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64750         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64751         hidden proto.
64752         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64753         (_IO_setlinebuf): Remove use of INTUSE.
64754         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64755         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64756         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64757         Remove declaration.
64758         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64759         (_IO_do_flush): Remove use of INTUSE.
64760         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64761         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64762         (_IO_adjust_column, _IO_least_wmarker)
64763         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64764         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64765         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64766         (_IO_default_doallocate, _IO_wdefault_doallocate)
64767         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64768         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64769         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64770         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64771         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64772         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64773         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64774         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64775         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64776         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64777         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64778         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64779         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64780         proto.
64781         (_IO_flush_all_internal, _IO_adjust_column_internal)
64782         (_IO_default_uflow_internal, _IO_default_finish_internal)
64783         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64784         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64785         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64786         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64787         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64788         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64789         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64790         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64791         (_IO_file_close_internal, _IO_file_close_it_internal)
64792         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64793         (_IO_file_init_internal, _IO_file_attach_internal)
64794         (_IO_file_fopen_internal, _IO_file_read_internal)
64795         (_IO_file_sync_internal, _IO_file_seek_internal)
64796         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64797         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64798         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64799         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64800         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64801         (_IO_list_all_internal, _IO_link_in_internal)
64802         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64803         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64804         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64805         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64806         (_IO_do_write_internal, _IO_padn_internal)
64807         (_IO_getline_info_internal, _IO_getline_internal)
64808         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64809         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64810         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64811         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64812         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64813         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64814         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64815         with libc_hidden_ver, remove use of INTUSE.
64816         * libio/genops.c: Likewise.
64817         * libio/freopen.c: Likewise.
64818         * libio/freopen64.c: Likewise.
64819         * libio/iofclose.c: Likewise.
64820         * libio/iofdopen.c: Likewise.
64821         * libio/iofflush.c: Likewise.
64822         * libio/iofflush_u.c: Likewise.
64823         * libio/iofgets.c: Likewise.
64824         * libio/iofgets_u.c: Likewise.
64825         * libio/iofopen.c: Likewise.
64826         * libio/iofopncook.c: Likewise.
64827         * libio/iofread.c: Likewise.
64828         * libio/iofread_u.c: Likewise.
64829         * libio/ioftell.c: Likewise.
64830         * libio/iofwrite.c: Likewise.
64831         * libio/iogetline.c: Likewise.
64832         * libio/iogets.c: Likewise.
64833         * libio/iogetwline.c: Likewise.
64834         * libio/iopadn.c: Likewise.
64835         * libio/iopopen.c: Likewise.
64836         * libio/ioseekoff.c: Likewise.
64837         * libio/ioseekpos.c: Likewise.
64838         * libio/iosetbuffer.c: Likewise.
64839         * libio/iosetvbuf.c: Likewise.
64840         * libio/ioungetc.c: Likewise.
64841         * libio/ioungetwc.c: Likewise.
64842         * libio/iovdprintf.c: Likewise.
64843         * libio/iovsprintf.c: Likewise.
64844         * libio/iovsscanf.c: Likewise.
64845         * libio/memstream.c: Likewise.
64846         * libio/obprintf.c: Likewise.
64847         * libio/oldfileops.c: Likewise.
64848         * libio/oldiofclose.c: Likewise.
64849         * libio/oldiofdopen.c: Likewise.
64850         * libio/oldiofopen.c: Likewise.
64851         * libio/oldiopopen.c: Likewise.
64852         * libio/oldstdfiles.c: Likewise.
64853         * libio/putc.c: Likewise.
64854         * libio/setbuf.c: Likewise.
64855         * libio/setlinebuf.c: Likewise.
64856         * libio/stdfiles.c: Likewise.
64857         * libio/strops.c: Likewise.
64858         * libio/vasprintf.c: Likewise.
64859         * libio/vscanf.c: Likewise.
64860         * libio/vsnprintf.c: Likewise.
64861         * libio/vswprintf.c: Likewise.
64862         * libio/wfiledoalloc.c: Likewise.
64863         * libio/wfileops.c: Likewise.
64864         * libio/wgenops.c: Likewise.
64865         * libio/wmemstream.c: Likewise.
64866         * libio/wstrops.c: Likewise.
64867         * libio/__fpurge.c: Likewise.
64868         * libio/__fsetlocking.c: Likewise.
64869         * assert/assert.c: Likewise.
64870         * debug/fgets_chk.c: Likewise.
64871         * debug/fgets_u_chk.c: Likewise.
64872         * debug/fread_chk.c: Likewise.
64873         * debug/fread_u_chk.c: Likewise.
64874         * debug/gets_chk.c: Likewise.
64875         * debug/obprintf_chk.c: Likewise.
64876         * debug/vasprintf_chk.c: Likewise.
64877         * debug/vdprintf_chk.c: Likewise.
64878         * debug/vsnprintf_chk.c: Likewise.
64879         * debug/vsprintf_chk.c: Likewise.
64880         * malloc/mtrace.c: Likewise.
64881         * misc/error.c: Likewise.
64882         * misc/syslog.c: Likewise.
64883         * stdio-common/asprintf.c: Likewise.
64884         * stdio-common/fxprintf.c: Likewise.
64885         * stdio-common/getw.c: Likewise.
64886         * stdio-common/isoc99_fscanf.c: Likewise.
64887         * stdio-common/isoc99_scanf.c: Likewise.
64888         * stdio-common/isoc99_vfscanf.c: Likewise.
64889         * stdio-common/isoc99_vscanf.c: Likewise.
64890         * stdio-common/isoc99_vsscanf.c: Likewise.
64891         * stdio-common/printf-prs.c: Likewise.
64892         * stdio-common/printf_fp.c: Likewise.
64893         * stdio-common/printf_fphex.c: Likewise.
64894         * stdio-common/printf_size.c: Likewise.
64895         * stdio-common/putw.c: Likewise.
64896         * stdio-common/scanf.c: Likewise.
64897         * stdio-common/sprintf.c: Likewise.
64898         * stdio-common/tmpfile.c: Likewise.
64899         * stdio-common/vfprintf.c: Likewise.
64900         * stdio-common/vfscanf.c: Likewise.
64901         * stdlib/strfmon_l.c: Likewise.
64902         * sunrpc/openchild.c: Likewise.
64903         * sunrpc/xdr_stdio.c: Likewise.
64904         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64905         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64907 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64909         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64911         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64912         in the third column, to generate for the shared library an IFUNC
64913         that uses _dl_vdso_vsym.
64914         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64915         * Makeconfig (object-suffixes-noshared): New variable.
64917         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64918         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64919         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64920         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64922         [BZ #14132]
64923         * include/sys/time.h (__gettimeofday): Remove macro.
64924         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64925         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64926         Remove INTDEF.
64927         (__gettimeofday): Add libc_hidden_def.
64928         (gettimeofday): Add libc_hidden_weak.
64929         * sysdeps/mach/gettimeofday.c: Likewise.
64930         * sysdeps/posix/gettimeofday.c: Likewise.
64931         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64932         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64933         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64934         (__gettimeofday_internal): Remove strong_alias.
64935         (__gettimeofday): Add libc_hidden_def.
64936         (gettimeofday): Add libc_hidden_weak.
64937         * sysdeps/unix/syscalls.list (gettimeofday):
64938         Remove __gettimeofday_internal alias.
64940 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64941             H.J. Lu  <hongjiu.lu@intel.com>
64943         [BZ #12495]
64944         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64945         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64946         (largebin_index_32_big): New.
64947         (largebin_index): Use it for 16-byte alignment.
64948         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64949         correction with front_misalign.
64951 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64955         Likewise.
64956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64957         Likewise.
64958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64959         Likewise.
64960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64961         Likewise.
64962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64963         Likewise.
64964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64965         Likewise.
64966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64967         Likewise.
64968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64969         Likewise.
64970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64971         Likewise.
64972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64973         Likewise.
64974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64975         Likewise.
64976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64977         Likewise.
64979         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64980         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64982 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64984         [BZ #10846]
64985         [BZ #14036]
64986         * math/libm-test.inc (exp_test): Add test from bug 14036.
64987         (pow_test): Add test from bug 10846.
64989         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64990         and other flags.
64991         (special_function): Do not include flags in test name.
64992         (parse_args): Likewise.
64993         * sysdeps/i386/fpu/libm-test-ulps: Update.
64994         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64995         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64996         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64999         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65000         exceptions.
65001         * math/libm-test.inc ("Philosophy"): Update comment about
65002         exception testing.
65003         (UNDERFLOW_EXCEPTION): New macro.
65004         (UNDERFLOW_EXCEPTION_OK): Likewise.
65005         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65006         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65007         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65008         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65009         (INVALID_EXCEPTION_OK): Update value.
65010         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65011         (OVERFLOW_EXCEPTION_OK): Likewise.
65012         (IGNORE_ZERO_INF_SIGN): Likewise.
65013         (test_exceptions): Handle underflow exceptions.
65014         (acos_test): Update for underflow exception expectations.
65015         (cexp_test): Likewise.
65016         (clog_test): Likewise.
65017         (clog10_test): Likewise.
65018         (csqrt_test): Likewise.
65019         (ctan_test): Likewise.
65020         (ctanh_test): Likewise.
65021         (exp_test): Likewise.
65022         (exp10_test): Likewise.
65023         (exp2_test): Likewise.
65024         (expm1_test): Likewise.
65025         (fma_test): Likewise.
65026         (j0_test): Likewise.
65027         (jn_test): Likewise.
65028         (nexttoward_test): Likewise.
65029         (pow_test): Likewise.
65030         (scalbn_test): Likewise.
65031         (scalbln_test): Likewise.
65032         (tan_test): Likewise.
65033         (y1_test): Likewise.
65034         * sysdeps/i386/fpu/libm-test-ulps: Update.
65035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65037 2012-05-23  David S. Miller  <davem@davemloft.net>
65039         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65040         (__libc_sigaction): Remove unused local variables.
65042 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65044         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65046 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65048         mktime: avoid signed integer overflow
65049         * time/mktime.c (__mktime_internal): Do not mishandle the case
65050         where diff == INT_MIN.
65052         mktime: simplify computation of average
65053         * time/mktime.c (ranged_convert): Use new time_t_avg function
65054         instead of rolling our own (probably-slower) code.
65056         mktime: do not assume signed right shift propagates sign bit
65057         * time/mktime.c (isdst_differ): New static function.
65058         (__mktime_internal): No need to normalize tm_isdst now.
65059         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65060         tm_isdst values.
65062         mktime: merge another wrapv change from gnulib
65063         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65064         from some compilers.
65066         mktime: remove incorrect attempt at unusual arithmetics
65067         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65068         The code didn't really work on such machines anyway.
65069         (TYPE_MINIMUM): Assume two's complement.
65070         (twos_complement_arithmetic): Verify that long_int and time_t
65071         are two's complement (or unsigned, in the latter case).
65073         mktime: check signed shifts on long_int and time_t, too
65074         * time/mktime.c (SHR): Check that shifts work as desired
65075         on the types long_int and time_t too, as SHR is used on
65076         such types.
65078         mktime: do not assume 'long' is wide enough
65079         * time/mktime.c (verify): Move decl up.
65080         (long_int): New type.
65081         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65082         to remove assumption in the code that 'long' is wide enough to
65083         store year values.  This assumption is not true on x32 and on
65084         some non-glibc platforms.
65086         mktime: merge wrapv change from gnulib
65087         * time/mktime.c (WRAPV): New macro.
65088         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65089         (guess_time_tm, __mktime_internal): Do not assume that signed
65090         integer overflow wraps around; modern compilers generate code
65091         where this assumption is no longer valid.
65093 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65095         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65096         Replace "jmp L(pseudo_end)" with "ret".
65097         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65098         Likewise.
65100 2012-05-23  Andreas Jaeger  <aj@suse.de>
65102         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65103         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65105 2012-05-23  Andreas Jaeger  <aj@suse.de>
65106             Maximilian Attems  <max@stro.at>
65108         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65109         New macros.
65111 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65113         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65114         code so that pseudo_end is just ret and the stack pointer is
65115         correct also for static library in error case.
65117 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65119         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65120         move to syscalls.list.
65121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65126         * manual/install.texi (Running make install): Do not mention Linux
65127         kernel version for which pt_chown is not needed.
65128         (Linux): Do not mention problems with nscd with 2.0 kernels.
65129         * INSTALL: Regenerated.
65131 2012-05-23  Andreas Jaeger  <aj@suse.de>
65133         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65134         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65135         macro.
65136         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65137         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65138         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65139         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65140         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65141         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65142         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65143         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65144         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65145         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65146         * sysdeps/unix/sysv/linux/bits/in.h
65147         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65149 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65151         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65152         (PREPARE_VERSION): Just use assert instead, it will be elided
65153         under [NDEBUG] anyway.
65155 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65157         * sysdeps/unix/sysv/linux/Makefile: Include
65158         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65159         (sysdep_routines): Remove sysctl.
65160         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65161         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65162         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65163         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65164         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65166 2012-05-22  Andreas Jaeger  <aj@suse.de>
65168         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65169         that pseudo_end is just ret and the stack pointer is correct also
65170         for static library in error case.
65172 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65174         [BZ #14122]
65175         * nss/nsswitch.c (defconfig_entries): New variable.
65176         (__nss_database_lookup): Don't leak defconfig entries.
65177         (nss_parse_service_list): Don't leak on error paths.
65178         (free_database_entries): New function.
65179         (free_defconfig): New function.
65180         (free_mem): Move common code to free_database_entries.
65182 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65184         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65185         Add arch_prctl.
65186         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65188         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65189         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65190         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65191         New macro.
65192         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65193         (INTERNAL_SYSCALL_TYPES): Likewise.
65194         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65195         (LOAD_REGS_TYPES_[1-6]): Likewise.
65196         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65197         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65199 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65201         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65202         copysignl for GLIBC_2_0.
65203         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65204         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65205         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65206         logbl for GLIBC_2_0.
65207         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65208         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65210 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65212         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65213         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65215         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65216         Use "neg %eax".
65218         * time/mktime.c: Update copyright years.
65220 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65222         mktime: merge comment-quoting-style change from gnulib
65223         * time/mktime.c: Quote 'like this' in comments.
65224         The GNU coding standards suggest that we no longer quote `like this',
65225         as "`" and "'" are typically rendered asymmetrically nowadays.
65226         The typical gnulib style is to quote 'like this' when quoting
65227         code, and "like this" when quoting English.
65229         * time/mktime.c (compile-command): Add "-I.".
65231         mktime: merge mktime-internal.h change from gnulib
65232         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65234         mktime: merge time_r change from gnulib
65235         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65237         mktime: merge DEBUG change from gnulib
65238         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65239         case system <time.h> has a #define.
65241         mktime: merge <sys/types.h> change from gnulib
65242         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65243         since <time.t> is now guaranteed to define time_t.
65245         mktime: merge HAVE_CONFIG_H change from gnulib
65246         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65248 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65250         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65251         Use "neg %eax".
65253         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65254         __rlim_t cast.
65255         (struct rusage): Use anonymous union to pad each field to
65256         __syscall_slong_t.
65258 2012-05-21  David S. Miller  <davem@davemloft.net>
65260         * Makefules (o-iterator): Remove .s cases.
65261         (compile-command.s): Delete.
65262         (COMPILE.s): Delete.
65263         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65265 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65267         * configure.in (libc_cv_predef_stack_protector): Only consider
65268         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65269         * configure: Regenerated.
65271 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65273         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65274         New macro.  Use R*LP on int and pointer.
65275         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65276         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65277         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65278         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65280         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65281         [__WORDSIZE_TIME64_COMPAT32] instead of
65282         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65283         (struct utmp): Likewise.
65284         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65285         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65286         Renamed to ...
65287         (__WORDSIZE_TIME64_COMPAT32): This.
65288         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65289         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65290         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65291         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65292         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65293         (__WORDSIZE_TIME64_COMPAT32): New macro.
65295 2012-05-21  Andreas Jaeger  <aj@suse.de>
65297         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65298         only if [SHARED]. Add prototype for __wcschr_ia32.
65300 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65302         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65303         of %rbp unmolested in the jmp_buf while mangling the low bits.
65304         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65305         unmolested high bits of %rbp while demangling the low bits.
65306         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65308 2012-05-21  Andreas Jaeger  <aj@suse.de>
65310         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65311         * sunrpc/svc_simple.c: Use it for registerrpc.
65312         * sunrpc/xcrypt.c: Use it for passwd2des.
65314         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65316 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65318         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65319         Don't define if [__SYSCALL_WORDSIZE != 32].
65320         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65321         New macro.
65323 2012-05-21  Bruno Haible  <bruno@clisp.org>
65324             Andreas Jaeger  <aj@suse.de>
65326         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65327         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65328         inptr and inend for must_buffer_ch.
65329         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65330         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65331         * stdio-common/Makefile (tests): Remove bug15.
65332         (bug15-ENV): Remove macro.
65333         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65334         anymore.
65336 2012-05-19  Andreas Jaeger  <aj@suse.de>
65337             Roland McGrath  <roland@hack.frob.com>
65339         * manual/contrib.texi: Completely rewritten. It contains now an
65340         alphabetical list of contributors and their contributions.
65342 2012-05-21  Richard Henderson  <rth@twiddle.net>
65344         * misc/getauxval.c (__getauxval): Use unsigned long int.
65345         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65346         (getauxval): Use unsigned long int.
65348 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65350         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65352 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65354         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65355         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65356         __alignof__ (long double).
65358 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65362 2012-05-20  Richard Henderson  <rth@twiddle.net>
65364         * misc/getauxval.c: New file.
65365         * misc/sys/auxv.h: New file.
65366         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65367         (routines): Add getauxval.
65368         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65369         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65370         * elf/dl-sysdep.c (_dl_auxv): Remove.
65371         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65372         * elf/dl-support.c (_dl_auxv): New variable.
65373         (_dl_aux_init): Initialize it.
65374         * manual/startup.texi (Auxiliary Vector): New node.
65375         * sysdeps/generic/bits/hwcap.h: New file.
65376         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65377         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65378         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65379         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65380         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65381         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65383         Update.
65384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65387         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65393 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65397 2012-05-19  David S. Miller  <davem@davemloft.net>
65399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65401 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65403         [BZ #14123]
65404         * math/s_ccosh.c: Include <float.h>
65405         (__ccosh): Avoid internal overflow calculating sinh and cosh
65406         values before multiplying by sin and cos values.
65407         * math/s_ccoshf.c: Likewise.
65408         * math/s_ccoshl.c: Likewise.
65409         * math/s_csin.c: Likewise.
65410         * math/s_csinf.c: Likewise.
65411         * math/s_csinl.c: Likewise.
65412         * math/s_csinh.c: Likewise.
65413         * math/s_csinhf.c: Likewise.
65414         * math/s_csinhl.c: Likewise.
65415         * math/libm-test.inc (ccos_test): Add more tests.
65416         (ccosh_test): Likewise.
65417         (csin_test): Likewise.
65418         (csinh_test): Likewise.
65419         * sysdeps/i386/fpu/libm-test-ulps: Update.
65420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65422 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65424         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65425         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65427         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65429 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65431         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65432         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65433         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65434         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65435         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65436         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65437         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65438         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65439         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65440         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65441         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65442         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65443         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65444         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65445         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65446         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65447         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65448         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65449         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65450         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65451         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65452         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65453         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65454         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65455         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65456         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65457         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65458         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65459         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65460         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65461         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65463 2012-05-18  Andreas Jaeger  <aj@suse.de>
65465         * csu/.gitignore: Delete.
65467 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65469         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65470         (timex): Use __syscall_slong_t.
65472 2012-05-18  Andreas Jaeger  <aj@suse.de>
65473             Carlos O'Donell  <carlos_odonell@mentor.com>
65475         * manual/install.texi (Configuring and compiling): Update
65476         description about files modified in the source directory.
65477         * INSTALL: Regenerated.
65479 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65481         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65482         value.  Use "or" to set return value to -1.
65483         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65484         negate return value.
65486 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65488         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65489         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65490         failure if the compiler has Graphite support disabled.
65491         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65492         Likewise.
65493         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65494         (CFLAGS-memmove.c): Likewise.
65495         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65496         Likewise.
65498 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65500         * sysdeps/x86_64/x32/_itoa.h: New file.
65502         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65503         getdents system call only if kernel and user dirents have the
65504         same d_ino and d_off.
65506         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65507         LLONG_MAX != LONG_MAX.
65508         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65509         (_fitoa_word): Likewise.
65511         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65512         years.
65513         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65514         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65515         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65517         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65518         include <bits/wordsize.h>.  Check __x86_64__ instead of
65519         __WORDSIZE.
65520         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65521         if __x86_64__ is defined.  Use anonymous union on fpstate.
65523         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65524         anonymous union.
65526 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65528         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65529         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65530         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65531         Refer to _rtld_local_ro instead of _rtld_global_ro.
65532         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65533         Likewise.
65534         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65535         Likewise.
65536         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65537         Likewise.
65538         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65539         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65540         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65542         [BZ #10882]
65543         * sysdeps/powerpc/powerpc32/dl-machine.c
65544         (__elf_machine_runtime_setup) [PROF]: Don't reference
65545         _dl_prof_resolve.
65547 2012-05-18  Andreas Jaeger  <aj@suse.de>
65549         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65550         function only available for GCCs before 3.4 since GCC 3.4
65551         introduced a builtin.
65552         (lrint): Likewise.
65553         (llrintf): Likewise.
65554         (llrint): Likewise.
65555         (fmaxf): Likewise.
65556         (fmax): Likewise.
65557         (fminf): Likewise.
65558         (fmin): Likewise.
65559         (rint): Likewise.
65560         (rintf): Likewise.
65561         (nearbyint): Likewise.
65562         (nearbyintf): Likewise.
65563         (ceil): Likewise.
65564         (ceilf): Likewise.
65565         (floor): Likewise.
65566         (floorf): Likewise.
65568 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65570         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65571         on both fields and cast pointer to __syscall_ulong_t.
65573         * bits/types.h (__fsword_t): New type.
65574         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65575         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65576         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65577         (__FSWORD_T_TYPE): Likewise.
65578         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65579         (__FSWORD_T_TYPE): Likewise.
65580         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65581         (__FSWORD_T_TYPE): Likewise.
65582         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65583         (__FSWORD_T_TYPE): Likewise.
65584         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65585         __SWORD_TYPE with __fsword_t.
65586         (statfs64): Likewise.
65588 2012-05-17  David S. Miller  <davem@davemloft.net>
65590         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65592 2012-05-17  Andreas Jaeger  <aj@suse.de>
65594         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65595         warning.
65597 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65599         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65601 2012-05-17  Andreas Jaeger  <aj@suse.de>
65603         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65604         when it is used.
65606 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65608         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65610 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65612         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65613         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65615 2012-05-17  Andreas Jaeger  <aj@suse.de>
65616             Carlos O'Donell  <carlos_odonell@mentor.com>
65618         [BZ #14059]
65619         * sysdeps/x86_64/multiarch/init-arch.h
65620         (bit_YMM_Usable): Rename to...
65621         (bit_AVX_Usable): ... this.
65622         (bit_FMA4_Usable): New macro.
65623         (bit_XMM_state): New macro.
65624         (bit_YMM_state): New macro.
65625         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65626         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65627         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65628         (CPUID_OSXSAVE): New macro.
65629         (CPUID_AVX): New macro.
65630         (CPUID_FMA4): New macro.
65631         (index_YMM_Usable): Rename to...
65632         (index_AVX_Usable): ... this.
65633         (HAS_AVX): Use HAS_ARCH_FEATURE.
65634         (HAS_FMA4): Likewise.
65635         (HAS_YMM_USABLE): Remove.
65636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65637         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65638         are present.
65639         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65640         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65641         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65642         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65643         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65645 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65647         * math/libm-test.c: Support platforms without multiple rounding modes.
65648         * math/bug-nextafter.c: Support platforms without FP exceptions.
65649         * math/bug-nexttoward.c: Likewise.
65650         * math/test-fenv.c: Likewise.
65651         * math/test-misc.c: Likewise.
65652         * stdlib/bug-getcontext.c: Likewise.
65654 2012-05-17  Andreas Jaeger  <aj@suse.de>
65656         * manual/examples/search.c (critter_cmp): Change signature to
65657         avoid warnings.
65658         * manual/string.texi (Collation Functions): Likewise.
65660 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65662         * bits/types.h: Fold copyright years.
65663         * bits/typesizes.h: Likewise.
65664         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65665         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65666         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65667         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65668         * time/time.h: Likewise.
65670 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65672         [BZ #208]
65673         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65674         in instead of returning them.  Return void.
65675         (__libc_mallinfo): Accumulate over all arenas.
65676         (__malloc_stats): Adjust for change in int_mallinfo interface.
65678 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65680         [BZ #10375]
65681         * configure.in (NM): Add AC_CHECK_TOOL for it.
65682         (libc_extra_cflags): New substituted variable.
65683         Check for -fstack-protector being used implicitly.
65684         * configure: Regenerated.
65685         * config.make.in (config-extra-cflags): New variable,
65686         gets @libc_extra_cflags@.
65687         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65689         [BZ #10375]
65690         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65691         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65692         * configure: Regenerated.
65693         * config.make.in (CPPUNDEFS): New substituted variable.
65694         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65695         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65696         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65698 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65700         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65701         (mq_attr): Use __syscall_slong_t.
65703 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65705         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65706         Check __x86_64__ instead of __WORDSIZE.
65707         (_STAT_VER_LINUX): Likewise.
65708         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65709         __syscall_ulong_t and __syscall_slong_t.
65710         (stat64): Likewise.
65712 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65714         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65716 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65718         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65720 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65722         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65723         __syscall_ulong_t.
65725         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65726         include <bits/wordsize.h>.  Check __x86_64__ instead of
65727         __WORDSIZE.
65728         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65729         defined.
65730         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65732         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65733         include <bits/wordsize.h>.  Check __x86_64__ instead of
65734         __WORDSIZE.
65735         (user_regs_struct): Use "__extension__ unsigned long long"
65736         instead of "unsigned long" if __x86_64__ is defined.
65737         (user): Likewise.  Pad after pointer field if __ILP32__ is
65738         defined.
65740 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65742         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65743         versions 5 to 9.
65744         * configure: Regenerated.
65745         * manual/install.texi (texinfo): Increase version requirement to
65746         4.5 or later.
65747         * INSTALL: Regenerated.
65749         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65751 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65753         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65755         * sysdeps/x86_64/x32/ffs.c: New file.
65757         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65758         __syscall_ulong_t.
65759         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65760         defined.  Use __syscall_ulong_t.
65761         (shminfo): Use __syscall_ulong_t.
65762         (shm_info): Likewise.
65764         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65765         __syscall_ulong_t.
65767         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65768         <bits/wordsize.h>.
65769         (msgqnum_t): Use __syscall_ulong_t.
65770         (msglen_t): Likewise.
65771         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65772         __syscall_ulong_t.
65774         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65775         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65777         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65779         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65780         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65782         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65783         __syscall_slong_t.
65785         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65786         include <bits/wordsize.h>.  Check __x86_64__ instead of
65787         __WORDSIZE.
65789         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65790         "unsigned long long int" if __x86_64__ is defined.
65791         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65793         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65794         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65795         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65797         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65798         <stdint.h>.
65799         (GET_PC): Cast to uintptr_t first.
65800         (GET_FRAME): Likewise.
65801         (GET_STACK): Likewise.
65803         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65804         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65805         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65806         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65807         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65808         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65809         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65810         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65811         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65812         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65813         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65814         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65815         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65816         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65817         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65818         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65819         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65820         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65821         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65822         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65823         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65824         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65825         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65826         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65827         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65828         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65829         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65830         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65831         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65833 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65835         * Makerules (+depfiles): Also collect depfiles from .oS in
65836         $(extra-objs).
65837         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65838         .oS, $(libnldbl-routines)).
65840         * Makerules (native-compile-mkdep-flags): Define.
65841         * sunrpc/Makefile (extra-objs): Add $(addprefix
65842         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65843         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65844         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65845         calling $(make-target-directory).
65847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65849         * bits/types.h (__snseconds_t): Removed.
65850         * time/time.h (struct timespec): Replace __snseconds_t with
65851         __syscall_slong_t.
65852         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65853         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65854         Likewise.
65855         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65856         (__SNSECONDS_T_TYPE): Likewise.
65857         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65858         (__SNSECONDS_T_TYPE): Likewise.
65859         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65860         (__SNSECONDS_T_TYPE): Likewise.
65862 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65864         * sysdeps/mach/hurd/bits/typesizes.h
65865         (__SYSCALL_SLONG_TYPE): New macro.
65866         (__SYSCALL_ULONG_TYPE): Likewise.
65868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65870         * bits/types.h (__syscall_slong_t): New type.
65871         (__syscall_ulong_t): Likewise.
65873         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65874         (__SYSCALL_ULONG_TYPE): Likewise.
65875         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65876         (__SYSCALL_SLONG_TYPE): Likewise.
65877         (__SYSCALL_ULONG_TYPE): Likewise.
65878         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65879         (__SYSCALL_SLONG_TYPE): Likewise.
65880         (__SYSCALL_ULONG_TYPE): Likewise.
65881         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65882         (__SYSCALL_SLONG_TYPE): Likewise.
65883         (__SYSCALL_ULONG_TYPE): Likewise.
65885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65887         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65888         Add sigaltstack-offsets.sym.
65889         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65890         <sigaltstack-offsets.h>.
65891         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65892         longjmp_msg pointer.
65893         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65894         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65895         signal stack.
65896         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65898 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65900         * elf/stackguard-macros.h: Remove file.
65901         * sysdeps/generic/stackguard-macros.h: New file.
65902         * sysdeps/i386/stackguard-macros.h: Likewise.
65903         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65904         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65905         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65906         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65907         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65908         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65909         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65910         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65911         <elf/stackguard-macros.h>.
65913         [BZ #14109]
65914         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65915         __aligned__ in attribute.
65916         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65917         (gregset_t): Likewise.
65919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65921         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65922         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65923         * sysdeps/x86_64/x32/Implies-after: New file.
65925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65927         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65928         and access return value for _dl_profile_fixup.  Use R10_LP to
65929         load frame size.
65931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65933         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65937         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65938         * sysdeps/x86_64/x32/sysdep.h: New file.
65940 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65942         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65943         * sysdeps/x86_64/setjmp.S: Likewise.
65945 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65947         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65948         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65949         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65950         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65951         remove unused global constant.
65953 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65955         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65956         include of <not-cancel.h>.
65958 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65960         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65962 2012-05-15  Jeff Law  <law@redhat.com>
65963             Andreas Jaeger  <aj@suse.de>
65965         [BZ #13594]
65966         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65967         out from...
65968         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65969         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65970         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65971         code changing __hst_map_handle.map.
65973 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65975         * configure.in (sysnames): Look for Implies-before and Implies-after
65976         files.
65977         * configure: Regenerated.
65979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65981         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65982         8-byte data alignment with LP_SIZE alignment.
65984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65986         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65987         into R10_LP.
65989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65991         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65995         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65996         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65997         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65998         Likewise.
65999         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66003         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66004         (stackinfo_sub_sp): Likewise.
66006 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66008         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66009         RAX_LP.
66011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66013         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66014         into R*_LP.
66016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66018         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66019         sizes into R*_LP.
66021 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66023         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66025 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66027         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66028         into R11_LP and load __x86_64_shared_cache_size_half into
66029         R8_LP.
66031 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66033         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66034         R8_LP.
66036 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66038         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66039         logb for POWER7.
66040         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66041         logbf for POWER7.
66042         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66043         logbl for POWER7.
66044         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66045         powerpc32/power7/fpu/s_logb.c via #include.
66046         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66047         powerpc32/power7/fpu/s_logbf.c via #include.
66048         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66049         powerpc32/power7/fpu/s_logbl.c via #include.
66051 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66053         * README.libm: Remove file.
66055 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66057         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66058         count for x32.  Use R*_LP and omit operand-size suffix.
66060 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66062         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66063         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66064         * sysdeps/x86_64/x32/shlib-versions: New file.
66066 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66068         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66069         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66070         Use _dl_fatal_printf instead.
66072 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66074         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66075         set if not set by the user.  Do not allow for being unset.
66076         * sysdeps/unix/sysv/linux/configure: Regenerated.
66078 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66080         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66081         the `q' suffix from lea and replace .quad with ASM_ADDR.
66083 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66085         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66086         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66087         instead of $17.
66088         (PTR_DEMANGLE): Likewise.
66090 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66092         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66093         (LP_OP): Likewise.
66094         (ASM_ADDR): Likewise.
66095         (RAX_LP): Likewise.
66096         (RBP_LP): Likewise.
66097         (RBX_LP): Likewise.
66098         (RCX_LP): Likewise.
66099         (RDI_LP): Likewise.
66100         (RSI_LP): Likewise.
66101         (RSP_LP): Likewise.
66102         (R8_LP): Likewise.
66103         (R9_LP): Likewise.
66104         (R10_LP): Likewise.
66105         (R10_LP): Likewise.
66106         (R11_LP): Likewise.
66107         (R12_LP): Likewise.
66108         (R13_LP): Likewise.
66109         (R14_LP): Likewise.
66110         (R15_LP): Likewise.
66112 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66114         * sysdeps/x86_64/x32/dl-machine.h: New file.
66116 2012-05-14  Andreas Jaeger  <aj@suse.de>
66118         * manual/Makefile (subdir): Remove export of subdir.
66119         (all): Remove target.
66120         (.PHONY): Remove all from list.
66121         (mkinstalldirs): Remove.
66122         (.PHONY): Remove installdirs from list.
66123         ($(inst_infodir)/libc.info): Use make-target-directory.
66124         (installdirs): Remove.
66125         (subdir_%): Remove.
66126         (glibc-targets): Remove.
66127         (lib): Remove.
66128         (stubs): Remove.
66129         ($(objpfx)stubs ../po/manual.pot): Remove.
66130         ($(objpfx)stamp%): Remove.
66131         (make-target-directory): Remove.
66132         (subdir_install): Remove.
66133         (routines): Remove.
66134         (aux): Remove.
66135         (sources): Remove.
66136         (objects): Remove.
66137         (headers): Remove.
66139         [BZ #13750]
66140         * manual/.gitignore: Remove, it's not needed anymore.
66141         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66142         all files in it.
66143         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66144         directory.
66145         (texis): Renamed to $(objpfx)texis.
66146         (texis-path): New, contains path to generated files.
66147         (chapters.%): Use texis-path for complete path, add extra argument
66148         libc-texinfo.sh.
66149         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66150         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66151         (summary,texi, stamp-summary): Use complete path of
66152         files. Generate files in build dir.
66153         (dir-add.texi): Build in build dir.
66154         (libm-err.texi,stamp-libm-err): Likewise.
66155         (version.texi, stamp-version): Likewise.
66156         (.%c.texi): Likewise.
66157         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66158         (mostlyclean): Remove target.
66159         (realclean): Remove target.
66160         (generated): Add new variable with contents from mostlyclean and
66161         realclean, remove entries duplicated in common-mostlyclean, add
66162         stamp-libm-err and stamp-version.
66163         (generated-dirs): Add libc directory.
66164         ($(inst_infodir)/libc.info): Install files from build dir.
66166         * manual/install.texi (Configuring and compiling): Adjust since
66167         the info files are not part of the tar ball anymore.
66169 2012-05-14  Andreas Jaeger  <aj@suse.de>
66171         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66172         variable.
66174 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66176         [BZ #13717]
66177         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66178         to 2.2.0 where earlier.
66179         * sysdeps/unix/sysv/linux/configure: Regenerated.
66180         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66181         Remove conditional code.
66182         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66183         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66184         Remove conditional code.
66185         [!__NR_lchown]: Likewise.
66186         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66187         [__NR_lchown]: Likewise.
66188         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66189         comment referencing __ASSUME_LCHOWN_SYSCALL.
66190         * sysdeps/unix/sysv/linux/i386/sigaction.c
66191         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66192         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66193         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66194         Remove conditional code.
66195         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66196         (__protocol_available): Remove #if 0 code.
66197         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66198         conditional code.
66199         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66200         * sysdeps/unix/sysv/linux/kernel-features.h
66201         (__ASSUME_GETCWD_SYSCALL): Don't define.
66202         (__ASSUME_REALTIME_SIGNALS): Likewise.
66203         (__ASSUME_PREAD_SYSCALL): Likewise.
66204         (__ASSUME_PWRITE_SYSCALL): Likewise.
66205         (__ASSUME_POLL_SYSCALL): Likewise.
66206         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66207         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66208         non-SPARC.
66209         (__ASSUME_SIOCGIFNAME): Don't define.
66210         (__ASSUME_MSG_NOSIGNAL): Likewise.
66211         (__ASSUME_SENDFILE): Define unconditionally.
66212         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66213         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66214         conditional code.
66215         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66216         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66217         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66218         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66219         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66220         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66221         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66223         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66224         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66226         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66227         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66229         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66230         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66232         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66233         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66235         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66236         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66238         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66239         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66241         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66242         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66244         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66245         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66246         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66247         Remove conditional code.
66248         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66249         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66250         Remove conditional code.
66251         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66252         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66253         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66254         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66255         Remove conditional code.
66256         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66257         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66258         Remove conditional code.
66259         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66260         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66261         Remove conditional code.
66262         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66263         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66264         Remove conditional code.
66265         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66266         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66267         Remove conditional code.
66268         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66269         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66270         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66271         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66272         * sysdeps/unix/sysv/linux/sigaction.c
66273         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66274         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66275         * sysdeps/unix/sysv/linux/sigpending.c
66276         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66277         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66278         * sysdeps/unix/sysv/linux/sigprocmask.c
66279         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66280         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66281         * sysdeps/unix/sysv/linux/sigsuspend.c
66282         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66283         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66284         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66285         (__libc_missing_rt_sigs): Remove.
66286         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66287         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66288         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66289         Remove conditional code.
66290         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66291         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66292         return 1.
66293         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66294         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66295         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66296         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66298 2012-05-14  Andreas Jaeger  <aj@suse.de>
66300         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66301         it's not used in glibc.
66302         (__coshm1): Likewise.
66303         (__acosh1p): Likewise.
66304         (__sgn): Likewise.
66306         * manual/string.texi (Copying and Concatenation): Add missing
66307         variable in concat example.
66308         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66310 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66312         [BZ #14103]
66313         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66314         __builtin_clzl with __builtin_clzll.
66316 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66318         [BZ #14104]
66319         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66320         libc_freeres_ptr.
66322 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66324         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66325         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66326         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66327         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66329 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66331         * NEWS: Update ia64 info.
66333 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66335         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66336         used as bcopy.
66338 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66340         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66341         * sysdeps/unix/syscalls.list (dup3): Likewise.
66342         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66343         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66345 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66347         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66348         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66350 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66352         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66353         thread pointer.
66354         (TLS_IE): Use mov/add instead of movq/addq to load thread
66355         pointer.
66356         (TLS_GD_PREFIX): New.
66357         (TLS_GD): Use it.
66359 2012-05-11  David S. Miller  <davem@davemloft.net>
66361         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66362         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66363         (_FPU_SETCW): Likewise.
66365 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66367         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66368         is 32-byte aligned.
66370 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66372         [BZ #11837]
66373         * iconvdata/gb18030.c: Update tables.
66374         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66375         characters specially.
66376         (BODY for TO_LOOP): Add encoding of missing ranges.
66378 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66380         [BZ #13673]
66381         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66382         * sysdeps/mach/hurd/dup3.c: Likewise.
66383         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66384         * sysdeps/powerpc/memmove.c:: Likewise.
66386 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66388         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66389         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66391 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66393         * elf/elf.h (R_X86_64_RELATIVE64): New.
66394         (R_X86_64_NUM): Updated.
66395         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66396         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66397         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66398         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66399         tst-quad1pie tst-quad2pie
66400         (modules-names): Add tst-quadmod1 tst-quadmod2.
66401         ($(objpfx)tst-quad1): New dependency.
66402         ($(objpfx)tst-quad2): Likewise.
66403         ($(objpfx)tst-quad1pie): Likewise.
66404         ($(objpfx)tst-quad2pie): Likewise.
66405         * sysdeps/x86_64/tst-quad1.c: New file.
66406         * sysdeps/x86_64/tst-quad1pie.c: New file.
66407         * sysdeps/x86_64/tst-quad2.c: Likewise.
66408         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66409         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66410         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66411         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66412         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66414 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66416         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66417         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66418         * streams/stropts.h (t_scalar_t): Define type.
66420         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66421         (_PATH_PRESERVE): Set to "/var/lib".
66422         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66424         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66425         instead of int.
66427         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66428         if __dir_mkfile succeeded.
66430         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66431         checking for _hurd_dtablesize.  Unlock it right after having
66432         finished _hurd_dtable allocation.
66434 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66436         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66437         * sysdeps/mach/hurd/configure: Regenerated.
66438         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66439         special-casing to...
66440         * sysdeps/gnu/configure.in: ... this new file.
66441         * sysdeps/unix/sysv/linux/configure: Regenerated.
66442         * sysdeps/gnu/configure: New generated file.
66444         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66445         for Linux: use nsec instead of usec, as well as:
66446         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66447         members of type struct timespec.
66448         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66449         New macros.
66450         (struct stat64): Likewise.
66451         (_STATBUF_ST_NSEC): New macro.
66452         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66454         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66455         __strtoul_internal rather than strtoul.
66457 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66459         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66460         and reject them.
66462 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66464         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66465         which preserves existing values.
66466         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66468 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66470         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66471         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66472         greater than FD_SETSIZE.
66474 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66476         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66477         allocated, call __vm_protect to finish enabling the existing space, and
66478         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66479         allocate the remainder.
66481 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66483         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66484         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66486 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66488         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66489         sysdeps/mach/hurd/readlink.c.
66491         * posix/tst-sysconf.c (posix_options): Only use
66492         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66493         _POSIX_SYNCHRONIZED_IO when they are defined
66494         * sysdeps/mach/hurd/bits/posix_opt.h:
66495         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66496         (_XOPEN_REALTIME): Undefine macro.
66497         (_XOPEN_REALTIME_THREADS): Undefine macro.
66498         (_XOPEN_SHM): Undefine macro.
66499         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66500         macro to -1.
66501         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66502         macro to -1.
66503         (_POSIX_ASYNC_IO): Undefine macro.
66504         (_POSIX_PRIORITIZED_IO): Undefine macro.
66505         (_POSIX_SPIN_LOCKS): Define macro to -1.
66507         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66508         SA_NODEFER, SA_RESETHAND.
66509         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66510         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66511         F_DUPFD_CLOEXEC.
66513 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66515         * elf/Makefile (pldd-modules): Define unconditionally.
66517 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66519         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66521 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66523         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66524         Return ENOENT when name is empty.
66525         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66527 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66529         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66531         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66533 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66535         Fix mlock in all cases except non-readable pages.
66536         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66537         instead of VM_PROT_ALL as parameter to __vm_wire function.
66539         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66540         (__mkdir): When path is `/', just fail with EEXIST.
66541         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66545         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66546         <sys/uio.h> (for writev).
66547         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66548         and <sys/param.h> (for MIN).
66550 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66552         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66553         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66554         if interrupted.
66556 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66558         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66559         Depend on against $(link-rpcuserlibs).
66561 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66563         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66564         (__libc_stack_end): Do not use attribute_relro.
66565         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66566         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66567         to libthread-provided value.
66568         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66569         attribute_relro.
66571 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66573         [BZ #3748]
66574         * bits/libc-lock.h (__libc_once_get): New macro.
66575         * sysdeps/mach/bits/libc-lock.h: Likewise.
66576         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66577         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66578         instead of using implementation details.
66580         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66581         * libio/freopen.c: Likewise.
66582         * libio/freopen64.c: Likewise.
66583         * misc/syslog.c: Likewise.
66584         * nscd/connections.c: Likewise.
66585         * nscd/netgroupcache.c: Likewise.
66586         * sysdeps/posix/getcwd.c: Likewise.
66588 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66590         * math/w_ilogbf.c: Add #include <limits.h>.
66592 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66594         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66595         path instead of returning without unlocking.
66597         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66598         immediate-write ioctls.
66599         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66601 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66603         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66604         __builtin_frame_address instead of making assumptions about the
66605         location of the return address relative to DATA.  Force early load of
66606         the return address.
66607         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66608         __builtin_frame_address.
66610         dup3 for GNU Hurd.
66611         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66612         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66613         implement dup3 and do some further code clean-ups.
66614         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66615         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66617 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66619         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66621         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66622         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66623         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66624         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66625         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66626         d->port.lock.
66628         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66629         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66630         when handler == SIG_ERR, not when handler != SIG_ERR.
66632 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66634         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66635         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66636         definitions.
66638         accept4 for GNU Hurd.
66639         * include/sys/socket.h (__libc_accept4): New prototype.
66640         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66641         to implement __libc_accept4.
66642         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66643         __libc_accept4.
66644         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66646         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66647         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66648         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66649         signal-defines.sym.
66651 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66653         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66655 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66657         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66658         assertion on O_CLOEXEC flag.
66659         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66660         * hurd/intern-fd.c: Likewise.
66661         * hurd/port2fd.c: Likewise.
66663 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66665         [BZ #3906]
66666         * bits/in.h (IPV6_PKTINFO): Define new macro.
66667         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66669 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66671         [BZ #13954]
66672         [BZ #13955]
66673         [BZ #13956]
66674         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66675         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66676         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66677         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66678         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66679         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66680         * math/libm-test.inc (logb_test) : Additional logb tests.
66682 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66683             Andreas Jaeger  <aj@suse.de>
66685         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66686         * configure: Regenerated.
66687         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66688         * config.make.in (link-obsolete-rpc): New substituted variable.
66689         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66690         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66691         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66692         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66693         so that libc.a contains the symbols.
66694         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66695         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66696         * sunrpc/auth_none.c: Likewise.
66697         * sunrpc/auth_unix.c: Likewise.
66698         * sunrpc/authdes_prot.c: Likewise.
66699         * sunrpc/authuxprot.c: Likewise.
66700         * sunrpc/clnt_gen.c: Likewise.
66701         * sunrpc/clnt_perr.c: Likewise.
66702         * sunrpc/clnt_raw.c: Likewise.
66703         * sunrpc/clnt_simp.c: Likewise.
66704         * sunrpc/clnt_tcp.c: Likewise.
66705         * sunrpc/clnt_udp.c: Likewise.
66706         * sunrpc/clnt_unix.c: Likewise.
66707         * sunrpc/des_crypt.c: Likewise.
66708         * sunrpc/des_soft.c: Likewise.
66709         * sunrpc/get_myaddr.c: Likewise.
66710         * sunrpc/key_call.c: Likewise.
66711         * sunrpc/key_prot.c: Likewise.
66712         * sunrpc/netname.c: Likewise.
66713         * sunrpc/pm_getmaps.c: Likewise.
66714         * sunrpc/pm_getport.c: Likewise.
66715         * sunrpc/pmap_clnt.c: Likewise.
66716         * sunrpc/pmap_prot.c: Likewise.
66717         * sunrpc/pmap_prot2.c: Likewise.
66718         * sunrpc/pmap_rmt.c: Likewise.
66719         * sunrpc/publickey.c: Likewise.
66720         * sunrpc/rpc_cmsg.c: Likewise.
66721         * sunrpc/rpc_common.c: Likewise.
66722         * sunrpc/rpc_dtable.c: Likewise.
66723         * sunrpc/rpc_prot.c: Likewise.
66724         * sunrpc/rpc_thread.c: Likewise.
66725         * sunrpc/rtime.c: Likewise.
66726         * sunrpc/svc.c: Likewise.
66727         * sunrpc/svc_auth.c: Likewise.
66728         * sunrpc/svc_raw.c: Likewise.
66729         * sunrpc/svc_run.c: Likewise.
66730         * sunrpc/svc_tcp.c: Likewise.
66731         * sunrpc/svc_udp.c: Likewise.
66732         * sunrpc/svc_unix.c: Likewise.
66733         * sunrpc/svcauth_des.c: Likewise.
66734         * sunrpc/xcrypt.c: Likewise.
66735         * sunrpc/xdr.c: Likewise.
66736         * sunrpc/xdr_array.c: Likewise.
66737         * sunrpc/xdr_float.c: Likewise.
66738         * sunrpc/xdr_intXX_t.c: Likewise.
66739         * sunrpc/xdr_mem.c: Likewise.
66740         * sunrpc/xdr_rec.c: Likewise.
66741         * sunrpc/xdr_ref.c: Likewise.
66742         * sunrpc/xdr_sizeof.c: Likewise.
66743         * sunrpc/xdr_stdio.c: Likewise.
66745 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66747         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66748         change.  Update copyright years.
66750 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66752         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66754 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66755             Joseph Myers  <joseph@codesourcery.com>
66756             Paul Pluzhnikov  <ppluzhnikov@google.com>
66758         [BZ #14012]
66759         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66760         requiring rpcgen.
66761         [cross-compiling] (extra-libs): Likewise.
66762         [cross-compiling] (extra-libs-others): Likewise.
66763         [cross-compiling] (librpcsvc-routines): Likewise.
66764         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66765         [cross-compiling] (omit-deps): Likewise.
66766         (sunrpc-CPPFLAGS): New variable.
66767         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66768         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66769         (cross-rpcgen-objs): New variable.
66770         (extra-objs): Append $(cross-rpcgen-objs).
66771         ($(cross-rpcgen-objs)): New rule.
66772         ($(objpfx)cross-rpcgen): Likewise.
66773         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66774         comment.
66775         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66776         ($(objpfx)x%.stmp): Likewise.
66777         * sunrpc/proto.h [IS_IN_build] (_): Define.
66778         [IS_IN_build] (_libc_intl_domainname): Likewise.
66780 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66782         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66783         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66784         and R_X86_64_TPOFF64.
66786 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66788         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66789         sysdeps/unix/sysv/syscalls.list.
66790         (stime): Likewise.
66791         (utime): Likewise.
66792         * sysdeps/unix/sysv/syscalls.list: Remove file.
66794 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66796         [BZ #3440]
66797         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66798         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66799         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66800         (__LC_IDENTIFICATION): Make these macros useful in #if
66801         expressions, as required by C99.
66803 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66805         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66806         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66807         after this.
66809 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66811         * stdlib/longlong.h: Updated from GCC.
66813 2012-05-09  Andreas Jaeger  <aj@suse.de>
66815         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66816         default is first entry.
66817         (run_mode): Set type.
66818         (main): Remove informal message about syslog.
66819         (options): Fix typo.
66821         [BZ #14053]
66822         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66823         to asm.
66824         (lrint): Likewise.
66825         (llrintf): Likewise.
66826         (llrint): Likewise.
66827         (rint): Likewise.
66828         (rintf): Likewise.
66829         (nearbyint): Likewise.
66830         (nearbyintf): Likewise.
66832 2012-05-09  Andreas Jaeger  <aj@suse.de>
66833             Pedro Alves  <palves@redhat.com>
66835         * nscd/nscd.c (run_mode): Use enum.
66836         (main): Cleanup coding style issue.
66838 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66839             Andreas Jaeger  <aj@suse.de>
66841         * nscd/nscd.c (go_background): Replaced with...
66842         (run_mode): ... this.
66843         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66844         (options): Add -F --foreground.
66845         (main): Implement it.
66846         (parse_opt): Parse it.
66848 2012-05-09  Andreas Jaeger  <aj@suse.de>
66850         [BZ #14083]
66851         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66852         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66853         -Wconversion warning.
66854         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66855         Likewise.
66857 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66859         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66860         == 0.
66861         (LC_ALL): Use macro-int-constant.
66862         (LC_COLLATE): Likewise.
66863         (LC_CTYPE): Likewise.
66864         (LC_MESSAGES): Likewise.
66865         (LC_MONETARY): Likewise.
66866         (LC_NUMERIC): Likewise.
66867         (LC_TIME): Likewise.
66868         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66869         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66870         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66871         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66872         Specify type.
66873         [C99-based standards] (float_t): Expect type.
66874         [C99-based standards] (double_t): Expect type.
66875         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66876         type.
66877         [C99-based standards] (HUGE_VALL): Likewise.
66878         [C99-based standards] (INFINITY): Likewise.
66879         [C99-based standards] (NAN): Likewise.
66880         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66881         [C99-based standards] (FP_NAN): Likewise.
66882         [C99-based standards] (FP_NORMAL): Likewise.
66883         [C99-based standards] (FP_SUBNORMAL): Likewise.
66884         [C99-based standards] (FP_ZERO): Likewise.
66885         [C99-based standards] (FP_FAST_FMA): Use
66886         optional-macro-int-constant.  Specify type.  Require == 1.
66887         [C99-based standards] (FP_FAST_FMAF): Likewise.
66888         [C99-based standards] (FP_FAST_FMAL): Likewise.
66889         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66890         [C99-based standards] (FP_ILOGBNAN): Likewise.
66891         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66892         Specify type.
66893         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66894         [C99-based standards] (math_errhandling): Specify type.
66895         [ISO99 || ISO11] (signgam): Do not allow.
66896         [non-C99-based standards] (copysignf): Do not allow.
66897         [non-C99-based standards] (exp2f): Likewise.
66898         [non-C99-based standards] (log2f): Likewise.
66899         [non-C99-based standards] (modff): Allow.
66900         [non-C99-based standards] (erff): Do not allow.
66901         [non-C99-based standards] (erfcf): Likewise.
66902         [non-C99-based standards] (gammaf): Likewise.
66903         [non-C99-based standards] (hypotf): Likewise.
66904         [non-C99-based standards] (j0f): Likewise.
66905         [non-C99-based standards] (j1f): Likewise.
66906         [non-C99-based standards] (jnf): Likewise.
66907         [non-C99-based standards] (lgammaf): Likewise.
66908         [non-C99-based standards] (tgammaf): Likewise.
66909         [non-C99-based standards] (y0f): Likewise.
66910         [non-C99-based standards] (y1f): Likewise.
66911         [non-C99-based standards] (ynf): Likewise.
66912         [non-C99-based standards] (isnanf): Likewise.
66913         [non-C99-based standards] (acoshf): Likewise.
66914         [non-C99-based standards] (asinhf): Likewise.
66915         [non-C99-based standards] (atanhf): Likewise.
66916         [non-C99-based standards] (cbrtf): Likewise.
66917         [non-C99-based standards] (expm1f): Likewise.
66918         [non-C99-based standards] (ilogbf): Likewise.
66919         [non-C99-based standards] (log1pf): Likewise.
66920         [non-C99-based standards] (logbf): Likewise.
66921         [non-C99-based standards] (nextafterf): Likewise.
66922         [non-C99-based standards] (remainderf): Likewise.
66923         [non-C99-based standards] (rintf): Likewise.
66924         [non-C99-based standards] (scalbf): Likewise.
66925         [non-C99-based standards] (copysignl): Likewise.
66926         [non-C99-based standards] (exp2l): Likewise.
66927         [non-C99-based standards] (log2l): Likewise.
66928         [non-C99-based standards] (modfl): Allow.
66929         [non-C99-based standards] (erfl): Do not allow.
66930         [non-C99-based standards] (erfcl): Likewise.
66931         [non-C99-based standards] (gammal): Likewise.
66932         [non-C99-based standards] (hypotl): Likewise.
66933         [non-C99-based standards] (j0l): Likewise.
66934         [non-C99-based standards] (j1l): Likewise.
66935         [non-C99-based standards] (jnl): Likewise.
66936         [non-C99-based standards] (lgammal): Likewise.
66937         [non-C99-based standards] (tgammal): Likewise.
66938         [non-C99-based standards] (y0l): Likewise.
66939         [non-C99-based standards] (y1l): Likewise.
66940         [non-C99-based standards] (ynl): Likewise.
66941         [non-C99-based standards] (isnanl): Likewise.
66942         [non-C99-based standards] (acoshl): Likewise.
66943         [non-C99-based standards] (asinhl): Likewise.
66944         [non-C99-based standards] (atanhl): Likewise.
66945         [non-C99-based standards] (cbrtl): Likewise.
66946         [non-C99-based standards] (expm1l): Likewise.
66947         [non-C99-based standards] (ilogbl): Likewise.
66948         [non-C99-based standards] (log1pl): Likewise.
66949         [non-C99-based standards] (logbl): Likewise.
66950         [non-C99-based standards] (nextafterl): Likewise.
66951         [non-C99-based standards] (remainderl): Likewise.
66952         [non-C99-based standards] (rintl): Likewise.
66953         [non-C99-based standards] (scalbl): Likewise.
66954         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66955         [non-C99-based standards] (FP_*): Do not allow.
66956         [C99-based standards] (FP_*): Change to
66957         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66958         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66959         allow.
66960         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66961         (SIG_ERR): Likewise.
66962         [X/Open-based standards] (SIG_HOLD): Likewise.
66963         (SIG_IGN): Likewise.
66964         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66965         positive value.
66966         (SIGFPE): Likewise.
66967         (SIGILL): Likewise.
66968         (SIGINT): Likewise.
66969         (SIGSEGV): Likewise.
66970         (SIGTER): Likewise.
66971         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66972         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66973         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66974         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66975         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66976         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66977         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66978         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66979         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66980         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66981         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66982         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66983         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66984         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66985         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66986         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66987         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66988         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66989         [X/Open-based standards] (SIGTRAP): Likewise.
66990         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66991         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66992         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66993         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66994         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66995         allow.
66997 2012-05-08  Ian Wienand  <ianw@vmware.com>
66999         [BZ #14080]
67000         * time/tzset.c (__tzset_parse_tz): Update default rules for
67001         daylight time changes in the Energy Policy Act of 2005.
67003 2012-05-09  Andreas Jaeger  <aj@suse.de>
67005         [BZ #13983]
67006         * elf/ldconfig.c (parse_conf): Change string to make clear that
67007         ldconfig only issued a warning if ld.so.conf does not exist.
67009 2012-05-08  David S. Miller  <davem@davemloft.net>
67011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67012         movxtod instead of popping the value on the stack.
67014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67016 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67018         * config.h.in: Add HAVE_ARM_PCS_VFP.
67020 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67022         [BZ #13979]
67023         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67024         checking but the checks are disabled for any reason.
67026 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67028         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67029         and ELF64_R_TYPE with ELFW(R_TYPE).
67031 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67033         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67034         (ulimit): Likewise.
67036         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67037         (settimeofday): Likewise.
67039 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67041         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67042         a struct th_u2 inside the union, and move tu_block/tu_code into
67043         a new th_u3 union of tu_block/tu_code inside of that.  Move
67044         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67045         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67046         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67047         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67048         (th_stuff): Change to th_u1.tu_stuff.
67049         (th_data): Define.
67050         (th_msg): Change to th_u1.th_u2.tu_data.
67052 2012-05-07  David S. Miller  <davem@davemloft.net>
67054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67056         [BZ #14074]
67057         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67058         (SETUP_PIC_REG): Use it.
67059         (SETUP_PIC_REG_LEAF): Use it.
67061 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67063         [BZ #13885]
67064         [BZ #13923]
67065         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67066         USE_AS_EXPM1L.
67067         (EXPL_FINITE): Likewise.
67068         (FLDLOG): Likewise.
67069         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67070         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67071         e_expl.S.
67072         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67073         USE_AS_EXPM1L.
67074         (EXPL_FINITE): Likewise.
67075         (FLDLOG): Likewise.
67076         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67077         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67078         e_expl.S.
67079         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67080         test of -max_value argument for long double.
67081         * sysdeps/i386/fpu/libm-test-ulps: Update.
67082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67084 2012-05-06  David S. Miller  <davem@davemloft.net>
67086         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67087         quad soft-float symbols whose references which are compiler
67088         generated.
67089         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67091 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67093         [BZ #13884]
67094         [BZ #13914]
67095         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67096         USE_AS_EXP10L.
67097         (EXPL_FINITE): Likewise.
67098         (FLDLOG): Likewise.
67099         (c0): Likewise.
67100         (c1): Likewise.
67101         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67102         Adjust comments for base varying.
67103         (__expl_finite): Change alias to EXPL_FINITE.
67104         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67105         e_expl.S.
67106         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67107         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67108         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67109         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67110         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67111         USE_AS_EXP10L.
67112         (EXPL_FINITE): Likewise.
67113         (FLDLOG): Likewise.
67114         (c0): Likewise.
67115         (c1): Likewise.
67116         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67117         Adjust comments for base varying.
67118         (__expl_finite): Change alias to EXPL_FINITE.
67119         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67120         tests for bugs.
67121         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67123         [BZ #14064]
67124         * math/libm-test.inc (check_float_internal): Correct ulp
67125         calculation for subnormal expected results.
67127 2012-05-06  Andreas Jaeger  <aj@suse.de>
67129         * Makeconfig (+math-flags): New, set to -frounding-math.
67130         (+cflags): Add +math-flags so that all of glibc gets compiled with
67131         it.
67133         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67135 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67137         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67138         Disable one test.
67140         [BZ #13787]
67141         [BZ #13922]
67142         [BZ #14036]
67143         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67144         (__ieee754_expl): Allow for and saturate large arguments.
67145         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67146         (u_threshold): Likewise.
67147         (__exp): Call __ieee754_exp before checking for overflow and
67148         underflow.
67149         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67150         (u_threshold): Likewise.
67151         (__expf): Call __ieee754_expf before checking for overflow and
67152         underflow.
67153         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67154         (u_threshold): Likewise.
67155         (__expl): Call __ieee754_expl before checking for overflow and
67156         underflow.
67157         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67158         (__ieee754_expl): Allow for and saturate large arguments.
67159         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67160         missing overflow exception on overflow.
67161         (expm1_test): Do not allow missing overflow exception on overflow.
67163         * sysdeps/i386/fpu/e_expl.c: Move to ...
67164         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67165         rather than using inline asm.
67166         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67167         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67168         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67170         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67171         (nice): Likewise.
67172         (poll): Likewise.
67173         (signal): Likewise.
67174         (time): Likewise.
67175         (times): Likewise.
67177 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67179         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67180         sysdeps/unix/common/syscalls.list.
67181         (fchmod): Likewise.
67182         (fchown): Likewise.
67183         (ftruncate): Likewise.
67184         (getrusage): Likewise.
67185         (gettimeofday): Likewise.
67186         (setpgid): Likewise.
67187         (setregid): Likewise.
67188         (setreuid): Likewise.
67189         (sigaction): Likewise.
67190         (truncate): Likewise.
67191         (vhangup): Likewise.
67192         * sysdeps/unix/common/syscalls.list: Remove file.
67193         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67194         * sysdeps/unix/sysv/linux/Implies: Likewise.
67196 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67198         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67200         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67201         Moved to ...
67202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67203         Here.
67204         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67205         to ...
67206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67207         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67208         to ...
67209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67210         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67211         to ...
67212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67213         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67214         to ...
67215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67216         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67217         to ...
67218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67219         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67220         to ...
67221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67222         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67223         to ...
67224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67225         Here.
67226         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67227         to ...
67228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67229         Here.
67230         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67231         to ...
67232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67233         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67234         Moved to ...
67235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67236         Here.
67237         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67238         to ...
67239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67241 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67243         * sysdeps/unix/common/bits/dirent.h: Remove file.
67244         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67246         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67247         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67248         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67249         * sysdeps/unix/bsd/isatty.c: Likewise.
67250         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67251         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67252         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67254 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67256         [BZ #13563]
67257         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67258         long double comparison inaccuracies.
67259         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67262 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67264         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67265         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67267 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67269         [BZ #14049]
67270         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67271         nonzero digits before rounding a hex value.
67272         * stdlib/tst-strtod.c (tests): Add another test.
67274 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67276         * sysdeps/s390/fpu/libm-test-ulps: Update.
67278 2012-05-03  Andreas Jaeger  <aj@suse.de>
67280         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67281         does not get optimized out.
67282         (malloc_opt_barrier): New.
67284 2012-05-03  Andreas Jaeger  <aj@suse.de>
67285             Roland McGrath  <roland@hack.frob.com>
67287         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67288         intermediate file deletion.
67289         (generated): Add .symlist files.
67291 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67293         [BZ #13775]
67294         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67295         Redirect under this condition.
67296         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67297         [__USE_GNU] (__dprintf_chk): Not under this condition.
67298         [__USE_GNU] (__vdprintf_chk): Likewise.
67299         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67300         under this condition.
67301         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67302         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67303         [__USE_XOPEN2K8] (vdprintf): Likewise.
67304         [__USE_GNU] (__dprintf_chk): Not under this condition.
67305         [__USE_GNU] (__vdprintf_chk): Likewise.
67306         [__USE_GNU] (dprintf): Likewise.
67307         [__USE_GNU] (vdprintf): Likewise.
67309 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67311         * elf/Makefile (common-generated): Set this instead of generated for
67312         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67313         $(all-built-dso)-derived lists.
67315 2012-05-03  Andreas Jaeger  <aj@suse.de>
67317         * sysdeps/i386/fpu/libm-test-ulps: Update.
67319         * FAQ: Removed.
67320         * FAQ.in: Likewise.
67321         * scripts/gen-FAQ.pl: Likewise.
67322         * manual/install.texi (Installation): Point to online location of
67323         FAQ.
67324         * Makefile (files-for-dist): Remove FAQ.
67325         (FAQ): Remove.
67327 2012-05-02  Allan McRae  <allan@archlinux.org>
67329         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67330         (LDFLAGS-reldepmod5.so): Likewise.
67331         (LDFLAGS-reldep6mod1.so): Likewise.
67332         (LDFLAGS-reldep6mod4.so): Likewise.
67333         (LDFLAGS-reldep8mod3.so): Likewise.
67334         (LDFLAGS-unload4mod1.so): Likewise.
67335         (LDFLAGS-unload4mod2.so): Likewise.
67336         (LDFLAGS-tst-initorder): Likewise.
67337         (LDFLAGS-tst-initordera2.so): Likewise.
67338         (LDFLAGS-tst-initordera3.so): Likewise.
67339         (LDFLAGS-tst-initordera4.so): Likewise.
67340         (LDFLAGS-tst-initorderb2.so): Likewise.
67341         (LDFLAGS-noload): Likewise.
67342         (LDFLAGS-next): Likewise.
67343         (LDFLAGS-order2mod1.so): Likewise.
67344         (LDFLAGS-order2mod2.so): Likewise.
67345         (LDFLAGS-tst-initorder2): Likewise.
67346         (LDFLAGS-tst-initorder2a.so): Likewise.
67347         (LDFLAGS-tst-initorder2b.so): Likewise.
67348         (LDFLAGS-tst-initorder2c.so): Likewise.
67349         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67351 2012-05-02  David S. Miller  <davem@davemloft.net>
67353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67355 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67357         [BZ #14055]
67358         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67360 2012-05-02  Andreas Jaeger  <aj@suse.de>
67362         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67363         since we manipulate rounding mode.
67364         (CPPFLAGS-test-idouble.c): Likewise.
67365         (CPPFLAGS-test-ifloat.c): Likewise.
67366         (CFLAGS-test-ldouble.c): Likewise.
67367         (CFLAGS-test-double.c): Likewise.
67368         (CFLAGS-test-float.c): Likewise.
67369         (CFLAGS-test-misc.c): Likewise.
67370         (CFLAGS-test-test-fenv.c): Likewise.
67372 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67374         [BZ #2550]
67375         [BZ #2570]
67376         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67377         comparisons to determine direction to adjust input.
67379 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67381         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67382         output to the target.
67384         * scripts/localplt.awk: New file.
67385         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67386         (check-localplt-CFLAGS): Variable removed.
67387         ($(all-built-dso:=.jmprel)): New static pattern rule.
67388         (generated): Add those targets.
67389         (localplt-built-dso): New variable.
67390         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67392         * elf/check-localplt.c: File removed.
67394         * scripts/check-execstack.awk: New file.
67395         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67396         (check-execstack-CFLAGS): Variable removed.
67397         ($(objpfx)check-execstack.h): Target removed.
67398         ($(objpfx)execstack-default): New target.
67399         (generated): Add that instead of check-execstack.h.
67400         ($(all-built-dso:=.phdr)): New static pattern rule.
67401         (generated): Add those targets.
67402         * elf/check-execstack.c: File removed.
67404         * scripts/check-textrel.awk: New file.
67405         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67406         (check-textrel-CFLAGS): Variable removed.
67407         (all-built-dso): Use := to define.o
67408         ($(all-built-dso:=.dyn)): New static pattern rule.
67409         (generated): Add those targets.
67410         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67411         * config.make.in (READELF): New substituted variable.
67412         * elf/check-textrel.c: File removed.
67414 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67416         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67417         allow.
67418         * conform/data/ctype.h-data [C99-based standards] (isblank):
67419         Expect function.
67420         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67421         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67422         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67423         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67424         Specify type.  Require positive value.
67425         (EILSEQ): Likewise.
67426         (ERANGE): Likewise.
67427         [ISO || POSIX] (EILSEQ): Do not expect.
67428         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67429         Specify type.  Require positive value.
67430         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67431         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67432         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67433         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67434         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67435         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67436         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67437         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67438         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67439         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67440         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67441         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67442         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67443         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67444         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67445         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67446         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67447         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67448         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67449         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67450         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67451         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67452         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67453         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67454         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67455         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67456         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67457         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67458         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67459         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67460         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67461         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67462         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67463         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67464         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67465         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67466         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67467         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67468         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67469         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67470         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67471         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67472         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67473         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67474         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67475         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67476         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67477         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67478         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67479         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67480         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67481         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67482         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67483         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67484         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67485         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67486         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67487         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67488         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67489         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67490         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67491         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67492         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67493         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67494         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67495         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67496         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67497         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67498         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67499         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67500         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67501         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67502         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67503         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67504         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67505         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67506         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67507         Require >= 2.
67508         (FLT_ROUNDS): Expect as macro, not constant.
67509         (FLT_MANT_DIG): Use macro-int-constant.
67510         (DBL_MANT_DIG): Likewise.
67511         (LDBL_MANT_DIG): Likewise.
67512         (FLT_DIG): Likewise.
67513         (DBL_DIG): Likewise.
67514         (LDBL_DIG): Likewise.
67515         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67516         (DBL_MIN_EXP): Likewise.
67517         (LDBL_MIN_EXP): Likewise.
67518         (FLT_MAX_EXP): Use macro-int-constant.
67519         (DBL_MAX_EXP): Likewise.
67520         (LDBL_MAX_EXP): Likewise.
67521         (FLT_MAX_10_EXP): Likewise.
67522         (DBL_MAX_10_EXP): Likewise.
67523         (LDBL_MAX_10_EXP): Likewise.
67524         (FLT_MAX): Use macro-constant.
67525         (DBL_MAX): Likewise.
67526         (LDBL_MAX): Likewise.
67527         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67528         (DBL_EPSILON): Likewise.
67529         (LDBL_EPSILON): Likewise.
67530         (FLT_MIN): Likewise.
67531         (DBL_MIN): Likewise.
67532         (LDBL_MIN): Likewise.
67533         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67534         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67535         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67536         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67537         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67538         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67539         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67540         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67541         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67542         [ISO11] (FLT_TRUE_MIN): Likewise.
67543         [ISO11] (LDBL_TRUE_MIN): Likewise.
67544         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67545         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67546         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67547         (SCHAR_MAX): Likewise.
67548         (UCHAR_MAX): Likewise.
67549         (CHAR_MIN): Likewise.
67550         (CHAR_MAX): Likewise.
67551         (MB_LEN_MAX): Use macro-int-constant.
67552         (SHRT_MIN): Use macro-int-constant.  Specify type.
67553         (SHRT_MAX): Likewise.
67554         (USHRT_MAX): Likewise.
67555         (INT_MAX): Likewise.
67556         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67557         bound negative.
67558         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67559         bound with "U".
67560         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67561         bound with "L".
67562         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67563         bound negative.  Suffix upper bound with "L".
67564         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67565         bound with "UL".
67566         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67567         Specify type.
67568         [C99-based standards] (LLONG_MAX): Likewise.
67569         [C99-based standards] (ULLONG_MAX): Likewise.
67570         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67571         == 0.
67572         [ISO11] (max_align_t): Require type.
67573         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67575         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67576         from $CFLAGS, without defining away __attribute__ calls.
67577         (checknamespace): Use $CFLAGS_namespace.
67579         * conform/conformtest.pl (@keywords): Only include C99 keywords
67580         for standards based on C99 or C11.
67582         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67583         Disable tests.
67584         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67585         UNIX98]: Likewise.
67587         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67588         usability of symbols in #if.
67590         * conform/conformtest.pl: If macro or constant types start
67591         "promoted:", expect the symbol to be of the following type
67592         promoted by the integer promotions.
67594         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67595         in one place.  Also handle "macro-constant".
67597         * conform/conformtest.pl: Only accept expected macro values with
67598         "==".  Parse all "macro" lines in one place.
67599         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67601         * conform/conformtest.pl: Handle braced types on "constant" lines
67602         instead of handling "typed-constant".
67603         * conform/data/signal.h-data: Use "constant" instead of
67604         "typed-constant".
67606         * conform/conformtest.pl: Handle "optional-" at start of lines in
67607         one place rather than duplicating several cases.  Handle each
67608         format of "macro" line with initial "optional-".
67610         * conform/conformtest.pl: Only accept expected constant or
67611         optional-constant values with "==".  Parse all "constant" lines in
67612         one place.  Parse all "optional-constant" lines in one place.
67613         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67614         * conform/data/fmtmsg.h-data: Likewise.
67615         * conform/data/netinet/in.h-data: Likewise.
67616         * conform/data/tar.h-data: Likewise.
67617         * conform/data/limits.h-data: Use "==" form on "constant" and
67618         "optional-constant" lines.
67620         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67621         Use -std=c99 for XOPEN2K.
67622         (@knownproblems): Remove.
67623         (newtoken): Don't check %isknown.
67625         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67626         Do not expect macro.
67627         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67628         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67629         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67630         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67631         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67632         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67633         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67634         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67635         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67636         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67637         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67638         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67639         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67640         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67641         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67642         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67643         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67644         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67645         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67646         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67647         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67648         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67649         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67650         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67651         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67652         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67653         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67654         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67655         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67656         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67657         [XPG3] (acosh): Likewise.
67658         [XPG3] (asinh): Likewise.
67659         [XPG3] (atanh): Likewise.
67660         [XPG3] (cbrt): Likewise.
67661         [XPG3] (expm1): Likewise.
67662         [XPG3] (ilogb): Likewise.
67663         [XPG3] (log1p): Likewise.
67664         [XPG3] (logb): Likewise.
67665         [XPG3] (nextafter): Likewise.
67666         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67667         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67668         [XPG3] (remainder): Likewise.
67669         [XPG3] (rint): Likewise.
67670         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67671         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67672         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67673         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67674         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67675         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67676         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67677         [UNIX98 || XOPEN2K] (scalb): Expect.
67678         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67679         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67680         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67681         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67682         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67683         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67684         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67685         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67686         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67687         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67688         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67689         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67690         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67691         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67692         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67693         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67694         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67695         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67696         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67697         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67698         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67699         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67700         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67701         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67702         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67703         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67704         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67705         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67706         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67707         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67708         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67709         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67710         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67711         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67712         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67713         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67714         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67715         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67716         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67717         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67718         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67719         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67720         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67721         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67722         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67723         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67724         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67725         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67726         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67727         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67728         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67729         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67730         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67731         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67732         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67733         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67734         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67735         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67736         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67737         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67738         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67739         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67740         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67741         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67742         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67743         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67744         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67745         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67746         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67747         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67748         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67749         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67750         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67751         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67752         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67753         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67754         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67755         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67756         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67757         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67758         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67759         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67760         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67761         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67762         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67763         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67764         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67765         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67766         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67767         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67768         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67769         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67770         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67771         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67772         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67773         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67774         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67775         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67776         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67777         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67778         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67779         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67780         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67781         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67782         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67783         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67784         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67785         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67786         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67787         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67788         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67789         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67790         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67791         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67792         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67793         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67794         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67795         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67796         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67797         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67798         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67799         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67800         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67801         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67802         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67803         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67804         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67805         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67806         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67807         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67808         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67809         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67810         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67811         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67812         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67813         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67814         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67816         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67817         _XOPEN_SOURCE_EXTENDED for XPG4.
67819         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67821         * Makeconfig (localtime): Remove variable.
67822         (inst_localtime-file): Likewise.
67824 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67827         Update.
67828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67829         Update.
67830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67831         Update.
67832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67833         Update.
67834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67835         Update.
67836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67837         Update.
67838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67839         Update.
67840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67841         Update.
67842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67843         Update.
67845 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67847         [BZ #2550]
67848         [BZ #2570]
67849         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67850         comparisons to determine direction to adjust input.
67851         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67852         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67853         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67854         Likewise.
67855         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67856         Likewise.
67857         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67858         Likewise.
67859         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67860         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67861         Likewise.
67862         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67863         Likewise.
67864         * math/libm-test.inc (nexttoward_test): Add more tests.
67866 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67868         [BZ #14040]
67869         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67870         in version GLIBC_2.1, not GLIBC_2.0.
67871         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67872         Likewise.
67874 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67876         [BZ #13942]
67877         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67878         (1 - x) * (1 + x).
67879         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67880         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67881         * math/libm-test.inc (acos_test): Add more tests.
67882         (asin_test): Likewise.
67883         * sysdeps/i386/fpu/libm-test-ulps: Update.
67884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67886         [BZ #14034]
67887         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67888         of square root.
67889         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67890         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67891         * math/libm-test.inc (acos_test_tonearest): New function.
67892         (acos_test_towardzero): Likewise.
67893         (acos_test_downward): Likewise.
67894         (acos_test_upward): Likewise.
67895         (asin_test_tonearest): Likewise.
67896         (asin_test_towardzero): Likewise.
67897         (asin_test_downward): Likewise.
67898         (asin_test_upward): Likewise.
67899         (main): Call the new functions.
67900         * sysdeps/i386/fpu/libm-test-ulps: Update.
67901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67903         [BZ #13884]
67904         [BZ #13924]
67905         * math/e_exp10.c: Include <float.h>.
67906         (__ieee754_exp10): Handle underflow here rather than multiplying
67907         large negative argument by M_LN10.
67908         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67909         of __ieee754_expf.
67910         * math/e_exp10l.c: Include <float.h>.
67911         (__ieee754_exp10l): Handle underflow here rather than multiplying
67912         large negative argument by M_LN10l.
67913         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67914         spurious overflow exception on underflow.
67916 2012-04-29  Marek Polacek  <polacek@redhat.com>
67918         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67919         (__fortify_function): New macro.
67920         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67921         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67922         __extern_always_inline.
67923         * libio/bits/stdio2.h: Likewise.
67924         * libio/bits/stdio.h: Likewise.
67925         * string/string.h: Likewise.
67926         * string/bits/string3.h: Likewise.
67927         * include/stdio.h: Likewise.
67928         * stdlib/bits/stdlib.h: Likewise.
67929         * stdlib/stdlib.h: Likewise.
67930         * rt/bits/mqueue2.h: Likewise.
67931         * rt/mqueue.h: Likewise.
67932         * posix/bits/unistd.h: Likewise.
67933         * posix/unistd.h: Likewise.
67934         * io/bits/poll2.h: Likewise.
67935         * io/bits/fcntl2.h: Likewise.
67936         * io/fcntl.h: Likewise.
67937         * io/sys/poll.h: Likewise.
67938         * misc/bits/syslog.h: Likewise.
67939         * misc/bits/syslog-ldbl.h: Likewise.
67940         * misc/sys/syslog.h: Likewise.
67941         * socket/bits/socket2.h: Likewise.
67942         * socket/sys/socket.h: Likewise.
67943         * debug/tst-chk1.c: Likewise.
67944         * wcsmbs/bits/wchar2.h: Likewise.
67945         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67946         * wcsmbs/wchar.h: Likewise.
67948 2012-04-29  Andreas Jaeger  <aj@suse.de>
67950         * Makerules (tests): Remove enable-check-abi protection.
67951         (check-abi-warn): Remove.
67952         (check-abi-%): Remove check-abi-warn usage.
67954         * configure.in: Remove check-abi configure option.
67955         * configure: Regenerated.
67956         * config.make.in (enable-check-abi): Remove.
67958 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67960         [BZ #14033]
67961         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67962         double functions to double *_finite functions.
67964         [BZ #13941]
67965         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67966         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67967         LDBL_MIN_EXP.
67968         * stdio-common/Makefile (tests): Add tst-sprintf3.
67969         * stdio-common/tst-sprintf3.c: New file.
67971         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67972         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67974 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67976         * conform/conformtest.pl: Remove duplicate typed-constant
67977         handling.
67979 2012-04-28  David S. Miller  <davem@davemloft.net>
67981         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67982         (check-abi-%): Remove AWK script prerequisite and explicit
67983         abilist directory.
67984         (check-abi): Rewrite to just diff the symlist with the abilist.
67985         (config-tls, config-abi-config): Delete, no longer used.
67986         (update-abi-%): Remove AWK script and explicit abilist directory.
67987         (update-abi): Rewrite to simply compare and conditionally copy the
67988         symlist and the sysdep abilist file.  Remove update-abi-config
67989         checks.
67990         * abilist/ld.abilist: Remove.
67991         * abilist/libBrokenLocale.abilist: Remove.
67992         * abilist/libanl.abilist: Remove.
67993         * abilist/libcrypt.abilist: Remove.
67994         * abilist/libdl.abilist: Remove.
67995         * abilist/librt.abilist: Remove.
67996         * abilist/libthread_db.abilist: Remove.
67997         * abilist/libutil.abilist: Remove.
67998         * scripts/extract-abilist.awk: Remove.
67999         * scripts/merge-abilist.awk: Remove.
68000         * sysdeps/generic/libcidn.abilist: New file.
68001         * sysdeps/generic/libnss_compat.abilist: New file.
68002         * sysdeps/generic/libnss_db.abilist: New file.
68003         * sysdeps/generic/libnss_dns.abilist: New file.
68004         * sysdeps/generic/libnss_files.abilist: New file.
68005         * sysdeps/generic/libnss_hesiod.abilist: New file.
68006         * sysdeps/generic/libnss_nis.abilist: New file.
68007         * sysdeps/generic/libnss_nisplus.abilist: New file.
68008         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68009         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68010         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68011         file.
68012         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68013         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68014         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68015         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68016         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68017         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68018         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68019         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68020         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68021         file.
68022         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68023         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68024         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68025         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68026         file.
68027         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68028         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68029         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68030         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68031         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68032         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68033         file.
68034         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68035         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68036         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68037         file.
68038         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68039         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68040         New file.
68041         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68042         New file.
68043         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68044         New file.
68045         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68046         New file.
68047         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68048         New file.
68049         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68050         New file.
68051         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68052         New file.
68053         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68054         New file.
68055         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68056         New file.
68057         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68058         New file.
68059         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68060         New file.
68061         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68062         New file.
68063         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68064         New file.
68065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68066         file.
68067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68068         New file.
68069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68070         New file.
68071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68072         file.
68073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68074         New file.
68075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68076         New file.
68077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68078         file.
68079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68080         New file.
68081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68082         New file.
68083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68084         New file.
68085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68086         New file.
68087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68088         New file.
68089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68090         New file.
68091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68093         file.
68094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68095         New file.
68096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68097         file.
68098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68099         file.
68100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68101         file.
68102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68103         file.
68104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68105         file.
68106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68107         New file.
68108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68109         file.
68110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68111         file.
68112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68113         New file.
68114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68115         file.
68116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68118         file.
68119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68120         New file.
68121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68122         file.
68123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68124         file.
68125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68126         file.
68127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68128         file.
68129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68130         file.
68131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68132         New file.
68133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68134         file.
68135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68136         file.
68137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68138         New file.
68139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68140         file.
68141         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68142         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68143         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68144         file.
68145         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68146         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68147         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68148         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68149         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68150         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68151         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68152         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68153         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68154         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68157         file.
68158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68159         New file.
68160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68161         file.
68162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68163         file.
68164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68165         file.
68166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68167         file.
68168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68169         file.
68170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68171         New file.
68172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68173         New file.
68174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68175         file.
68176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68177         New file.
68178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68179         file.
68180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68182         file.
68183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68184         New file.
68185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68186         file.
68187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68188         file.
68189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68190         file.
68191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68192         file.
68193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68194         file.
68195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68196         New file.
68197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68198         New file.
68199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68200         file.
68201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68202         New file.
68203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68204         file.
68206 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68208         * conform/conformtest.pl: Fix typo in handling typed-constant from
68209         allow-header.
68211 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68213         * README: Cut down references to pre-2.6 Linux kernels and
68214         Linuxthreads.  Update lists of configurations in libc and ports
68215         and sort alphabetically.  Say "or newer" with Linux kernel version
68216         requirements.
68218         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68220 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68222         [BZ #887]
68223         * math/libm-test.inc (logb_test_downward): New test to expose
68224         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68225         rounding mode.
68227 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68229         [BZ #14027]
68230         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68231         to be done.
68232         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68233         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68235 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68237         * sysdeps/unix/i386/brk.S: Remove file.
68238         * sysdeps/unix/i386/dl-brk.S: Likewise.
68239         * sysdeps/unix/i386/pipe.S: Likewise.
68240         * sysdeps/unix/i386/sigreturn.S: Likewise.
68241         * sysdeps/unix/i386/syscall.S: Likewise.
68242         * sysdeps/unix/i386/vfork.S: Likewise.
68243         * sysdeps/unix/i386/wait.S: Likewise.
68245         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68246         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68248         * configure.in (arm*-none*): Do not allow without
68249         --enable-hacker-mode.
68250         (netbsd*): Remove case setting base_os.
68251         (386bsd*): Likewise.
68252         (freebsd*): Likewise.
68253         (bsdi*): Likewise.
68254         (osf*): Likewise.
68255         (sunos*): Likewise.
68256         (ultrix*): Likewise.
68257         (newsos*): Likewise.
68258         (dynix*): Likewise.
68259         (*bsd*): Likewise.
68260         (sysv*): Likewise.
68261         (isc*): Likewise.
68262         (esix*): Likewise.
68263         (sco*): Likewise.
68264         (minix*): Likewise.
68265         (irix4*): Likewise.
68266         (irix6*): Likewise.
68267         (solaris[2-9]*): Likewise.
68268         (none): Likewise.
68269         * configure: Regenerated.
68271 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68273         [BZ #11521]
68274         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68275         overflow or cancellation in calculating denominator.
68276         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68277         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68278         down expression to avoid unexpected rounding in newer GCCs.
68279         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68281 2012-04-26  David S. Miller  <davem@davemloft.net>
68283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68284         long-double compat symbols.
68285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68299 2012-04-25  David S. Miller  <davem@davemloft.net>
68301         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68302         HWCAP_* values only after the memory barriers have been defined.
68303         (atomic_full_barrier): Define.
68304         (atomic_read_barrier): Define.
68305         (atomic_write_barrier): Define.
68307 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68309         * shlib-versions: Add libgcc_s version information.
68310         * sysdeps/generic/libgcc_s.h: Remove.
68311         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68312         libgcc_s.h.
68313         * sysdeps/gnu/unwind-resume.c: Likewise.
68314         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68316 2012-04-25  David S. Miller  <davem@davemloft.net>
68318         * sysdeps/unix/sparc/brk.S: Delete.
68319         * sysdeps/unix/sparc/dl-brk.S: Delete.
68320         * sysdeps/unix/sparc/pipe.S: Delete.
68321         * sysdeps/unix/sparc/sysdep.S: Delete.
68322         * sysdeps/unix/sparc/sysdep.h: Delete.
68323         * sysdeps/unix/sparc/vfork.S: Delete.
68324         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68325         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68326         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68327         (ret_ERRVAL, r0, r1, MOVE): Define.
68328         (JUMPTARGET): Remove.
68329         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68330         sysdeps/unix/sparc/sysdep.h
68331         (ENTRY, END): Remove.
68332         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68334 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68336         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68337         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68338         -DIS_IN_build.
68340         * timezone/README: Update upstream location and email address for
68341         tzcode and tzdata.
68342         * timezone/zdump.c: Update from tzcode 2012b.
68343         * timezone/zic.c: Likewise.
68345         * configure.in (libc_cv_as_needed): Remove test.
68346         * configure: Regenerated.
68347         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68348         conditional definition.
68349         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68350         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68351         * config.make.in (have-as-needed): Remove variable.
68353 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68354             Paul Pluzhnikov  <ppluzhnikov@google.com>
68356         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68357         strings correctly.
68359 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68361         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68362         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68363         * sysdeps/sh/strlen.S: Likewise.
68365 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68367         * sysdeps/unix/fork.S: Remove file.
68368         * sysdeps/unix/i386/fork.S: Likewise.
68369         * sysdeps/unix/sparc/fork.S: Likewise.
68371         * sysdeps/unix/system.c: Remove file.
68372         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68374         * sysdeps/unix/getegid.S: Remove file.
68375         * sysdeps/unix/geteuid.S: Likewise.
68377 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68379         * scripts/check-localplt.awk: New file.
68380         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68381         of diff.
68382         * scripts/data/localplt-generic.data: Add a comment.
68384         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68385         NODE when __dir_mkfile failed.
68386         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68387         Reported by Ludovic Courtès <ludo@gnu.org>.
68389 2012-04-24  Andreas Jaeger  <aj@suse.de>
68391         * Makerules (common-clean): Also remove gen-as-const-headers
68392         files.
68394 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68396         * Makerules (native-compile): Do not change working directory for
68397         build.  Use $(OUTPUT_OPTION) in command.
68398         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68400 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68402         [BZ #13886]
68403         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68404         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68405         * math/libm-test.inc (floor_test): Add more tests.
68406         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68408 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68410         * sysdeps/unix/getdents.c: Remove file.
68411         * sysdeps/unix/sysv/getdents.c: Likewise.
68412         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68414         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68415         sysdeps/unix/mman/syscalls.list.
68416         (mmap): Likewise.
68417         (mprotect): Likewise.
68418         (msync): Likewise.
68419         (munmap): Likewise.
68420         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68421         * sysdeps/unix/mman/syscalls.list: Remove.
68422         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68424         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68425         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68426         * configure: Regenerated.
68427         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68428         $(libgcc_s_suffix).
68429         * config.make.in (libgcc_s_suffix): Remove variable.
68431 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68433         * sysdeps/unix/sysv/gethostname.c: Move to ...
68434         * sysdeps/posix/gethostname.c: ... here.
68436         * sysdeps/unix/execve.S: Remove file.
68438         * sysdeps/unix/_exit.S: Remove file.
68440 2012-04-23  Andreas Jaeger  <aj@suse.de>
68442         [BZ #13739]
68443         * manual/Makefile: Remove make dist support, there's no
68444         need for a stand-alone documentation tar ball.
68445         (TEXI2DVI): Define always, it's not in Makeconfig.
68446         (dist): Removed.
68447         (tar-it): Removed.
68448         (edition): Removed.
68449         (glibc-doc-$(edition).tar): Removed
68450         (%.Z): Removed.
68451         (%.gz): Removed.
68452         (%.uu): Removed.
68453         (ETAGS): Remove, it's in Makeconfig.
68454         (move-if-change): Remove, it's in Makeconfig.
68456 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68458         [BZ #13970]
68459         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68460         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68461         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68462         (strtod_l, strtof_l, strtold_l): Remove __wur.
68463         It is not necessarily an error to ignore strtol's return value.
68464         One can reliably look at the stored endptr to decide whether
68465         the number had valid syntax.
68467 2012-04-21  Andreas Jaeger  <aj@suse.de>
68469         [BZ #13739]
68470         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68472 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68474         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68475         * sysdeps/unix/sysv/Versions: Remove file.
68477 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68479         [BZ #13927]
68480         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68482 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68484         [BZ #7064]
68485         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68486         version from __vm86.
68488 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68490         * sysdeps/unix/common/lxstat.c: Remove file.
68491         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68493         * sysdeps/unix/sysv/Makefile: Remove file.
68495         * sysdeps/unix/sysv/direct.h: Remove file.
68497         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68498         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68499         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68500         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68501         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68502         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68503         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68505         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68507         * sysdeps/unix/xmknod.c: Remove file.
68508         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68510         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68512         * sysdeps/unix/sysv/i386/time.S: Remove file.
68514         * sysdeps/unix/fxstat.c: Remove file.
68515         * sysdeps/unix/xstat.c: Likewise.
68516         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68518         * sysdeps/unix/sysv/sigaction.c: Remove file.
68520         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68521         (sysdep_headers): Remove variable.
68522         [termio.h not in sysdep_headers] (generated): Likewise.
68523         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68524         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68525         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68526         * sysdeps/unix/sysv/tcflow.c: Likewise.
68527         * sysdeps/unix/sysv/tcflush.c: Likewise.
68528         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68529         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68530         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68531         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68532         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68534         * sysdeps/unix/siglist.c: Remove file.
68536         * sysdeps/unix/getppid.S: Remove file.
68538         * sysdeps/unix/mkdir.c: Remove file.
68539         * sysdeps/unix/rmdir.c: Likewise.
68541 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68543         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68544         ERR_MAX value.
68545         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68546         errlist-compat value.
68548 2012-04-18  David S. Miller  <davem@davemloft.net>
68550         * sysdeps/generic/memcopy.h (reg_char): Delete.
68551         * debug/strcat_chk.c: Use char, not reg_char.
68552         * debug/strcpy_chk.c: Likewise.
68553         * debug/strncat_chk.c: Likewise.
68554         * debug/strncpy_chk.c: Likewise.
68555         * string/memchr.c: Likewise.
68556         * string/memrchr.c: Likewise.
68557         * string/rawmemchr.c: Likewise.
68558         * string/strcat.c: Likewise.
68559         * string/strchr.c: Likewise.
68560         * string/strchrnul.c: Likewise.
68561         * string/strcmp.c: Likewise.
68562         * string/strcpy.c: Likewise.
68563         * string/strncat.c: Likewise.
68564         * string/strncmp.c: Likewise.
68565         * string/strncpy.c: Likewise.
68567 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68569         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68570         __builtin_memcopy is called when src and dest ranges are known to not
68571         overlap.
68573 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68575         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68576         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68577         fwd_align_merge macro call.
68578         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68579         bwd_align_merge macro call.
68580         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68582 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68584         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68585         bwd_align_merge macros.
68586         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68587         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68588         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68590 2012-04-18  David S. Miller  <davem@davemloft.net>
68592         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68594 2012-04-18  Andreas Jaeger  <aj@suse.de>
68596         [BZ# 6794]
68597         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68598         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68599         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68601         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68602         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68603         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68605         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68606         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68607         Adjust for changed ldbl-128 files.
68609         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68610         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68611         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68613 2012-04-17  David S. Miller  <davem@davemloft.net>
68615         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68617 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68619         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68620         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68621         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68622         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68623         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68624         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68626 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68628         [BZ #6794]
68629         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68630         * math/libm-test.inc: Add ilogb errno and exception tests.
68631         * math/w_ilogb.c: New file: ilogb wrapper.
68632         * math/w_ilogbf.c: New file: ilogbf wrapper.
68633         * math/w_ilogbl.c: New file: ilogbl wrapper.
68634         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68635         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68636         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68637         exception being thrown with 0.0 as argument.
68638         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68639         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68640         exception being thrown with 0.0 as argument.
68641         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68642         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68643         exception being thrown with 0.0 as argument.
68644         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68645         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68646         exception being thrown with 0.0 as argument.
68647         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68648         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68649         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68650         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68651         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68652         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68653         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68654         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68655         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68657 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68659         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68660         with altivec.
68662 2012-04-16  Marek Polacek  <polacek@redhat.com>
68664         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68666 2012-04-16  Marek Polacek  <polacek@redhat.com>
68668         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68669         operands of fdivp instruction.
68671 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68673         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68674         * elf/tst-auditmod3b.c: Likewise.
68675         * elf/tst-auditmod4b.c: Likewise.
68676         * elf/tst-auditmod5b.c: Likewise.
68677         * elf/tst-auditmod6b.c: Likewise.
68678         * elf/tst-auditmod6c.c: Likewise.
68679         * elf/tst-auditmod7b.c: Likewise.
68680         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68681         * sysdeps/x86_64/preconfigure.in: Likewise.
68682         * sysdeps/x86_64/preconfigure: Regenerated.
68684 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68686         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68687         __ILP32__.
68689 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68691         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68692         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68694 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68696         [BZ #13973]
68697         * locale/iso-639.def: Fix gl language name. Spotted by
68698         Yaron Shahrabani.
68700 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68702         [BZ #2074]
68703         * libio/libio.h (__io_write_fn): Update comment.
68705 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68707         [BZ #2074]
68708         * stdio.texi (Hook Functions): The user provided writer function
68709         is not allowed to return -1.
68711 2012-04-11  David S. Miller  <davem@davemloft.net>
68713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68715 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68717         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68718         Add a leading slash to rtkaio.
68720 2012-04-11  Jim Meyering  <meyering@redhat.com>
68722         [BZ #11959]
68723         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68724         It is not necessarily an error to ignore fwrite's return
68725         value.  One can reliably use ferror to test for errors after
68726         the fact.
68728 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68730         * bits/types.h (__snseconds_t): New type.
68731         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68733         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68734         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68735         (__SNSECONDS_T_TYPE): Likewise.
68736         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68737         (__SNSECONDS_T_TYPE): Likewise.
68738         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68739         (__SNSECONDS_T_TYPE): Likewise.
68741 2012-04-10  Andreas Jaeger  <aj@suse.de>
68743         [BZ #2636]
68744         * manual/time.texi (Processor Time): Return type of times is
68745         elapsed real time since an arbitrary point in the past.
68746         (CPU Time): Move CLK_TCK from here...
68747         (Processor Time): ...to here.  Correct description.
68748         * manual/conf.texi (Constants for Sysconf): Correct description of
68749         _SC_CLK_TCK.
68751 2012-04-10  David S. Miller  <davem@davemloft.net>
68753         [BZ #13967]
68754         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68755         where the is a gap between DT_REL(A) and DT_JMPREL.
68757 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68759         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68760         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68761         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68763 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68765         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68766         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68767         (dl_main): Handle --inhibit-cache.
68768         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68769         _dl_inhibit_cache.
68770         * elf/dl-load.c (_dl_map_object): Use it.
68771         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68773 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68775         [BZ #13872]
68776         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68777         (__ieee754_powl): Saturate large exponents rather than testing for
68778         overflow of y*log2(x).
68779         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68780         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68781         exceptions.
68783         [BZ #11521]
68784         * math/s_ctan.c: Include <float.h>.
68785         (__ctan): Avoid internal overflow or cancellation in calculating
68786         denominator.
68787         * math/s_ctanf.c: Likewise.
68788         * math/s_ctanl.c: Likewise.
68789         * math/s_ctanh.c: Likewise.
68790         * math/s_ctanhf.c: Likewise.
68791         * math/s_ctanhl.c: Likewise.
68792         * math/libm-test.inc (ctan_test): Add more tests.
68793         (ctanh_test): Likewise.
68794         * sysdeps/i386/fpu/libm-test-ulps: Update.
68795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68797 2012-04-09  Andreas Jaeger  <aj@suse.de>
68799         [BZ #6894]
68800         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68801         is an optional BSD extension.
68803         [BZ #10254]
68804         * manual/stdio.texi (Opening Streams): Document additional fopen
68805         parameters.
68807 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68809         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68810         %eax without telling the compiler.
68812 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68814         [BZ # 13963]
68815         * manual/install.texi: Use sourceware.org.
68817 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68819         [BZ #13873]
68820         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68821         (__ieee754_pow): Generate overflow and underflow using huge*huge
68822         and tiny*tiny rather than just returning constant infinity or zero
68823         for large exponents.
68824         * math/libm-test.inc (pow_test): Require overflow exceptions for
68825         applicable cases of large exponents.
68827         [BZ #706]
68828         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68829         (__ieee754_pow): Use iterative multiplication algorithm only for
68830         integer exponents with absolute value below 1024.  Check for odd
68831         integer exponents when using algorithm for real exponents.
68832         * math/libm-test.inc (pow_test): Add more tests.
68833         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68835 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68837         [BZ #13705]
68838         * math/libm-test.inc (exp_test): Do not allow overflow exception
68839         on underflow test.
68841 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68843         [BZ #13705]
68844         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68845         instead of __kernel_standard_f.
68847 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68849         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68850         * sysdeps/x86_64/memset_chk.S: Likewise.
68852 2012-04-08  Andreas Jaeger  <aj@suse.de>
68854         [BZ #10153]
68855         * manual/startup.texi (Environment Access): Describe return value
68856         for putenv and setenv.
68858         [BZ #6895]
68859         * manual/filesys.texi (Directory Entries): Add description for
68860         DT_LNK.
68862         [BZ #6890]
68863         * manual/filesys.texi (Directory Entries): Clarify that it's file
68864         system not operating system in the description of DT_UNKNOWN.
68866         [BZ #6578]
68867         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68869 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68871         [BZ #6649]
68872         * manual/llio.texi (Opening and Closing Files): Add cross
68873         reference to explain mode argument.
68875 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68877         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68878         * sysdeps/x86_64/memset_chk.S: Likewise.
68880 2012-04-07  David S. Miller  <davem@davemloft.net>
68882         * elf/elf.h (R_SPARC_WDISP10): Define.
68883         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68884         R_SPARC_SIZE32.
68885         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68886         R_SPARC_SIZE64 and R_SPARC_H34.
68888 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68890         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68891         conditions and remove no longer applicable assertion.
68893 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68895         * bits/byteswap.h: Include <features.h>.
68896         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68897         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68899 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68901         * bits/byteswap.h (__bswap_16): Removed.
68902         Include <bits/byteswap-16.h> to get __bswap_16.
68903         * sysdeps/i386/bits/byteswap.h: Likewise.
68904         * sysdeps/s390/bits/byteswap.h: Likewise.
68905         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68906         * bits/byteswap-16.h: New file.
68907         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68908         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68909         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68910         * string/Makefile (headers): Add bits/byteswap-16.h.
68912 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68914         [BZ #13895]
68915         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68916         extra indirection.
68917         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68918         * nss/tst-nss-static.c: New.
68920 2012-04-06  Robert Millan  <rmh@gnu.org>
68922         [BZ #6486]
68923         * manual/llio.texi (File Position Primitive): lseek
68924         refers to WHENCE when it really means OFFSET.
68926 2012-04-06  Andreas Jaeger  <aj@suse.de>
68928         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68929         strncmp declarations.
68931         * abilist/libc.abilist: Add __poll and __ppoll.
68933 2012-04-05  David S. Miller  <davem@davemloft.net>
68935         * scripts/check-local-headers.sh: Accept a host triplet in the
68936         path matched by the exclude regexp.
68938         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68939         definition.
68940         * sysdeps/powerpc/powerpc32/dl-machine.h
68941         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68942         * sysdeps/s390/s390-32/dl-machine.h
68943         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68944         * sysdeps/sparc/sparc32/dl-machine.h
68945         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68946         * sysdeps/sparc/sparc64/dl-machine.h
68947         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68949         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68950         lazy binding.
68951         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68952         undefined symbol errors.
68954         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68955         DT_NEEDED entries.
68957 2012-04-05  Michael Matz  <matz@suse.de>
68959         [BZ #13592]
68960         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68962 2012-04-05  Andreas Jaeger  <aj@suse.de>
68964         [BZ #13908]
68965         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68966         comment.
68968 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68970         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68971         which ROUND is no valid rounding mode.
68973 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68975         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68976         read again.
68977         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68979 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68981         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68982         an exception using FPU order intentionally.
68984 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68986         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68987         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68988         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68989         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68991 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68993         [BZ #12340]
68994         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68995         EINVAL when BUFLEN is too smal.
68997 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68999         [BZ #13553]
69000         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69001         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69003 2012-04-03  Andreas Jaeger  <aj@suse.de>
69005         [BZ #13938]
69006         * manual/setjmp.texi (System V contexts): Fix sentence.
69008         [BZ #13926]
69009         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69010         New macro for this case.
69011         [!__GNUC__] (__bswap_64): New inline function for this case.
69012         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69013         * bits/byteswap.h: Likewise.
69014         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69015         ull, guard with __GLIBC_HAVE_LONG_LONG.
69017         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69018         __GLIBC_HAVE_LONG_LONG.
69020         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69021         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69023 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69025         [BZ #13691]
69026         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69027         inptr and inend, rather than using last_ch.
69029 2012-04-02  David S. Miller  <davem@davemloft.net>
69031         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69032         * stdio-common/printf-parse.h (read_int): Change return type to
69033         'int', return -1 on INT_MAX overflow.
69034         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69035         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69036         overflows INT_MAX.  Check for overflow of in-format-string precision
69037         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69038         SIZE_MAX not INT_MAX for integer overflow test.
69039         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69040         skip the construct in the format string but do not record anything.
69041         * stdio-common/bug22.c: Adjust to test both width/prevision
69042         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69043         explicitly for proper errno values.
69045 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69047         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69048         CHAR_MAX.
69049         * string/test-strcmp.c [! WIDE]: Likewise.
69050         * time/tst-mktime2.c: Likewise for INT_MAX.
69051         * string/test-string.h: #include <sys/param.h> for MIN.
69053         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69054         * sysdeps/i386/init-first.c (init): Likewise.
69055         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69056         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69057         * sysdeps/sh/init-first.c (init): Likewise.
69059 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69061         * po/ru.po: Update from translation team.
69062         * po/vi.po: Likewise.
69064 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69066         * resolv/nss_dns/dns-host.c: Merge copyright years.
69068 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69070         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69071         Optimize memcpy with prefetch if
69072         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69073         src, dst pointers have unequal 16 byte alignments.
69075 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69077         [BZ #13928]
69078         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69079         from a CNAME entry and return the minimum ttl for the query.
69080         (gaih_getanswer_slice): Likewise.
69082 2012-03-30  Jeff Law  <law@redhat.com>
69084         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69085         due to long keys.
69086         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69087         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69089         * resolv/nss_dns/dns-host.c: Update copyright year.
69091 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69093         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69094         requests to save a system call.  Fix check that all bytes are sent.
69096         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69097         comments for sendmmsg.
69099 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69101         [BZ #13691]
69102         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69103         with only 1 character between 0x0041 and 0x01b0.
69104         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69105         * wcsmbs/tst-mbsnrtowcs.c: New file.
69107 2012-03-29  David S. Miller  <davem@davemloft.net>
69109         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69110         small copies by hand.
69112 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69114         [BZ #13761]
69115         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69116         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69117         group memberships.
69119 2012-03-28  David S. Miller  <davem@davemloft.net>
69121         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69122         that branches into memcpy.
69123         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69124         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69125         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69126         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69127         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69128         bits.
69129         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69130         implementation too.
69131         * sysdeps/sparc/mempcpy.S: New file.
69133         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69134         the IFUNC routine in the libc case.
69135         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69137         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69138         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69139         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69140         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69141         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69142         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69143         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69144         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69146         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69147         loop to 256 bytes instead of 64 bytes and fix test signedness.
69149         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69150         * sysdeps/sparc/sparc32/Makefile: rather than here...
69151         * sysdeps/sparc/sparc64/Makefile: and here.
69153 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69155         * malloc/mallocbug.c: Avoid warnings about unused variables.
69157 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69159         [BZ #13760]
69160         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69161         in the right place. Discard and retry query if response is
69162         larger than input buffer size.
69164 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69166         [BZ #369]
69167         [BZ #2678]
69168         [BZ #3866]
69169         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69170         x for large integer exponent.
69171         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69172         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69173         sign of result as needed afterwards.
69174         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69175         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69176         result for underflowing pow the same as for overflow.
69177         (__kernel_standard_l): Handle powl overflow and underflow here
69178         rather than calling __kernel_standard.
69179         * math/libm-test.inc (pow_test): Add more tests.
69181         [BZ #3868]
69182         [BZ #13879]
69183         [BZ #13910]
69184         [BZ #13911]
69185         [BZ #13912]
69186         [BZ #13913]
69187         [BZ #13915]
69188         [BZ #13916]
69189         [BZ #13917]
69190         [BZ #13918]
69191         [BZ #13919]
69192         [BZ #13920]
69193         [BZ #13921]
69194         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69195         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69196         (__kernel_standard_l): New function.
69197         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69198         __kernel_standard.
69199         * math/w_acosl.c (__acosl): Likewise.
69200         * math/w_asinl.c (__asinl): Likewise.
69201         * math/w_atan2l.c (__atan2l): Likewise.
69202         * math/w_atanhl.c (__atanhl): Likewise.
69203         * math/w_coshl.c (__coshl): Likewise.
69204         * math/w_exp10l.c (__exp10l): Likewise.
69205         * math/w_exp2l.c (__exp2l): Likewise.
69206         * math/w_fmodl.c (__fmodl): Likewise.
69207         * math/w_hypotl.c (__hypotl): Likewise.
69208         * math/w_j0l.c (__j0l, __y0l): Likewise.
69209         * math/w_j1l.c (__j1l, __y1l): Likewise.
69210         * math/w_jnl.c (__jnl, __ynl): Likewise.
69211         * math/w_lgammal.c (__lgammal): Likewise.
69212         * math/w_log10l.c (__log10l): Likewise.
69213         * math/w_log2l.c (__log2l): Likewise.
69214         * math/w_logl.c (__logl): Likewise.
69215         * math/w_powl.c (__powl): Likewise.
69216         * math/w_remainderl.c (__remainderl): Likewise.
69217         * math/w_scalbl.c (sysv_scalbl): Likewise.
69218         * math/w_sinhl.c (__sinhl): Likewise.
69219         * math/w_sqrtl.c (__sqrtl): Likewise.
69220         * math/w_tgammal.c (__tgammal): Likewise.
69221         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69222         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69223         * math/libm-test.inc (acos_test): Add more tests.
69224         (acosh_test): Likewise.
69225         (asin_test): Likewise.
69226         (atanh_test): Likewise.
69227         (exp_test): Likewise.
69228         (exp10_test): Likewise.
69229         (exp2_test): Likewise.
69230         (expm1_test): Likewise.
69231         (lgamma_test): Likewise.
69232         (log_test): Likewise.
69233         (log10_test): Likewise.
69234         (log1p_test): Likewise.
69235         (log2_test): Likewise.
69236         (pow_test): Do not allow some spurious overflow exceptions.
69237         (sqrt_test): Add more tests.
69238         (tgamma_test): Likewise.
69239         (y0_test): Likewise.
69240         (y1_test): Likewise.
69241         (yn_test): Likewise.
69243 2012-03-27  Anton Blanchard  <anton@samba.org>
69245         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69246         MAP_HUGETLB.
69247         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69248         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69249         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69251 2012-03-27  David S. Miller  <davem@davemloft.net>
69253         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69255         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69256         have-as-vis3 check.
69258 2012-03-27  Andreas Jaeger  <aj@suse.de>
69260         * sysdeps/x86_64/elf/configure.in: Moved to ...
69261         * sysdeps/x86_64/configure.in: ... here.
69262         * sysdeps/x86_64/elf/start.S: Moved to ...
69263         * sysdeps/x86_64/start.S: ... here.
69264         * sysdeps/x86_64/elf/configure: Delete.
69266         * sysdeps/x86_64/configure.in: Merge contents from
69267         sysdeps/i386/configure.in (without i686 check).
69269         * sysdeps/i386/elf/Versions: Merge into ...
69270         * sysdeps/i386/Versions: ... this.
69271         * sysdeps/i386/elf/Versions: Delete file.
69272         * sysdeps/i386/elf/start.S: Moved to ...
69273         * sysdeps/i386/start.S: ...here.
69274         * sysdeps/i386/elf/configure.in: Merge into...
69275         * sysdeps/i386/configure.in: ...here.
69276         * sysdeps/i386/elf/configure.in: Delete file.
69277         * sysdeps/i386/elf/configure: Delete file.
69279         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69280         * debug/backtracesyms.c: ... here.
69281         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69282         * debug/backtracesymsfd.c: ... here.
69283         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69284         * sysdeps/generic/ifunc-sel.h: ... here.
69286         * sysdeps/unix/i386/start.c: Delete file.
69287         * sysdeps/unix/sparc/start.c: Delete file.
69288         * sysdeps/unix/start.c: Delete file.
69290         * sysdeps/sh/elf/configure.in: Moved to ...
69291         * sysdeps/sh/configure.in: ... here.
69292         * sysdeps/sh/elf/start.S: Moved to ...
69293         * sysdeps/sh/start.S: ... here.
69294         * sysdeps/sh/elf/configure: Delete file.
69296         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69297         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69298         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69299         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69300         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69301         * sysdeps/powerpc/powerpc64/start.S: here.
69302         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69303         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69304         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69305         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69306         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69308         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69309         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69310         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69311         * sysdeps/powerpc/powerpc32/start.S: ... here.
69312         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69313         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69314         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69316         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69317         * sysdeps/powerpc/ifunc-sel.h: ... here.
69318         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69319         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69321         * sysdeps/sparc/elf/configure.in: Moved to ...
69322         * sysdeps/sparc/configure.in: ... here.
69323         * sysdeps/sparc/elf/configure: Delete file.
69324         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69325         * sysdeps/sparc/sparc32/start.S: ... here.
69326         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69327         * sysdeps/sparc/sparc64/start.S: ... here.
69328         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69329         * sysdeps/sparc/sparc32/Makefile: ... this.
69330         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69331         * sysdeps/sparc/sparc64/Makefile: ... this.
69333         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69334         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69335         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69336         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69337         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69338         * sysdeps/s390/s390-32/setjmp.S: ... here.
69339         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69340         * sysdeps/s390/s390-32/configure.in: ... here.
69341         * sysdeps/s390/s390-32/elf/configure: Delete file.
69342         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69343         * sysdeps/s390/s390-32/start.S: ... here.
69345         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69346         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69347         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69348         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69349         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69350         * sysdeps/s390/s390-64/setjmp.S: ... here.
69351         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69352         * sysdeps/s390/s390-64/configure.in: ... here
69353         * sysdeps/s390/s390-64/elf/configure: Delete file.
69354         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69355         * sysdeps/s390/s390-64/start.S: ... here.
69356         * sysdeps/s390/s390-64/elf/configure: Delete.
69358         * configure.in: Remove support for elf directories in sysdeps.
69360         * configure: Regenerated.
69361         * sysdeps/i386/configure: Regenerated.
69362         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69363         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69364         * sysdeps/s390/s390-32/configure: Regenerated.
69365         * sysdeps/s390/s390-64/configure: Regenerated.
69366         * sysdeps/sh/configure: Regenerated.
69367         * sysdeps/sparc/configure: Regenerated.
69368         * sysdeps/x86_64/configure: Regenerated.
69370 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69374         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69375         denormal result into account.
69377 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69379         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69380         Reported by Allan McRae <allan@archlinux.org>.
69382 2012-03-23  Jeff Law  <law@redhat.com>
69384         * nss/getnssent.c (__nss_getent): Fix typo.
69386 2012-03-23  David S. Miller  <davem@davemloft.net>
69388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69390 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69392         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69393         to pad to uint64_t for each field.
69394         (dl_tls_index): Replace unsigned long with uint64_t.
69396 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69397         Paul Pluzhnikov  <ppluzhnikov@google.com>
69399         [BZ #6528]
69400         * grp/Makefile (otherlibs): Don't set it.
69401         * inet/Makefile (otherlibs): Likewise.
69402         * login/Makefile (otherlibs): Likewise.
69403         * nscd/Makefile (otherlibs): Likewise.
69404         * posix/Makefile (otherlibs): Likewise.
69405         * pwd/Makefile (otherlibs): Likewise.
69406         * rt/Makefile (otherlibs): Likewise.
69407         * sunrpc/Makefile (otherlibs): Likewise.
69408         * nss/Makefile (otherlibs): Likewise.
69409         Add libnss_files to routines and static-only-routines.
69410         ($(objpfx)getent): Remove rule.
69411         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69412         static-only-routines.
69414 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69416         [BZ #13892]
69417         * math/s_cexp.c: Include <float.h>.
69418         (__cexp): Handle exp result overflowing not necessarily
69419         overflowing both real and imaginary parts of result.
69420         * math/s_cexpf.c: Likewise.
69421         * math/s_cexpl.c: Likewise.
69422         * math/libm-test.inc (cexp_test): Add more tests.
69423         * sysdeps/i386/fpu/libm-test-ulps: Update.
69424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69426 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69428         * include/link.h (ELFW): New macro.
69429         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69430         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69432 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69434         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69435         with uint64_t.
69437 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69439         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69440         declaration.
69441         (struct La_x32_retval): Likewise.
69443 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69445         * sysdeps/x86_64/preconfigure.in: New file.
69446         * sysdeps/x86_64/preconfigure: New generated file.
69448 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69450         [BZ #13824]
69451         * math/e_exp2l.c: Include <float.h>.
69452         (__ieee754_exp2l): Handle overflow and underflow cases
69453         separately.  Only pass fractional part of argument to
69454         __ieee754_expl.
69455         * math/libm-test.inc (exp2_test): Add more tests.
69457         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69458         negating x to take absolute value.
69459         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69460         Likewise.
69461         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69462         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69463         Likewise.
69464         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69465         computing low part if x was negated.
69466         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69468 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69470         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69471         la_x32_gnu_pltexit.
69472         (pltexit): Cast int_retval to ptrdiff_t.
69473         * elf/tst-auditmod3b.c: Likewise.
69474         * elf/tst-auditmod4b.c: Likewise.
69475         * elf/tst-auditmod5b.c: Likewise.
69476         * elf/tst-auditmod6b.c: Likewise.
69477         * elf/tst-auditmod6c.c: Likewise.
69478         * elf/tst-auditmod7b.c: Likewise.
69480         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69481         and x32_gnu_pltexit.
69483         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69484         __ELF_NATIVE_CLASS.
69485         (La_x32_regs): New macro.
69486         (La_x32_retval): Likewise.
69487         (la_x32_gnu_pltenter): New function prototype.
69488         (la_x32_gnu_pltexit): Likewise.
69490 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69492         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69493         exponent.
69495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69497         * configure.in (libc_cv_cc_nofma): Check for option to disable
69498         generation of FMA instructions.
69499         * configure: Regenerate.
69500         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69501         * sysdeps/ieee754/dbl-64/Makefile: New file.
69502         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69503         Remove brandred-fma4.
69504         (CFLAGS-brandred-fma4.c): Remove.
69505         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69506         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69507         define.
69508         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69509         define.
69511 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69513         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69514         LLONG_MAX != LONG_MAX.
69515         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69516         (_fitoa_word): Likewise.
69517         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69518         LLONG_MAX != LONG_MAX.
69519         * stdio-common/_itowa.h: Include <_itoa.h>.
69520         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69521         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69522         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69523         only if not defined.
69524         (_ITOA_WORD_TYPE): Likewise.
69525         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69526         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69528 2012-03-21  David S. Miller  <davem@davemloft.net>
69530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69532 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69534         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69535         of x86_64 when setting libc_cv_slibdir, libdir and
69536         libc_cv_localedir.
69537         * sysdeps/unix/sysv/linux/configure: Regenerated.
69539 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69541         * manual/lang.texi (Old Varargs): Remove section.
69542         (How Variadic): Update menu.
69543         (va_start): Do not mention varargs.h.
69545 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69546             Joseph Myers  <joseph@codesourcery.com>
69548         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69549         link test.
69550         * configure: Regenerated.
69552 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69554         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69555         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69556         conformtest.pl
69558 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69560         * NOTES: Remove.
69561         * Makefile (files-for-dist): Remove NOTES.
69562         (NOTES): Remove rule.
69563         * README: Don't refer to NOTES.
69564         * manual/creature.texi: Don't include macros.texi.
69565         * manual/intro.texi (creature.texi): Remove comment referring to
69566         NOTES.
69568         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69569         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69570         * configure: Regenerated.
69571         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69572         LIBC_TRY_CC_OPTION.
69573         (libc_cv_as_i686): Likewise.
69574         (libc_cv_cc_avx): Likewise.
69575         (libc_cv_cc_sse2avx): Likewise.
69576         (libc_cv_cc_fma4): Likewise.
69577         (libc_cv_cc_novzeroupper): Likewise.
69578         * sysdeps/i386/configure: Regenerated.
69580         [BZ #13883]
69581         * sysdeps/i386/fpu/s_cexp.S: Remove.
69582         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69583         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69584         * math/libm-test.inc (cexp_test): Add more tests.
69585         * sysdeps/i386/fpu/libm-test-ulps: Update.
69586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69588 2012-03-21  Allan McRae  <allan@archlinux.org>
69590         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69592 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69594         [BZ #13871]
69595         * math/w_exp2.c: Do not include <float.h>.
69596         (o_threshold, u_threshold): Remove.
69597         (__exp2): Calculate result before checking finiteness and calling
69598         __kernel_standard.
69599         * math/w_exp2f.c: Likewise.
69600         * math/w_exp2l.c: Likewise.
69601         * math/libm-test.inc (exp2_test): Require overflow exception for
69602         1e6 input.
69604         [BZ #3866]
69605         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69606         range of signed 64-bit integers before using fistpll.  Remove
69607         checks for whether integers fit in mantissa bits.
69608         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69609         the range of signed 32-bit integers before using fistpl.  Remove
69610         checks for whether integers fit in mantissa bits.
69611         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69612         (__ieee754_powl): Test for y outside the range of signed 64-bit
69613         integers before using fistpll.  Reduce 64-bit values to 63-bit
69614         ones as needed.
69615         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69616         divide-by-zero is raised for zero to large negative powers.
69617         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69618         (__ieee754_powl): Test for y outside the range of signed 64-bit
69619         integers before using fistpll.  Reduce 64-bit values to 63-bit
69620         ones as needed.
69621         * math/libm-test.inc (pow_test): Add more tests.
69623 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69625         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69626         <stdio-common/_itoa.h>.
69627         * debug/segfault.c: Likewise.
69628         * elf/dl-cache.c: Likewise.
69629         * elf/dl-minimal.c: Likewise.
69630         * elf/dl-misc.c: Likewise.
69631         * elf/dl-sysdep.c: Likewise.
69632         * elf/dl-version.c: Likewise.
69633         * elf/rtld.c: Likewise.
69634         * hurd/hurdsock.c: Likewise.
69635         * hurd/lookup-retry.c: Likewise.
69636         * malloc/malloc.c: Likewise.
69637         * malloc/mtrace.c: Likewise.
69638         * nscd/nscd_getgr_r.c: Likewise.
69639         * nscd/nscd_getpw_r.c: Likewise.
69640         * nscd/nscd_getserv_r.c: Likewise.
69641         * posix/getopt_init.c: Likewise.
69642         * posix/wordexp.c: Likewise.
69643         * stdio-common/_itoa.c: Likewise.
69644         * stdio-common/printf_fphex.c: Likewise.
69645         * stdio-common/vfprintf.c: Likewise.
69646         * string/_strerror.c: Likewise.
69647         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69648         * sysdeps/i386/i686/hp-timing.h: Likewise.
69649         * sysdeps/mach/_strerror.c: Likewise.
69650         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69651         * sysdeps/mach/hurd/sethostid.c: Likewise.
69652         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69653         * sysdeps/mach/xpg-strerror.c: Likewise.
69654         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69655         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69656         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69657         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69658         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69659         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69660         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69661         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69662         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69663         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69664         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69665         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69666         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69667         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69668         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69669         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69670         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69671         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69672         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69673         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69674         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69676         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69678         * stdio-common/_itoa.h: Moved to ...
69679         * sysdeps/generic/_itoa.h: Here.
69681         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69683         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69684         instead of "_itoa.h" and "_itowa.h".
69685         * stdio-common/vfprintf.: Likewise.
69687 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69689         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69690         <bits/wordsize.h>.
69691         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69692         (__signbit): Likwise.
69693         (llrintf): Likwise.
69694         (llrint): Likwise.
69696 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69698         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69699         __WORDSIZE != 64.
69701 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69703         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69704         OVERFLOW_EXCEPTION_OK.
69705         * math/libm-test.inc ("Philosophy"): Update comment about
69706         exception testing.
69707         (OVERFLOW_EXCEPTION): Define.
69708         (OVERFLOW_EXCEPTION_OK): Likewise.
69709         (INVALID_EXCEPTION_OK): Renumber.
69710         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69711         (IGNORE_ZERO_INF_SIGN): Likewise.
69712         (test_exceptions): Handle FE_OVERFLOW.
69713         (exp10_test): Expect overflow exceptions.
69714         (exp2_test): Likewise.
69715         (expm1_test): Likewise.
69716         (nextafter_test): Likewise.
69717         (pow_test): Likewise.
69718         (scalbn_test): Likewise.
69719         (scalbln_test): Likewise.
69721 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69723         * sysdeps/x86_64/bits/atomic.h
69724         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69725         64bit integer.
69726         (atomic_exchange_acq): Likewise.
69727         (__arch_exchange_and_add_body): Likewise.
69728         (__arch_add_body): Likewise.
69729         (atomic_add_negative): Likewise.
69730         (atomic_add_zero): Likewise.
69732 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69734         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69735         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69737 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69739         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69740         Check __x86_64__ instead of __WORDSIZE.
69742 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69744         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69746 2012-03-19  David S. Miller  <davem@davemloft.net>
69748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69750         * sysdeps/sparc/fpu/fenv_private.h: New file.
69751         * sysdeps/sparc/fpu/math_private.h: Use it.
69752         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69753         Remove.
69754         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69755         (libc_feholdexcept_setroundl): Remove.
69756         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69757         Remove.
69758         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69759         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69761 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69763         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69764         int64_t instead of long int.
69765         (INSERT_WORDS64): Likwise.
69767 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69769         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69770         _Unwind_GetCFA return to _Unwind_Ptr first.
69772 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69774         [BZ #13629]
69775         * math/s_clog.c: Include <float.h>.
69776         (__clog): Scale large or subnormal inputs.
69777         * math/s_clogf.c: Likewise.
69778         * math/s_clogl.c: Likewise.
69779         * math/s_clog10.c: Include <float.h>.
69780         (M_LOG10_2): Define.
69781         (__clog10): Scale large or subnormal inputs.
69782         * math/s_clog10f.c: Likewise.
69783         * math/s_clog10l.c: Likewise.
69784         * math/libm-test.inc (clog_test): Add more tests.
69785         (clog10_test): Likewise.
69786         * sysdeps/i386/fpu/libm-test-ulps: Update.
69787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69789         [BZ #11451]
69790         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69791         x and y.
69792         * math/libm-test.inc (atan2_test): Add another test.
69794         * Makerules (common-objdir-compile): Remove.
69795         * sysdeps/unix/Makefile (config-generated): Do not add
69796         $(unix-generated) to variable.
69797         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69798         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69799         Remove rule.
69800         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69801         Likewise.
69802         [generic bits/local_lim.h] (before-compile): Do not append to
69803         variable.
69804         [generic bits/local_lim.h] (common-generated): Likewise.
69805         [generic sys/param.h] (before-compile): Do not append to variable.
69806         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69807         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69808         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69809         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69810         include.
69811         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69812         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69813         [generic sys/param.h] ($(addprefix
69814         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69815         [generic sys/param.h] (common-generated): Do not append to
69816         variable.
69817         [generic sys/param.h] (sysdep_headers): Likewise.
69818         [generic bits/errno.h] (before-compile): Do not append to
69819         variable.
69820         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69821         rule.
69822         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69823         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69824         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69825         [generic bits/errno.h] (common-generated): Do not append to
69826         variable.
69827         [generic bits/ioctls.h] (before-compile): Do not append to
69828         variable.
69829         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69830         rule.
69831         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69832         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69833         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69834         rule.
69835         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69836         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69837         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69838         [generic bits/ioctls.h] (common-generated): Do not append to
69839         variable.
69840         [generic sys/syscall.h] (syscall.h): Remove variable.
69841         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69842         rule.
69843         [generic sys/syscall.h] (before-compile): Do not append to
69844         variable.
69845         [generic sys/syscall.h] (common-generated): Likewise.
69846         * sysdeps/unix/errnos-tmpl.c: Remove file.
69847         * sysdeps/unix/errnos.awk: Likewise.
69848         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69849         * sysdeps/unix/ioctls.awk: Likewise.
69850         * sysdeps/unix/mk-local_lim.c: Likewise.
69851         * sysdeps/unix/snarf-ioctls: Likewise.
69853 2012-03-19  Richard Henderson  <rth@twiddle.net>
69855         * sysdeps/i386/fpu/fenv_private.h: New file.
69856         * sysdeps/i386/fpu/math_private.h: Use it.
69857         (math_opt_barrier, math_force_eval): Remove.
69858         (libc_feholdexcept_setround_53bit): Remove.
69859         (libc_feupdateenv_53bit): Remove.
69860         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69861         (math_opt_barrier, math_force_eval): Remove.
69862         (libc_feholdexcept): Remove.
69863         (libc_feholdexcept_setround): Remove.
69864         (libc_fetestexcept, libc_fesetenv): Remove.
69865         (libc_feupdateenv_test): Remove.
69866         (libc_feupdateenv, libc_feholdsetround): Remove.
69867         (libc_feresetround): Remove.
69869         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69870         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69872         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69873         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69874         (libc_feupdateenv_testl): New.
69875         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69876         (libc_feupdateenv_testf): New.
69877         (libc_feupdateenv): Use libc_feupdateenv_test.
69878         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69879         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69881         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69882         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69883         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69884         (libc_feresetround_noex): New.
69885         (libc_feresetround_noexf): New.
69886         (libc_feresetround_noexl): New.
69887         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69888         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69889         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69890         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69891         SET_RESTORE_ROUND.
69892         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69893         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69894         (__cos): Likewise.
69895         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69896         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69897         SET_RESTORE_ROUND_NOEX.
69898         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69899         SET_RESTORE_ROUND_NOEXF.
69900         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69901         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69902         (libc_feholdsetroundf): New.
69903         (libc_feresetround, libc_feresetroundf): New.
69905         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69906         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69907         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69909         * sysdeps/generic/math_private.h: Include <fenv.h>.
69910         (default_libc_feholdexcept): New.
69911         (default_libc_feholdexcept_setround): New.
69912         (default_libc_fesetenv, default_libc_feupdateenv): New.
69913         (libc_feholdexcept): Only define if undefined.
69914         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69915         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69916         (libc_feholdexcept_setroundl): Likewise.
69917         (libc_feholdexcept_setround_53bit): Likewise.
69918         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69919         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69920         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69921         (libc_feupdateenv_53bit): Likewise.
69922         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69923         (libc_feholdexcept): Convert from macro to inline function.
69924         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69925         (libc_fesetenv, libc_feupdateenv): Likewise.
69927         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69928         not previously defined.
69929         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69930         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69931         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69932         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69933         * sysdeps/ieee754/flt-32/math_private.h: New file.
69934         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69935         math_private.h below SET_FLOAT_WORD.
69936         (__isnan, __isinf_ns, __finite): Remove.
69937         (__isnanf, __isinf_nsf, __finitef): Remove.
69939 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69943 2012-03-17  David S. Miller  <davem@davemloft.net>
69945         [BZ #6471]
69946         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69947         for 2.16.
69949 2012-03-16  David S. Miller  <davem@davemloft.net>
69951         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69952         warnings.
69954         [BZ #6471]
69955         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69956         properly.
69957         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69958         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69959         sysdep_routines when subdir is sysvipc.
69960         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69961         __getshmlba helper.
69963         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69965 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69967         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69968         [__LP64__].
69970 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69972         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69973         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69974         (__lround): Renamed to ...
69975         (__llround): This.  Replace long int with long long int.
69976         Define lround functions as aliases of llround functions.
69977         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69979 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69981         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69982         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69983         adresses to uintptr_t.  Replace "long int" and "unsigned long
69984         int" with "greg_t" on va_arg.
69986 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69988         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69989         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69991         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69992         Move e_machine check before EI_CLASS check.  Handle x32
69993         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69994         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69995         SKIP_EM_IA_64 and include
69996         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69998         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69999         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70000         (add_system_dir): New macro.
70002         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70003         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70005 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70007         [BZ #2551]
70008         [BZ #2552]
70009         [BZ #2553]
70010         [BZ #2554]
70011         [BZ #2562]
70012         [BZ #2563]
70013         [BZ #2565]
70014         [BZ #2566]
70015         [BZ #2576]
70016         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70017         (y0): Likewise.
70018         * math/w_j0f.c (j0f): Likewise.
70019         (y0f): Likewise.
70020         * math/w_j0l.c (__j0l): Likewise.
70021         (__y0l): Likewise.
70022         * math/w_j1.c (j1): Likewise.
70023         (y1): Likewise.
70024         * math/w_j1f.c (j1f): Likewise.
70025         (y1f): Likewise.
70026         * math/w_j1l.c (__j1l): Likewise.
70027         (__y1l): Likewise.
70028         * math/w_jn.c (jn): Likewise.
70029         (yn): Likewise.
70030         * math/w_jnf.c (jnf): Likewise.
70031         (ynf): Likewise.
70032         * math/w_jnl.c (__jnl): Likewise.
70033         (__ynl): Likewise.
70034         * math/libm-test.inc (j0_test): Add more tests.
70035         (j1_test): Likewise.
70036         (jn_test): Likewise.  Add trailing semicolon to existing test.
70037         (y0_test): Likewise.
70038         (y1_test): Likewise.
70039         * sysdeps/i386/fpu/libm-test-ulps: Update.
70040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70042         [BZ #13851]
70043         [BZ #13854]
70044         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70045         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70046         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70047         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70048         (__tanl): Set errno for infinite argument.
70049         * sysdeps/i386/fpu/mptan.c: Remove.
70050         * sysdeps/i386/fpu/s_tan.S: Likewise.
70051         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70052         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70053         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70054         * math/libm-test.inc (tan_test): Add more tests and enable more
70055         tests for double and long double.
70056         * sysdeps/i386/fpu/libm-test-ulps: Update.
70057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70059 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70061         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70062         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70064 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70066         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70067         * configure.in: Use it for both main tree and add-ons.
70068         * configure: Regenerated.
70070 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70072         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70074 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70076         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70077         in comment.
70079         [BZ #13851]
70080         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70081         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70082         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70083         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70084         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70085         infinite argument.
70086         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70087         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70088         != 0 for prec == 2.
70089         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70090         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70091         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70092         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70093         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70094         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70095         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70096         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70097         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70098         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70099         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70100         * math/libm-test.inc (cos_test): Add more tests and enable more
70101         tests for long double.
70102         (sin_test): Likewise.
70103         (sincos_test): Likewise.
70104         * sysdeps/i386/fpu/libm-test-ulps: Update.
70105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70107 2012-03-16  David S. Miller  <davem@davemloft.net>
70109         * sysdeps/sparc/fpu/math_private.h: New file.
70111 2012-03-15  David S. Miller  <davem@davemloft.net>
70113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70114         file.
70115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70117         file.
70118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70119         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70120         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70121         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70122         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70123         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70124         sysdep routines.
70125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70127         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70128         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70130         * sysdeps/sparc/sparc-ifunc.h: New file.
70131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70132         sparc-ifunc.h
70133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70135         Likewise.
70136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70137         Likewise.
70138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70142         Likewise.
70143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70148         Likewise.
70149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70150         Likewise.
70151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70155         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70156         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70157         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70158         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70159         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70160         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70163         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70164         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70165         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70166         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70167         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70168         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70169         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70170         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70171         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70172         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70173         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70174         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70176 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70178         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70179         scaling.
70180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70182 2012-03-15  Andreas Jaeger  <aj@suse.de>
70184         [BZ #13852]
70185         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70186         ieee754/flt-32 implementation for sin, cos and sincos.
70187         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70188         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70189         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70190         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70191         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70192         ieee754/flt-32 implementation for tan.
70194         * math/libm-test.inc (cos_test): Enable some large input tests for
70195         float as well
70196         (sin_test): Likewise.
70197         (sincos_test): Likewise.
70198         (tan_test): Add tests for large input.
70200         * sysdeps/i386/fpu/libm-test-ulps: Update.
70202 2012-03-15  Andreas Jaeger  <aj@suse.de>
70204         [BZ #13658]
70205         * math/libm-test.inc (cos_test): Add more test cases.
70206         (sin_test): Likewise.
70207         (sincos_test): Likewise.
70209 2012-03-15  Andreas Jaeger  <aj@suse.de>
70211         [BZ #13837]
70212         * math/libm-test.inc (cos_test): Add a test case for large input
70213         value.
70214         (sin_test): Likewise.
70215         (sincos_test): Likewise.
70217 2012-03-15  Andreas Jaeger  <aj@suse.de>
70218             Joseph Myers  <joseph@codesourcery.com>
70220         [BZ #13658]
70221         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70222         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70223         * sysdeps/i386/fpu/branred.c: Likewise.
70224         * sysdeps/i386/fpu/dosincos.c: Likewise.
70225         * sysdeps/i386/fpu/mpa.c: Likewise.
70226         * sysdeps/i386/fpu/s_cos.S: Likewise.
70227         * sysdeps/i386/fpu/s_sin.S: Likewise.
70228         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70229         * sysdeps/i386/fpu/sincos32.c: Likewise.
70231         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70232         Define.
70233         (libc_feupdateenv_53bit): Define.
70234         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70235         Define.
70236         (libc_feupdateenv_53bit): Define.
70238         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70239         53 bit (without extend i386 double precision).
70241         * math/libm-test.inc (sincos_test): Add tests for large input.
70242         (sin): Likewise.
70243         (cos): Likewise.
70245         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70247 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70251 2012-03-15  David S. Miller  <davem@davemloft.net>
70253         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70254         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70255         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70256         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70261         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70262         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70263         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70264         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70265         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70266         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70267         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70269         file.
70270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70272         file.
70273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70275         file.
70276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70278         file.
70279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70280         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70281         fmin/fmax sysdep routines.
70282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70284 2012-03-14  David S. Miller  <davem@davemloft.net>
70286         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70287         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70288         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70289         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70290         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70291         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70292         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70293         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70294         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70295         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70296         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70297         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70298         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70299         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70300         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70301         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70302         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70303         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70304         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70305         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70306         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70307         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70308         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70309         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70310         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70311         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70312         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70313         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70314         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70315         routines.
70316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70317         file.
70318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70320         file.
70321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70323         file.
70324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70326         file.
70327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70329         file.
70330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70332         file.
70333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70334         file.
70335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70336         file.
70337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70338         file.
70339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70340         New file.
70341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70342         file.
70343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70344         file.
70345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70347         file.
70348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70350         file.
70351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70353         file.
70354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70356         VIS3 routines.
70358         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70359         New file.
70361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70363         * sysdeps/sparc/configure.in: New file.
70364         * sysdeps/sparc/configure: Generate.
70365         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70366         * configure: Regenerate.
70367         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70368         * config.make.in (have-as-vis3): New.
70369         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70370         available use -Av9d instead of -Av9a.
70371         * sysdeps/sparc/sparc64/Makefile: Likewise.
70372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70374         New file.
70375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70376         file.
70377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70378         New file.
70379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70380         file.
70381         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70382         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70383         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70384         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70385         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70387         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70388         fzeros/fnegs to load 0x80000000 into a float register instead of
70389         using the stack.
70390         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70392 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70394         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70395         bits/syscall.h.
70396         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70397         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70398         ($(inst_includedir)/bits/syscall.h): Remove rule.
70399         ($(objpfx)bits/syscall.d): Include instead of
70400         $(objpfx)syscall-list.d.
70401         (generated): Change syscall-list.h and syscall-list.d to
70402         bits/syscall.h and bits/syscall.d.
70404 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70406         [BZ #13846]
70407         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70409 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70411         [BZ #13841]
70412         * math/s_csqrt.c: Include <float.h>.
70413         (__csqrt): Scale large or subnormal inputs.
70414         * math/s_csqrtf.c: Likewise.
70415         * math/s_csqrtl.c: Likewise.
70416         * math/libm-test.inc (csqrt_test): Add more tests.
70417         * sysdeps/i386/fpu/libm-test-ulps: Update.
70418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70420         [BZ #13840]
70421         * math/libm-test.inc (hypot_test): Add more tests.
70423 2012-03-13  David S. Miller  <davem@davemloft.net>
70425         [BZ #13840]
70426         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70427         double-precision for the calculation instead of scaling.
70429 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70431         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70432         manipulate bits before adding and subtracting TWO52[sx].
70433         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70434         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70435         Likewise.
70436         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70438 2012-03-13  David S. Miller  <davem@davemloft.net>
70440         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70441         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70442         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70443         rtld-global-offsets.h
70444         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70446         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70447         large parameters.
70449         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70451         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70452         'err' in the ifdef scope in which it is actually used.
70454         * nss/nss_db/db-init.c: Include string.h
70456 2012-03-12  David S. Miller  <davem@davemloft.net>
70458         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70459         masking out of the most significant byte of random value used.
70460         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70461         Fix coding style in previous change.
70463         * sysdeps/unix/sysv/linux/kernel-features.h
70464         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70465         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70466         expression.
70467         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70468         later.
70470 2012-03-11  David S. Miller  <davem@davemloft.net>
70472         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70473         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70474         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70475         for 'resultvar' otherwise things get truncated on 64-bit.
70477         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70478         Fix masking out of the most significant byte of random value used.
70480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70482 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70486 2012-03-09  David S. Miller  <davem@davemloft.net>
70488         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70489         variables with appropriate CPP guards.
70490         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70491         from the frame pointer, not the stack pointer.  Correct layout
70492         comments.  Fix test on resulting framesize and the management of
70493         the outregs buffer for pltexit.  Preserve floating point return
70494         values across _dl_call_pltexit call.
70495         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70496         framesize and the management of the outregs buffer for pltexit.
70497         Preserve floating point return values across _dl_call_pltexit
70498         call.
70499         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70500         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70501         (la_sparc64_gnu_pltexit): New functions.
70502         (print_exit): Fix format string for return register value.
70504 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70506         * sunrpc/Makefile (others): Add rpcgen.
70507         ($(objpfx)rpcgen): Remove special build rule and dependency on
70508         libc.
70509         * sunrpc/rpcgen.c: New file.
70511 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70513         [BZ #13673]
70514         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70515         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70516         * sysdeps/i386/crti.S: Likewise.
70517         * sysdeps/i386/crtn.S: Likewise.
70518         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70519         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70520         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70521         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70522         * sysdeps/sh/crti.S: Likewise.
70523         * sysdeps/sh/crtn.S: Likewise.
70524         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70526         [BZ #13673]
70527         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70528         with URL.
70529         * locale/programs/locfile-kw.gperf: Likewise.
70530         * locale/programs/charmap-kw.h: Regenerated.
70531         * locale/programs/locfile-kw.h: Likewise.
70533         [BZ #13673]
70534         * intl/plural.y: Replace FSF snail mail address with URL.
70535         * intl/plural.c: Regenerated.
70537 2012-03-09  Richard Henderson  <rth@twiddle.net>
70539         * include/math_private.h: Remove file.
70540         * math/math_private.h: Move file ...
70541         * sysdeps/generic/math_private.h: ... here.
70543         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70544         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70545         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70547         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70548         and <math_private.h>.
70549         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70550         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70551         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70552         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70553         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70554         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70555         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70556         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70557         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70558         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70559         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70560         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70561         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70562         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70563         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70564         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70565         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70566         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70567         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70568         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70569         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70570         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70571         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70572         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70573         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70574         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70575         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70576         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70577         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70578         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70579         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70580         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70581         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70582         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70583         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70584         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70585         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70586         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70587         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70588         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70589         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70590         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70591         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70592         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70593         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70594         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70595         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70596         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70597         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70598         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70599         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70600         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70601         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70602         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70603         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70604         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70605         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70606         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70607         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70608         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70609         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70610         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70611         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70612         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70613         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70614         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70615         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70616         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70617         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70618         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70619         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70620         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70621         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70622         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70623         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70624         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70625         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70626         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70627         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70628         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70629         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70630         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70631         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70632         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70633         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70634         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70635         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70636         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70637         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70638         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70639         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70640         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70641         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70642         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70643         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70644         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70645         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70646         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70647         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70648         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70649         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70650         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70651         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70652         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70653         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70654         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70655         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70656         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70657         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70658         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70659         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70660         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70661         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70662         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70663         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70664         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70665         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70666         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70667         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70668         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70669         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70670         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70671         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70672         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70673         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70674         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70675         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70676         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70677         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70678         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70679         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70680         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70681         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70682         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70683         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70684         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70685         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70686         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70687         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70688         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70689         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70690         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70691         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70692         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70693         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70694         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70695         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70696         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70697         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70698         * sysdeps/ieee754/k_standard.c: Likewise.
70699         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70700         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70701         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70702         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70703         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70704         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70705         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70706         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70707         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70708         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70709         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70710         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70711         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70712         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70713         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70714         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70715         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70716         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70717         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70718         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70719         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70720         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70721         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70722         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70723         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70724         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70725         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70726         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70727         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70728         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70729         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70730         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70731         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70732         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70733         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70734         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70735         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70736         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70737         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70738         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70739         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70740         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70741         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70742         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70743         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70744         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70745         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70746         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70747         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70748         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70749         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70750         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70751         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70752         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70753         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70754         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70755         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70756         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70757         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70758         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70759         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70760         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70761         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70762         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70763         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70764         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70765         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70766         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70767         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70768         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70769         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70770         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70771         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70772         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70773         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70774         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70775         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70776         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70777         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70778         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70779         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70780         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70781         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70782         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70783         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70784         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70785         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70786         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70787         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70788         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70789         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70790         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70791         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70792         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70793         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70794         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70795         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70796         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70797         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70798         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70799         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70800         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70801         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70802         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70803         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70804         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70805         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70806         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70807         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70808         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70809         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70810         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70811         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70812         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70813         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70814         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70815         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70816         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70817         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70818         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70819         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70820         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70821         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70822         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70823         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70824         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70825         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70826         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70827         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70828         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70829         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70830         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70831         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70832         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70833         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70834         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70835         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70836         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70837         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70838         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70839         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70840         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70841         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70842         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70843         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70844         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70845         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70846         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70847         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70848         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70849         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70850         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70851         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70852         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70853         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70854         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70855         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70856         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70857         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70858         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70859         * sysdeps/ieee754/s_lib_version.c: Likewise.
70860         * sysdeps/ieee754/s_matherr.c: Likewise.
70861         * sysdeps/ieee754/s_signgam.c: Likewise.
70862         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70863         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70864         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70865         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70866         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70867         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70868         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70869         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70870         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70871         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70872         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70873         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70874         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70875         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70876         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70877         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70878         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70879         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70880         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70881         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70882         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70884 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70886         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70887         * sunrpc/rpc_main.c: Likewise.
70888         * sunrpc/rpc_svcout.c: Likewise.
70890 2012-03-09  David S. Miller  <davem@davemloft.net>
70892         * include/math_private.h: New file.
70894 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70896         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70897         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70898         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70899         from <bits/socket_type.h>.
70900         (enum __socket_type): Don't define here.
70901         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70902         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70903         bits/socket_type.h.
70905         [BZ #13566]
70906         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70907         checking __USE_GNU.
70909         * Makerules ($(inst_includedir)/%.h): New rule.
70910         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70911         (install-others): Remove variable setting.
70912         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70914 2012-03-08  Richard Henderson  <rth@twiddle.net>
70916         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70917         from macro to inline function; merge with the
70918         !__LIBC_INTERNAL_MATH_INLINES version.
70919         (__ieee754_sqrtf): Likewise.
70921         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70922         to inline function.
70923         (__rintf, __floor, __floorf): Likewise.
70925         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70926         macro to inline function.
70927         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70929         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70930         not <math/math_private.h>.
70932 2012-03-08  David S. Miller  <davem@davemloft.net>
70934         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70935         copyright year.
70936         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70938 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70940         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70941         normalization.
70942         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70943         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70945 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70947         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70948         be defined individually, they must be defined as a block.  Define
70949         S for printing a string instead of hidint the different by using a
70950         macro for adding the 'l'.
70951         * stdio-common/tst-fphex-wide.c: Adjust.
70953 2012-03-07  Marek Polacek  <polacek@redhat.com>
70955         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70957 2012-03-08  Marek Polacek  <polacek@redhat.com>
70959         [BZ #13806]
70960         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70961         * stdio-common/tst-fphex.c: Define a few macros to make the
70962         test reusable.  Use them.
70963         * stdio-common/tst-fphex-wide.c: New file.
70965 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70967         [BZ #6911]
70968         * manual/macros.texi (gnusystems): New macro.
70969         (nongnusystems): Likewise.
70970         (gnulinuxhurdsystems): Likewise.
70971         (gnuhurdsystems): Likewise..
70972         (gnulinuxsystems): Likewise.
70973         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70974         variants of the GNU system, not "GNU system".
70975         * manual/conf.texi: Likewise.
70976         * manual/errno.texi: Likewise.  Update example of errno macro
70977         expansion.
70978         * manual/filesys.texi: Likewise.
70979         (getumask): Document as specific to GNU/Hurd.
70980         * manual/install.texi: Likewise.  Reword some references to
70981         GNU/Linux.
70982         * manual/intro.texi: Likewise.
70983         * manual/io.texi: Likewise.
70984         (File Name Portability): Detail which constraints are inapplicable
70985         to all GNU systems and which are only inapplicable to GNU/Hurd.
70986         * manual/job.texi: Likewise.
70987         * manual/llio.texi: Likewise.
70988         (O_NOCTTY): Document as present on GNU/Linux.
70989         * manual/maint.texi: Likewise.
70990         * manual/memory.texi: Likewise.
70991         * manual/pattern.texi: Likewise.
70992         * manual/pipe.texi: Likewise.
70993         * manual/process.texi: Likewise.
70994         * manual/resource.texi: Likewise.
70995         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70996         child on GNU/Hurd.
70997         * manual/setjmp.texi: Likewise.
70998         * manual/signal.texi: Likewise.
70999         * manual/startup.texi: Likewise.
71000         * manual/stdio.texi: Likewise.
71001         * manual/terminal.texi: Likewise.
71002         (ONLCR): Document as POSIX.
71003         (OXTABS): Document availability on GNU/Linux as XTABS.
71004         (ONOEOT): Document availability separately from other bits.
71005         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71006         * manual/time.texi: Likewise.
71007         * manual/users.texi: Likewise.
71008         * INSTALL: Regenerated.
71009         * sysdeps/gnu/errlist.c: Regenerated.
71011         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71012         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71013         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71014         puts.
71015         * configure: Regenerated.
71017 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71019         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71020         default includes instead of AC_HEADER_CHECK.
71021         * sysdeps/i386/configure: Regenerated.
71023         [BZ #10716]
71024         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71025         * math/s_cacoshf.c (__cacoshf): Likewise.
71026         * math/s_cacoshl.c (__cacoshl): Likewise.
71027         * math/s_casinh.c (__casinh): Set signs of result from argument.
71028         * math/s_casinhf.c (__casinhf): Likewise.
71029         * math/s_casinhl.c (__casinhl): Likewise.
71030         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71031         (casinh_test): Add more tests.
71032         * sysdeps/i386/fpu/libm-test-ulps: Update.
71033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71035 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71037         * po/zh_TW.po: Update from translation team.
71039         * login/Makefile (distribute): Remove variable.
71040         * catgets/Makefile: Likewise.
71041         * mach/Makefile: Likewise.
71042         * malloc/Makefile: Likewise.
71043         * misc/Makefile: Likewise.
71044         * iconv/Makefile: Likewise.
71045         * nscd/Makefile: Likewise.
71046         * hurd/Makefile: Likewise.
71047         * manual/Makefile: Likewise.
71048         * locale/Makefile: Likewise.
71049         * intl/Makefile: Likewise.
71050         * conform/Makefile: Likewise.
71051         * nss/Makefile: Likewise.
71052         * time/Makefile: Likewise.
71053         * soft-fp/Makefile: Likewise.
71054         * dirent/Makefile: Likewise.
71055         * gmon/Makefile: Likewise.
71056         * po/Makefile: Likewise.
71057         * rt/Makefile: Likewise.
71058         * socket/Makefile: Likewise.
71059         * math/Makefile: Likewise.
71060         * signal/Makefile: Likewise.
71061         * debug/Makefile: Likewise.
71062         * elf/Makefile: Likewise.
71063         * timezone/Makefile: Likewise.
71064         * stdlib/Makefile: Likewise.
71065         * iconvdata/Makefile: Likewise.
71066         * sunrpc/Makefile: Likewise.
71067         * io/Makefile: Likewise.
71068         * argp/Makefile: Likewise.
71069         * inet/Makefile: Likewise.
71070         * hesiod/Makefile: Likewise.
71071         * grp/Makefile: Likewise.
71072         * csu/Makefile: Likewise.
71073         * wctype/Makefile: Likewise.
71074         * crypt/Makefile: Likewise.
71075         * libio/Makefile: Likewise.
71076         * string/Makefile: Likewise.
71077         * nis/Makefile: Likewise.
71078         * resolv/Makefile: Likewise.
71079         * stdio-common/Makefile: Likewise.
71080         * wcsmbs/Makefile: Likewise.
71081         * dlfcn/Makefile: Likewise.
71082         * posix/Makefile: Likewise.
71084         [BZ #6959]
71085         * timezone/Makefile: Don't install timezone files, just the programs
71086         and scripts.
71088 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71090         * nss/databases.def: Add missing gshadow entry.
71092         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71094 2012-03-06  Marek Polacek  <polacek@redhat.com>
71096         [BZ #13726]
71097         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71098         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71099         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71100         * stdio-common/tst-long-dbl-fphex.c: New file.
71102 2012-03-06  David S. Miller  <davem@davemloft.net>
71104         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71105         (set_obp_int): New function.
71106         (get_obp_int): New function.
71107         (__get_clockfreq_via_dev_openprom): Likewise.
71108         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71109         Avoid unused variable warnings on 'val' and use builtin_expect.
71110         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71111         __builtin_expect.
71112         (INLINE_CLONE_SYSCALL): Likewise.
71114 2012-03-05  David S. Miller  <davem@davemloft.net>
71116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71118 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71122         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71123         only for |x| >= 40.
71124         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71126 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71128         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71129         Replace gettimeofday with __vdso_gettimeofday.
71131         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71132         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71133         __vdso_clock_gettime and __vdso_getcpu.
71135         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71136         time with __vdso_time.
71138 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71140         * manual/lang.texi (size_t): Note types to which size_t may be
71141         equivalent with the GNU C Library, but do not describe when
71142         differences between them are significant.
71144 2012-03-05  Andreas Jaeger  <aj@suse.de>
71146         * sysdeps/i386/fpu/libm-test-ulps: Update.
71148 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71150         [BZ #3976]
71151         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71152         (__ieee754_pow): Save and restore rounding mode and use
71153         round-to-nearest for main computations.
71154         * math/libm-test.inc (pow_test_tonearest): New function.
71155         (pow_test_towardzero): Likewise.
71156         (pow_test_downward): Likewise.
71157         (pow_test_upward): Likewise.
71158         (main): Call the new functions.
71159         * sysdeps/i386/fpu/libm-test-ulps: Update.
71160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71162         [BZ #3976]
71163         * math/libm-test.inc (cosh_test_tonearest): New function.
71164         (cosh_test_towardzero): Likewise.
71165         (cosh_test_downward): Likewise.
71166         (cosh_test_upward): Likewise.
71167         (sinh_test_tonearest): Likewise.
71168         (sinh_test_towardzero): Likewise.
71169         (sinh_test_downward): Likewise.
71170         (sinh_test_upward): Likewise.
71171         (main): Call the new functions.
71172         * sysdeps/i386/fpu/libm-test-ulps: Update.
71173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71175 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71177         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71178         default stack guard is set in last bytes.
71179         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71181 2012-03-05  Kees Cook  <keescook@chromium.org>
71183         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71185         [BZ #13656]
71186         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71187         possibly allocate from heap instead of stack.
71188         * stdio-common/bug-vfprintf-nargs.c: New file.
71189         * stdio-common/Makefile (tests): Add nargs overflow test.
71191 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71195 2012-03-03  Marek Polacek  <polacek@redhat.com>
71197         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71198         * math/math_private.h: Likewise.
71199         * stdlib/tst-strtod.c: Likewise.
71200         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71201         * sysdeps/x86_64/bits/atomic.h: Likewise.
71203 2012-03-02  David S. Miller  <davem@davemloft.net>
71205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71209         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71210         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71211         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71212         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71214 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71216         [BZ #13792]
71217         * manual/examples/README: New file, says the example source files
71218         can be used under GPL>=2.
71219         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71220         line containing just "*/".
71221         * manual/examples/add.c: Add copyright header (GPL>=2).
71222         * manual/examples/argp-ex1.c: Likewise.
71223         * manual/examples/argp-ex2.c: Likewise.
71224         * manual/examples/argp-ex3.c: Likewise.
71225         * manual/examples/argp-ex4.c: Likewise.
71226         * manual/examples/atexit.c: Likewise.
71227         * manual/examples/db.c: Likewise.
71228         * manual/examples/dir.c: Likewise.
71229         * manual/examples/dir2.c: Likewise.
71230         * manual/examples/execinfo.c: Likewise.
71231         * manual/examples/filecli.c: Likewise.
71232         * manual/examples/filesrv.c: Likewise.
71233         * manual/examples/fmtmsgexpl.c: Likewise.
71234         * manual/examples/genpass.c: Likewise.
71235         * manual/examples/inetcli.c: Likewise.
71236         * manual/examples/inetsrv.c: Likewise.
71237         * manual/examples/isockad.c: Likewise.
71238         * manual/examples/longopt.c: Likewise.
71239         * manual/examples/memopen.c: Likewise.
71240         * manual/examples/memstrm.c: Likewise.
71241         * manual/examples/mkfsock.c: Likewise.
71242         * manual/examples/mkisock.c: Likewise.
71243         * manual/examples/mygetpass.c: Likewise.
71244         * manual/examples/pipe.c: Likewise.
71245         * manual/examples/popen.c: Likewise.
71246         * manual/examples/rprintf.c: Likewise.
71247         * manual/examples/search.c: Likewise.
71248         * manual/examples/select.c: Likewise.
71249         * manual/examples/setjmp.c: Likewise.
71250         * manual/examples/sigh1.c: Likewise.
71251         * manual/examples/sigusr.c: Likewise.
71252         * manual/examples/stpcpy.c: Likewise.
71253         * manual/examples/strdupa.c: Likewise.
71254         * manual/examples/strftim.c: Likewise.
71255         * manual/examples/strncat.c: Likewise.
71256         * manual/examples/subopt.c: Likewise.
71257         * manual/examples/swapcontext.c: Likewise.
71258         * manual/examples/termios.c: Likewise.
71259         * manual/examples/testopt.c: Likewise.
71260         * manual/examples/testpass.c: Likewise.
71261         * manual/examples/timeval_subtract.c: Likewise.
71263         [BZ #13792]
71264         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71265         function to ...
71266         * manual/timeval_subtract.c.texi: ... here, new file.
71268 2012-03-02  David S. Miller  <davem@davemloft.net>
71270         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71272 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71274         [BZ #3976]
71275         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71276         (__sin): Save and restore rounding mode and use round-to-nearest
71277         for all computations.
71278         (__cos): Save and restore rounding mode and use round-to-nearest
71279         for all computations.
71280         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71281         <fenv.h>.
71282         (tan): Save and restore rounding mode and use round-to-nearest for
71283         all computations.
71284         * math/libm-test.inc (cos_test_tonearest): New function.
71285         (cos_test_towardzero): Likewise.
71286         (cos_test_downward): Likewise.
71287         (cos_test_upward): Likewise.
71288         (sin_test_tonearest): Likewise.
71289         (sin_test_towardzero): Likewise.
71290         (sin_test_downward): Likewise.
71291         (sin_test_upward): Likewise.
71292         (tan_test_tonearest): Likewise.
71293         (tan_test_towardzero): Likewise.
71294         (tan_test_downward): Likewise.
71295         (tan_test_upward): Likewise.
71296         (main): Call the new functions.
71297         * sysdeps/i386/fpu/libm-test-ulps: Update.
71298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71300         [BZ #10135]
71301         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71302         small n, then large n, before computing and testing k+n.
71303         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71304         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71305         Likewise.
71306         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71307         Likewise.
71308         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71309         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71310         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71311         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71312         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71313         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71314         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71315         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71316         * math/libm-test.inc (scalbn_test): Add more tests.
71317         (scalbln_test): Likewise.
71319         * manual/filesys.texi (mode_t): Describe constraints on size and
71320         signedness, not exact equivalence to a particular type.
71321         (ino_t): Likewise.
71322         (ino64_t): Likewise.
71323         (dev_t): Likewise.
71324         (nlink_t): Likewise.
71325         (blkcnt_t): Likewise.
71326         (blkcnt64_t): Likewise.
71327         * manual/llio.texi (off_t): Likewise.
71329         [BZ #3976]
71330         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71331         (__ieee754_exp): Save and restore rounding mode and use
71332         round-to-nearest for all computations.
71333         * math/libm-test.inc (exp_test_tonearest): New function.
71334         (exp_test_towardzero): Likewise.
71335         (exp_test_downward): Likewise.
71336         (exp_test_upward): Likewise.
71337         (main): Call the new functions.
71338         * sysdeps/i386/fpu/libm-test-ulps: Update.
71339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71341 2012-03-01  Chris Demetriou  <cgd@google.com>
71343         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71344         have predictable order.
71346 2012-03-01  David S. Miller  <davem@davemloft.net>
71348         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71350         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71351         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71352         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71353         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71355         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71356         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71357         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71359         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71360         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71361         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71362         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71363         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71367         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71368         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71369         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71371         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71372         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71373         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71374         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71375         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71376         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71377         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71378         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71379         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71380         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71381         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71382         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71383         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71384         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71385         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71386         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71387         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71388         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71389         * sysdeps/sparc/elf/configure: Regenerated.
71391 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71393         * configure.in (AS, LD): Require binutils 2.20 or later.
71394         * configure: Regenerated.
71395         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71396         as required minimum version.
71397         * INSTALL: Regenerated.
71399         [BZ #2541]
71400         [BZ #4108]
71401         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71402         before squaring exponent.
71403         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71404         bottom long double and 27 bits of top long double before squaring
71405         exponent.
71406         * math/libm-test.inc (erfc_test): Add more tests.
71407         * sysdeps/i386/fpu/libm-test-ulps: Update.
71408         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71411 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71413         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71414         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71415         containing bit-fields.
71416         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71417         * soft-fp/single.h (_FP_UNION_S): Likewise.
71418         * soft-fp/double.h (_FP_UNION_D): Likewise.
71420 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71422         [BZ #13786]
71423         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71424         not include ../strcmp.S.
71425         [USE_AS_STRNCASECMP_L]: Likewise.
71426         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71427         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71428         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71429         (__strncasecmp_l_ia32): Define as alias to
71430         __strncasecmp_l_nonascii.
71432         [BZ #5794]
71433         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71434         * sysdeps/i386/fpu/libm-test-ulps: Update.
71435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71437         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71440 2012-02-29  Jeff Law  <law@redhat.com>
71442         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71443         out of bounds read.
71445 2012-02-29  Marek Polacek  <polacek@redhat.com>
71447         [BZ #13706]
71448         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71449         * elf/Makefile: Add rules to run tst-unused-dep.out.
71451 2012-02-28  David S. Miller  <davem@davemloft.net>
71453         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71454         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71455         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71456         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71457         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71458         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71460 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71462         * math/libm-test.inc (llround_test): Move one test from
71463         lround_test.  Use TEST_f_L in moved test.
71464         (lround_test): Move misplaced test to llround_test.  Add testcase
71465         from bug 2561.
71467 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71469         * sysdeps/x86_64/fpu/e_expf.S: New file.
71470         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71472 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71474         [BZ #13637]
71475         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71476         of remain_len that may cause incomplete multi-byte character and
71477         false match.
71478         * posix/bug-regex33.c: New file.
71479         * posix/Makefile (tests): Add bug-regex33.
71481 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71483         * manual/macros.texi: New file.
71484         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71485         * manual/libc.texinfo: Include macros.texi.
71486         * manual/creatute.texi: Likewise.
71487         * manual/install.texi: Likewise.
71488         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71489         @glibcadj{} in references to the GNU C Library.
71490         * manual/charset.texi: Likewise.
71491         * manual/conf.texi: Likewise.
71492         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71493         when not using those macros.
71494         * manual/creature.texi: Likewise.
71495         * manual/crypt.texi: Likewise.
71496         * manual/errno.texi: Likewise.
71497         * manual/filesys.texi: Likewise.
71498         * manual/header.texi: Likewise.
71499         * manual/install.texi: Likewise.
71500         * manual/intro.texi: Likewise.
71501         * manual/io.texi: Likewise.
71502         * manual/job.texi: Likewise.
71503         * manual/lang.texi: Likewise.
71504         * manual/libc.texiinfo: Likewise.
71505         * manual/llio.texi: Likewise.
71506         * manual/locale.texi: Likewise.
71507         * manual/maint.texi: Likewise.
71508         * manual/math.texi: Likewise.
71509         * manual/memory.texi: Likewise.
71510         * manual/message.texi: Likewise.
71511         * manual/nss.texi: Likewise.
71512         * manual/pattern.texi: Likewise.
71513         * manual/process.texi: Likewise.
71514         * manual/resource.texi: Likewise.
71515         * manual/search.texi: Likewise.
71516         * manual/setjmp.texi: Likewise.
71517         * manual/signal.texi: Likewise.
71518         * manual/socket.texi: Likewise.
71519         * manual/startup.texi: Likewise.
71520         * manual/stdio.texi: Likewise.
71521         * manual/string.texi: Likewise.
71522         * manual/sysinfo.texi: Likewise.
71523         * manual/syslog.texi: Likewise.
71524         * manual/terminal.texi: Likewise.
71525         * manual/time.texi: Likewise.
71526         * manual/users.texi: Likewise.
71527         * INSTALL: Regenerated.
71528         * NOTES: Regenerated.
71529         * sysdeps/gnu/errlist.c: Regenerated.
71531 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71533         * include/dirent.h: Include <dirstream.h> before
71534         <dirent/dirent.h>.
71536 2012-02-28  David S. Miller  <davem@davemloft.net>
71538         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71539         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71540         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71541         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71543 2012-02-27  David S. Miller  <davem@davemloft.net>
71545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71547         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71548         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71551         frame pointer instead of stack pointer relative arg slot.
71552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71553         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71554         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71556 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71558         [BZ #3992]
71559         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71561 2012-02-27  David S. Miller  <davem@davemloft.net>
71563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71567         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71568         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71569         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71570         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71572 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71574         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71575         later.  Allow versions 5-9.
71576         * configure: Regenerated.
71577         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71578         required minimum version and 4.6 as recommended version.  Do not
71579         mention bugs in GCC 2.7 and 2.8.
71580         * INSTALL: Regenerated.
71582 2012-02-27  David S. Miller  <davem@davemloft.net>
71584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71588         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71589         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71590         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71591         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71593         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71594         manipulate bits before adding and subtracting TWO112[sx].
71595         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71597 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71599         [BZ #13775]
71600         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71601         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71602         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71603         being in POSIX, because they are in 1003.1-2008.
71605         * rt/tst-aio.c: Include <fcntl.h>.
71606         * rt/tst-aio7.c: Likewise.
71607         * rt/tst-aio64.c: Likewise.
71609         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71611 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71613         * manual/install.texi (--with-headers): Describe headers as
71614         interface headers, not private headers.
71615         (Specific advice for GNU/Linux systems): Describe use of headers
71616         from "make headers_install", not private headers from older
71617         kernels.
71618         * INSTALL: Regenerated.
71619         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71620         Change to 2.6.19.
71621         * sysdeps/unix/sysv/linux/configure: Regenerated.
71623         * manual/llio.texi (fclean): Remove documentation.
71625         * manual/Makefile (libc-texi-generated): New variable.  Include
71626         version.texi.
71627         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71628         $(libc-texi-generated), not duplicated list of files.
71629         (version.texi, stamp-version): New rules.
71630         (realclean): Remove $(libc-texi-generated), not individual files
71631         from that list.  Do not remove dir-add.texinfo.
71632         * manual/libc.texinfo: Comment out uses of edition numbers and
71633         references to printed manual.  Remove last-updated dates.
71634         (EDITION): Comment out.
71635         (ISBN): Likewise.
71636         (VERSION, UPDATED): Remove.
71637         (version.texi): Include.
71639 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71641         * sysdeps/posix/spawni.c: Include <signal.h>.
71642         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71643         * sysdeps/pthread/aio_fsync.c: Likewise.
71645 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71647         * conform/Makefile (tests): Run only when not cross-compiling and
71648         when fast-check is not defined.
71650         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71651         * conform/data/limits.h-data: Fixes for POSIX2008.
71652         * conform/run-conformtest.sh: Run all tests.
71653         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71654         headers.
71655         * include/bits/dlfcn.h: Likewise.
71656         * include/langinfo.h: Likewise.
71657         * include/monetary.h: Likewise.
71658         * include/sys/poll.h: Likewise.
71660         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71661         for __USE_GNU.
71662         * posix/spawn.h: Define __need_sigset_t.
71663         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71664         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71665         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71666         to get sigevent_t only.
71667         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71668         only for __USE_GNU.
71669         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71670         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71671         process_vm_writev only for __USE_GNU.
71672         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71674         * conform/Makefile: For now ignore errors from run-conformtest.
71675         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71676         POSIX to avoid namespace pollution.  Don't prepend headers.
71677         * conform/data/aio.h-data: Fixes for POSIX testing.
71678         * conform/data/fcntl.h-data: Likewise.
71679         * conform/data/glob.h-data: Likewise.
71680         * conform/data/grp.h-data: Likewise.
71681         * conform/data/pthread.h-data: Likewise.
71682         * conform/data/pwd.h-data: Likewise.
71683         * conform/data/signal.h-data: Likewise.
71684         * conform/data/spawn.h-data: Likewise.
71685         * conform/data/stdio.h-data: Likewise.
71686         * conform/data/stdlib.h-data: Likewise.
71687         * conform/data/stropts.h-data: Likewise.
71688         * conform/data/sys/mman.h-data: Likewise.
71689         * conform/data/sys/stat.h-data: Likewise.
71690         * conform/data/sys/types.h-data: Likewise.
71691         * conform/data/sys/wait.h-data: Likewise.
71692         * conform/data/time.h-data: Likewise.
71693         * conform/data/unistd.h-data: Likewise.
71694         * conform/data/utime.h-data: Likewise.
71696         * io/sys/stat.h: fchmod was always in POSIX.
71697         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71698         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71699         * rt/aio.h: Define __need_timespec before including <time.h>.
71700         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71701         struct.  Add forward declaration of pthread_attr_t and use it in
71702         sigevent.
71703         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71704         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71705         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71706         always remove CLK_TCK definition.
71708 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71710         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71712 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71714         * conform/run-conformtest.sh: New file.
71715         * conform/Makefile: Run run-conformtest for tests.
71716         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71717         support.
71719         * conform/data/uchar.h-data: New file.
71720         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71721         * conform/data/arpa/inet.h-data: Likewise.
71722         * conform/data/assert.h-data: Likewise.
71723         * conform/data/complex.h-data: Likewise.
71724         * conform/data/cpio.h-data: Likewise.
71725         * conform/data/ctype.h-data: Likewise.
71726         * conform/data/dirent.h-data: Likewise.
71727         * conform/data/dlfcn.h-data: Likewise.
71728         * conform/data/errno.h-data: Likewise.
71729         * conform/data/fcntl.h-data: Likewise.
71730         * conform/data/float.h-data: Likewise.
71731         * conform/data/fmtmsg.h-data: Likewise.
71732         * conform/data/fnmatch.h-data: Likewise.
71733         * conform/data/ftw.h-data: Likewise.
71734         * conform/data/glob.h-data: Likewise.
71735         * conform/data/grp.h-data: Likewise.
71736         * conform/data/iconv.h-data: Likewise.
71737         * conform/data/inttypes.h-data: Likewise.
71738         * conform/data/langinfo.h-data: Likewise.
71739         * conform/data/libgen.h-data: Likewise.
71740         * conform/data/limits.h-data: Likewise.
71741         * conform/data/locale.h-data: Likewise.
71742         * conform/data/math.h-data: Likewise.
71743         * conform/data/monetary.h-data: Likewise.
71744         * conform/data/mqueue.h-data: Likewise.
71745         * conform/data/ndbm.h-data: Likewise.
71746         * conform/data/net/if.h-data: Likewise.
71747         * conform/data/netdb.h-data: Likewise.
71748         * conform/data/netinet/in.h-data: Likewise.
71749         * conform/data/nl_types.h-data: Likewise.
71750         * conform/data/poll.h-data: Likewise.
71751         * conform/data/pthread.h-data: Likewise.
71752         * conform/data/pwd.h-data: Likewise.
71753         * conform/data/regex.h-data: Likewise.
71754         * conform/data/sched.h-data: Likewise.
71755         * conform/data/search.h-data: Likewise.
71756         * conform/data/semaphore.h-data: Likewise.
71757         * conform/data/setjmp.h-data: Likewise.
71758         * conform/data/signal.h-data: Likewise.
71759         * conform/data/spawn.h-data: Likewise.
71760         * conform/data/stdarg.h-data: Likewise.
71761         * conform/data/stdio.h-data: Likewise.
71762         * conform/data/stdlib.h-data: Likewise.
71763         * conform/data/string.h-data: Likewise.
71764         * conform/data/strings.h-data: Likewise.
71765         * conform/data/stropts.h-data: Likewise.
71766         * conform/data/sys/ipc.h-data: Likewise.
71767         * conform/data/sys/mman.h-data: Likewise.
71768         * conform/data/sys/msg.h-data: Likewise.
71769         * conform/data/sys/resource.h-data: Likewise.
71770         * conform/data/sys/select.h-data: Likewise.
71771         * conform/data/sys/sem.h-data: Likewise.
71772         * conform/data/sys/shm.h-data: Likewise.
71773         * conform/data/sys/socket.h-data: Likewise.
71774         * conform/data/sys/stat.h-data: Likewise.
71775         * conform/data/sys/statvfs.h-data: Likewise.
71776         * conform/data/sys/time.h-data: Likewise.
71777         * conform/data/sys/timeb.h-data: Likewise.
71778         * conform/data/sys/times.h-data: Likewise.
71779         * conform/data/sys/types.h-data: Likewise.
71780         * conform/data/sys/uio.h-data: Likewise.
71781         * conform/data/sys/un.h-data: Likewise.
71782         * conform/data/sys/utsname.h-data: Likewise.
71783         * conform/data/sys/wait.h-data: Likewise.
71784         * conform/data/syslog.h-data: Likewise.
71785         * conform/data/tar.h-data: Likewise.
71786         * conform/data/termios.h-data: Likewise.
71787         * conform/data/utime.h-data: Likewise.
71788         * conform/data/utmpx.h-data: Likewise.
71789         * conform/data/varargs.h-data: Likewise.
71790         * conform/data/wchar.h-data: Likewise.
71791         * conform/data/wctype.h-data: Likewise.
71792         * conform/data/wordexp.h-data: Likewise.
71794         * include/stropts.h: New file.
71795         * include/uchar.h: New file.
71796         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71797         * include/assert.h: Likewise.
71798         * include/ctype.h: Likewise.
71799         * include/dirent.h: Likewise.
71800         * include/dlfcn.h: Likewise.
71801         * include/fcntl.h: Likewise.
71802         * include/fnmatch.h: Likewise.
71803         * include/glob.h: Likewise.
71804         * include/grp.h: Likewise.
71805         * include/libio.h: Likewise.
71806         * include/locale.h: Likewise.
71807         * include/math.h: Likewise.
71808         * include/net/if.h: Likewise.
71809         * include/netdb.h: Likewise.
71810         * include/netinet/in.h: Likewise.
71811         * include/pthread.h: Likewise.
71812         * include/pwd.h: Likewise.
71813         * include/regex.h: Likewise.
71814         * include/sched.h: Likewise.
71815         * include/search.h: Likewise.
71816         * include/setjmp.h: Likewise.
71817         * include/signal.h: Likewise.
71818         * include/stdio.h: Likewise.
71819         * include/stdlib.h: Likewise.
71820         * include/string.h: Likewise.
71821         * include/sys/cdefs.h: Likewise.
71822         * include/sys/mman.h: Likewise.
71823         * include/sys/msg.h: Likewise.
71824         * include/sys/resource.h: Likewise.
71825         * include/sys/select.h: Likewise.
71826         * include/sys/socket.h: Likewise.
71827         * include/sys/stat.h: Likewise.
71828         * include/sys/statvfs.h: Likewise.
71829         * include/sys/time.h: Likewise.
71830         * include/sys/times.h: Likewise.
71831         * include/sys/uio.h: Likewise.
71832         * include/sys/utsname.h: Likewise.
71833         * include/sys/wait.h: Likewise.
71834         * include/termios.h: Likewise.
71835         * include/time.h: Likewise.
71836         * include/ulimit.h: Likewise.
71837         * include/unistd.h: Likewise.
71838         * include/utime.h: Likewise.
71839         * include/wchar.h: Likewise.
71840         * include/wctype.h: Likewise.
71841         * include/wordexp.h: Likewise.
71843         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71845         * time/time.h: TIME_UTC must be a macro.
71846         Make timespec_get available for ISO C11 only as well.
71848 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71850         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71851         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71853 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71855         * configure.in: Use -o not -a in test for unsupported multi-arch.
71857 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71859         * manual/texinfo.tex: Update to version 2012-01-19.16.
71861 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71863         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71865 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71867         [BZ #13738]
71868         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71869         * manual/fdl-1.3.texi: New file.
71870         * manual/fdl-1.1.texi: File removed.
71872         [BZ #13738]
71873         * manual/libc.texinfo (FDL_VERSION): New @set.
71874         Use it for mention of FDL in cover text.
71875         (Documentation License): Use it in @include file name.
71877 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71878             Roland McGrath  <roland@hack.frob.com>
71880         [BZ #5461]
71881         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71882         (not LONG_LONG_MAX and LONG_LONG_MIN.
71883         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71884         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71885         name.
71886         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71888 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71890         [BZ #2547]
71891         [BZ #11365]
71892         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71893         manipulate bits before adding and subtracting TWO23[sx].
71894         * math/libm-test.inc (nearbyint_test): Add more tests.
71896 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71898         [BZ #2548]
71899         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71900         bits before adding and subtracting TWO23[sx].
71901         * math/libm-test.inc (rint_test): Add more tests.
71902         (rint_test_tonearest): Likewise.
71903         (rint_test_towardzero): Likewise.
71904         (rint_test_downward): Likewise.
71905         (rint_test_upward: Likewise.
71907 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71909         [BZ #10110]
71910         * include/stdc-predef.h: New file.  Extracted from features.h.
71911         * include/features.h: Include stdc-predef.h.
71912         * Makefile (headers): Add stdc-predef.h.
71913         * CONFORMANCE (Compiler limitations): Update.
71915 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71917         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71919 2012-02-21  David S. Miller  <davem@davemloft.net>
71921         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71922         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71924 2012-02-20  David S. Miller  <davem@davemloft.net>
71926         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71927         using a normal save/restore sequence, rather than allocating a
71928         dummy stack frame just to store a frame pointer and restore.
71929         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71931 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71933         * manual/install.texi: Fix stray word in line-wrapped comment.
71935 2012-02-20  David S. Miller  <davem@davemloft.net>
71937         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71938         both binutils and gcc support GOTDATA.
71940         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71941         "rd %pc" in the PIC register setup sequences.
71943         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71944         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71945         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71946         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71947         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71948         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71949         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71950         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71951         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71952         (SYSCALL_ERROR_HANDLER): Likewise.
71953         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71954         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71955         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71956         (SYSCALL_ERROR_HANDLER): Likewise.
71958         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71959         (HAVE_GCC_GOTDATA): New.
71960         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71961         relocation support in both binutils and gcc.
71962         * sysdeps/sparc/elf/configure: Regenerate.
71964         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71965         * sysdeps/sparc/sparc32/elf/configure: Delete.
71966         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71967         * sysdeps/sparc/sparc64/elf/configure: Delete.
71968         * sysdeps/sparc/elf/configure.in: New file.
71969         * sysdeps/sparc/elf/configure: Generate.
71971         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71972         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71973         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71974         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71975         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71977 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71979         * manual/install.texi: Do not mention specific glibc version
71980         numbers.
71981         * manual/libc.texinfo (VERSION, UPDATED): Update.
71982         (@copying): Use @copyright{} and range of years.
71984 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71986         [BZ #13695]
71987         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71988         [crti.S not in sysdirs] (generated): Do not append.
71989         [crti.S not in sysdirs] (omit-deps): Likewise.
71990         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71991         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71992         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71993         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71994         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71995         Likewise.
71996         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71997         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71998         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71999         * csu/defs.awk: Remove file.
72000         * sysdeps/generic/initfini.c: Likewise.
72001         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72002         variable.
72003         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72004         Likewise.
72006 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72008         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72009         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72010         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72011         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72012         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72013         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72014         <bits/epoll.h>.
72015         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72016         (__EPOLL_PACKED): Define to empty if not defined by
72017         <bits/epoll.h>.
72018         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72019         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72020         bits/epoll.h.
72022 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72024         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72025         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72026         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72027         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72028         <bits/timerfd.h>.
72029         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72030         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72031         bits/timerfd.h.
72033 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72035         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72036         in C locale.
72037         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72038         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72039         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72042 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72044         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72045         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72047 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72049         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72050         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72051         defined.
72052         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72053         Likewise.
72054         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72055         entry for 2.16.
72057 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72059         * math/w_acos.c: Use non-signaling floating-point comparisons.
72060         * math/w_acosf.c: Likewise.
72061         * math/w_acosh.c: Likewise.
72062         * math/w_acoshf.c: Likewise.
72063         * math/w_acoshl.c: Likewise.
72064         * math/w_acosl.c: Likewise.
72065         * math/w_asin.c: Likewise.
72066         * math/w_asinf.c: Likewise.
72067         * math/w_asinl.c: Likewise.
72068         * math/w_atanh.c: Likewise.
72069         * math/w_atanhf.c: Likewise.
72070         * math/w_atanhl.c: Likewise.
72071         * math/w_exp2.c: Likewise.
72072         * math/w_exp2f.c: Likewise.
72073         * math/w_exp2l.c: Likewise.
72074         * math/w_j0.c: Likewise.
72075         * math/w_j0f.c: Likewise.
72076         * math/w_j0l.c: Likewise.
72077         * math/w_j1.c: Likewise.
72078         * math/w_j1f.c: Likewise.
72079         * math/w_j1l.c: Likewise.
72080         * math/w_jn.c: Likewise.
72081         * math/w_jnf.c: Likewise.
72082         * math/w_log.c: Likewise.
72083         * math/w_log10.c: Likewise.
72084         * math/w_log10f.c: Likewise.
72085         * math/w_log10l.c: Likewise.
72086         * math/w_log2.c: Likewise.
72087         * math/w_log2f.c: Likewise.
72088         * math/w_log2l.c: Likewise.
72089         * math/w_logf.c: Likewise.
72090         * math/w_logl.c: Likewise.
72091         * math/w_sqrt.c: Likewise.
72092         * math/w_sqrtf.c: Likewise.
72093         * math/w_sqrtl.c: Likewise.
72094         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72095         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72096         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72097         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72098         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72100 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72102         [BZ #9739]
72103         * manual/string.texi (strnlen): Use correct parameter name in
72104         equivalent expression.
72106 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72108         [BZ #11174]
72109         * manual/users.texi (seteuid): Consistently use neweuid for
72110         argument name.
72112 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72114         [BZ #13704]
72115         * manual/nss.texi (Services in the NSS configuration): Correct
72116         list of services in example configuration file.
72118 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72120         [BZ #11322]
72121         * manual/arith.texi: Remove statements about negative zero
72122         behaving identically to zero.
72124 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72126         [BZ #5993]
72127         * manual/install.texi: Do not document upgrading from libc5.
72129 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72131         [BZ #4596]
72132         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72134 2012-02-18  David S. Miller  <davem@davemloft.net>
72136         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72137         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72138         %o7 across the call.
72139         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72140         instead.
72141         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72142         SETUP_PIC_REG_LEAF.
72143         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72144         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72145         * sysdeps/sparc/crtn.S: Likewise.
72147 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72149         * aout/Makefile: Remove.
72151 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72153         [BZ #13058]
72154         * manual/examples/argp-ex1.c (main): Format definition in GNU
72155         style.
72156         * manual/examples/argp-ex2.c (main): Likewise.
72157         * manual/examples/argp-ex3.c (main): Likewise.
72158         * manual/examples/argp-ex4.c (main): Likewise.
72159         * manual/examples/longopt.c (main): Use new-style prototype
72160         definition.
72161         * manual/examples/strncat.c (main): Specify return type and use
72162         (void) for arguments.
72163         * manual/examples/subopt.c (main): Use char **argv argument.
72165 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72167         [BZ #5077]
72168         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72169         rounding modes.
72171 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72173         [BZ #6907]
72174         * manual/string.texi (strchr): Change when strchrnul is
72175         recommended.
72177 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72179         [BZ #174]
72180         * manual/locale.texi (setlocale): Document LOCPATH.
72182 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72184         [BZ #10210]
72185         * manual/process.texi (execle): Move @dots{} before last argument.
72187 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72189         [BZ #12047]
72190         * manual/charset.texi (Generic Charset Conversion): Fix typo
72191         (LC_TYPE -> LC_CTYPE).
72193 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72195         [BZ #5805]
72196         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72197         (scalbnf): Likewise.
72198         (scalbnl): Likewise.
72199         (scalbln): Likewise.
72200         (scalblnf): Likewise.
72201         (scalblnl): Likewise.
72202         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72203         (vwarnx): Likewise.
72204         (verr): Likewise.
72205         (verrx): Likewise.
72206         * manual/filesys.texi (telldir): Use braces around return type.
72207         * manual/llio.texi (mmap): Add space after comma.
72208         (mmap64): Likewise.
72209         * manual/math.texi (jn): Use @var{} on parameter names.
72210         (jnf): Likewise.
72211         (jnl): Likewise.
72212         (yn): Likewise.
72213         (ynf): Likewise.
72214         (ynl): Likewise.
72215         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72216         line.
72217         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72218         "...".
72219         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72220         (sched_get_priority_max): Likewise.
72221         * manual/signal.texi (sigvec): Add space after comma.
72222         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72223         names.
72224         (if_indextoname): Likewise.
72225         (if_freenameindex): Likewise.
72226         (sendto): Use ',' instead of '.' in prototype.
72227         * manual/startup.texi (syscall): Use @dots{} instead of literal
72228         "...".
72229         * manual/stdio.texi (__fpending): Separate initial words of
72230         paragraph from @deftypefun line.
72231         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72232         "...".
72233         (vsyslog): Use @var{} on parameter names.
72234         * manual/terminal.texi (stty): Use @var{} on parameter names.
72235         * manual/users.texi (getutmp): Use @var{} on parameter names.
72236         (getutmpx): Likewise.
72238 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72240         [BZ #6884]
72241         * manual/stdio.texi (fopen): Fix typos in description of
72242         ",ccs=STRING".
72244 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72246         [BZ #4026]
72247         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72248         get clock_id definition.
72250 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72252         [BZ #4822]
72253         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72254         (madvise): Cast every argument to void on its own.
72256 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72258         [BZ #9902]
72259         * manual/startup.texi (Exit Status): Fix typo.
72261 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72263         [BZ #10140]
72264         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72265         * manual/examples/argp-ex2.c: Likewise.
72266         * manual/examples/argp-ex3.c: Likewise.
72268 2012-02-16  Richard Henderson  <rth@redhat.com>
72270         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72271         * sysdeps/s390/s390-32/initfini.c: Remove.
72272         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72273         * sysdeps/s390/s390-64/initfini.c: Remove.
72275 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72277         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72278         compiler output for sysdeps/generic/initfini.c.
72279         * sysdeps/sh/elf/initfini.c: Remove file.
72281 2012-02-16  David S. Miller  <davem@davemloft.net>
72283         [BZ #11494]
72284         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72286         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72287         * sysdeps/sparc/crti.S: New file.
72288         * sysdeps/sparc/crtn.S: New file.
72289         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72290         * sysdeps/sparc/sparc64/Makefile: Likewise.
72292 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72294         [BZ #3335]
72295         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72297 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72299         [BZ #4822]
72300         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72302         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72303         (write, read, close): Likewise.
72304         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72306 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72308         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72309         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72310         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72311         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72312         <bits/signalfd.h>.
72313         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72315         bits/signalfd.h.
72317 2012-02-14  Marek Polacek  <polacek@redhat.com>
72319         * sysdeps/x86_64/crti.S: New file.
72320         * sysdeps/x86_64/crtn.S: New file.
72321         * sysdeps/x86_64/elf/initfini.c: Remove file.
72323 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72325         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72326         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72327         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72328         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72329         <bits/inotify.h>.
72330         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72331         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72332         bits/inotify.h.
72334 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72336         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72337         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72338         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72339         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72340         <bits/eventfd.h>.
72341         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72342         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72343         bits/eventfd.h.
72345 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72347         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72348         __feraiseexcept instead of feraiseexcept.
72350         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72351         nanosleep invocations.
72352         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72353         strings, and add error checking for a nanosleep invocations.
72355 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72357         Replace FSF snail mail address with URLs, as per GNU coding standards.
72358         Most of the snail mail addresses were wrong anyway, and omitting
72359         them makes the source code easier to maintain.  Almost all of the
72360         changes are to license notices and to locale LC_IDENTIFICATION
72361         addresses, except for this one:
72362         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72363         not its snail mail address.
72365 2012-02-09  Richard Henderson  <rth@twiddle.net>
72367         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72368         of kernel-features.h.
72370         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72372 2012-02-08  Marek Polacek  <polacek@redhat.com>
72374         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72375         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72376         * sysdeps/gnu/_G_config.h: Likewise.
72377         * sysdeps/generic/_G_config.h: Likewise.
72379 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72381         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72382         tests.
72383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72385         * sysdeps/powerpc/powerpc32/crti.S: New file.
72386         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72387         * sysdeps/powerpc/powerpc64/crti.S: New file.
72388         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72390         * Makeconfig (have-initfini): Don't set.
72391         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72392         * configure.in (nopic_initfini): Don't substitute.
72393         * config.h.in (HAVE_INITFINI): Don't #undef.
72394         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72395         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72397 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72399         Support crti.S and crtn.S provided directly by architectures.
72400         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72401         [crti.S in sysdirs] (omit-deps): Likewise.
72402         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72403         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72404         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72405         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72406         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72407         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72408         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72409         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72410         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72411         compiler output for sysdeps/generic/initfini.c.
72412         * sysdeps/i386/elf/Makefile: Remove file.
72413         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72415 2012-02-07  Marek Polacek  <polacek@redhat.com>
72417         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72418         * sysdeps/gnu/_G_config.h: Likewise.
72419         * sysdeps/mach/hurd/_G_config.h: Likewise.
72421 2012-02-07  Marek Polacek  <polacek@redhat.com>
72423         * math/Makefile (tests): Add tst-CMPLX2.
72424         * math/tst-CMPLX2.c: New file.
72426 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72428         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72430         * math/libm-test.inc (jn_test): Add missing L suffix.
72432 2012-02-06  Marek Polacek  <polacek@redhat.com>
72434         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72435         * sysdeps/i386/fpu/e_powf.S: Likewise.
72436         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72437         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72438         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72439         * sysdeps/i386/fpu/e_pow.S: Likewise.
72440         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72441         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72442         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72443         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72444         * sysdeps/i386/fpu/e_log2.S: Likewise.
72445         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72446         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72447         * sysdeps/i386/fpu/e_powl.S: Likewise.
72448         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72449         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72450         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72451         * sysdeps/i386/fpu/e_logl.S: Likewise.
72452         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72453         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72454         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72455         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72456         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72457         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72458         * sysdeps/i386/fpu/e_log.S: Likewise.
72459         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72460         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72461         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72462         * sysdeps/i386/fpu/e_logf.S: Likewise.
72463         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72464         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72465         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72466         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72467         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72468         * sysdeps/i386/fpu/e_log10.S: Likewise.
72469         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72470         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72471         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72472         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72473         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72474         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72475         * sysdeps/i386/asm-syntax.h: Likewise.
72476         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72477         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72478         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72479         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72480         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72481         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72482         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72483         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72484         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72485         * sysdeps/powerpc/sysdep.h: Likewise.
72486         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72487         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72489 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72491         [BZ #411]
72492         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72494 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72496         * sysdeps/i386/sysdep.h: Include <features.h>.
72497         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72498         version.
72500 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72502         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72503         Define.
72504         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72505         LOAD_PIC_REG_STR.
72507 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72509         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72510         (SETUP_PIC_REG): Use GET_PC_THUNK.
72511         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72512         macro.
72514 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72516         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72517         for non-PIC compilation.
72518         (SETUP_PIC_REG): Add .p2align directive.
72519         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72520         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72521         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72522         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72523         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72524         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72525         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72526         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72527         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72528         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72529         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72530         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72531         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72532         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72533         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72534         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72535         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72536         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72537         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72538         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72539         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72540         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72541         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72542         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72543         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72544         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72545         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72546         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72547         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72548         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72549         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72550         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72551         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72552         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72553         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72554         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72555         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72556         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72557         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72558         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72559         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72561 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72563         * math/tst-CMPLX.c: Include <stdio.h>.
72565 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72567         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72568         float.
72569         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72570         * sysdeps/sparc/bits/mathdef.h: Likewise.
72572 2012-01-31  Marek Polacek  <polacek@redhat.com>
72574         * libio/libio.h: Don't define _PARAMS.
72575         * locale/programs/config.h: Don't define PARAMS.
72576         * stdlib/strtol_l.c: Likewise.
72577         (__strtol_l): Remove PARAMS from the prototype.
72579 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72581         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72582         names.  Just use the correct names.  Remove unnecessary wrapper
72583         functions.
72584         * malloc/arena.c: Likewise.
72585         * malloc/hooks.c: Likewise.
72587         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72588         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72589         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72591 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72593         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72594         into tail calls.
72595         (update_get_addr): New function.
72596         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72597         GET_ADDR_MODULE parameter.
72599 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72601         * crypt/cert.c: Remove __STDC__ conditionals.
72602         * crypt/crypt-entry.c: Likewise.
72603         * crypt/crypt_util.c: Likewise.
72604         * libio/filedoalloc.c: Likewise.
72605         * libio/fileops.c: Likewise.
72606         * libio/genops.c: Likewise.
72607         * libio/iofclose.c: Likewise.
72608         * libio/iofdopen.c: Likewise.
72609         * libio/iofopen.c: Likewise.
72610         * libio/iofopen64.c: Likewise.
72611         * libio/iogetdelim.c: Likewise.
72612         * libio/iopopen.c: Likewise.
72613         * libio/obprintf.c: Likewise.
72614         * libio/oldfileops.c: Likewise.
72615         * libio/oldiofclose.c: Likewise.
72616         * libio/oldiofdopen.c: Likewise.
72617         * libio/oldiofopen.c: Likewise.
72618         * libio/oldiopopen.c: Likewise.
72619         * libio/wfiledoalloc.c: Likewise.
72620         * libio/wgenops.c: Likewise.
72621         * locale/programs/xmalloc.c: Likewise.
72622         * misc/syslog.c: Likewise.
72623         * stdio-common/xbug.c: Likewise.
72624         * string/memchr.c: Likewise.
72625         * string/memcmp.c: Likewise.
72626         * string/memrchr.c: Likewise.
72627         * string/rawmemchr.c: Likewise.
72628         * sysdeps/posix/getcwd.c: Likewise.
72629         * time/strftime_l.c: Likewise.
72631 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72633         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72634         * config.make.in (config-cflags-sse2avx): Define.
72635         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72636         Fix typo.
72638 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72640         * scripts/config.guess: Update from upstream config git repository.
72641         * scripts/config.sub: Likewise.
72643 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72645         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72646         (EM_NUM): Update.
72647         (R_TILEPRO_*, R_TILEGX_*): New macros.
72649         * scripts/firstversions.awk: Fix bug in version range handling.
72651         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72653         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72655         * include/sys/epoll.h: New file.
72656         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72657         libc_hidden_def.
72659 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72661         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72662         Avoid unnecessary __WORDSIZE == 64 test.
72663         (fmaxf): Use VEX format if possible.
72664         (fmax): Likewise.
72665         (fminf): Likewise.
72666         (fmin): Likewise.
72668         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72669         * math/math_private.h: Remove libc_fegetround* and
72670         libc_fesetround*.
72671         * sysdeps/i386/configure.in: Check for -msse2avx.
72672         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72673         also if SSE2AVX is defined.
72674         Remove libc_fegetround* and libc_fesetround*.
72675         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72676         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72677         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72678         of HAS_YMM_USABLE.
72679         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72680         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72681         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72682         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72683         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72685         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72687 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72689         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72690         size is not set.
72691         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72693 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72695         [BZ #13618]
72696         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72697         relocation.
72698         * Makeconfig (libm): Define.
72699         * elf/Makefile: Add rules to build and run tst-relsort1.
72700         * elf/tst-relsort1.c: New file.
72701         * elf/tst-relsort1mod1.c: New file.
72702         * elf/tst-relsort1mod2.c: New file.
72704 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72706         * math/s_ldexp.c: Remove __STDC__ conditionals.
72707         * math/s_ldexpf.c: Likewise.
72708         * math/s_ldexpl.c: Likewise.
72709         * math/s_nextafter.c: Likewise.
72710         * math/s_nexttowardf.c: Likewise.
72711         * math/s_significand.c: Likewise.
72712         * math/s_significandf.c: Likewise.
72713         * math/s_significandl.c: Likewise.
72714         * math/w_jnl.c: Likewise.
72715         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72716         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72717         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72718         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72719         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72720         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72721         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72722         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72723         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72724         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72725         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72726         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72727         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72728         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72729         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72730         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72731         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72732         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72733         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72734         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72735         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72736         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72737         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72738         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72739         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72740         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72741         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72742         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72743         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72744         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72745         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72746         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72747         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72748         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72749         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72750         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72751         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72752         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72753         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72754         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72755         * sysdeps/ieee754/k_standard.c: Likewise.
72756         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72757         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72758         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72759         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72760         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72761         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72762         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72763         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72764         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72765         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72766         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72767         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72768         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72769         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72770         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72771         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72772         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72773         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72774         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72775         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72776         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72777         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72778         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72779         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72780         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72781         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72782         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72783         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72784         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72785         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72786         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72787         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72788         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72789         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72790         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72791         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72792         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72793         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72794         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72795         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72796         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72797         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72798         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72799         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72800         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72801         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72802         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72803         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72804         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72805         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72806         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72807         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72808         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72809         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72810         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72811         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72812         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72813         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72814         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72815         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72816         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72817         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72818         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72819         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72820         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72821         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72822         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72823         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72824         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72825         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72826         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72827         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72828         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72829         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72830         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72831         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72832         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72833         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72834         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72835         * sysdeps/ieee754/s_matherr.c: Likewise.
72836         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72837         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72838         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72839         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72841 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72843         * crypt/md5.h: Remove __STDC__ conditionals.
72844         * libio/libioP.h: Likewise.
72845         * locale/programs/config.h: Likewise.
72846         * sysdeps/generic/sysdep.h: Likewise.
72847         * sysdeps/i386/asm-syntax.h: Likewise.
72848         * sysdeps/s390/asm-syntax.h: Likewise.
72849         * sysdeps/unix/sysdep.h: Likewise.
72850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72853 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72855         * libio/libio.h: Remove __STDC__ conditionals.
72856         * malloc/obstack.h: Likewise.
72857         * math/complex.h: Likewise.
72858         * math/math.h: Likewise.
72859         * sysdeps/generic/_G_config.h: Likewise.
72860         * sysdeps/gnu/_G_config.h: Likewise.
72861         * sysdeps/mach/hurd/_G_config.h: Likewise.
72862         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72863         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72864         * sysdeps/sparc/bits/mathdef.h: Likewise.
72866 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72868         [BZ #13583]
72869         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72870         Clean up HAS_* macros.
72871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72872         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72873         possible.
72874         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72875         HAS_AVX.
72876         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72877         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72878         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72879         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72880         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72882 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72884         * elf/tst-unique3.cc (gets): Remove declaration.
72885         * elf/tst-unique3lib.cc (gets): Likewise.
72886         * elf/tst-unique3lib2.cc (gets): Likewise.
72887         * elf/tst-unique4.cc (gets): Likewise.
72889 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72891         * include/stdio.h: Add C++ protection.  Add gets declarations and
72892         definitions.
72893         * debug/tst-chk1.c: Don't declare gets here.
72894         * stdio-common/tst-gets.c: Likewise.
72896 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72898         * posix/glob: Remove directory.
72900 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72902         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72904 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72906         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72907         of the non-standard EPFNOSUPPORT.
72909 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72911         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72912         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72913         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72915 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72917         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72919 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72921         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72922         transient errors.
72923         * nscd/grpcache.c (cache_addgr): Likewise.
72924         * nscd/hstcache.c (cache_addhst): Likewise.
72925         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72926         * nscd/pwdcache.c (cache_addpw): Likewise.
72927         * nscd/servicescache.c (cache_addserv): Likewise.
72929 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72931         * malloc/malloc.c: Various cleanups.
72932         * malloc/hooks.c: Likewise.
72934         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72935         * stdlib/bug-fmtmsg1.c: New file.
72937         * stdlib/fmtmsg.c (init): Add missing unlock.
72938         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72940 2012-01-12  Marek Polacek  <polacek@redhat.com>
72942         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72943         and _GNU_SOURCE.
72945 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72947         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72948         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72949         macro to ensure uniqueness of label name.
72950         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72951         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72953 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72955         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72957         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72958         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72959         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72960         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72962 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72964         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72966         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72967         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72968         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72970         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72972         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72973         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72974         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72975         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72977         * math/bits/math-finite.h: Add ldexp support.
72979 2012-01-10  Marek Polacek  <polacek@redhat.com>
72981         * locale/programs/localedef.h (show_archive_content): Add noreturn
72982         attribute.
72984 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72986         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72988 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72990         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72992         * io/Makefile (headers): Add bits/poll2.h.
72994 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72997         typo #include statement.
72999 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73001         * include/sys/cdefs.h: Define __attribute_alloc_size.
73002         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73003         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73004         * elf/pldd.c: Likewise.
73005         * iconv/iconv_charmap.c: Likewise.
73006         * iconv/iconvconfig.c: Likewise.
73007         * iconv/strtab.c: Likewise.
73008         * locale/programs/locale.c: Likewise.
73009         * locale/programs/localedef.h: Likewise.
73010         * locale/programs/simple-hash.c: Likewise.
73011         * nscd/nscd.h: Likewise.
73012         * nss/makedb.c: Likewise.
73013         * sysdeps/generic/ldconfig.h: Likewise.
73014         * locale/programs/localedef.c: Remove xmalloc prototype.
73015         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73017 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73019         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73020         appropriate.
73022 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73024         * math/Makefile (tests): Add tst-CMPLX.
73025         * math/tst-CMPLX.c: New file.
73027         * math/complex.h (CMPLXL): Fix typo.
73029         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73030         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73031         GLIBC_2.16.
73032         * debug/tst-chk1.c: Add poll and ppoll tests.
73033         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73034         * include/sys/poll.h: Add hidden proto for ppoll.
73035         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73036         * sysdeps/mach/hurd/ppoll.c: Likewise.
73037         * io/ppoll.c: Likewise.
73038         * debug/poll_chk.c: New file.
73039         * debug/ppoll_chk.c: New file.
73040         * include/bits/poll2.h: New file.
73041         * io/bits/poll2.h: New file.
73043         [BZ #1350]
73044         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73046         * configure.in: static is always set to yes.  Remove.
73047         * config.make.in: Don't set build-static.
73048         * Makeconfig: Remove use of build-static.
73049         * dlfcn/Makefile: Likewise.
73050         * elf/Makefile: Likewise.
73051         * math/Makefile: Likewise.
73052         * misc/Makefile: Likewise.
73053         * nptl/Makefile: Likewise.
73054         * sysdeps/mach/hurd/Makefile: Likewise.
73056         * configure.in: PWD_P is not used anymore.
73057         * config.make.in: Remove PWD_P entry.
73059         * configure.in: Remove last remnants of RANLIB.
73060         No need to check for signed size_t anymore.
73061         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73062         and IA-64.
73063         Remove __builtin_expect test because we require at least gcc 3.4.
73064         * aclocal.m4: Likewise.
73066         * wcsmbs/mbrtoc16.c: Implement using towc function.
73067         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73068         * wcsmbs/wcsmbsload.c: Likewise.
73069         * iconv/gconv_simple.c: Likewise.
73070         * iconv/gconv_int.h: Likewise.
73071         * iconv/gconv_builtin.h: Likewise.
73072         * iconv/iconv_prog.c: Remove CHAR16 handling.
73074         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73076         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73078         * configure.in: Remove --with-elf and --enable-bounded options.
73079         Dont set base_machine for ia64.  More non-ELF conditions removed.
73080         Remove testing and setting of leading underscore information.
73081         * config.make.in (build-bounded): Set to no.
73082         * config.h.in: Remove NO_UNDERSCORES entry.
73083         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73084         them.
73085         * csu/start.c: Remove !NO_UNDERSCORE code.
73086         * locale/localeinfo.h: Likewise.
73087         * sysdeps/generic/machine-gmon.h: Likewise.
73088         * sysdeps/generic/sysdep.h: Likewise.
73089         * sysdeps/i386/sysdep.h: Likewise.
73090         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73091         * sysdeps/mach/sysdep.h: Likewise.
73092         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73093         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73094         * sysdeps/sh/sysdep.h: Likewise.
73095         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73096         * sysdeps/unix/i386/sysdep.S: Likewise.
73097         * sysdeps/unix/sparc/start.c: Likewise.
73098         * sysdeps/unix/sparc/sysdep.S: Likewise.
73099         * sysdeps/unix/sparc/sysdep.h: Likewise.
73100         * sysdeps/unix/start.c: Likewise.
73101         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73102         * sysdeps/x86_64/sysdep.h: Likewise.
73104 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73106         [BZ #13553]
73107         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73108         for non-gcc.
73109         * argp/argp-fmtstream.h: Use const instead __const.
73110         * argp/argp.h: Likewise.
73111         * assert/assert.h: Likewise.
73112         * bits/fenv.h: Likewise.
73113         * bits/sched.h: Likewise.
73114         * bits/sigset.h: Likewise.
73115         * bits/sigthread.h: Likewise.
73116         * catgets/nl_types.h: Likewise.
73117         * conform/data/pthread.h-data: Likewise.
73118         * crypt/crypt-private.h: Likewise.
73119         * crypt/crypt.h: Likewise.
73120         * crypt/crypt_util.c: Likewise.
73121         * ctype/ctype.h: Likewise.
73122         * debug/execinfo.h: Likewise.
73123         * debug/mbsnrtowcs_chk.c: Likewise.
73124         * debug/mbsrtowcs_chk.c: Likewise.
73125         * debug/wcsnrtombs_chk.c: Likewise.
73126         * debug/wcsrtombs_chk.c: Likewise.
73127         * debug/wcstombs_chk.c: Likewise.
73128         * dirent/dirent.h: Likewise.
73129         * dlfcn/dlfcn.h: Likewise.
73130         * elf/neededtest4.c: Likewise.
73131         * grp/grp.h: Likewise.
73132         * gshadow/gshadow.h: Likewise.
73133         * iconv/gconv.h: Likewise.
73134         * iconv/gconv_int.h: Likewise.
73135         * iconv/gconv_simple.c: Likewise.
73136         * iconv/iconv.h: Likewise.
73137         * iconv/loop.c: Likewise.
73138         * iconv/skeleton.c: Likewise.
73139         * include/aio.h: Likewise.
73140         * include/aliases.h: Likewise.
73141         * include/argz.h: Likewise.
73142         * include/arpa/inet.h: Likewise.
73143         * include/assert.h: Likewise.
73144         * include/dirent.h: Likewise.
73145         * include/dlfcn.h: Likewise.
73146         * include/execinfo.h: Likewise.
73147         * include/fcntl.h: Likewise.
73148         * include/fenv.h: Likewise.
73149         * include/glob.h: Likewise.
73150         * include/grp.h: Likewise.
73151         * include/libintl.h: Likewise.
73152         * include/mntent.h: Likewise.
73153         * include/netdb.h: Likewise.
73154         * include/pwd.h: Likewise.
73155         * include/rpc/netdb.h: Likewise.
73156         * include/sched.h: Likewise.
73157         * include/search.h: Likewise.
73158         * include/shadow.h: Likewise.
73159         * include/signal.h: Likewise.
73160         * include/stdio.h: Likewise.
73161         * include/stdlib.h: Likewise.
73162         * include/string.h: Likewise.
73163         * include/sys/socket.h: Likewise.
73164         * include/sys/stat.h: Likewise.
73165         * include/sys/statfs.h: Likewise.
73166         * include/sys/statvfs.h: Likewise.
73167         * include/sys/syslog.h: Likewise.
73168         * include/sys/time.h: Likewise.
73169         * include/sys/uio.h: Likewise.
73170         * include/time.h: Likewise.
73171         * include/unistd.h: Likewise.
73172         * include/utmp.h: Likewise.
73173         * include/wchar.h: Likewise.
73174         * include/wctype.h: Likewise.
73175         * inet/aliases.h: Likewise.
73176         * inet/arpa/inet.h: Likewise.
73177         * inet/netinet/ether.h: Likewise.
73178         * inet/netinet/in.h: Likewise.
73179         * intl/libintl.h: Likewise.
73180         * io/bits/fcntl2.h: Likewise.
73181         * io/fcntl.h: Likewise.
73182         * io/ftw.h: Likewise.
73183         * io/sys/poll.h: Likewise.
73184         * io/sys/stat.h: Likewise.
73185         * io/sys/statfs.h: Likewise.
73186         * io/sys/statvfs.h: Likewise.
73187         * io/utime.h: Likewise.
73188         * libio/bits/stdio.h: Likewise.
73189         * libio/bits/stdio2.h: Likewise.
73190         * libio/libio.h: Likewise.
73191         * libio/libioP.h: Likewise.
73192         * libio/stdio.h: Likewise.
73193         * locale/lc-ctype.c: Likewise.
73194         * locale/locale.h: Likewise.
73195         * login/utmp.h: Likewise.
73196         * malloc/arena.c: Likewise.
73197         * malloc/malloc.c: Likewise.
73198         * malloc/malloc.h: Likewise.
73199         * malloc/mcheck.c: Likewise.
73200         * malloc/mtrace.c: Likewise.
73201         * math/bits/mathcalls.h: Likewise.
73202         * math/fenv.h: Likewise.
73203         * math/math_private.h: Likewise.
73204         * misc/bits/error.h: Likewise.
73205         * misc/bits/syslog.h: Likewise.
73206         * misc/err.h: Likewise.
73207         * misc/error.h: Likewise.
73208         * misc/fstab.h: Likewise.
73209         * misc/mntent.h: Likewise.
73210         * misc/regexp.h: Likewise.
73211         * misc/search.h: Likewise.
73212         * misc/sgtty.h: Likewise.
73213         * misc/sys/mman.h: Likewise.
73214         * misc/sys/syslog.h: Likewise.
73215         * misc/sys/uio.h: Likewise.
73216         * misc/sys/xattr.h: Likewise.
73217         * misc/ttyent.h: Likewise.
73218         * nis/rpcsvc/ypclnt.h: Likewise.
73219         * nss/nss.h: Likewise.
73220         * posix/bits/unistd.h: Likewise.
73221         * posix/fnmatch.h: Likewise.
73222         * posix/glob.h: Likewise.
73223         * posix/sched.h: Likewise.
73224         * posix/spawn.h: Likewise.
73225         * posix/sys/wait.h: Likewise.
73226         * posix/unistd.h: Likewise.
73227         * posix/wordexp.h: Likewise.
73228         * pwd/pwd.h: Likewise.
73229         * resolv/netdb.h: Likewise.
73230         * resource/sys/resource.h: Likewise.
73231         * rt/aio.h: Likewise.
73232         * rt/bits/mqueue2.h: Likewise.
73233         * rt/mqueue.h: Likewise.
73234         * shadow/shadow.h: Likewise.
73235         * signal/signal.h: Likewise.
73236         * socket/send.c: Likewise.
73237         * socket/sendto.c: Likewise.
73238         * socket/sys/socket.h: Likewise.
73239         * stdio-common/printf.h: Likewise.
73240         * stdlib/bits/stdlib.h: Likewise.
73241         * stdlib/fmtmsg.h: Likewise.
73242         * stdlib/monetary.h: Likewise.
73243         * stdlib/stdlib.h: Likewise.
73244         * stdlib/ucontext.h: Likewise.
73245         * streams/stropts.h: Likewise.
73246         * string/argz.h: Likewise.
73247         * string/bits/string2.h: Likewise.
73248         * string/string.h: Likewise.
73249         * string/strings.h: Likewise.
73250         * sunrpc/rpc/auth.h: Likewise.
73251         * sunrpc/rpc/auth_des.h: Likewise.
73252         * sunrpc/rpc/clnt.h: Likewise.
73253         * sunrpc/rpc/netdb.h: Likewise.
73254         * sunrpc/rpc/pmap_clnt.h: Likewise.
73255         * sunrpc/rpc/xdr.h: Likewise.
73256         * sysdeps/generic/inttypes.h: Likewise.
73257         * sysdeps/generic/net/if.h: Likewise.
73258         * sysdeps/generic/sys/swap.h: Likewise.
73259         * sysdeps/gnu/net/if.h: Likewise.
73260         * sysdeps/gnu/utmpx.h: Likewise.
73261         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73262         * sysdeps/i386/i486/bits/string.h: Likewise.
73263         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73264         * sysdeps/s390/bits/string.h: Likewise.
73265         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73266         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73267         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73268         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73269         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73270         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73271         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73272         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73273         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73274         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73275         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73276         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73277         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73278         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73279         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73280         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73281         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73282         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73283         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73284         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73285         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73286         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73287         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73288         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73289         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73290         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73291         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73292         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73293         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73294         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73295         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73296         * sysvipc/sys/ipc.h: Likewise.
73297         * sysvipc/sys/msg.h: Likewise.
73298         * sysvipc/sys/sem.h: Likewise.
73299         * sysvipc/sys/shm.h: Likewise.
73300         * termios/termios.h: Likewise.
73301         * time/sys/time.h: Likewise.
73302         * time/time.h: Likewise.
73303         * wcsmbs/bits/wchar2.h: Likewise.
73304         * wcsmbs/uchar.h: Likewise.
73305         * wcsmbs/wchar.h: Likewise.
73306         * wctype/wctype.h: Likewise.
73308         [BZ #13551]
73309         * Makeconfig: Remove all but ELF support including AIX support.
73310         * Makerules: Likewise.
73311         * config.h.in: Likewise.
73312         * config.make.in: Likewise.
73313         * configure: Likewise.
73314         * configure.in: Likewise.
73315         * csu/Makefile: Likewise.
73316         * csu/version.c: Likewise.
73317         * debug/Makefile: Likewise.
73318         * dlfcn/Makefile: Likewise.
73319         * elf/Makefile: Likewise.
73320         * extra-lib.mk: Likewise.
73321         * iconv/Makefile: Likewise.
73322         * include/libc-symbols.h: Likewise.
73323         * include/shlib-compat.h: Likewise.
73324         * resolv/Makefile: Likewise.
73325         * resolv/res_libc.c: Likewise.
73326         * rt/Makefile: Likewise.
73327         * sysdeps/i386/asm-syntax.h: Likewise.
73328         * sysdeps/i386/sysdep.h: Likewise.
73329         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73330         * sysdeps/mach/sysdep.h: Likewise.
73331         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73332         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73333         * sysdeps/s390/asm-syntax.h: Likewise.
73334         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73335         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73336         * sysdeps/sh/sysdep.h: Likewise.
73337         * sysdeps/unix/sparc/sysdep.h: Likewise.
73338         * sysdeps/wordsize-32/divdi3.c: Likewise.
73339         * sysdeps/x86_64/sysdep.h: Likewise.
73341         * argp/Versions: Remove _argp_unlock_xxx.
73343         [BZ #13559]
73344         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73345         * abilist/libBrokenLocale.abilist: Likewise.
73346         * abilist/libanl.abilist: Likewise.
73347         * abilist/libc.abilist: Likewise.
73348         * abilist/libcrypt.abilist: Likewise.
73349         * abilist/libdl.abilist: Likewise.
73350         * abilist/libm.abilist: Likewise.
73351         * abilist/libnsl.abilist: Likewise.
73352         * abilist/libpthread.abilist: Likewise.
73353         * abilist/libresolv.abilist: Likewise.
73354         * abilist/librt.abilist: Likewise.
73355         * abilist/libthread_db.abilist: Likewise.
73356         * abilist/libutil.abilist: Likewise.
73357         * abilist/libnss_db.abilist: New file.
73359         * scripts/abilist.awk: Add support for indirect functions.
73361         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73363         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73365         * shlib-versions: Remove entries for ports architectures.
73367         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73368         files in ports.
73369         * elf/stackguard-macros.h: Remove support for IA-64.
73370         * elf/tst-auditmod1.c: Likewise.
73371         * sysdeps/generic/ldsodefs.h: Likewise.
73373         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73374         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73375         configure files.
73377         [BZ #13552]
73378         * configure.in: Remove --enable-omitfp support.
73379         * FAQ.in: Adjust.
73380         * config.make.in: Likewise.
73381         * Makeconfig: Likewise.
73382         * manual/install.texi: Likewise.
73384         In case anyone cares, the IA-64 architecture could move to ports.
73385         * sysdeps/ia64/*: Removed.
73386         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73387         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73389         [BZ #13555]
73390         * configure.in: Remove entries for unsupported architectures.
73392         [BZ #13533]
73393         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73394         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73395         routines.
73396         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73397         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73398         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73399         fall back to using wcrtomb.
73400         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73401         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73402         renaming.
73403         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73404         * wcsmbs/tst-c16c32-1.c: New file.
73406         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73407         local variable.
73409         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73411         * elf/tst-unique3.cc: Add explicit declaration of gets.
73412         * elf/tst-unique3lib.cc: Likewise.
73413         * elf/tst-unique3lib2.cc: Likewise.
73414         * elf/tst-unique4.cc: Likewise.
73416         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73418 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73420         [BZ #13566]
73421         * assert/assert.h (static_assert): Don't define for C++.
73422         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73423         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73425 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73427         * iconv/loop.c (single loop): Fix assertion in storing of
73428         remaining bytes.
73430         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73432 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73434         * posix/getconf.c: Update copyright year.
73435         * nss/getent.c: Likewise.
73436         * nss/makedb.c: Likewise.
73437         * iconv/iconvconfig.c: Likewise.
73438         * iconv/iconv_prog.c: Likewise.
73439         * elf/ldconfig.c: Likewise.
73440         * elf/pldd.c: Likewise.
73441         * elf/sotruss.ksh: Likewise.
73442         * catgets/gencat.c: Likewise.
73443         * csu/version.c: Likewise.
73444         * elf/ldd.bash.in: Likewise.
73445         * elf/sprof.c (print_version): Likewise.
73446         * locale/programs/locale.c: Likewise.
73447         * locale/programs/localedef.c: Likewise.
73448         * login/programs/pt_chown.c: Likewise.
73449         * nscd/nscd.c (print_version): Likewise.
73450         * debug/xtrace.sh: Likewise.
73451         * malloc/memusage.sh: Likewise.
73452         * malloc/mtrace.pl: Likewise.
73453         * debug/catchsegv.sh: Likewise.
73455 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73457         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73458         pure attribute.
73460 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73462         [BZ #13533]
73463         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73464         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73465         transformations.
73466         * iconv/gconv_int.h: Likewise.
73467         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73468         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73469         from libc for GLIBC_2.16.
73470         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73471         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73472         * wcsmbs/uchar.h: Really define mbstate_t.
73473         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73474         * wcsmbs/c16rtomb.c: New file.
73475         * wcsmbs/mbrtoc16.c: New file.
73476         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73477         for C/POSIX locale.
73478         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73479         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73481         * wcsmbs/wchar.h: Add missing __restrict.
73483 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73485         [BZ #13532]
73486         * time/Makefile (routines): Add timespec_get.
73487         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73488         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73489         timespec for ISO C11.
73490         * time/timespec_get.c: New file.
73491         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73492         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73494         [BZ #13531]
73495         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73496         * stdlib/stdlib.h: Declare aligned_alloc.
73497         * Versions.def: Add GLIBC_2.16 for libc.
73498         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73500         [BZ 13527]
73501         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73502         ISO C11.
73504         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73505         code.
73507         [BZ #13528]
73508         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73510         [BZ #13529]
73511         * assert/assert.h (static_assert): Define.
73513         * version.h: Update for 2.16 development version.
73515         [BZ #13526]
73516         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73517         _ISOC11_SOURCE.
73519         * version.h (RELEASE): Bump for 2.15 release.
73520         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73522         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73523         Patch by Marek Polacek <mpolacek@redhat.com>.
73525         * bits/byteswap.h: Protect long long constants with __extension__.
73526         * sysdeps/i386/bits/byteswap.h: Likewise.
73527         * sysdeps/ia64/bits/byteswap.h: Likewise.
73528         * sysdeps/s390/bits/byteswap.h: Likewise.
73529         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73531 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73533         [BZ #13540]
73534         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73535         destination buffer.
73536         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73538 2011-12-23  Marek Polacek  <polacek@redhat.com>
73540         * elf/dl-addr.c (determine_info): Add inline keyword.
73541         * elf/tst-auditmod4b.c (check_avx): Likewise.
73542         * elf/tst-auditmod6b.c (check_avx): Likewise.
73543         * elf/tst-auditmod6c.c (check_avx): Likewise.
73544         * elf/tst-auditmod7b.c (check_avx): Likewise.
73546 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73548         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73549         !__SSE_MATH__.
73551 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73553         [BZ #13540]
73554         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73555         processing for last bytes.
73557 2011-08-06  Bruno Haible  <bruno@clisp.org>
73559         [BZ #13061]
73560         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73561         U+0385, not to U+1FEE.
73563         [BZ #13062]
73564         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73565         entry for U+00A5 U+0301.
73567 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73569         [BZ #13166]
73570         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73571         buffer for the output is too small.
73573         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73574         optimization.
73576         [BZ #13185]
73577         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73578         SSE flags if possible.
73580 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73582         [BZ #13540]
73583         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73584         processing for last bytes.
73586 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73588         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73589         (syscall-list-default-options, syscall-list-default-condition)
73590         (syscall-list-includes): Define.
73591         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73592         list of ABIs and options and #if conditions for each ABI.  Do not
73593         handle common syscalls between ABIs specially.
73594         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73595         Remove.
73596         (syscall-list-variants, syscall-list-32bit-options)
73597         (syscall-list-32bit-condition, syscall-list-64bit-options)
73598         (syscall-list-64bit-condition): Define.
73599         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73600         (syscall-list-variants, syscall-list-32bit-options)
73601         (syscall-list-32bit-condition, syscall-list-64bit-options)
73602         (syscall-list-64bit-condition): Define.
73603         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73604         Remove.
73605         (syscall-list-variants, syscall-list-32bit-options)
73606         (syscall-list-32bit-condition, syscall-list-64bit-options)
73607         (syscall-list-64bit-condition): Define.
73608         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73609         Remove.
73610         (syscall-list-variants, syscall-list-32bit-options)
73611         (syscall-list-32bit-condition, syscall-list-64bit-options)
73612         (syscall-list-64bit-condition): Define.
73614 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73616         * locale/iso-639.def: Add brx entry.
73618         [BZ #13328]
73619         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73620         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73622         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73623         __feraiseexcept_renamed.
73625 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73627         [BZ #13538]
73628         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73629         EPOLLET with unsigned values.
73630         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73631         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73633         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73634         to large cancellation.
73635         * math/s_cacoshf.c: Likewise.
73636         * math/s_cacoshl.c: Likewise.
73638 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73640         [BZ #13305]
73641         [BZ #12786]
73642         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73643         * math/s_cacoshf.c: Likewise.
73644         * math/s_cacoshl.c: Likewise.
73646 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73648         [BZ #13439]
73649         * iconv/gconv.h: Define __GCONV_SWAP.
73650         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73651         * iconvdata/utf-16.c: Likewise.
73652         * iconvdata/utf-32.c: Likewise.
73654 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73656         [BZ #13524]
73657         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73658         numerator after shifting it by one limb.
73660 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73662         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73663         under [__USE_EXTERN_INLINES].
73665 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73667         [BZ #13446]
73668         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73670 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73672         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73673         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73674         optimized code.
73675         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73676         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73677         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73678         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73679         for strncasecmp/strncasecmp_l compilation.
73680         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73681         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73683 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73685         [BZ #13484]
73686         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73687         of __asm__.
73689 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73691         [BZ #13506]
73692         * time/tzfile.c (__tzfile_read): Check values from file header.
73694 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73696         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73697         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73698         * powerpc/powerpc32/dl-start.S: Likewise.
73699         * powerpc/powerpc32/elf/start.S: Likewise.
73700         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73701         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73702         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73703         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73704         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73705         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73706         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73707         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73708         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73709         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73710         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73711         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73712         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73713         * powerpc/powerpc32/memset.S: Likewise.
73714         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73715         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73716         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73717         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73718         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73719         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73720         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73721         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73722         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73723         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73724         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73725         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73726         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73728 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73730         * math/libm-test.inc: Added more nearbyint tests.
73731         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73732         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73733         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73734         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73736 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73738         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73739         FD_CLOEXEC.
73741 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73743         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73744         Add wcscpy-ssse3 wcscpy-c.
73745         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73746         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73747         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73748         * sysdeps/x86_64/wcschr.S: New file.
73749         * sysdeps/x86_64/wcsrchr.S: New file.
73750         * string/test-strcmp.c: Remove checking of wcscmp function for
73751         wrong alignments.
73752         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73753         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73754         wcsrchr-sse2 wcsrchr-c.
73755         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73756         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73757         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73758         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73759         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73760         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73761         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73762         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73763         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73764         * wcsmbc/wcschr.c (WCSCHR): New macro.
73766 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73768         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73769         * wcsmbs/test-wcsrchr.c: New file.
73770         * string/test-strrchr.c: Add wcsrchr support.
73771         (WIDE): New macro.
73772         * wcsmbs/test-wcscpy.c: New file.
73773         * string/test-strcpy.c: Add wcscpy support.
73774         (WIDE): New macro.
73776 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73778         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73779         the inner loop.
73781 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73783         [BZ #13472]
73784         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73786 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73788         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73789         Minor optimizations.
73791         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73792         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73793         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73795 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73797         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73798         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73799         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73800         for gcc to avoid warnings.
73801         * inet/Makefile (tests): Add tst-checks.
73802         * inet/tst-checks.c: New file.
73804         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73805         warning.
73807         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73808         __wmemcmp_sse2.
73810         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73811         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73813         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73815 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73817         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73818         problem.
73820         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73822 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73824         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73825         conditional on GCC version.
73826         (__arch_compare_and_exchange_val_8_acq)
73827         (__arch_compare_and_exchange_val_16_acq)
73828         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73829         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73830         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73832 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73834         * sysdeps/sh/backtrace.c: New file.
73836 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73838         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73839         parenthesis.
73841 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73843         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73844         falling back to utime.
73846 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73848         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73849         expectations for float.
73851 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73853         * locale/weight.h (findidx): Add parameter len.
73854         * locale/weightwc.h (findidx): Likewise.
73855         * posix/fnmatch_loop.c (FCT): Adjust caller.
73856         * posix/regcomp.c (build_equiv_class): Likewise.
73857         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73858         * posix/regexec.c (check_node_accept_bytes): Likewise.
73859         * string/strcoll_l.c (STRCOLL): Likewise.
73860         * string/strxfrm_l.c (STRXFRM): Likewise.
73862 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73864         * Makefile.in: Remove CVSOPT handling.
73865         * configure.in: Remove use of AC_REVISION.
73866         * iconvdata/Makefile (distribute): No need to filter out CVS.
73867         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73868         handling.
73870 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73872         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73873         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73874         [USE_AS_STRNCASECMP_L]: Likewise.
73875         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73876         NO_TLS_DIRECT_SEG_REFS.
73877         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73878         Fix argument offsets for non-PIC.
73879         [USE_AS_STRNCASECMP_L]: Likewise.
73880         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73881         NO_TLS_DIRECT_SEG_REFS.
73883 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73885         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73886         O_CLOEXEC.
73887         * locale/loadlocale.c (_nl_load_locale): Likewise.
73889 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73891         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73892         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73893         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73894         (SYSCALL_GETTIME): Set errno on error.
73896         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73897         count references to noai6ai_cached.
73899 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73901         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73903         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73904         FD_CLOEXEC for /proc/self/maps.
73906         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73907         FD_CLOEXEC for /proc/meminfo.
73909         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73910         gai.conf.
73912         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73913         FD_CLOEXEC for given file.
73915         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73917         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73918         FD_CLOEXEC for /etc/hosts.
73919         (_gethtent): Likewise.
73921         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73923         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73924         cancellation and set FD_CLOEXEC for /etc/netgroup.
73926         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73927         reading /etc/publickey.
73929         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73930         allow cancellation when reading /etc/group.
73932         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73933         cancellation.
73934         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73936         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73937         when using data file.
73939         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73941         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73942         (write_nis_obj): Use "c" and "e" in fopen.
73944         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73946         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73948         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73950         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73952         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73953         locale.alias.
73955         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73957         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73959         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73961         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73962         file parsing and set FD_CLOEXEC.
73964 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73966         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73968 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73970         * malloc/arena.c (arena_get2): Don't call reused_arena when
73971         _int_new_arena failed.
73973 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73975         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73976         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73977         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73978         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73979         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73980         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73981         to compile strcasecmp and strncasecmp.
73982         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73983         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73985         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73987 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73989         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73990         locale-defines.sym to gen-as-const-headers.
73991         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73992         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73993         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73994         to compile strcasecmp and strncasecmp.
73995         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73996         strcasecmp_l and strncasecmp_l.
73997         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73998         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73999         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74000         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74001         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74002         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74003         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74004         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74005         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74006         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74007         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74009 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74011         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74012         result of SYSDEP_GETTIME_CPU to retval.
74013         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74014         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74016         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74017         variable.
74019         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74020         mantissa words.
74021         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74023         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74024         from unused variable.
74026         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74027         DWARF definitions.
74028         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74029         for assembling.
74031         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74032         over namespaces.
74034         * sunrpc/rpc_prot.c (rejected): Fix case value.
74036         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74037         unsigned long long int to avoid warnings in shift.
74039         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74040         of use of trans.
74041         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74042         variable tmp.
74044         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74045         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74046         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74048         * nis/nis_table.c (nis_list): Use variable of correct type for
74049         result of __follow_path call.
74051 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74053         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74054         of math functions ceil, trunc, floor, round, and sqrt, when
74055         avaliable on the platform.
74056         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74057         name clash.
74058         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74059         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74060         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74062 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74064         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74065         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74067 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74069         * include/unistd.h: Fix __readlink return type.
74070         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74072 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74074         * stdlib/ucontext.h: Undo last change for makecontext.
74076 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74078         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74080         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74081         * setjmp/setjmp.h: Mark functions as non-leaf.
74082         * setjmp/bits/setjmp2.h: Likewise.
74083         * stdlib/ucontext.h: Likewise.
74085 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74087         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74088         (reused_arena): Don't check arena limit.
74089         (arena_get2): Atomically check arena limit.
74091 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74093         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74094         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74096         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74097         instructions.
74099 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74101         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74102         handler when locking.
74104         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74105         Fix size of allocated buffer.
74107 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74109         [BZ #10103]
74110         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74111         declarations for long double functions.
74112         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74114         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74116 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74118         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74119         installed.
74121         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74122         is disabled.
74124 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74126         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74128 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74130         * include/alloca.h (stackinfo_alloca_round): Define.
74131         (extend_alloca): Use it.
74132         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74133         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74134         here.
74136         * scripts/check-local-headers.sh: Ignore libaudit.h.
74138         * nscd/Makefile (extra-objs): Make recursively expanded.
74140 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74142         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74143         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74145         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74146         * posix/tst-rfc3484-2.c: Likewise.
74147         * posix/tst-rfc3484-3.c: Likewise.
74149         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74150         process_vm_writev.
74151         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74152         process_vm_writev.
74153         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74154         process_vm_writev from libc using GLIBC_2.15 version.
74156         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74158 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74160         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74161         stack usage.
74163 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74165         [BZ #13367]
74166         * nss/getent.c (initgroups_keys): Show error message in case no group
74167         names are given.
74169         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74170         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74171         __bump_nl_timestamp.
74172         * nscd/connections (nscd_init): When host database is served open
74173         netlink socket and request notification about configuration changes.
74174         (main_loop_poll): Track netlink file descriptor and bump timestamp
74175         in case data becomes available.
74176         (main_loop_epoll): Likewise.
74177         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74178         (database_pers_head): Add extra_data fileds.
74179         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74180         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74181         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74182         Adjust caller.
74183         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74184         in6ai data, call __free_in6ai.
74185         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74186         Add -DHAVE_NETLINK.
74187         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74188         interface information.  Reuse previous data if netlink timestamp
74189         is not changed.
74190         (__bump_nl_timestamp): New function.
74191         (__free_in6ai): New function.
74193 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74195         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74196         close_not_cancel_no_status here.
74197         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74199 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74201         [BZ #13276]
74202         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74203         return value.
74205         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74206         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74207         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74209 2011-07-03  Andreas Jaeger  <aj@suse.de>
74211         [BZ #10709]
74212         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74213         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74214         * math/libm-test.inc (sin_test): Add test case.
74216 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74218         [BZ #13337]
74219         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74220         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74222         * elf/chroot_canon.c (chroot_canon): Cleanups.
74224         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74226         [BZ #13335]
74227         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74228         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74230         * string/test-strchr.c: Make usable for strchrnul testing.
74231         * string/test-strchrnul.c: New file.
74232         * string/Makefile (strop-tests): Add strchrnul.
74234         * po/it.po: Update from translation team.
74235         * po/es.po: Likewise.
74237 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74239         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74240         the three constants needed as parameters.  Drop the others.
74241         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74242         __m128i_strloadu_tolower.
74243         Create and initialize variable zero and use it in all the places
74244         where _mm_setzero_si128 was used.
74246         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74247         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74248         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74249         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74250         anymore.
74251         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74252         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74253         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74254         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74255         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74256         __mpranred, __mptan.
74257         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74258         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74259         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74260         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74261         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74262         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74263         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74264         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74265         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74267 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74269         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74270         redefine if SHARED.
74271         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74273         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74274         wide char related routines to wcsmbs subdir.
74276 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74278         [BZ #13344]
74279         * misc/sys/cdefs.h (__THROWNL): Define.
74280         * posix/unistd.h: Use __THREADNL instead of __THREAD
74281         for memory synchronization functions.
74283 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74285         [BZ #13349]
74286         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74287         doesn't exist.
74288         * manual/stdio.texi (Obstack Streams): Node removed.
74290 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74292         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74293         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74294         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74296         * math/math_private.h (math_force_eval): Allow non-addressable
74297         arguments.
74298         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74300 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74302         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74303         file is not needed.
74305         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74306         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74307         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74308         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74309         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74310         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74311         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74312         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74313         Add AVX variants.
74314         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74315         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74316         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74317         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74318         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74319         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74320         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74321         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74322         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74323         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74324         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74325         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74326         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74327         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74328         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74329         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74330         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74331         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74332         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74334         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74335         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74337         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74338         place.  Use VEX encoding when compiling for AVX.
74340 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74342         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74343         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74345         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74347 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74349         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74350         useless if() expression.
74351         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74352         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74353         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74354         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74355         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74356         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74357         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74358         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74359         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74360         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74361         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74362         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74363         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74364         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74365         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74366         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74367         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74368         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74369         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74371         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74373 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74375         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74376         condition.
74377         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74379 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74381         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74382         .text section.  Avoid duplicate constants.
74383         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74384         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74385         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74386         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74387         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74388         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74389         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74390         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74391         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74392         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74393         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74394         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74395         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74396         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74397         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74398         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74399         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74400         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74401         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74402         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74403         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74404         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74405         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74406         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74407         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74408         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74409         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74410         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74411         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74412         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74413         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74414         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74415         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74416         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74417         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74418         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74419         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74420         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74421         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74422         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74423         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74424         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74425         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74426         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74427         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74429 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74431         * sysdeps/x86_64/dla.h: Move to ...
74432         * sysdeps/x86_64/fpu/dla.h: ...here.
74433         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74434         situations.  Use __builtin_fma only for gcc 4.6 and up.
74436         * config.make.in: Add have-mfma4 entry.
74437         * configure.in: Substitute libc_cv_cc_fma4.
74438         * math/Makefile (dbl-only-routines): Add sincostab.
74439         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74440         Use __sincostab not sincos.
74441         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74442         name is a macro.
74443         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74444         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74445         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74446         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74447         using __copysign.
74448         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74449         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74450         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74451         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74452         and __inv.
74453         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74454         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74455         __copysign.
74456         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74457         define aliases when function name is a macro.
74458         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74459         sysdeps/ieee754/dbl-64/sincos.tbl.
74460         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74461         fma4-enabled routines.
74462         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74463         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74464         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74465         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74466         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74467         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74468         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74469         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74470         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74471         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74472         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74473         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74474         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74475         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74476         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74477         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74478         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74479         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74480         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74481         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74482         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74483         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74484         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74485         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74486         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74487         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74488         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74489         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74490         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74491         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74493         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74494         rename.
74495         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74496         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74497         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74498         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74499         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74500         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74501         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74502         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74504 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74506         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74508 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74510         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74512         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74513         prediction.
74514         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74516         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74517         Remove unused variable magic_bits.
74518         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74520         * string/strnlen.c: Define and use STRNLEN macro.
74521         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74522         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74523         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74524         * wcsmbs/wcslen.c: Define and use WCSLEN.
74525         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74526         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74527         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74528         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74529         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74530         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74531         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74533 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74535         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74536         strnlen-sse2-no-bsf.
74537         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74538         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74539         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74540         Add strnlen support.
74541         (USE_AS_STRNLEN): New macro.
74542         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74543         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74544         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74545         * sysdeps/x86_64/wcslen.S: New file.
74547 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74549         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74550         XMM-moves are used for copying on small sizes.
74552 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74554         * wcsmbs/Makefile (strop-tests): Add wcschr.
74555         * wcsmbs/test-wcschr.c: New file.
74556         * string/test-strchr.c: Update.
74557         Add wcschr support.
74558         (WIDE): New macro.
74560 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74562         * wcsmbs/Makefile (strop-tests): Add wcslen.
74563         * wcsmbs/test-wcslen.c: New file.
74564         * string/test-strlen.c: Update.
74565         Add wcslen support.
74566         (WIDE): New macro.
74568 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74570         * po/it.po: Update from translation team.
74572 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74574         * sysdeps/x86_64/wcscmp.S: Update.
74575         Fix wrong comparison semantics.
74576         wcscmp shall use signed comparison not unsigned.
74577         Don't use substraction to avoid overflow bug.
74578         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74579         * wcsmbc/wcscmp.c: Likewise.
74580         * string/test-strcmp.c: Likewise.
74581         Add new tests to check cases with negative values.
74583 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74585         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74586         * sysdeps/x86_64/dla.h: ...here.  New file.
74587         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74588         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74589         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74590         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74591         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74592         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74593         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74594         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74595         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74597 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74599         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74600         __ynl_finite aliases.
74602 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74606         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74607         define DLA_FMA.
74608         [DLA_FMA] (EMULV): Use DLA_FMA.
74609         [DLA_FMA] (MUL12): Use EMULV.
74610         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74611         that are not needed.
74612         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74613         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74614         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74615         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74616         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74617         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74618         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74620 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74622         * math/s_nan.c: Undef __nan.
74623         * math/s_nanf.c: Undef __nanf.
74624         * math/s_nanl.c: Undef __nanl.
74625         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74626         "math_private.h".
74628 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74630         * math/s_catan.c: Add branch predictions.
74631         * math/s_catanf.c: Likewise.
74632         * math/s_catanh.c: Likewise.
74633         * math/s_catanhf.c: Likewise.
74634         * math/s_catanhl.c: Likewise.
74635         * math/s_catanl.c: Likewise.
74636         * math/s_cexp.c: Likewise.
74637         * math/s_cexpf.c: Likewise.
74638         * math/s_cexpl.c: Likewise.
74639         * math/s_clog.c: Likewise.
74640         * math/s_clog10.c: Likewise.
74641         * math/s_clog10f.c: Likewise.
74642         * math/s_clog10l.c: Likewise.
74643         * math/s_clogf.c: Likewise.
74644         * math/s_clogl.c: Likewise.
74645         * math/s_csqrt.c: Likewise.
74646         * math/s_csqrtf.c: Likewise.
74647         * math/s_csqrtl.c: Likewise.
74648         * math/s_ctanf.c: Likewise.
74649         * math/s_ctanh.c: Likewise.
74650         * math/s_ctanhf.c: Likewise.
74651         * math/s_ctanhl.c: Likewise.
74652         * math/s_ctanl.c: Likewise.
74654         * math/math_private.h: Define __nan, __nanf, __nanl.
74655         * math/s_cacosh.c: Include <math_private.h>.
74656         * math/s_cacoshl.c: Likewise.
74657         * math/s_casinh.c: Likewise.
74658         * math/s_casinhf.c: Likewise.
74659         * math/s_casinhl.c: Likewise.
74660         * math/s_ccos.c: Rely entire on ccosh.
74661         * math/s_ccosf.c: Rely entire on ccoshf.
74662         * math/s_ccosl.c: Rely entirely on ccoshl.
74663         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74664         Remove tests for FE_INVALID.
74665         * math/s_ccoshf.c: Likewise.
74666         * math/s_ccoshl.c: Likewise.
74667         * math/s_csin.c: Likewise.
74668         * math/s_csinf.c: Likewise.
74669         * math/s_csinh.c Likewise.
74670         * math/s_csinhf.c: Likewise.
74671         * math/s_csinhl.c: Likewise.
74672         * math/s_csinl.c: Likewise.
74673         * math/s_ctan.c: Likewise.
74674         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74675         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74676         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74678 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74680         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74681         compilation problems.
74683         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74684         __builtin_expect.
74686 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74688         * sysdeps/i386/configure.in: Test for -mfma4 option.
74689         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74690         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74691         COMMON_CPUID_INDEX_80000001.
74692         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74693         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74694         use it if FMA3 is not supported.
74695         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74697         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74698         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74700 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74702         [BZ #12892]
74703         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74704         it would create a cycle with a link time dependency.
74706 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74708         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74709         instruction.
74710         * string/Makefile (strop-tests): Add rawmemchr.
74711         * string/test-rawmemchr.c: New file.
74713         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74714         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74715         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74716         when compiling str{,n}casecmp and when AVX is available.  Hook up
74717         new optimized code in initializers.
74719 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74721         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74722         __feraiseexcept instead of feraiseexcept.
74724 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74726         * math/math_private.h: Define defaults for libc_fetestexcept and
74727         libc_feupdateenv.
74728         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74729         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74730         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74731         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74732         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74733         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74734         libc_fetestexcept and libc_feupdateenv.
74736         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74737         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74738         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74739         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74740         libc_feholdexcept_setround.
74742         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74743         Add s_nearbyint-c and s_nearbyintf-c.
74744         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74745         nearbyintf inlines.
74746         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74747         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74748         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74749         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74751         * math/math_private.h: Define defaults for libc_fegetround,
74752         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74753         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74754         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74755         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74756         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74757         standard functions.
74758         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74759         Remove comments and hacks for old compiler versions.
74760         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74761         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74762         libc_feholdexceptl.
74764 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74766         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74767         (__feraiseexcept_renamed): Add __NTH.
74768         (feraiseexcept): Add __NTH.  Rename local variables to fix
74769         namespace violations.
74771 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74773         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74775         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74777         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74778         recently added interfaces.
74779         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74781         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74782         about macro parameter expansion.
74784         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74785         __NO_MATH_INLINES is defined.  Cleanups.
74787         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74788         and __floorf is target has SSE4.1.
74789         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74790         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74791         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74792         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74794         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74795         name.
74796         (floorf): Likewise.
74798         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74800 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74802         * misc/sys/cdefs.h: Fix last change.
74804         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74805         database lookup.
74807 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74809         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74811         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74812         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74813         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74814         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74815         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74816         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74817         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74818         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74819         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74820         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74821         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74822         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74823         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74824         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74825         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74826         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74827         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74828         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74829         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74830         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74831         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74832         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74834         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74835         ceil, ceilf, floor, floorf.
74837         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74838         Perform IRELATIVE relocations last.
74840         * elf/do-rel.h: Add another parameter nrelative, replacing the
74841         local variable with the same name.  Change name of the function
74842         to end in Rel or Rela (uppercase).
74843         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74844         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74845         elf_dynamic_do_##reloc function.
74847 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74849         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74850         is sufficient, at least on modern CPUs.
74852         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74854         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74855         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74857         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74858         __expl_finite.
74859         * math/bits/math-finite.h: Add entries for exp.
74860         * math/e_expl.c: Add __*_finite alias.
74861         * sysdeps/i386/fpu/e_exp.S: Likewise.
74862         * sysdeps/i386/fpu/e_expf.S: Likewise.
74863         * sysdeps/i386/fpu/e_expl.c: Likewise.
74864         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74865         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74866         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74867         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74868         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74869         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74870         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74872         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74873         is sufficient, at least on modern CPUs.
74875         * ctype/ctype-info.c (__ctype_init): Define.
74876         * include/ctype.h (__ctype_init): Declare.
74877         (__ctype_b_loc): The variable is always initialized.
74878         (__ctype_toupper_loc): Likewise.
74879         (__ctype_tolower_loc): Likewise.
74880         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74881         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74883 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74885         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74887         * configure.in: Also look in $cxxmachine/include for C++ system
74888         headers.
74890 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74892         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74893         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74894         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74895         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74896         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74897         (USE_AS_WMEMCMP): New macro.
74898         Fixing indents.
74899         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74900         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74901         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74902         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74903         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74904         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74905         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74906         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74907         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74908         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74909         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74910         (USE_AS_WMEMCMP): New macro.
74911         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74912         * sysdeps/string/test-memcmp.c: Update.
74913         Fix simple_wmemcmp.
74914         Add new tests.
74915         * wcsmbs/wmemcmp.c: Update.
74916         (WMEMCMP): New macro.
74917         Fix overflow bug.
74919 2011-10-12  Andreas Jaeger  <aj@suse.de>
74921         [BZ #13268]
74922         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74924 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74926         * libio/iofwide.c (do_length): Avoid warning.
74928         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74930 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74932         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74934         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74935         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74936         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74937         * sysdeps/i386/i686/fpu/e_log.S: New file.
74938         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74939         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74941         * ctype/ctype.h: Add support for inlined isXXX functions when
74942         compiling C++ code.
74944 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74946         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74948         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74950 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74952         [BZ #13291]
74953         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74955 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74957         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74958         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74959         feraiseexcept.
74961         * sysdeps/x86_64/memrchr.S: Check for zero size.
74963         * string/stratcliff.c: Add memrchr tests.
74965 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74967         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74968         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74969         rawmemchr-sse2 rawmemchr-sse2-bsf.
74970         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74971         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74972         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74973         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74974         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74975         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74976         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74977         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74978         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74979         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74980         * string/memrchr.c (MEMRCHR): New macro.
74982 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74984         Add integration with gcc's -ffinite-math-only and optimize wrapper
74985         functions in libm.
74986         * Versions.def: Define GLIBC_2.15 version for libm.
74987         * math/Makefile (headers): Add bits/math-finite.h.
74988         * math/bits/math-finite.h: New file.
74989         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74990         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74991         * math/e_acoshl.c: Add __*_finite alias.
74992         * math/e_acosl.c: Likewise.
74993         * math/e_asinl.c: Likewise.
74994         * math/e_atan2l.c: Likewise.
74995         * math/e_atanhl.c: Likewise.
74996         * math/e_coshl.c: Likewise.
74997         * math/e_exp10.c: Likewise.
74998         * math/e_exp10f.c: Likewise.
74999         * math/e_exp10l.c: Likewise.
75000         * math/e_exp2l.c: Likewise.
75001         * math/e_fmodl.c: Likewise.
75002         * math/e_gammal_r.c: Likewise.
75003         * math/e_hypotl.c: Likewise.
75004         * math/e_j0l.c: Likewise.
75005         * math/e_j1l.c: Likewise.
75006         * math/e_jnl.c: Likewise.
75007         * math/e_lgammal_r.c: Likewise.
75008         * math/e_log10l.c: Likewise.
75009         * math/e_log2l.c: Likewise.
75010         * math/e_logl.c: Likewise.
75011         * math/e_powl.c: Likewise.
75012         * math/e_sinhl.c: Likewise.
75013         * math/e_sqrtl.c: Likewise.
75014         * math/e_scalb.c: Completely rewritten and optimized.
75015         * math/e_scalbf.c: Likewise.
75016         * math/e_scalbl.c: Likewise.
75017         * math/w_acos.c: Likewise.
75018         * math/w_acosf.c: Likewise.
75019         * math/w_acosl.c: Likewise.
75020         * math/w_acosh.c: Likewise.
75021         * math/w_acoshf.c: Likewise.
75022         * math/w_acoshl.c: Likewise.
75023         * math/w_asin.c: Likewise.
75024         * math/w_asinf.c: Likewise.
75025         * math/w_asinl.c: Likewise.
75026         * math/w_atan2.c: Likewise.
75027         * math/w_atan2f.c: Likewise.
75028         * math/w_atan2l.c: Likewise.
75029         * math/w_atanh.c: Likewise.
75030         * math/w_atanhf.c: Likewise.
75031         * math/w_atanhl.c: Likewise.
75032         * math/w_exp10.c: Likewise.
75033         * math/w_exp10f.c: Likewise.
75034         * math/w_exp10l.c: Likewise.
75035         * math/w_fmod.c: Likewise.
75036         * math/w_fmodf.c: Likewise.
75037         * math/w_fmodl.c: Likewise.
75038         * math/w_j0.c: Likewise.
75039         * math/w_j0f.c: Likewise.
75040         * math/w_j0l.c: Likewise.
75041         * math/w_j1.c: Likewise.
75042         * math/w_j1f.c: Likewise.
75043         * math/w_j1l.c: Likewise.
75044         * math/w_jn.c: Likewise.
75045         * math/w_jnf.c: Likewise.
75046         * math/w_log.c: Likewise.
75047         * math/w_logf.c: Likewise.
75048         * math/w_logl.c: Likewise.
75049         * math/w_log10.c: Likewise.
75050         * math/w_log10f.c: Likewise.
75051         * math/w_log10l.c: Likewise.
75052         * math/w_log2.c: Likewise.
75053         * math/w_log2f.c: Likewise.
75054         * math/w_log2l.c: Likewise.
75055         * math/w_pow.c: Likewise.
75056         * math/w_powf.c: Likewise.
75057         * math/w_powl.c: Likewise.
75058         * math/w_remainder.c: Likewise.
75059         * math/w_remainderf.c: Likewise.
75060         * math/w_remainderl.c: Likewise.
75061         * math/w_scalb.c: Likewise.
75062         * math/w_scalbf.c: Likewise.
75063         * math/w_scalbl.c: Likewise.
75064         * math/w_sqrt.c: Likewise.
75065         * math/w_sqrtf.c: Likewise.
75066         * math/w_sqrtl.c: Likewise.
75067         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75068         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75069         used.
75070         * math/math_private.h: Declare __kernel_standard_f.
75071         * math/w_cosh.c: Remove cruft and optimize a bit.
75072         * math/w_coshf.c: Likewise.
75073         * math/w_coshl.c: Likewise.
75074         * math/w_exp2.c: Likewise.
75075         * math/w_exp2f.c: Likewise.
75076         * math/w_exp2l.c: Likewise.
75077         * math/w_hypot.c: Likewise.
75078         * math/w_hypotf.c: Likewise.
75079         * math/w_hypotl.c: Likewise.
75080         * math/w_lgamma.c: Likewise.
75081         * math/w_lgamma_r.c: Likewise.
75082         * math/w_lgammaf.c: Likewise.
75083         * math/w_lgammaf_r.c: Likewise.
75084         * math/w_lgammal.c: Likewise.
75085         * math/w_lgammal_r.c: Likewise.
75086         * math/w_sinh.c: Likewise.
75087         * math/w_sinhf.c: Likewise.
75088         * math/w_sinhl.c: Likewise.
75089         * math/w_tgamma.c: Likewise.
75090         * math/w_tgammaf.c: Likewise.
75091         * math/w_tgammal.c: Likewise.
75092         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75093         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75094         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75095         Minor optimizations.  Pretty printing.  Remove cruft.
75096         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75097         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75098         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75099         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75100         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75101         * sysdeps/i386/fpu/e_asin.S: Likewise.
75102         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75103         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75104         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75105         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75106         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75107         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75108         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75109         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75110         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75111         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75112         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75113         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75114         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75115         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75116         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75117         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75118         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75119         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75120         * sysdeps/i386/fpu/e_log.S: Likewise.
75121         * sysdeps/i386/fpu/e_log10.S: Likewise.
75122         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75123         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75124         * sysdeps/i386/fpu/e_log2.S: Likewise.
75125         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75126         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75127         * sysdeps/i386/fpu/e_logf.S: Likewise.
75128         * sysdeps/i386/fpu/e_logl.S: Likewise.
75129         * sysdeps/i386/fpu/e_pow.S: Likewise.
75130         * sysdeps/i386/fpu/e_powf.S: Likewise.
75131         * sysdeps/i386/fpu/e_powl.S: Likewise.
75132         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75133         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75134         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75135         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75136         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75137         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75138         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75139         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75140         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75141         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75142         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75143         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75144         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75145         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75146         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75147         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75148         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75149         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75150         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75151         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75152         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75153         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75154         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75155         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75156         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75157         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75158         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75159         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75160         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75161         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75162         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75163         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75164         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75165         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75166         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75167         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75168         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75169         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75170         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75171         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75172         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75173         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75174         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75175         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75176         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75177         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75178         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75179         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75180         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75181         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75182         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75183         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75184         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75185         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75186         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75187         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75188         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75189         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75190         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75191         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75192         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75193         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75194         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75195         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75196         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75197         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75198         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75199         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75200         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75201         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75202         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75203         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75204         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75205         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75206         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75207         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75208         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75209         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75210         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75211         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75212         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75213         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75214         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75215         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75216         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75217         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75218         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75219         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75220         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75221         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75222         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75223         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75224         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75225         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75226         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75227         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75228         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75229         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75230         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75231         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75232         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75233         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75234         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75235         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75236         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75237         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75238         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75239         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75240         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75241         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75242         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75243         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75244         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75245         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75246         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75247         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75248         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75249         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75250         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75251         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75252         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75253         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75254         (__isnanf): Likewise.
75255         (__isinf_ns): Likewise.
75256         (__isinf_nsf): Likewise.
75257         (__finite): Likewise.
75258         (__finitef): Likewise.
75259         (__ieee754_sqrt): Define as macro.
75260         (__ieee754_sqrtf): Define as macro.
75261         (__ieee754_sqrtl): Define as macro.
75262         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75263         inlined copy.
75264         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75265         __FINITE_MATH_ONLY__ consistent.
75266         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75268 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75270         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75271         of rawmemchr.
75273         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75275 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75277         * po/ja.po: Update from translation team.
75279 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75281         * locale/programs/locarchive.c (prepare_address_space): New function.
75282         (create_archive, enlarge_archive, open_archive): Use it.
75284         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75285         inside [SHARED], where it is used.
75287         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75289         * nss/getent.c (netgroup_keys): Remove unused variable.
75290         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75292 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75294         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75295         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75296         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75297         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75298         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75299         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75300         * math/Makefile (libm-calls): Add s_isinf_ns.
75301         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75302         * math/multc3.c: Likewise.
75303         * math/s_casin.c: Likewise.
75304         * math/s_casinf.c: Likewise.
75305         * math/s_casinl.c: Likewise.
75306         * math/s_ccos.c: Likewise.
75307         * math/s_ccosf.c: Likewise.
75308         * math/s_ccosl.c: Likewise.
75309         * math/s_ctan.c: Likewise.
75310         * math/s_ctanf.c: Likewise.
75311         * math/s_ctanh.c: Likewise.
75312         * math/s_ctanhf.c: Likewise.
75313         * math/s_ctanhl.c: Likewise.
75314         * math/s_ctanl.c: Likewise.
75315         * math/w_fmod.c: Likewise.
75316         * math/w_fmodf.c: Likewise.
75317         * math/w_fmodl.c: Likewise.
75318         * math/w_remainder.c: Likewise.
75319         * math/w_remainderf.c: Likewise.
75320         * math/w_remainderl.c: Likewise.
75321         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75322         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75323         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75324         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75325         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75326         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75327         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75328         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75330         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75331         of the number.
75332         * stdio-common/printf_fphex.c: Likewise.
75333         * stdio-common/printf_size.c: Likewise.
75335         * math/e_exp10.c: Include math_private.h using <...> not "...".
75336         * math/e_exp10f.c: Likewise.
75337         * math/e_exp10l.c: Likewise.
75338         * math/e_exp2l.c: Likewise.
75339         * math/e_j0l.c: Likewise.
75340         * math/e_j1l.c: Likewise.
75341         * math/e_jnl.c: Likewise.
75342         * math/e_lgammal_r.c: Likewise.
75343         * math/e_rem_pio2l.c: Likewise.
75344         * math/e_scalb.c: Likewise.
75345         * math/e_scalbf.c: Likewise.
75346         * math/e_scalbl.c: Likewise.
75347         * math/k_cosl.c: Likewise.
75348         * math/k_sinl.c: Likewise.
75349         * math/k_tanl.c: Likewise.
75350         * math/s_cacoshf.c: Likewise.
75351         * math/s_catan.c: Likewise.
75352         * math/s_catanf.c: Likewise.
75353         * math/s_catanh.c: Likewise.
75354         * math/s_catanhf.c: Likewise.
75355         * math/s_catanhl.c: Likewise.
75356         * math/s_catanl.c: Likewise.
75357         * math/s_ccosh.c: Likewise.
75358         * math/s_ccoshf.c: Likewise.
75359         * math/s_ccoshl.c: Likewise.
75360         * math/s_cexp.c: Likewise.
75361         * math/s_cexpf.c: Likewise.
75362         * math/s_cexpl.c: Likewise.
75363         * math/s_clog.c: Likewise.
75364         * math/s_clog10.c: Likewise.
75365         * math/s_clog10f.c: Likewise.
75366         * math/s_clog10l.c: Likewise.
75367         * math/s_clogf.c: Likewise.
75368         * math/s_clogl.c: Likewise.
75369         * math/s_csin.c: Likewise.
75370         * math/s_csinf.c: Likewise.
75371         * math/s_csinh.c: Likewise.
75372         * math/s_csinhf.c: Likewise.
75373         * math/s_csinhl.c: Likewise.
75374         * math/s_csinl.c: Likewise.
75375         * math/s_csqrt.c: Likewise.
75376         * math/s_csqrtf.c: Likewise.
75377         * math/s_csqrtl.c: Likewise.
75378         * math/s_ctan.c: Likewise.
75379         * math/s_ctanf.c: Likewise.
75380         * math/s_ctanh.c: Likewise.
75381         * math/s_ctanhf.c: Likewise.
75382         * math/s_ctanhl.c: Likewise.
75383         * math/s_ctanl.c: Likewise.
75384         * math/s_ldexp.c: Likewise.
75385         * math/s_ldexpf.c: Likewise.
75386         * math/s_ldexpl.c: Likewise.
75387         * math/s_significand.c: Likewise.
75388         * math/s_significandf.c: Likewise.
75389         * math/s_significandl.c: Likewise.
75390         * math/w_acos.c: Likewise.
75391         * math/w_acosf.c: Likewise.
75392         * math/w_acosh.c: Likewise.
75393         * math/w_acoshf.c: Likewise.
75394         * math/w_acoshl.c: Likewise.
75395         * math/w_acosl.c: Likewise.
75396         * math/w_asin.c: Likewise.
75397         * math/w_asinf.c: Likewise.
75398         * math/w_asinl.c: Likewise.
75399         * math/w_atan2.c: Likewise.
75400         * math/w_atan2f.c: Likewise.
75401         * math/w_atan2l.c: Likewise.
75402         * math/w_atanh.c: Likewise.
75403         * math/w_atanhf.c: Likewise.
75404         * math/w_atanhl.c: Likewise.
75405         * math/w_cosh.c: Likewise.
75406         * math/w_coshf.c: Likewise.
75407         * math/w_coshl.c: Likewise.
75408         * math/w_dremf.c: Likewise.
75409         * math/w_exp10.c: Likewise.
75410         * math/w_exp10f.c: Likewise.
75411         * math/w_exp10l.c: Likewise.
75412         * math/w_exp2.c: Likewise.
75413         * math/w_exp2f.c: Likewise.
75414         * math/w_fmod.c: Likewise.
75415         * math/w_fmodf.c: Likewise.
75416         * math/w_fmodl.c: Likewise.
75417         * math/w_hypot.c: Likewise.
75418         * math/w_hypotf.c: Likewise.
75419         * math/w_hypotl.c: Likewise.
75420         * math/w_j0.c: Likewise.
75421         * math/w_j0f.c: Likewise.
75422         * math/w_j0l.c: Likewise.
75423         * math/w_j1.c: Likewise.
75424         * math/w_j1f.c: Likewise.
75425         * math/w_j1l.c: Likewise.
75426         * math/w_jn.c: Likewise.
75427         * math/w_jnf.c: Likewise.
75428         * math/w_jnl.c: Likewise.
75429         * math/w_lgamma.c: Likewise.
75430         * math/w_lgamma_r.c: Likewise.
75431         * math/w_lgammaf.c: Likewise.
75432         * math/w_lgammaf_r.c: Likewise.
75433         * math/w_lgammal.c: Likewise.
75434         * math/w_lgammal_r.c: Likewise.
75435         * math/w_log.c: Likewise.
75436         * math/w_log10.c: Likewise.
75437         * math/w_log10f.c: Likewise.
75438         * math/w_log10l.c: Likewise.
75439         * math/w_log2.c: Likewise.
75440         * math/w_log2f.c: Likewise.
75441         * math/w_log2l.c: Likewise.
75442         * math/w_logf.c: Likewise.
75443         * math/w_logl.c: Likewise.
75444         * math/w_pow.c: Likewise.
75445         * math/w_powf.c: Likewise.
75446         * math/w_powl.c: Likewise.
75447         * math/w_remainder.c: Likewise.
75448         * math/w_remainderf.c: Likewise.
75449         * math/w_remainderl.c: Likewise.
75450         * math/w_scalb.c: Likewise.
75451         * math/w_scalbf.c: Likewise.
75452         * math/w_scalbl.c: Likewise.
75453         * math/w_sinh.c: Likewise.
75454         * math/w_sinhf.c: Likewise.
75455         * math/w_sinhl.c: Likewise.
75456         * math/w_sqrt.c: Likewise.
75457         * math/w_sqrtf.c: Likewise.
75458         * math/w_sqrtl.c: Likewise.
75459         * math/w_tgamma.c: Likewise.
75460         * math/w_tgammaf.c: Likewise.
75461         * math/w_tgammal.c: Likewise.
75463         * po/ja.po: Update from translation team.
75465 2011-09-29  Andreas Jaeger  <aj@suse.de>
75467         [BZ #13179]
75468         * sunrpc/netname.c (netname2host): Fix logic.
75470         [BZ #6779]
75471         [BZ #6783]
75472         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75473         correctly.
75474         * math/w_remainder.c (__remainder): Likewise.
75475         * math/w_remainderf.c (__remainderf): Likewise.
75476         * math/libm-test.inc (remainder_test): Add test cases.
75478 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75480         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75481         sdiv_qrnnd.
75483 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75485         * string/test-memcmp.c: Avoid unncessary #defines.
75486         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75488 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75490         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75491         Use new sse2 version for core i3 - i7 as it's faster
75492         than sse42 version.
75493         (bit_Prefer_PMINUB_for_stringop): New.
75494         * sysdeps/x86_64/rawmemchr.S: Update.
75495         Replace with faster SSE2 version.
75496         * sysdeps/x86_64/memrchr.S: New file.
75497         * sysdeps/x86_64/memchr.S: Update.
75498         Replace with faster SSE2 version.
75500 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75502         * elf/dl-load.c (lose): Add cast to avoid warning.
75504 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75506         * po/ca.po: Update from translation team.
75508         * inet/getnetgrent_r.c: Hook up nscd.
75509         * nscd/Makefile (routines): Add nscd_netgroup.
75510         (nscd-modules): Add netgroupcache.
75511         (CFLAGS-netgroupcache.c): Define.
75512         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75513         (cache_search): Add const to second parameter.
75514         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75515         INNETGR.
75516         (dbs): Add netgrdb entry.
75517         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75518         (verify_persistent_db): Handle netgrdb.
75519         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75520         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75521         GETFDNETGR.
75522         (netgroup_response_header): Define.
75523         (innetgroup_response_header): Define.
75524         (datahead): Add netgroup_response_header and innetgroup_response_header
75525         elements.
75526         * nscd/nscd.conf: Add entries for netgroup cache.
75527         * nscd/nscd.h (dbtype): Add netgrdb.
75528         (_PATH_NSCD_NETGROUP_DB): Define.
75529         (netgroup_iov_disabled): Declare.
75530         (xmalloc, xcalloc, xrealloc): Move declarations here.
75531         (cache_search): Adjust prototype.
75532         Add netgroup-related prototypes.
75533         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75534         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75535         (__nscd_innetgr): Declare.
75536         * nscd/selinux.c (perms): Use access_vector_t as element type and
75537         add netgroup-related initializers.
75538         * nscd/netgroupcache.c: New file.
75539         * nscd/nscd_netgroup.c: New file.
75540         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75541         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75542         For four parameters use innetgr.
75543         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75544         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75545         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75546         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75548         * nscd/connections.c (register_traced_file): Don't register file
75549         for disabled databases.
75551 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75553         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75555         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75556         from tree and freeing node.
75558 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75560         * nss/nsswitch.c (__nss_database_lookup): Handle
75561         nss_parse_service_list out of memory case.
75563 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75565         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75566         out of memory case.
75568 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75570         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75571         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75572         pass it down.
75573         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75574         elf_machine_rela, elf_machine_lazy_rel.
75575         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75576         (ELF_DYNAMIC_DO_REL): Likewise.
75577         (ELF_DYNAMIC_DO_RELA): Likewise.
75578         (ELF_DYNAMIC_RELOCATE): Likewise.
75579         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75580         to ELF_DYNAMIC_DO_REL.
75581         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75582         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75583         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75584         elf_machine_rela.
75585         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75586         skip_ifunc, don't call ifunc function if non-zero.
75587         (elf_machine_rela): Likewise.
75588         (elf_machine_lazy_rel): Likewise.
75589         (elf_machine_lazy_rela): Likewise.
75590         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75591         (elf_machine_lazy_rel): Likewise.
75592         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75593         Likewise.
75594         (elf_machine_lazy_rel): Likewise.
75595         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75596         Likewise.
75597         (elf_machine_lazy_rel): Likewise.
75598         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75599         (elf_machine_lazy_rel): Likewise.
75600         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75601         (elf_machine_lazy_rel): Likewise.
75602         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75603         (elf_machine_lazy_rel): Likewise.
75604         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75605         (elf_machine_lazy_rel): Likewise.
75606         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75607         (elf_machine_lazy_rel): Likewise.
75608         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75609         (elf_machine_lazy_rel): Likewise.
75611 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75613         * nss/nss_files/files-init.c (_nss_files_init): Use static
75614         initialization for all the *_traced_file variables.
75616 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75618         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75620 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75622         [BZ #13226]
75623         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75625 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75627         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75628         Reread the line before reparsing it.
75630 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75632         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75634 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75635             Maxim Kuvyrkov  <maxim@codesourcery.com>
75636             Joseph Myers  <joseph@codesourcery.com>
75638         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75639         if needed for __stack_chk_guard.
75641 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75643         * sysdeps/posix/spawni.c (script_execute): Always define it.
75644         It will be optimized away if unused.
75645         (maybe_script_execute): New function.
75646         (__spawni): Call it.
75648         * Makerules: Don't include tls.make.
75649         (config-tls): Always set to thread.
75650         * tls.make.c: File removed.
75652 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75654         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75655         * config.make.in (CPPFLAGS-config): New substituted variable.
75657 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75659         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75661         [BZ #13192]
75662         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75663         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75665 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75667         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75668         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75669         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75670         (CALL_FAIL): Likewise.
75671         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75672         (CALL_FAIL): Macro removed.
75673         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75675 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75677         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75678         for __FINITE_MATH_ONLY__ == 1.
75680 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75682         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75683         __ieee754_sqrt instead of sqrt.
75684         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75685         __ieee754_sqrtf instead of sqrtf.
75686         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75687         __floorf instead of floorf.
75688         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75689         __floorf, __truncf instead of floorf, truncf.
75691 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75693         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75695         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75696         __extern_always_inline.
75697         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75698         32-bit.
75700 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75702         * elf/rtld.c (dl_main): Also relocate in dependency order when
75703         doing symbol dependency testing.
75705 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75707         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75708         Always define `refsym'.
75710 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75712         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75713         (__FD_ELT): Renamed from __FDELT.
75714         * misc/bits/select2.h (__FD_ELT): Likewise.
75715         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75716         __FD_MASK instead of __FDELT, __FDMASK.
75717         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75718         Likewise.
75719         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75720         Likewise.
75722         * elf/Makefile (gen-ldd): Fix pattern.
75724         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75725         (init_tls): Likewise.
75727 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75729         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75731 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75733         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75734         `struct cmsghdr *' instead of `void *'.
75735         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75736         Likewise.
75738 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75740         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75741         if non-absolute.
75742         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75743         ldd_rewrite_script.
75745 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75747         * configure.in: Remove --with-tls option.
75748         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75749         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75750         out in case it is missing.
75751         * sysdeps/ia64/elf/configure.in: Likewise.
75752         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75753         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75754         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75755         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75756         * sysdeps/sh/elf/configure.in: Likewise.
75757         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75758         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75759         * sysdeps/x86_64/elf/configure.in: Likewise.
75760         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75761         * sysdeps/mach/hurd/tls.h: Likewise.
75763         [BZ #13067]
75764         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75766         [BZ #13090]
75767         * configure.in: Fix use of AC_INIT.
75769         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75771 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75773         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75774         __set_errno.
75775         * malloc/hooks.c: Likewise.
75777         [BZ #11929]
75778         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75779         variables statically.
75780         (narenas): Initialize.
75781         (list_lock): Initialize.
75782         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75783         initializtion of main_arena and list_lock.  Small cleanups.
75784         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75785         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75786         Add initializers to main_arena and mp_.
75787         (malloc_state): Remove pagesize member.  Change all users to use
75788         GLRO(dl_pagesize).
75790         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75791         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75792         is always initialized.
75794         * malloc/malloc.c: Removed unused configurations and dead code.
75795         * malloc/arena.c: Likewise.
75796         * malloc/hooks.c: Likewise.
75797         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75799         * include/tls.h: Removed.  USE___THREAD must always be defined.
75800         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75801         * elf/dl-libc.c: Likewise.
75802         * elf/dl-tsd.c: Likewise.
75803         * include/errno.h: Likewise.
75804         * include/netdb.h: Likewise.
75805         * include/resolv.h: Likewise.
75806         * inet/herrno-loc.c: Likewise.
75807         * inet/herrno.c: Likewise.
75808         * malloc/arena.c: Likewise.
75809         * malloc/hooks.c: Likewise.
75810         * malloc/malloc.c: Likewise.
75811         * resolv/res-state.c: Likewise.
75812         * resolv/res_libc.c: Likewise.
75813         * sysdeps/i386/dl-machine.h: Likewise.
75814         * sysdeps/ia64/dl-machine.h: Likewise.
75815         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75816         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75817         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75818         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75819         * sysdeps/sh/dl-machine.h: Likewise.
75820         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75821         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75822         * sysdeps/unix/i386/sysdep.S: Likewise.
75823         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75824         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75825         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75826         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75827         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75828         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75829         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75830         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75831         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75832         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75833         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75834         * sysdeps/x86_64/dl-machine.h: Likewise.
75835         * tls.make.c: Likewise.
75837         * configure.in: Remove --with-__thread option.  Make tests for
75838         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75839         tls_model attribute fail if no support is available.  Remove
75840         USE_IN_LIBIO.
75841         * Makeconfig: Adjust for dropped configure option.  All features are
75842         now mandatory.
75843         * Makerules: Likewise.
75844         * Versions.def: Likewise.
75845         * argp/argp-fmtstream.c: Likewise.
75846         * argp/argp-fmtstream.h: Likewise.
75847         * argp/argp-help.c: Likewise.
75848         * assert/assert.c: Likewise.
75849         * config.h.in: Likewise.
75850         * config.make.in: Likewise.
75851         * configure: Likewise.
75852         * configure.in: Likewise.
75853         * csu/Versions: Likewise.
75854         * csu/init.c: Likewise.
75855         * elf/tst-audit2.c: Likewise.
75856         * elf/tst-tls10.c: Likewise.
75857         * elf/tst-tls10.h: Likewise.
75858         * elf/tst-tls11.c: Likewise.
75859         * elf/tst-tls12.c: Likewise.
75860         * elf/tst-tls14.c: Likewise.
75861         * elf/tst-tlsmod11.c: Likewise.
75862         * elf/tst-tlsmod12.c: Likewise.
75863         * elf/tst-tlsmod13.c: Likewise.
75864         * elf/tst-tlsmod13a.c: Likewise.
75865         * elf/tst-tlsmod14a.c: Likewise.
75866         * elf/tst-tlsmod15b.c: Likewise.
75867         * elf/tst-tlsmod16a.c: Likewise.
75868         * elf/tst-tlsmod16b.c: Likewise.
75869         * elf/tst-tlsmod7.c: Likewise.
75870         * elf/tst-tlsmod8.c: Likewise.
75871         * elf/tst-tlsmod9.c: Likewise.
75872         * gmon/gmon.c: Likewise.
75873         * grp/fgetgrent_r.c: Likewise.
75874         * grp/putgrent.c: Likewise.
75875         * hurd/fopenport.c: Likewise.
75876         * include/libc-symbols.h: Likewise.
75877         * include/tls.h: Likewise.
75878         * intl/gettextP.h: Likewise.
75879         * intl/loadinfo.h: Likewise.
75880         * locale/global-locale.c: Likewise.
75881         * locale/localeinfo.h: Likewise.
75882         * mach/devstream.c: Likewise.
75883         * malloc/arena.c: Likewise.
75884         * malloc/set-freeres.c: Likewise.
75885         * misc/err.c: Likewise.
75886         * misc/getttyent.c: Likewise.
75887         * misc/mntent_r.c: Likewise.
75888         * posix/getopt.c: Likewise.
75889         * posix/wordexp.c: Likewise.
75890         * pwd/fgetpwent_r.c: Likewise.
75891         * resolv/Versions: Likewise.
75892         * resolv/res_hconf.c: Likewise.
75893         * shadow/fgetspent_r.c: Likewise.
75894         * shadow/putspent.c: Likewise.
75895         * stdio-common/printf_fphex.c: Likewise.
75896         * stdio-common/tmpfile.c: Likewise.
75897         * stdlib/abort.c: Likewise.
75898         * stdlib/fmtmsg.c: Likewise.
75899         * sunrpc/auth_unix.c: Likewise.
75900         * sunrpc/clnt_perr.c: Likewise.
75901         * sunrpc/clnt_tcp.c: Likewise.
75902         * sunrpc/clnt_udp.c: Likewise.
75903         * sunrpc/clnt_unix.c: Likewise.
75904         * sunrpc/openchild.c: Likewise.
75905         * sunrpc/svc_simple.c: Likewise.
75906         * sunrpc/svc_tcp.c: Likewise.
75907         * sunrpc/svc_udp.c: Likewise.
75908         * sunrpc/svc_unix.c: Likewise.
75909         * sunrpc/xdr.c: Likewise.
75910         * sunrpc/xdr_array.c: Likewise.
75911         * sunrpc/xdr_rec.c: Likewise.
75912         * sunrpc/xdr_ref.c: Likewise.
75913         * sunrpc/xdr_stdio.c: Likewise.
75915 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75917         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75919 2011-07-03  Andreas Jaeger  <aj@suse.de>
75921         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75922         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75923         regenerate with gen-libm-tests.pl.
75925 2010-05-12  Petr Baudis  <pasky@suse.cz>
75927         [BZ #11589]
75928         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75929         around j0() zero points by switching to j1().
75930         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75931         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75932         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75933         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75935 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75937         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75938         instead of 0.
75939         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75940         instead of 0.
75941         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75942         Patch in part by Pavel Roskin <proski@gnu.org>.
75944         [BZ #13138]
75945         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75946         realloc.
75947         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75948         Free memory block if necessary.
75950         [BZ #12847]
75951         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75952         be NULL.  Don't lock in this case.
75954 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75956         * elf/elf.h (ELFOSABI_GNU): New macro.
75957         (ELFOSABI_LINUX): Define to that.
75959 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75961         * string/strncat.c (strncat): Undef the symbol in case it has been
75962         defined in bits/string.h.
75964 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75966         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75968         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75969         link map.
75971 2011-08-17  Andreas Jaeger  <aj@suse.de>
75973         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75975 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75976             Ian Lance Taylor  <iant@google.com>
75978         * math/libm-test.inc (lround_test): New testcase.
75979         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75981 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75983         * Makefile: Remove support for automatic cvs check-ins.
75984         * Makerules: Likewise.
75985         * config.make.in: Likewise.
75986         * configure.in: Likewise.
75987         * intl/Makefile: Likewise.
75988         * locale/Makefile: Likewise.
75989         * po/Makefile: Likewise.
75990         * posix/Makefile: Likewise.
75991         * sysdeps/gnu/Makefile: Likewise.
75992         * sysdeps/mach/hurd/Makefile: Likewise.
75993         * sysdeps/sparc/sparc32/Makefile: Likewise.
75995         [BZ #13118]
75996         * posix/Makefile (bug-regex32-ENV): Define.
75997         Patch by John Stanley <jpsinthemix@verizon.net>.
75999         * misc/Makefile (headers): Add bits/select2.h.
76000         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76001         * misc/bits/select2.h: New file.
76002         * include/bits/select2.h: New file.
76003         * debug/Makefile (routines): Add fdelt_chk.
76004         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76005         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76006         FD_ISSET.
76007         * debug/fdelt_chk.c: New file.
76009         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76010         * wcsmbs/test-wmemcmp.c: Likewise.
76011         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76012         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76014 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76016         * string/Makefile (strop-tests): Add memcmp.
76017         * string/test-wmemcmp.c: New file.
76018         * string/test-memcmp.c: Add wmemcmp support.
76020 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76022         [BZ #13153]
76023         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76024         2011-07-19 change.
76026         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76027         garbage value in a __mach_port_mod_refs call in the cases of the
76028         task-self and thread-self ports.
76030 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76032         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76034 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76036         * elf/dl-load.c (lose): Check for non-null L.
76038 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76040         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76042         * elf/dl-libc.c (dlerror_run): Pass back error code from
76043         dl_catch_error.
76045         [BZ #13123]
76046         * elf/dl-load.c (lose): Free l_origin if it is valid.
76048         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76049         names.
76050         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76051         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76052         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76053         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76054         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76055         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76057 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76059         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76060         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76061         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76062         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76063         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76064         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76065         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76066         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76067         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76068         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76070 2011-08-15  Alan Modra  <amodra@gmail.com>
76072         [BZ #13092]
76073         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76074         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76075         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76076         ppc_mcount to static-only-routines.
76077         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76078         __mcount_internal.
76079         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76080         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76082 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76084         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76085         for finite and infinity parameters.
76087 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76089         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76090         and add nop instructions for throughput optimization.
76091         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76093 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76095         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76096         aligned copy for power7 with vector-scalar instructions.
76097         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76099 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76101         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76102         AVX check.
76104 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76106         [BZ #13144]
76107         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76108         last change.
76110 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76112         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76113         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76114         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76115         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76116         clock_gettime.
76118 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76120         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76121         Forgot to demangle the pointer.
76123         * sysdeps/i386/sysdep.h: Define atom_text_section.
76124         * sysdeps/x86_64/sysdep.h: Likewise.
76125         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76126         section with atom_text_section.
76127         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76128         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76129         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76130         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76131         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76133         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76134         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76135         already be defined.  Change to take two parameters and don't assign
76136         result to variable.  Adjust all users.
76137         Define INTERNAL_GETTIME if not already defined.
76138         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76139         call.
76140         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76141         HAVE_CLOCK_GETTIME_VSYSCALL.
76142         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76144         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76145         gettimeofday vsyscall, just use time.
76147 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76149         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76150         <errno.h>.
76152 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76154         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76155         syscall on x86-64.
76156         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76157         syscall.
76158         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76159         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76160         syscall if possible.
76162 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76164         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76165         e_ident.  Don't pass to find_mapsXX.
76166         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76168 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76170         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76171         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76172         * sysdeps/x86_64/multiarch/strchr.S: Update.
76173         Check bit_slow_BSF bit.
76174         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76175         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76176         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76178 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76180         [BZ #13134]
76181         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76182         before glibc 2.15.
76183         (tryshell): Define.
76184         (__spawni): Change last parameter to be flag.  Test
76185         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76186         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76187         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76188         * posix/spawni.c: Likewise.
76189         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76190         * posix/spawnp.c: Likewise.  Change normal version to use
76191         SPAWN_XFLAGS_USE_PATH.
76192         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76193         SPAWN_XFLAGS_TRY_SHELL.
76195         [BZ #13150]
76196         * posix/glob.h: Remove gcc 1.x support.
76198         [BZ #13068]
76199         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76201 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76203         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76204         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76205         strrchr-sse2-bsf
76206         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76207         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76208         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76209         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76210         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76211         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76213 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76215         * sysdeps/x86_64/wcscmp.S: New file.
76217         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76218         wcscmp-c wcscmp-sse2
76219         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76220         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76221         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76222         * wcsmbs/wcscmp.c: Allow renaming.
76224 2011-09-05  David S. Miller  <davem@davemloft.net>
76226         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76227         stack slot, rather than the struct return pointer slot.
76228         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76229         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76231         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76233 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76235         * po/ja.po: Update from translation team.
76237         [BZ #13144]
76238         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76239         kernel in 64-bit binaries.
76241 2011-09-01  David S. Miller  <davem@davemloft.net>
76243         * elf/elf.h (HWCAP_SPARC_*): Move to..
76244         * sysdeps/sparc/sysdep.h: this new file and add new values.
76245         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76246         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76247         _DL_HWCAP_COUNT to 24.
76248         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76249         entries.
76250         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76251         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76252         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76253         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76254         instead of magic constants.
76255         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76257 2011-08-31  David S. Miller  <davem@davemloft.net>
76259         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76260         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76261         Reimplement to do errno handling inline.
76262         (SYSCALL_ERROR_HANDLER): New macro.
76263         (__SYSCALL_STRING): Do not do errno handling in asm.
76264         (__CLONE_SYSCALL_STRING): Delete.
76265         (__INTERNAL_SYSCALL_STRING): Delete.
76266         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76267         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76268         (PSEUDO): Reimplement to do errno handling inline.
76269         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76270         (SYSCALL_ERROR_HANDLER): New macro.
76271         (__SYSCALL_STRING): Do not do errno handling in asm.
76272         (__CLONE_SYSCALL_STRING): Delete.
76273         (__INTERNAL_SYSCALL_STRING): Delete.
76274         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76275         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76276         i386.
76277         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76278         (inline_syscall*): Add 'err' argument.
76279         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76280         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76281         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76282         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76284         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76285         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76287 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76289         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76291 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76293         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76294         directive.
76296 2011-08-24  David S. Miller  <davem@davemloft.net>
76298         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76300 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76302         * elf/Makefile: Add rules to build and run unload8 test.
76303         * elf/unload8.c: New file.
76304         * elf/unload8mod1.c: New file.
76305         * elf/unload8mod1x.c: New file.
76306         * elf/unload8mod2.c: New file.
76307         * elf/unload8mod3.c: New file.
76309         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76310         it wasn't used.
76312 2011-08-23  David S. Miller  <davem@davemloft.net>
76314         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76315         subtract stack bias.
76316         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76317         %sp not %fp in calculations.
76318         (_JMPBUF_UNWINDS_ADJ): Likewise.
76320         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76321         (aio_suspend): Call it to force an exception region around the
76322         AIO_MISC_WAIT() invocation.
76324 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76326         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76327         backslash.
76329 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76331         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76332         protection macro.
76333         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76334         and <dl-machine.h>.
76335         (Elf64_FuncDesc): Remove.
76337 2011-08-22  David S. Miller  <davem@davemloft.net>
76339         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76340         sigaltstack check, add missing cfi directives.
76341         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76342         missing cfi directives, and sigaltstack handling.
76344 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76346         [BZ #11724]
76347         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76348         object is seen twice.
76349         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76351         * elf/Makefile (distribute): Add tst-initorder2.c.
76352         (tests): Add tst-initorder2.
76353         (modules-names): Add tst-initorder2a tst-initorder2b
76354         tst-initorder2c tst-initorder2d.  Add rules to build them.
76355         ($(objpfx)tst-initorder2.out): New rule.
76356         * elf/tst-initorder2.c: New file.
76357         * elf/tst-initorder2.exp: New file.
76359 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76361         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76363         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76364         dependencies back to end of function.
76366         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76367         $(elfobjdir)/ld.so.
76369 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76371         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76372         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76373         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76374         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76375         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76376         of __vdso_gettimeofday.
76377         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76378         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76379         attribute_hidden.
76380         (_libc_vdso_platform_setup): Remove initialization of
76381         __vdso_gettimeofday and __vdso_time.
76383 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76385         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76386         and fgetc_unlocked.
76387         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76388         getc_unlocked.
76390         * elf/dl-open.c (add_to_global): Report additions to the global scope
76391         for LD_DEBUG=scopes.
76392         (dl_open_worker): Also print scope of newly loaded dependencies.
76393         (_dl_show_scope): Indicate if there is no scope.
76395         [BZ #13114]
76396         * stdio-common/Makefile (tests): Add bug24.
76397         * stdio-common/bug24.c: New file.
76399 2011-08-19  Andreas Jaeger  <aj@suse.de>
76401         [BZ #13114]
76402         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76403         non-existant file when using close-on-exec mode.
76405 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76407         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76408         the very first instruction.
76410         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76411         the CFI state in the end.
76412         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76413         inclusion of dl-trampoline.h.
76414         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76416 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76418         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76419         expectations for long double.
76421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76422         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76424 2011-08-14  David S. Miller  <davem@davemloft.net>
76426         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76427         artificual limit depends upon the system page size.
76429 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76431         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76432         * resolv/Makefile: Define CFLAGS-libresolv.
76434 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76436         * nss/makedb.c (compute_tables): Make variables used in nested
76437         function static.
76439 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76441         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76442         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76443         if buffer was too small.
76445         * elf/pldd.c (main): Attach to all threads in the process.
76446         Rewrite /proc handling to use *at functions.
76448 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76450         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76451         specifies first scope to show.
76452         (dl_open_worker): Update callers.  Move printing scope of new
76453         object to before the relocation.
76454         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76455         * sysdeps/generic/ldsodefs.h: Update declaration.
76457         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76458         string for the scope number.
76460 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76462         * nscd/servicescache.c (cache_addserv): Make sure written is always
76463         initialized.
76465 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76467         * sysdeps/i386/i486/bits/atomic.h
76468         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76469         statement expression, so as to suppress "set but not used" warning.
76470         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76472         * string/strncat.c (STRNCAT): Use prototype definition.
76474         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76475         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76476         -Iprograms here.
76477         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76478         (localedef-modules): Add localedef.
76479         (locale-modules): Add locale.
76481         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76482         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76483         to avoid a warning.
76485 2011-08-14  David S. Miller  <davem@davemloft.net>
76487         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76488         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76490 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76492         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76493         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76494         * elf/rtld.c (dl_main): Set l_name of vDSO.
76495         Call _dl_show_scope when DL_DEBUG_SCOPES.
76496         (process_dl_debug): Recognize scopes flag and also set it for all.
76497         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76498         Declare _dl_show_scope.
76500         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76501         (do_dlopen): Pass caller_dlopen to dl_open.
76502         (__libc_dlopen_mode): Initialize caller_dlopen.
76504         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76505         of libc.  Make tolower call locale-independent.  Optimize a bit by
76506         using isdigit instead of isalnum.
76507         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76509 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76511         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76512         was a dependency or dynamically loaded.
76514 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76516         * intl/l10nflist.c: Allow architecture-specific pop function.
76517         * sysdeps/x86_64/l10nflist.c: New file.
76519         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76520         classification.
76522 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76524         * include/dirent.h: Add libc_hidden_proto for scandirat and
76525         scandirat64.  Don't declare __scandirat64.
76526         * dirent/scandirat.c: Add libc_hidden_def.
76527         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76528         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76530 2011-08-10  David S. Miller  <davem@davemloft.net>
76532         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76533         enum.
76534         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76535         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76536         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76538 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76540         * Versions.def [libc]: Add GLIBC_2.15.
76541         * dirent/Makefile (routines): Add scandirat and scandirat64.
76542         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76543         GLIBC_2.15.
76544         * dirent/dirent.h: Declare scandirat and scandirat64.
76545         * dirent/scandirat.c: New file.
76546         * dirent/scandirat64.c: New file.
76547         * sysdeps/wordsize-64/scandirat.c: New file.
76548         * sysdeps/wordsize-64/scandirat64.c: New file.
76549         * dirent/opendir.c: Define opendirat.
76550         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76551         using scandirat.
76552         * dirent/scandir64.c: Adjust for scandir.c change.
76553         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76554         __scandirat64, and __scandir_cancel_handler.
76555         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76556         additional parameter and use openat instead of open (outside of ld.so).
76557         Add new __opendir as wrapper around __opendirat.
76558         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76559         here without requiring old scandirat implementation.
76561 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76563         * dirent/scandir.c (cancel_handler): Renamed to
76564         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76565         defined.  Adjust users.
76566         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76567         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76569 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76571         * string/test-string.h (IMPL): Use __STRING to expand name and then
76572         stringify it.
76574         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76575         of cleanups.
76577 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76579         * string/Makefile: Update.
76580         (strop-tests): Append strncat.
76581         * string/test-wcscmp.c: New file.
76582         New comprehensive test for wcscmp.
76583         * string/test-strcmp.c: Update.
76584         (WIDE): New define.
76586 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76588         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76589         line.
76591 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76594         encoding to ACE if AI_IDN.
76596 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76598         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76599         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76601 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76603         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76604         Fix overflow bug in strncat.
76605         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76607         * string/test-strncat.c: Update.
76608         Add new tests for checking overflow bugs.
76610 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76612         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76613         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76614         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76615         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76616         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76617         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76618         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76619         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76620         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76622         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76623         (USE_AS_STRCAT): Define.
76624         Add strcat and strncat support.
76625         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76627 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76629         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76630         __n bigger than INT_MAX+1.
76631         (__strncmp_g): Likewise.
76633 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76635         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76636         * libio/stido.h: Likewise.
76638         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76639         (AF_NFC): Define.
76640         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76641         (AF_NFC): Define.
76643         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76644         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76645         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76646         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76647         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76649         [BZ #13021]
76650         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76651         installed.
76653         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76654         typo.
76655         (_dl_x86_64_save_sse): Likewise.
76657 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76659         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76660         OSXSAVE.
76661         (_dl_x86_64_save_sse): Likewise.
76663         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76665         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76667 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76669         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76670         change.
76671         (_dl_x86_64_save_sse): Use correct AVX check.
76673 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76675         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76676         bug in strncpy/strncat.
76677         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76679 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76681         * string/tester.c (test_strcat): Add tests for different alignments
76682         of source and destination.
76683         (test_strncat): Likewise.
76685 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76687         [BZ #12852]
76688         * posix/glob.c (glob): Check passed in values before using them in
76689         expressions to avoid some overflows.
76690         (glob_in_dir): Likewise.
76692         [BZ #13007]
76693         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76694         check for AVX enablement so that we don't crash with old kernels and
76695         new hardware.
76696         * elf/tst-audit4.c: Add same checks here.
76697         * elf/tst-audit6.c: Likewise.
76699         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76701 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76703         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76705 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76707         * po/cs.po: Update from translation team.
76708         * po/bg.po: Likewise.
76710 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76712         * misc/sys/cdefs.h: Add support for const attribute.
76713         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76714         to gnu_dev_{major,minor,makedev} functions.
76716 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76718         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76720 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76722         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76723         strlen results.
76725 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76727         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76728         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76729         register in order to avoid conflicts with the soft frame pointer
76730         being held in r11 when necessary.
76731         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76732         (INTERNAL_VSYSCALL_NCS): Likewise.
76734 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76736         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76737         * elf/dl-fini.c (_dl_fini): Adjust caller.
76738         * elf/dl-close.c (_dl_close_worker): Likewise.
76739         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76741 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76743         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76744         "aux_cache->nlibs < 0".
76746         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76747         in the reload-count case.
76749 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76751         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76752         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76753         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76754         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76755         * sysdeps/x86_64/multiarch/strcat.S: New file.
76756         * sysdeps/x86_64/multiarch/strncat.S: New file.
76757         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76758         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76759         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76760         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76761         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76762         (USE_AS_STRCAT): Define.
76763         Add strcat and strncat support.
76764         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76765         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76766         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76767         * string/strncat.c: Update.
76768         (USE_AS_STRNCAT): Define.
76769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76770         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76771         and i7.
76772         * sysdeps/x86_64/multiarch/init-arch.h
76773         (bit_Prefer_PMINUB_for_stringop): New.
76774         (index_Prefer_PMINUB_for_stringop): Likewise.
76775         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76776         bit_Prefer_PMINUB_for_stringop.
76778 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76780         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76781         buffer64.
76782         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76783         of casting of buffer.
76784         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76785         buffer32 and buffer64.
76786         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76787         writes instead of casting of buffer.
76788         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76789         buffer32.
76790         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76791         casting of buffer.
76793 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76795         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76797 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76799         * nscd/nscd.c (termination_handler): Don't do anything for a database
76800         if it has not yet been initialized.
76802 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76804         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76806 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76808         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76810 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76812         * po/nl.po: Update from translation team.
76813         * po/sv.po: Likewise.
76815 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76817         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76818         now disallowed by GCC.
76820         * configure.in (use-default-link): Default to yes if a test -shared
76821         link meets our qualifications.
76822         * configure: Regenerated.
76824         * config.make.in (output-format): New variable.
76825         * configure.in: Check for ld --print-output-format support.
76826         * configure: Regenerated.
76827         * Makerules ($(common-objpfx)format.lds)
76828         [$(output-format) != unknown]: Just use $(output-format),
76829         instead of the linker-script munging.
76831 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76833         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76834         of $(common-objpfx)shlib.lds.
76835         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76837         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76838         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76840         * configure.in (-z relro check): Adjust test code to add a large
76841         writable data section after it.
76842         * configure: Regenerated.
76844 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76846         * configure.in (-z relro check): Fix test code to make the variable
76847         truly const.
76848         * configure: Regenerated.
76850 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76852         * nscd/nscd.h (struct traced_file): Define.
76853         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76854         elements.  Add traced_files.
76855         (inotify_fd): Declare.
76856         (register_traced_file): Declare.
76857         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76858         (inotify_fd): Export.
76859         (resolv_conf_descr): Remove.
76860         (nscd_init): Move inotify descriptor creation to main.
76861         Don't register files for notification here.
76862         (register_traced_file): New function.
76863         (invalidate_cache): Don't use reset_res to determine whether to call
76864         res_init, go through the list of registered files.
76865         (main_loop_poll): The inotify descriptors are now stored in the
76866         structures for the traced files.
76867         (main_loop_epoll): Likewise.
76868         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76869         to __nss_disable_nscd.
76870         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76871         for a database anymore.  Check the records for all the registered
76872         files instead.
76873         * nss/Makefile (libnss_files-routines): Add files-init.
76874         (libnss_db-routines): Add db-init.
76875         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76876         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76877         * nss/nss_db/db-init.c: New file.
76878         * nss/nss_files/files-init.c: New file.
76879         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76880         __nss_lookup_function.
76881         (__nss_lookup_function): Call nss_load_library.
76882         (nss_load_all_libraries): New function.
76883         (__nss_disable_nscd): Take parameter with callback function for files
76884         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76885         used for the cached services.
76886         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76887         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76888         options for features to all the files in nscd.
76890         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76892 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76894         * csu/elf-init.c (__libc_csu_init): Comment typo.
76896 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76898         * po/pl.po: Update from translation team.
76899         * po/ja.po: Likewise.
76900         * po/ru.po: Likewise.
76901         * po/ko.po: Likewise.
76902         * po/fr.po: Likewise.
76904 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76906         * configure.in (.ctors/.dtors header and trailer check):
76907         Use an empirical test on a built program.
76908         * configure: Regenerated.
76910         * configure.in (-z relro check): Use an empirical test on a built DSO.
76911         Detect, but do not require, on ia64.
76912         * configure: Regenerated.
76914         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76915         Update tests that use readelf to use $READELF instead.
76916         * configure: Regenerated.
76918 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76920         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76921         if the result is not used.
76923 2011-07-05  Andreas Jaeger  <aj@suse.de>
76925         [BZ#9696]
76926         * stdlib/tst-strtod.c: Add testcase.
76928 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76930         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76931         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76932         The latter has a higher limit.  Take additional parameter to pass to
76933         the new function.
76934         (__pathconf): Pass file to __statfs_link_max.
76935         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76936         __statfs_link_max.
76937         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76938         __statfs_link_max.
76940         [BZ #12868]
76941         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76942         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76943         Handle Lustre.
76944         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76945         (__statfs_filesize_max): Likewise.
76946         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76948 2011-07-05  Andreas Jaeger  <aj@suse.de>
76950         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76952 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76954         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76955         `status' variable.
76956         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76957         Likewise.
76959 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76961         * Makefile (strop-tests): Add strncat.
76962         * string/test-strncat.c: New file.
76964 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76966         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76968 2011-06-21  Andreas Jaeger  <aj@suse.de>
76970         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76971         Copy rule from iconvdata/Makefile.
76973 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76975         [BZ #12922]
76976         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76977         but no long options are defined, just return 'W'.
76979 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76981         [BZ #9696]
76982         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76984 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76986         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76987         netgroups to read.
76988         (innetgr): Likewise.
76990 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76992         * config.make.in (install_root): Default to $(DESTDIR).
76994 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76996         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76998 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77000         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77002         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77003         containing directory rather than embedding absolute directory names.
77005         * scripts/check-local-headers.sh: Rewritten using awk.
77006         Match by word, not by line.  Print error messages for matches.
77007         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77009         * Makerules [shlib-lds-flags empty]:
77010         ($(common-objpfx)libc_pic.opts): New target.
77011         ($(common-objpfx)libc_pic.os.clean): New target.
77012         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77014         * config.make.in (OBJCOPY): New variable.
77015         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77016         * configure: Regenerated.
77018         * config.make.in (use-default-link): New variable.
77019         * configure.in (use_default_link): Grok --with-default-link to set it.
77020         * configure: Regenerated.
77021         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77022         (shlib-lds, shlib-lds-flags): Define to empty.
77024         * Makerules (shlib-lds): New variable.
77025         (shlib-lds-flags): New variable.
77026         (build-shlib, build-moduile, build-module-asneeded): Use it.
77027         ($(common-objpfx)libc.so): Use $(shlib-lds).
77028         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77029         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77031         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77032         DT_FLAGS/DT_FLAGS_1 with zero flags.
77034         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77035         linker script munging.
77037 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77039         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77040         as 128-bit value.
77041         * crypt/sha512.c (sha512_process_block): Perform total addition using
77042         128-bit if possible.
77043         (__sha512_finish_ctx): Likewise.
77044         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77045         as 64-bit value.
77046         * crypt/sha256.c (SWAP64): Define.
77047         (sha256_process_block): Perform total addition using 64-bit if
77048         possible.
77049         (__sha256_finish_ctx): Likewise.
77051 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77053         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77054         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77055         * nscd/hstcache.c (cache_addhst): Likewise.
77056         * nscd/grpcache.c (cache_addgr): Likewise.
77057         * nscd/aicache.c (addhstaiX): Likewise.
77058         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77060 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77062         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77063         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77064         * nscd/hstcache.c (cache_addhst): Likewise.
77065         * nscd/grpcache.c (cache_addgr): Likewise.
77066         * nscd/aicache.c (addhstaiX): Likewise.
77068 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77070         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77071         domain only when needed.
77073 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77075         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77076         is always restored.
77078 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77080         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77081         are re-adding the entry.
77082         * nscd/servicescache.c (cache_addserv): Likewise.
77084 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77086         * sysdeps/generic/dl-irel.h: fix protection against multiple
77087         inclusions.
77088         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77090 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77092         [BZ #12935]
77093         * malloc/memusage.sh: Fix quoting in message.
77094         * debug/xtrace.sh: Likewise.
77096         * configure.in: Remove support for --experimental-malloc option, make
77097         it the default.
77098         * config.make.in: Likewise.
77099         * malloc/Makefile: Likewise.
77101 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77103         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77104         two-byte characters.
77106 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77108         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77109         AC_CACHE_CHECK invocation.
77110         * configure: Regenerated.
77112         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77114 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77116         [BZ #12350]
77117         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77118         bit from old_res_options.
77120         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77122         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77123         value type for setfct.
77125 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77127         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77128         __gettimeofday instead of gettimeofday.
77130 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77132         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77134 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77136         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77138         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77139         info.
77141 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77144         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77145         strcpy-sse2-unaligned strncpy-sse2-unaligned
77146         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77147         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77148         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77149         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77150         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77151         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77152         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77153         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77154         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77155         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77156         (STRCPY): Support SSE2 and SSSE3 versions.
77158 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77160         [BZ #12874]
77161         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77162         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77163         kernels which artificially limit size of requests.
77165 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77167         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77168         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77169         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77170         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77171         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77172         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77173         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77174         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77175         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77176         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77177         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77178         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77179         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77180         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77181         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77183         Enable unaligned load optimization for Intel Core i3, i5 and i7
77184         processors.
77185         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77186         Define.
77187         (index_Fast_Unaligned_Load): Define.
77188         (HAS_FAST_UNALIGNED_LOAD): Define.
77190 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77192         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77194 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77196         [BZ #12907]
77197         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77198         until it is clear that the information is realy needed.
77199         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77201 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77203         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77205 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77207         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77208         /sys/devices/system/cpu/online if it is usable.
77210         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77211         reading the information from the /proc filesystem to once a second.
77213 2011-06-21  Andreas Jaeger  <aj@suse.de>
77215         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77216         NULL after inclusion of kernel headers.
77218 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77220         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77221         calls to internal_setent.
77223         [BZ #12885]
77224         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77225         addresses using gethostbyname4_r ignore IPv4 addresses.
77227         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77228         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77230         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77232 2011-06-20  David S. Miller  <davem@davemloft.net>
77234         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77235         inclusions.
77236         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77238         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77239         (elf_irel): Use it.
77240         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77241         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77242         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77243         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77244         * sysdeps/x86_64/dl-irel.h: Likewise.
77246         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77247         * elf/dl-sym.c: Likewise.
77249 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77251         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77252         need to dereference resplen2.
77254 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77256         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77258 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77260         * Makeconfig: Define vardbdir and inst_vardbdir.
77261         * nss/Makefile: Add rules to install db-Makefile.
77263         * nss/nss_db/db-XXX.c: Cleanup.
77265         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77266         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77267         GLIBC_PRIVATE.
77268         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77269         * nss/makedb.c: Implement -g option to specify that value strings
77270         are generated and should not be added to table iterated over for
77271         get*ent calls.
77272         * nss/nss_db/db-initgroups.c: New file.
77274         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77275         interface.
77277         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77278         (internal_getgrouplist): Adjust to name change.
77279         Update use_initgroups_entry if this is not the first call.
77280         * nss/databases.def: Add initgroups entry.
77282         * nss/makedb.c (compute_tables): Check result of multiple hash table
77283         sizes to minimize maximum chain length.
77285 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77287         * Versions.def: Add entry for libnss_db.
77288         * shlib-versions: Likewise.
77289         * nss/Makefile: Add rules to build libnss_db.
77290         * nss/Versions: Add libnss_db information.  Organize libnss_files
77291         entries better.
77292         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77293         makedb progra.  Some minor improvements to generate smaller files.
77294         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77295         here from...
77296         * nss/makedb.c: ...here.
77297         Improve database format to be smaller and require less memory at
77298         runtime.
77299         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77300         db anymore.
77301         * nss/nss_db/db-netgrp.c: Likewise.
77302         * nss/nss_db/db-open.c: Likewise.
77303         * nss/nss_files/flies-XXX.x: Adjust comments.
77304         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77305         * nss/nss_files/files-grp.c: Likewise.
77306         * nss/nss_files/files-hosts.c: Likewise.
77307         * nss/nss_files/files-network.c: Likewise.
77308         * nss/nss_files/files-proto.c: Likewise.
77309         * nss/nss_files/files-pwd.c: Likewise.
77310         * nss/nss_files/files-rpc.c: Likewise.
77311         * nss/nss_files/files-service.c: Likewise.
77312         * nss/nss_files/files-sgrp.c: Likewise.
77313         * nss/nss_files/files-spwd.c: Likewise.
77314         * nss/nss_db/db-alias.c: Removed.
77315         * nss/nss_db/dummy-db.h: Removed.
77317 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77319         * nss/makedb.c: Rewritten to not use database library.
77320         * nss/Makefile: Update to build new makedb program.
77322 2011-06-14  Andreas Jaeger  <aj@suse.de>
77324         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77325         memset declaration.
77327 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77329         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77330         tmpbuf.
77332 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77334         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77335         * elf/Makefile ($(objpfx)ld.so): Likewise.
77337         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77338         Don't list ld.so twice in dependencies.
77340         * posix/bug-regex31.c: Include <stdlib.h>.
77342         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77344         * nis/nss_compat/compat-spwd.c
77345         (getspent_next_nss_netgr): Remove unused variable.
77346         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77348         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77349         nonmembers" output to use the right array.
77351         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77353         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77355         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77356         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77357         * catgets/gencat.c (read_input_file): Likewise.
77358         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77360         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77361         variable definition inside #if's controlling its use.
77363         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77365         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77367         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77369         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77370         unreachable code.
77372         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77374         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77375         * configure: Regenerated.
77377         * Makerules: Revert last change.
77378         * elf/Makefile: Likewise.
77380 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77382         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77383         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77384         (reloc-link): Likewise.
77386 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77388         * elf/Makefile: Add rules to build pldd.
77389         * elf/pldd.c: New file.
77390         * elf/pldd-xx.c: New file.
77392 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77394         * version.h: Update for 2.15 development version.
77396 2011-06-07  David S. Miller  <davem@davemloft.net>
77398         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77399         ifuncs.
77400         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77401         elf_machine_lazy_rel): Likewise.
77402         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77403         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77404         elf_machine_lazy_rel): Likewise.
77405         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77406         dl_hwcap via passed in argument.
77407         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77408         Likewise.
77410 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77412         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77414 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77416         [BZ #12849]
77417         * manual/fdl-1.1.texi: New file, verbatim from:
77418         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77419         * manual/lgpl-2.1.texi: New file, verbatim from:
77420         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77421         * manual/Makefile (licenses): New variable, list those new file names.
77422         (texis): Use it.
77423         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77425         * manual/fdl.texi: File removed.
77426         * manual/lesser.texi: File removed.
77427         * manual/libc.texinfo (Copying, Documentation License):
77428         Use new @include file names, put @appendix directive before @include.
77430 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77432         [BZ #12841]
77433         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77434         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77435         (mq_open): Add __NTH.
77437 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77440         Assume Intel Core i3/i5/i7 processor if AVX is available.
77442 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77444         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77445         typo.
77447 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77449         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77450         memory.  Use alloca_account.  Fix memory leak when retrying.
77452 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77454         * version.h (RELEASE): Bump for 2.14 release.
77455         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77457         * config.make.in (RANLIB): Remove entry.
77459 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77461         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77462         (libc.pot): Work around missing support for .ksh extension in xgettext.
77464         [BZ #12684]
77465         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77466         if both request failed.
77467         (send_dg): In case of server errors clear resplen or *resplen2.
77469         [BZ #12454]
77470         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77471         when there are multiple maps.
77472         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77473         (_dl_fini): Remove test here.
77475         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77477 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77479         [BZ #12350]
77480         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77481         bit from old_res_options.
77482         (gaih_inet): Likewise.
77484         [BZ #11099]
77485         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77486         as signed.
77488         * resolv/res_init.c (res_setoptions): Make the code more compact.
77490         [BZ #11558]
77491         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77492         set RES_USEVC.
77494         [BZ #11634]
77495         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77497         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77499         [BZ #11781]
77500         * malloc/malloc.h: Declare malloc hook variables as volatile.
77502         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77503         in last patch.
77505         [BZ #11799]
77506         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77507         raise in the comment.
77508         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77509         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77510         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77512 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77514         [BZ #12811]
77515         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77516         grow the buffers more if it already has to be sufficient.
77517         (build_wcs_upper_buffer): Likewise.
77518         * posix/regexec.c (check_matching): Likewise.
77519         (clean_state_log_if_needed): Likewise.
77520         (extend_buffers): Don't enlarge buffers beyond size of the input
77521         buffer.
77522         Patches mostly by Emil Wojak <emil@wojak.eu>.
77523         * posix/bug-regex32.c: New file.
77524         * posix/Makefile (tests): Add bug-regex32.
77526         * locale/findlocale.c (_nl_find_locale): Return right away if
77527         _nl_explode_name failed.
77528         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77530         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77532         * debug/xtrace.sh: Unify messages.
77533         * malloc/memusage.sh: Likewise.
77535         [BZ #12813]
77536         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77537         time symbol from vDSO.  Substitute with vsyscall if not available.
77538         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77539         __vdso_time.
77541         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77542         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77543         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77544         Add sendmmsg and internal_sendmmsg.
77545         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77546         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77547         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77549         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77550         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77551         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77553 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77555         [BZ #12813]
77556         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77557         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77558         available.
77559         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77560         __vdso_getcpu.
77562         [BZ #12814]
77563         * iconvdata/Makefile (tests): Add bug-iconv9.
77564         * iconvdata/bug-iconv9.c: New file.
77566 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77568         [BZ #12814]
77569         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77571 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77573         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77574         (struct user_regs_struct): Change intcs field back to cs.
77576 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77578         * po/ja.po: Update from translation team.
77580 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77582         [BZ #12795]
77583         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77584         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77586 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77588         * stdlib/longlong.h: Update from GCC.
77590 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77592         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77593         parameter name.
77594         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77595         Add parameter name.
77596         (__sysconf): Pass it down.
77598 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77600         [BZ #12671]
77601         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77602         some situations.
77603         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77604         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77605         add in in __libc_use_alloca calls.  Adjust callers.
77606         (glob): Use malloc in some situations.
77608         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77609         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77610         pltexit.
77612 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77614         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77615         and CLOCK_BOOTTIME_ALARM.
77617         [BZ #12782]
77618         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77619         is returned.
77621         * string/_strerror.c (__strerror_r): Print negative errors as signed
77622         numbers.
77624         [BZ #12777]
77625         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77626         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77627         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77629         * configure.in: Fix typo in redirection and correct removal of test
77630         files in two cases.
77632         [BZ #12788]
77633         * locale/setlocale.c (new_composite_name): Fix test to check for
77634         identical name of all categories.
77636         [BZ #12792]
77637         * libio/filedoalloc.c (local_isatty): New function.
77638         (_IO_file_doallocate): Use local_isatty.
77639         * stdio-common/perror.c (perror): In case a new stream is used
77640         forward the stream error.
77641         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77642         error flag.
77644 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77646         [BZ #11884]
77647         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77648         alloca.
77649         * include/alloca.h (extend_alloca_account): Define.
77651         [BZ #11857]
77652         * posix/regex.h: Fix comments with documentation of user-accessible
77653         fields after compilation and describe correct free'ing of pattern
77654         after re_compile_pattern.
77655         Patch by Reuben Thomas <rrt@sc3d.org>.
77657 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77659         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77660         and -mno-altivec to prevent the compiler from using Altivec and/or
77661         VSX instructions when the corresponding registers are not available.
77663 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77665         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77667 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77669         * libio/freopen.c (freopen): Use __dup2, not dup2.
77670         * libio/freopen64.c (freopen64): Likewise.
77672 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77674         [BZ #12775]
77675         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77676         * math/Makefile (tests): Add test-powl.
77677         (CFLAGS-test-powl.c): Define.
77678         * math/test-powl.c: New file.
77680 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77682         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77684 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77686         [BZ #11837]
77687         * iconvdata/gb18030.c: Update to GB18020-2005.
77689 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77691         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77692         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77693         Patch by Aharon Robbins <arnold@skeeve.com>.
77695         [BZ #11892]
77696         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77697         on the stack.
77699         [BZ #11895]
77700         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77701         through underflows.
77703         [BZ #12766]
77704         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77705         point to strings before performing equality test for error_one_per_line
77706         mode.
77708         [BZ #11697]
77709         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77711         [BZ #11820]
77712         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77713         (struct user_fpregs_struct): Avoid __uint*_t types.
77715         [BZ #6420]
77716         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77717         symbol info.  Use it instead of calling _dl_addr locally.
77718         (lock_and_info): New function.
77719         (tr_freehook): Call lock_and_info and pass symbol info as additional
77720         parameter to tr_where.
77721         (tr_mallochook): Likewise.
77722         (tr_reallochook): Likewise.
77723         (tr_memalignhook): Likewise.
77725         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77726         used and couldn't be at all thread-safe.
77728 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77730         * libio/freopen.c (freopen): Don't close old file descriptor
77731         before the new one is opened.  Instead dup the new file descriptor
77732         to the old one after the new stream is created.
77733         * libio/freopen64.c (freopen64): Likewise.
77734         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77735         * libio/fileops.c (_IO_new_file_close_it): Handle new
77736         _IO_FLAGS2_NOCLOSE flag.
77737         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77738         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77739         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77740         _IO_FLAGS2_NOCLOSE flag.
77741         * include/unistd.h: Add hidden_proto for dup3.
77742         Define __have_dup3.
77743         * io/dup3.c: Define hidden symbol.
77744         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77746         [BZ #7101]
77747         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77748         when an incomplete long option is used.
77749         * posix/tst-getopt_long1.c: New file.
77750         * posix/Makefile (tests): Add tst-getopt_long1.
77752         [BZ #10138]
77753         * scripts/config.guess: Update from autoconf-2.68.
77754         * scripts/config.sub: Likewise.
77756         [BZ #10157]
77757         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77758         tests into ...
77759         (has_cpuclock): ...this.  New function.
77760         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77761         macro here based on has_cpuclock code.
77763         [BZ #10149]
77764         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77765         First byte (not low byte) is now always NUL.
77766         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77768         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77769         Use non-cancelable interfaces.
77771         [BZ #9809]
77772         * locale/iso-639.def: Add entry for Sorani.
77774         [BZ #11901]
77775         * include/stdlib.h: Move include protection to the right place.
77776         Define abort_msg_s.  Declare __abort_msg with it.
77777         * stdlib/abort.c (__abort_msg): Adjust type.
77778         * assert/assert.c (__assert_fail_base): New function.  Majority
77779         of code from __assert_fail.  Allocate memory for __abort_msg with
77780         mmap.
77781         (__assert_fail): Now call __assert_fail_base.
77782         * assert/assert-perr.c: Remove bulk of implementation.  Use
77783         __assert_fail_base.
77784         * include/assert.hL Declare __assert_fail_base.
77785         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77786         mmap.
77787         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77789 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77791         [BZ #11952]
77792         [BZ #12453]
77793         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77794         until all modules are registered in the DTV.
77795         * elf/Makefile: Add rules to build and run tst-tls19.
77796         * elf/tst-tls19.c: New file.
77797         * elf/tst-tls19mod1.c: New file.
77798         * elf/tst-tls19mod2.c: New file.
77799         * elf/tst-tls19mod3.c: New file.
77800         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77802         [BZ #12083]
77803         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77804         correctly.
77806         [BZ #12601]
77807         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77808         two-byte sequence errors.
77809         * iconvdata/Makefile (tests): Add bug-iconv8.
77810         * iconvdata/bug-iconv8.c: New file.
77812         [BZ #12626]
77813         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77814         buf2 definition.
77816         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77818         [BZ #12432]
77819         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77820         (dummy_getcfa): New function.
77821         (init): Get _Unwind_GetCFA address, use dummy if not found.
77822         (backtrace_helper): In recursion check, also check whether CFA changes.
77823         (__backtrace): Completely initialize arg.
77825         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77826         storing incomplete byte sequence in state object.  Avoid testing for
77827         guaranteed too small input if we know there is enough data available.
77829 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77831         * Makeconfig (+link-pie): Indent.
77832         * Rules (binaries-pie): Define if $(have-fpie) and
77833         $(build-shared).
77834         (binaries-shared): Also filter out $(binaries-pie).
77835         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77836         * nscd/Makefile (others-pie): Add nscd.
77837         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77838         ($(objpfx)nscd): Remove command override.
77839         * login/Makefile (others-pie): Add pt_chown.
77840         ($(objpfx)pt_chown): Remove command override.
77841         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77842         remove command overrides.
77844 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77846         * libio/tst_putwc.c: Fix error messages.
77848         [BZ #12724]
77849         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77850         currently writing and seek to current position when not.
77851         * libio/Makefile (tests): Add bug-fclose1.
77852         * libio/bug-fclose1.c: New file.
77854 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77856         [BZ #12511]
77857         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77858         don't set DF_1_NODELETE here.
77859         (do_lookup_x): When entering new entry test for copy relocation
77860         and if necessary set DF_1_NODELETE flag.
77861         * elf/tst-unique4.cc: New file.
77862         * elf/tst-unique4.h: New file.
77863         * elf/tst-unique4lib.cc: New file.
77864         * elf/Makefile: Add rules to build and run tst-unique4.
77865         Patch by Piotr Bury <pbury@goahead.com>.
77867 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77869         [BZ #12052]
77870         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77872         [BZ #12625]
77873         * misc/mntent_r.c (addmntent): Flush the stream after the output
77875         [BZ #12393]
77876         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77877         (is_trusted_path_normalize): Skip initial colon.  Append slash
77878         to empty buffer.  Duplicate is_trusted_path code but allow
77879         constructed patch to be prefix.
77880         (is_dst): Allow $ORIGIN followed by /.
77881         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77882         Correct testing of result of is_trusted_path_normalize
77883         (decompose_rpath): Fix warning.
77885 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77887         [BZ #11257]
77888         * grp/initgroups.c (internal_getgrouplist): When we found the service
77889         list through the initgroups entry in nsswitch.conf do not always
77890         continue on a successful lookup.  Don't always use the
77891         __nss_group_database value if it is set.
77892         * nss/nsswitch.conf (initgroups): Change action for successful db
77893         lookup to continue for compatibility.
77895 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77897         [BZ #11532]
77898         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77899         and CP774 modules.
77900         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77901         and CP774 modules.
77902         * iconvdata/tst-tables.sh: Likewise.
77903         * iconvdata/cp770.c: New file.
77904         * iconvdata/cp771.c: New file.
77905         * iconvdata/cp772.c: New file.
77906         * iconvdata/cp773.c: New file.
77907         * iconvdata/cp774.c: New file.
77908         * iconvdata/testdata/CP770: New file.
77909         * iconvdata/testdata/CP770..UTF8: New file.
77910         * iconvdata/testdata/CP771: New file.
77911         * iconvdata/testdata/CP771..UTF8: New file.
77912         * iconvdata/testdata/CP772: New file.
77913         * iconvdata/testdata/CP772..UTF8: New file.
77914         * iconvdata/testdata/CP773: New file.
77915         * iconvdata/testdata/CP773..UTF8: New file.
77916         * iconvdata/testdata/CP774: New file.
77917         * iconvdata/testdata/CP774..UTF8: New file.
77919         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77920         END CHARMAP line.
77921         * iconvdata/gen-8bit-gap.sh: Likewise.
77922         * iconvdata/gen-8bit.sh: Likewise.
77924         * locale/iso-639.def: Add ary entry.
77926         [BZ #11258]
77927         * locale/C-translit.h.in: Add U20A1 transliteration.
77929         [BZ #12178]
77930         * locale/iso-639.def: Add wae entry.
77931         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77933         [BZ #12545]
77934         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77935         for n.
77937         [BZ #12711]
77938         * locale/C-translit.h.in: Add entry for U20B9.
77939         Patch by pravin.d.s@gmail.com.
77941 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77943         [BZ #12713]
77944         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77945         ENAMETOOLONG use generic getcwd.
77946         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77947         in rtld.  Use *stat64.
77948         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77949         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77950         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77951         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77952         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77953         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77954         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77955         __fstatat64 macros.
77956         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77957         * dirent/rewinddir.c: Add libc_hidden_def.
77958         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77959         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77961         * include/dirent.h (__alloc_dir): Add flags parameter.
77962         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77963         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77964         __alloc_dir.
77965         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77966         from fdopendir if O_CLOEXEC is already set.
77968 2011-03-15  Alan Modra  <amodra@gmail.com>
77970         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77971         l_tls_firstbyte_offset non-zero.  Save padding offset in
77972         l_tls_firstbyte_offset for later use.
77973         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77974         freeing static tls block.
77976 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77978         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77979         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77980         being defined by the kernel headers.
77982 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77984         [BZ #12734]
77985         * resolv/resolv.h: Define RES_NOTLDQUERY.
77986         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77987         no-tld-query and set RES_NOTLDQUERY.
77988         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77989         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77990         modern BIND to search name as TLD unless forbidden.
77992 2011-05-07  Petr Baudis  <pasky@suse.cz>
77993             Ulrich Drepper  <drepper@gmail.com>
77995         [BZ #12393]
77996         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77997         (is_trusted_path): ...to here.
77998         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77999         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78000         using is_trusted_path_normalize() in setuid scripts.
78002 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78004         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78005         __BEGIN/__END_DECLS.
78007 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78009         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78010         NSS_STATUS_NOTFOUND if no record was found.
78012 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78014         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78015         (headers-not-in-tirpc): Remove rpc/netdb.h
78016         * resolv/netdb.h: Revert last change.
78018 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78020         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78021         circular dependency between libgcc.a and libc.a.
78023 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78025         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78026         * nis/Makefile: Don't install rpcsvc/*.
78027         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78028         instead of <rpc/types.h>.
78029         (MAXHOSTNAMELEN): Define.
78031 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78033         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78035 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78037         [BZ #12714]
78038         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78039         gethostbyname4_r when IPv6 results are possible.
78041 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78043         [BZ #12723]
78044         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78045         _PC_PIPE_BUF handling.
78047 2011-04-30  Bruno Haible  <bruno@clisp.org>
78049         [BZ #12717]
78050         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78051         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78052         to 'int'.
78053         * inet/getnameinfo.c (getnameinfo): Likewise.
78055 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78057         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78058         to groups setting in database lookup.
78059         * nss/nsswitch.conf: Add initgroups entry.
78061 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78063         [BZ #12685]
78064         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78065         mode string.
78066         Patch by Eric Blake <eblake@redhat.com>.
78068 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78070         * sunrpc/Makefile (need-export-routines): Add svc_run.
78071         (routines): Remove svc_run.
78072         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78073         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78074         * sunrpc/svc_run.c (svc_run): Likewise.
78075         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78077 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78079         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78080         problem in reallocation in last patch.
78082 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78084         * sunrpc/Makefile: Move inclusion of Rules.
78086 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78088         * nss/nss_files/files-initgroups.c: New file.
78089         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78090         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78091         _nss_files_initgroups_dyn.
78093 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78095         * elf/elf.h (R_ARM_IRELATIVE): Define.
78097 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78099         * po/ru.po: Update from translation team.
78101 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78103         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78104         dependencies.
78106 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78108         [BZ #12653]
78109         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78110         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78111         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78112         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78113         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78115 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78117         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78118         differing bytes.
78119         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78120         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78121         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78123 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78125         [BZ #12420]
78126         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78127         storing it.
78128         * stdlib/bug-getcontext.c: New file.
78129         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78131 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78133         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78134         instructions into .machine "z9-109".
78135         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78136         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78138 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78140         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78141         between environment variables and auxiliary vector.
78143 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78145         * Makefile: Add rules to build linkobj/libc.so.
78146         * include/libc-symbols.h: Define libc_hidden_nolink.
78147         * include/rpc/auth.h: Mark functions which are to be hidden.
78148         * include/rpc/auth_des.h: Likewise.
78149         * include/rpc/auth_unix.h: Likewise.
78150         * include/rpc/clnt.h: Likewise.
78151         * include/rpc/des_crypt.h: Likewise.
78152         * include/rpc/key_prot.h: Likewise.
78153         * include/rpc/pmap_clnt.h: Likewise.
78154         * include/rpc/pmap_prot.h: Likewise.
78155         * include/rpc/pmap_rmt.h: Likewise.
78156         * include/rpc/rpc_msg.h: Likewise.
78157         * include/rpc/svc.h: Likewise.
78158         * include/rpc/svc_auth.h: Likewise.
78159         * include/rpc/xdr.h: Likewise.
78160         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78161         * nss/Makefile: Likewise.
78162         * sunrpc/Makefile: Don't install headers.  Build library with normal
78163         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78164         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78165         for the compat linking library.  Remove use of INTDEF/INTUSE.
78166         * sunrpc/auth_none.c: Likewise.
78167         * sunrpc/auth_unix.c: Likewise.
78168         * sunrpc/authdes_prot.c: Likewise.
78169         * sunrpc/authuxprot.c: Likewise.
78170         * sunrpc/clnt_gen.c: Likewise.
78171         * sunrpc/clnt_perr.c: Likewise.
78172         * sunrpc/clnt_raw.c: Likewise.
78173         * sunrpc/clnt_simp.c: Likewise.
78174         * sunrpc/clnt_tcp.c: Likewise.
78175         * sunrpc/clnt_udp.c: Likewise.
78176         * sunrpc/clnt_unix.c: Likewise.
78177         * sunrpc/des_crypt.c: Likewise.
78178         * sunrpc/des_soft.c: Likewise.
78179         * sunrpc/get_myaddr.c: Likewise.
78180         * sunrpc/key_call.c: Likewise.
78181         * sunrpc/key_prot.c: Likewise.
78182         * sunrpc/netname.c: Likewise.
78183         * sunrpc/pm_getmaps.c: Likewise.
78184         * sunrpc/pm_getport.c: Likewise.
78185         * sunrpc/pmap_clnt.c: Likewise.
78186         * sunrpc/pmap_prot.c: Likewise.
78187         * sunrpc/pmap_prot2.c: Likewise.
78188         * sunrpc/pmap_rmt.c: Likewise.
78189         * sunrpc/publickey.c: Likewise.
78190         * sunrpc/rpc_cmsg.c: Likewise.
78191         * sunrpc/rpc_common.c: Likewise.
78192         * sunrpc/rpc_dtable.c: Likewise.
78193         * sunrpc/rpc_prot.c: Likewise.
78194         * sunrpc/rpc_thread.c: Likewise.
78195         * sunrpc/rtime.c: Likewise.
78196         * sunrpc/svc.c: Likewise.
78197         * sunrpc/svc_auth.c: Likewise.
78198         * sunrpc/svc_authux.c: Likewise.
78199         * sunrpc/svc_raw.c: Likewise.
78200         * sunrpc/svc_run.c: Likewise.
78201         * sunrpc/svc_simple.c: Likewise.
78202         * sunrpc/svc_tcp.c: Likewise.
78203         * sunrpc/svc_udp.c: Likewise.
78204         * sunrpc/svc_unix.c: Likewise.
78205         * sunrpc/svcauth_des.c: Likewise.
78206         * sunrpc/xcrypt.c: Likewise.
78207         * sunrpc/xdr.c: Likewise.
78208         * sunrpc/xdr_array.c: Likewise.
78209         * sunrpc/xdr_float.c: Likewise.
78210         * sunrpc/xdr_intXX_t.c: Likewise.
78211         * sunrpc/xdr_mem.c: Likewise.
78212         * sunrpc/xdr_rec.c: Likewise.
78213         * sunrpc/xdr_ref.c: Likewise.
78214         * sunrpc/xdr_sizeof.c: Likewise.
78215         * sunrpc/xdr_stdio.c: Likewise.
78217 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78219         [BZ #12650]
78220         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78221         * sysdeps/ia64/dl-tls.h: Likewise.
78222         * sysdeps/powerpc/dl-tls.h: Likewise.
78223         * sysdeps/s390/dl-tls.h: Likewise.
78224         * sysdeps/sh/dl-tls.h: Likewise.
78225         * sysdeps/sparc/dl-tls.h: Likewise.
78226         * sysdeps/x86_64/dl-tls.h: Likewise.
78227         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78229 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78231         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78232         rpath element also skip the following colon.
78233         (expand_dynamic_string_token): Add is_path parameter and pass
78234         down to DL_DST_REQUIRED and _dl_dst_substitute.
78235         (decompose_rpath): Call expand_dynamic_string_token with
78236         non-zero is_path.  Ignore empty rpaths.
78237         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78238         with zero is_path.
78240 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78243         Make cancelable.
78245 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78247         [BZ #12655]
78248         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78249         Patch by Filipe David Manana <fdmanana@apache.org>.
78251 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78253         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78254         Maintain aligned stack.
78255         (CHECK_RSP): Remove unused macro.
78257 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78259         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78260         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78262 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78264         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78266         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78268 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78270         [BZ #12518]
78271         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78272         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78273         * sysdeps/x86_64/memmove.c: New file.
78274         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78275         (memcpy): Renamed to ...
78276         (__new_memcpy): This.
78277         (memcpy): Provide GLIBC_2_14 memcpy.
78278         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78279         (memcpy): Provide GLIBC_2_2_5 memcpy.
78281 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78283         [BZ #12631]
78284         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78286 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78288         * misc/syncfs.c: New file.
78289         * misc/Makefile (routines): Add syncfs.
78290         * posix/unistd.h: Declare syncfs.
78291         * sysdeps/unix/syscalls.list: Add syncfs.
78293 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78295         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78296         open_by_handle_at.
78297         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78298         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78299         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78300         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78301         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78302         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78303         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78305 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78307         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78308         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78309         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78310         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78311         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78312         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78313         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78315         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78316         sync_file_range.c with -fexceptions.
78317         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78318         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78319         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78320         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78321         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78322         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78323         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78324         sync_file_range as cancellation point
78325         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78326         now a wrapper around __call_sync_file_range with cancellation handling.
78327         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78328         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78329         function name to __call_sync_file_range.
78330         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78331         Add call_sync_file_range.
78333 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78335         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78336         bits/timex.h.
78338 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78340         * iconv/iconv.h: Fix typo in comment.
78341         * io/fcntl.h: Likewise.
78342         * libio/stdio.h: Likewise.
78343         * posix/spawn.h: Likewise.
78344         * posix/unistd.h: Likewise.
78345         * stdlib/stdlib.h: Likewise.
78346         * time/time.h: Likewise.
78347         * wcsmbs/wchar.h: Likewise.
78349         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78350         open_by_handle): Add.
78351         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78352         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78353         Augment a few comments.
78354         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78355         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78356         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78357         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78358         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78359         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78360         open_by_handle.
78362         * io/fcntl.h (AT_EMPTY_PATH): Define.
78364 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78366         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78367         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78368         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78369         to...
78370         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78371         * Versions.def: Add GLIBC_2.14.
78372         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78373         Export.
78375 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78377         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78378         round counter.
78379         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78381 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78383         [BZ #12597]
78384         * string/test-strncmp.c (do_page_test): New function.
78385         (check2): Likewise.
78386         (test_main): Call check2.
78387         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78389 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78391         [BZ #12587]
78392         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78393         Handle cache information in CPU leaf 4.
78394         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78396 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78398         [BZ #12583]
78399         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78400         character representation.
78401         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78403 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78405         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78406         END(__isnan) to END(__isnanf) to match function entry point/label
78407         EALIGN(__isnanf,...).
78409 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78411         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78413 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78415         [BZ #12510]
78416         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78417         copy from the symbol referenced in the relocation to initialize the
78418         used variable.
78419         Patch by Piotr Bury <pbury@goahead.com>.
78420         * elf/Makefile: Add rules to build and tst-unique3.
78421         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78422         * elf/tst-unique3.cc: New file.
78423         * elf/tst-unique3.h: New file.
78424         * elf/tst-unique3lib.cc: New file.
78425         * elf/tst-unique3lib2.cc: New file.
78427         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78429 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78431         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78432         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78433         to _start.
78435 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78437         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78438         to-be-loaded object along a path to loader is ld.so.
78440 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78441             Ulrich Drepper  <drepper@gmail.com>
78443         * sysdeps/x86_64/memset.S: After aligning destination, code
78444         branches to different locations depending on the value of
78445         misalignment, when multiarch is enabled. Fix this.
78447 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78449         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78450         Set _x86_64_preferred_memory_instruction for AMD processsors.
78451         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78452         Set bit_Prefer_SSE_for_memop for AMD processors.
78454 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78456         * libio/fmemopen.c (fmemopen): Optimize a bit.
78458 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78460         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78462 2011-03-03  Roland McGrath  <roland@redhat.com>
78464         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78466 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78468         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78469         __bzero_ultra1 instead of __memset_ultra1.
78471 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78472             Ulrich Drepper  <drepper@gmail.com>
78474         [BZ #12509]
78475         * include/link.h (struct link_map): Add l_orig_initfini.
78476         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78477         returning unsuccessfully.
78478         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78479         close of a file loaded at startup, restore the original l_initfini
78480         list.
78481         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78482         list, store the pointer.
78483         * elf/Makefile ($(objpfx)noload-mem): New rule.
78484         (noload-ENV): Define.
78485         (tests): Add $(objpfx)noload-mem.
78486         * elf/noload.c: Include <memcheck.h>.
78487         (main): Call mtrace.  Close all opened handles.
78489 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78491         [BZ #12454]
78492         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78493         dependencies are missing.
78495 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78497         Fix __if_freereq crash: Unlike the generic version which uses free,
78498         Hurd needs munmap.
78499         * sysdeps/mach/hurd/ifreq.h: New file.
78501 2011-01-27  Petr Baudis  <pasky@suse.cz>
78502             Ulrich Drepper  <drepper@gmail.com>
78504         [BZ 12445]#
78505         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78506         to extend_alloca().
78507         * stdio-common/bug23.c: New file.
78508         * stdio-common/Makefile (tests): Add bug23.
78510 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78511             Ulrich Drepper  <drepper@gmail.com>
78513         [BZ #12489]
78514         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78515         before performing relro protection.  At old place add assertion
78516         to make sure nothing changed.
78518 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78519             Glauber de Oliveira Costa  <glommer@gmail.com>
78521         * elf/elf.h: Add new ARM TLS relocs.
78523 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78526         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78527         cast from r3.
78528         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78529         'tests' variable.
78530         * sysdeps/wordsize-64/tst-writev.c: New file.
78532 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78534         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78535         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78536         insns in _dl_start to prevent a TOC reference before relocs are
78537         resolved.
78539 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78541         [BZ #12469]
78542         * Makeconfig: Remove RANLIB definition.
78543         * Makerules: Don't use RANLIB.
78544         * aclocal.m4: Remove ranlib test.
78545         * configure.in: No need to check for ranlib.
78546         * elf/rtld-Rules: Don't use RANLIB.
78548 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78550         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78551         protection macro.
78552         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78553         inclusion protection macro.
78555         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78556         SIGRTMIN and SIGRTMAX and print information in that case only when
78557         SIGRTMIN is defined.
78559 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78561         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78562         arginfo fn returning -1.
78564         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78565         and thousands string is zero terminated.
78567 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78569         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78570         sysdeps/unix/sysv/linux/bits/socket.h.
78572 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78574         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78575         (__CPU_COUNT): Remove old macros.
78576         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78577         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78578         (__CPU_ALLOC, __CPU_FREE): Add macros.
78579         (__sched_cpualloc, __sched_cpufree): Add declarations.
78581 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78583         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78584         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78585         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78586         (readdhstai): Return value of addhstaiX call.
78587         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78588         (addgrbyX): Return value returned by cache_addgr.
78589         (readdgrbyname): Return value returned by addgrbyX.
78590         (readdgrbygid): Likewise.
78591         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78592         (addpwbyX): Return value returned by cache_addpw.
78593         (readdpwbyname): Return value returned by addhstbyX.
78594         (readdpwbyuid): Likewise.
78595         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78596         (addservbyX): Return value returned by cache_addserv.
78597         (readdservbyname): Return value returned by addservbyX:
78598         (readdservbyport): Likewise.
78599         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78600         (addhstbyX): Return value returned by cache_addhst.
78601         (readdhstbyname): Return value returned by addhstbyX.
78602         (readdhstbyaddr): Likewise.
78603         (readdhstbynamev6): Likewise.
78604         (readdhstbyaddrv6): Likewise.
78605         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78606         (readdinitgroups): Return value returned by addinitgroupsX.
78607         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78608         (prune_cache): Keep track of timeout value of re-added entries.
78609         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78610         * nscd/nscd.h: Adjust prototypes of readd* functions.
78612 2011-02-04  Roland McGrath  <roland@redhat.com>
78614         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78615         (nis_stats): Likewise.
78616         * nis/nis_modify.c (nis_modify): Likewise.
78617         * nis/nis_remove.c (nis_remove): Likewise.
78618         * nis/nis_add.c (nis_add): Likewise.
78620         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78622         * posix/fnmatch_loop.c: Add some consts.
78624         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78626 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78628         [BZ #12460]
78629         * config.make.in (config-cflags-novzeroupper): Define.
78630         * configure.in: Substitute libc_cv_cc_novzeroupper.
78631         * elf/Makefile (AVX-CFLAGS): Define.
78632         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78633         (CFLAGS-tst-auditmod4a.c): Likewise.
78634         (CFLAGS-tst-auditmod4b.c): Likewise.
78635         (CFLAGS-tst-auditmod6b.c): Likewise.
78636         (CFLAGS-tst-auditmod6c.c): Likewise.
78637         (CFLAGS-tst-auditmod7b.c): Likewise.
78638         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78640 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78642         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78643         function to the callback.
78644         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78646 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78648         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78649         of errno.
78651 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78653         [BZ #11724]
78654         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78655         of constructors.
78656         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78657         of destructors.
78658         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78660         [BZ #11724]
78661         * elf/Makefile: Add rules to build and run new test.
78662         * elf/tst-initorder.c: New file.
78663         * elf/tst-initorder.exp: New file.
78664         * elf/tst-initordera1.c: New file.
78665         * elf/tst-initordera2.c: New file.
78666         * elf/tst-initordera3.c: New file.
78667         * elf/tst-initordera4.c: New file.
78668         * elf/tst-initorderb1.c: New file.
78669         * elf/tst-initorderb2.c: New file.
78670         * elf/tst-order-a1.c: New file.
78671         * elf/tst-order-a2.c: New file.
78672         * elf/tst-order-a3.c: New file.
78673         * elf/tst-order-a4.c: New file.
78674         * elf/tst-order-b1.c: New file.
78675         * elf/tst-order-b2.c: New file.
78676         * elf/tst-order-main.c: New file.
78677         New test case by George Gensure <werkt0@gmail.com>.
78679 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78682         decoding ACE if AI_CANONIDN.
78684 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78686         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78688 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78690         * version.h (RELEASE): Bump for 2.13 release.
78691         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78693         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78695         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78696         MADV_NOHUGEPAGE.
78697         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78698         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78699         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78700         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78701         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78702         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78704         * posix/getconf.c: Update copyright year.
78705         * catgets/gencat.c: Likewise.
78706         * csu/version.c: Likewise.
78707         * debug/catchsegv.sh: Likewise.
78708         * debug/xtrace.sh: Likewise.
78709         * elf/ldconfig.c: Likewise.
78710         * elf/ldd.bash.in: Likewise.
78711         * elf/sprof.c (print_version): Likewise.
78712         * iconv/iconv_prog.c: Likewise.
78713         * iconv/iconvconfig.c: Likewise.
78714         * locale/programs/locale.c: Likewise.
78715         * locale/programs/localedef.c: Likewise.
78716         * malloc/memusage.sh: Likewise.
78717         * malloc/mtrace.pl: Likewise.
78718         * nscd/nscd.c (print_version): Likewise.
78719         * nss/getent.c: Likewise.
78721         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78722         PF_CAIF, and PF_ALG.
78723         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78725 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78727         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78728         (modules-names): Use them.
78729         (ifunc-test-modules, ifunc-pie-tests): Define.
78730         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78731         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78732         (test-extras): Likewise.
78733         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78734         $(compile-command.c).
78735         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78736         (all-built-dso): Define.
78737         (check-textrel.out, check-execstack.out): Depend on it.
78739         * configure.in: Don't override --enable-multi-arch.
78741 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78743         [BZ #6812]
78744         * nscd/hstcache.c (tryagain): Define.
78745         (cache_addhst): Return tryagain not notfound for temporary errors.
78746         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78747         failed.
78749 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78751         [BZ #10563]
78752         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78753         to make the syscall.
78754         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78756         [BZ #12378]
78757         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78758         and fall back to matching as normal character if the string ends before
78759         the matching ']' is found.  This is what POSIX requires.
78760         * posix/testfnm.c: Adjust test result.
78761         * posix/globtest.sh: Adjust test result.  Add new test.
78762         * posix/tst-fnmatch.input: Likewise.
78763         * posix/tst-fnmatch2.c: Add new test.
78765 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78767         * elf/Makefile (check-execstack): Revert last change.  Depend on
78768         check-execstack.h.
78769         (check-execstack.h): New target.
78770         (generated): Add check-execstack.h.
78771         * elf/check-execstack.c: Include "check-execstack.h".
78772         (main): Revert last change.
78773         (handle_file): Return zero if GNU_STACK is absent and
78774         DEFAULT_STACK_PERMS doesn't include PF_X.
78776 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78778         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78779         in child fails because the descriptor is already closed.
78780         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78781         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78782         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78784         [BZ #12397]
78785         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78786         syscall.
78788         [BZ #10484]
78789         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78790         temporary buffer used to handle multi lookups locally.
78791         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78793 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78795         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78796         loader is ld.so.
78798 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78800         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78801         alignment for SSE2.
78803 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78805         [BZ #12394]
78806         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78807         characters.  When rounding increased number of integer digits recompute
78808         number of groups.
78809         * stdio-common/tst-grouping.c: New file.
78810         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78812 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78814         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78815         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78817         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78818         void.
78819         * bits/select.h: Likewise.
78821 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78823         * po/ja.po: Update from translation team.
78825 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78827         [BZ #11155]
78828         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78829         implementation just like for lxstat, fxstatat, et al.
78831 2010-12-27  Jim Meyering  <meyering@redhat.com>
78833         [BZ #12348]
78834         * posix/regexec.c (build_trtable): Return failure indication upon
78835         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78837 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78839         [BZ #12201]
78840         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78841         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78842         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78843         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78845         [BZ #12207]
78846         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78848         [BZ #12204]
78849         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78850         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78852 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78854         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78855         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78856         script has SORT_BY_INIT_PRIORITY.
78857         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78858         NO_CTORS_DTORS_SECTIONS is defined.
78859         * elf/soinit.c: Likewise.
78860         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78861         NO_CTORS_DTORS_SECTIONS is defined.
78862         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78863         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78864         * sysdeps/sh/init-first.c: Likewise.
78865         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78867 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78869         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78870         always use the slow path.
78872 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78874         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78875         similar rule which adds the sysdep directories to the header search in
78876         order to pick up the correct platform stackinfo.h.
78877         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78878         perform test if it is, otherwise return successfully without testing.
78879         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78880         DEFAULT_STACK_PERMS define in stackinfo.h.
78881         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78882         defined in stackinfo.h.
78883         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78884         DEFAULT_STACK_PERMS defined in stackinfo.h.
78885         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78886         * sysdeps/ia64/stackinfo.h: Likewise.
78887         * sysdeps/s390/stackinfo.h: Likewise.
78888         * sysdeps/sh/stackinfo.h: Likewise.
78889         * sysdeps/sparc/stackinfo.h: Likewise.
78890         * sysdeps/x86_64/stackinfo.h: Likewise.
78891         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78892         PF_X for powerpc64.  Retain PF_X for powerpc32.
78894 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78896         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78897         accurately.
78898         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78899         GETDENTS_64BIT_ALIGNED.
78901 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78903         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78905 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78907         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78908         _GNU_SOURCE.
78910         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78911         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78912         Remove __restrict.
78913         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78914         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78916 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78918         [BZ #11655]
78919         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78920         are initialized.
78922 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78924         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78926 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78928         * po/it.po: Update from translation team.
78930 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78932         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78933         unused codes.
78935 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78937         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78939 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78941         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78942         specially.
78943         (gaih_getanswer_slice): Likewise.
78945 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78947         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78949 2010-05-31  Petr Baudis  <pasky@suse.cz>
78951         [BZ #11149]
78952         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78953         silently even in the chroot mode.
78955 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78957         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78958         last patch a bit.  Pretty printing
78960 2010-05-31  Petr Baudis <pasky@suse.cz>
78962         [BZ #10085]
78963         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78964         initialization of skip_initgroups_dyn.
78966 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78968         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78969         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78971 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78973         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78975 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78977         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78978         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78979         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78980         ($(objpfx)tst-fnmatch-mem): New rule.
78981         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78982         * posix/tst-fnmatch.c (main): Call mtrace.
78984 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78986         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78987         Support Intel processor model 6 and model 0x2c.
78989 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78991         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78992           signed comparison.
78994 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78996         [BZ #12205]
78997         * string/test-strncasecmp.c (check_result): New function.
78998         (do_one_test): Use it.
78999         (check1): New function.
79000         (test_main): Use it.
79001         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79002         Support strcasecmp and strncasecmp.
79004 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79006         [BZ #12194]
79007         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79008         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79010 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79012         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79013         IFUNC support.
79014         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79015         memset-x86-64.
79016         * sysdeps/x86_64/multiarch/bzero.S: New file.
79017         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79018         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79019         * sysdeps/x86_64/multiarch/memset.S: New file.
79020         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79021         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79022         Set bit_Prefer_SSE_for_memop for Intel processors.
79023         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79024         Define.
79025         (index_Prefer_SSE_for_memop): Define.
79026         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79028 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79030         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79031         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79033 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79035         [BZ #12191]
79036         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79037         (__x86_64_raw_data_cache_size_half): Likewise.
79038         (__x86_64_raw_shared_cache_size): Likewise.
79039         (__x86_64_raw_shared_cache_size_half): Likewise.
79041         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79042         (__x86_64_raw_data_cache_size_half): Likewise.
79043         (__x86_64_raw_shared_cache_size): Likewise.
79044         (__x86_64_raw_shared_cache_size_half): Likewise.
79045         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79046         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79047         and __x86_64_raw_shared_cache_size_half.  Round
79048         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79049         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79050         to multiple of 256 bytes.
79052 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79054         [BZ #12167]
79055         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79056         of inacessible symlinks.  Verify result of symlink before returning it.
79057         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79058         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79060 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79062         * math/math.h (isinf): Fix typo in comment.
79064 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79066         * po/da.po: Update from translation team.
79068 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79070         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79071         is added to the list.
79073 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79074             Ulrich Drepper  <drepper@gmail.com>
79076         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79077         the global list here.  Move code to...
79078         (_dl_add_to_namespace_list): ...here.  New function.
79079         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79080         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79081         * elf/dl-load.c (lose): Don't remove the element from the list.
79082         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79083         (_dl_map_object): Likewise.
79085 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79087         [BZ #12159]
79088         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79089         into all bytes of SSE register.
79090         Patch by Richard Li <richardpku@gmail.com>.
79092 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79094         [BZ #12140]
79095         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79096         perturbing.
79098 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79100         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79101         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79102         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79103         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79105         submachine.
79106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79108 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79110         * include/dlfcn.h (__RTLD_SECURE): Define.
79111         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79112         mode & __RTLD_SECURE instead.
79113         (open_path): Rename preloaded parameter to secure.
79114         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79115         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79116         * elf/dl-deps.c (openaux): Likewise.
79117         * elf/rtld.c (struct map_args): Remove is_preloaded.
79118         (map_doit): Don't use it.
79119         (dl_main): Likewise.
79120         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79121         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79123 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79125         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79126         (sysd-rules-targets): Remove duplicates.
79127         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79128         rtld-%.$o dependency.
79130 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79132         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79133         _dl_map_object do it.
79135 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79137         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79138         fast fma builtins, define the macros in the C99 standard.
79139         (FP_FAST_FMAF): Likewise.
79140         (FP_FAST_FMAL): Likewise.
79141         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79143         * bits/mathdef.h: Update copyright year.
79144         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79146 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79148         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79149         builtins, define the macros in the C99 standard.
79150         (FP_FAST_FMAF): Likewise.
79151         (FP_FAST_FMAL): Likewise.
79152         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79153         multiply/add.
79154         (FP_FAST_FMAF): Likewise.
79156 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79158         [BZ #3268]
79159         * math/libm-test.inc (fma_test): Some new testcases.
79160         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79161         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79162         y and infinite z.  Do multiplication by C already in long double.
79163         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79164         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79165         y and infinite z.  Do bitwise or of inexact bit into u.d.
79166         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79167         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79168         * sysdeps/i386/fpu/s_fma.S: Removed.
79169         * sysdeps/i386/fpu/s_fmal.S: Removed.
79171 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79173         [BZ #3268]
79174         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79175         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79176         computation is not scheduled after fetestexcept.  Fix value
79177         of minimum denormal long double.
79179 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79181         [BZ #3268]
79182         * math/libm-test.inc (fma_test): Add some more tests.
79183         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79184         correctly.
79186 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79188         * scripts/data/localplt-s390-linux-gnu.data: New file.
79189         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79191 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79193         [BZ #3268]
79194         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79195         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79196         instead of dbl-64.
79197         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79198         inlines.
79199         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79201         if one of x and y is very large and the other is subnormal.
79202         * sysdeps/s390/fpu/s_fmaf.c: New file.
79203         * sysdeps/s390/fpu/s_fma.c: New file.
79204         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79205         * sysdeps/powerpc/fpu/s_fma.S: New file.
79206         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79207         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79208         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79210 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79212         [BZ #3268]
79213         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79214         fma tests.
79215         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79216         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79217         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79218         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79219         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79220         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79221         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79223 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79225         [BZ #12078]
79226         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79227         * posix/bug-regex31.input: Add test case.
79229 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79231         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79232         * posix/bug-regex31.input: New file.
79234         [BZ #12078]
79235         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79236         (parse_sub_exp): Fix last change, use postorder.
79238         * posix/bug-regex31.c: New file.
79239         * posix/Makefile: Add rules to build and run bug-regex31.
79241         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79243         [BZ #12078]
79244         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79246         [BZ #12108]
79247         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79248         to have entries in sys_siglist.
79250         [BZ #12093]
79251         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79252         be NULL.
79254 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79256         [BZ #3268]
79257         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79258         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79259         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79260         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79261         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79262         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79263         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79264         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79265         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79266         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79267         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79268         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79269         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79270         * math/ftestexcept.c (fetestexcept): Likewise.
79271         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79272         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79273         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79274         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79275         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79276         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79277         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79279 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79281         [BZ #12107]
79282         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79283         newline.
79285 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79287         * string/bug-strstr1.c: New file.
79288         * string/Makefile: Add rules to build and run bug-strstr1.
79290 2010-10-05  Eric Blake  <eblake@redhat.com>
79292         [BZ #12092]
79293         * string/str-two-way.h (two_way_long_needle): Always clear memory
79294         when skipping input due to the shift table.
79296 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79298         [BZ #12005]
79299         * malloc/mcheck.c: Handle large requests.
79301         [BZ #12077]
79302         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79303         for strncmp and strncasecmp.
79304         * string/stratcliff.c: Add tests for strcmp and strncmp.
79305         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79307 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79309         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79310         __set_fpscr.
79312 2010-09-30  Andreas Jaeger  <aj@suse.de>
79314         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79315         (CGROUP_SUPER_MAGIC): Define.
79316         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79317         Handle btrfs and cgroup file systems.
79318         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79319         Likewise.
79321 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79323         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79324         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79326 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79328         [BZ #12067]
79329         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79330         trying to locate the ELF header.
79332 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79334         [BZ #11611]
79335         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79336         Mask out sign-bit copies when constructing f_fsid.
79338 2010-09-24  Petr Baudis <pasky@suse.cz>
79340         * debug/stack_chk_fail_local.c: Add missing licence exception.
79341         * debug/warning-nop.c: Likewise.
79343 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79345         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79346         implementing getdents64 using getdents syscall, set d_type if
79347         __ASSUME_GETDENTS32_D_TYPE.
79349 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79351         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79352         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79354 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79356         [BZ #12037]
79357         * posix/unistd.h: Undo change of feature selection for ftruncate from
79358         2010-01-11.
79360 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79362         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79363         detection.
79365 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79367         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79368         fanotify_mark.
79369         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79371 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79373         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79374         variables after CHECK_SP call.
79375         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79377 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79378             Ulrich Drepper  <drepper@redhat.com>
79380         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79381         re-relocationg ld.so.
79382         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79383         _dl_init_paths call.
79384         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79385         here anymore.
79387 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79389         * resolv/res_init.c (__res_vinit): Count the default server we added.
79391 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79392             Ulrich Drepper  <drepper@redhat.com>
79394         [BZ #11968]
79395         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79396         (____longjmp_chk): Use %ebx for saving value across system call.
79397         Add unwind info.
79399 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79401         * manual/Makefile: Don't mix pattern rules with normal rules.
79403 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79405         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79406         operation.
79407         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79408         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79409         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79410         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79411         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79412         Likewise.
79414 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79416         [BZ #11979]
79417         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79418         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79420 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79422         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79423         * sysdeps/x86_64/addmul_1.S: Likewise.
79424         * sysdeps/x86_64/lshift.S: Likewise.
79425         * sysdeps/x86_64/mul_1.S: Likewise.
79426         * sysdeps/x86_64/rshift.S: Likewise.
79427         * sysdeps/x86_64/sub_n.S: Likewise.
79428         * sysdeps/x86_64/submul_1.S: Likewise.
79430 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79432         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79433         Define __sched_param instead of SCHED_* and sched_param when
79434         <bits/sched.h> is included with __need_schedparam defined.
79435         * bits/sched.h [__need_schedparam]
79436         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79437         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79438         (__defined_schedparam): Define to 1.
79439         (__sched_param): New structure, identical to sched_param.
79440         (__need_schedparam): Undefine.
79442 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79444         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79445         (epoll_create1): Declare.
79447         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79449 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79451         [BZ #7066]
79452         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79453         shifting retval into place.
79455 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79457         * nis/rpcsvc/nis.h: Update copyright notice.
79458         * nis/rpcsvc/nis.x: Likewise.
79459         * nis/rpcsvc/nis_callback.h: Likewise.
79460         * nis/rpcsvc/nis_callback.x: Likewise.
79461         * nis/rpcsvc/nis_object.x: Likewise.
79462         * nis/rpcsvc/nis_tags.h: Likewise.
79463         * nis/rpcsvc/yp.h: Likewise.
79464         * nis/rpcsvc/yp.x: Likewise.
79465         * nis/rpcsvc/ypupd.h: Likewise.
79466         * nis/yp_xdr.c: Likewise.
79467         * nis/ypupdate_xdr.c: Likewise.
79469         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79470         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79471         (pmap_getport): Use __libc_rpc_getport.
79472         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79473         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79474         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79476 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79479         fanotify_mark.
79481 2010-08-27  Roland McGrath  <roland@redhat.com>
79483         * sysdeps/i386/i686/multiarch/Makefile
79484         (CFLAGS-varshift.c): New variable.
79486 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79488         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79489         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79491         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79493         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79495 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79497         * sysdeps/x86_64/strlen.S: Unroll the loop.
79498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79499         strlen-sse2 strlen-sse2-bsf.
79500         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79501         __strlen_no_bsf if bit_Slow_BSF is set.
79502         (__strlen_sse42): Removed.
79503         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79504         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79506 2010-08-25  Roland McGrath  <roland@redhat.com>
79508         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79509         * sysdeps/x86_64/multiarch/varshift.c: New file.
79510         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79511         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79512         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79513         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79515 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79517         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79518         strlen-sse2 strlen-sse2-bsf.
79519         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79520         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79521         (__strlen_sse2): Removed.
79522         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79523         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79525         bit_Slow_BSF for Atom.
79526         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79527         (index_Slow_BSF): Define.
79528         (HAS_SLOW_BSF): Define.
79530 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79532         [BZ #10851]
79533         * resolv/res_init.c (__res_vinit): When no server address at all
79534         is given default to loopback.
79536 2010-08-24  Roland McGrath  <roland@redhat.com>
79538         * configure.in: Remove config-name.h generation.
79539         * configure: Regenerated.
79540         * config-name.in: File removed.
79541         * scripts/config-uname.sh: New file.
79542         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79543         ($(objdir)config-name.h): New target.
79545         * sunrpc/rpc_parse.h: Avoid nested comment.
79547 2010-08-24  Richard Henderson  <rth@redhat.com>
79548             Ulrich Drepper  <drepper@redhat.com>
79549             H.J. Lu  <hongjiu.lu@intel.com>
79551         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79552         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79553         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79554         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79555         _mm_alignr_epi8 with _mm_loadu_si128.
79556         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79557         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79558         (__m128i_shift_right): Removed.
79559         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79560         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79561         * sysdeps/x86_64/multiarch/varshift.h: New file.
79562         * sysdeps/x86_64/multiarch/varshift.S: New file.
79564 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79566         * configure.in: Move assembler checks to before sysdep dir checking.
79568 2010-08-20  Petr Baudis  <pasky@suse.cz>
79570         * LICENSES: Sync the sunrpc license.
79572 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79574         * sunrpc/auth_des.c: Update copyright notice once again.
79575         * sunrpc/auth_none.c: Likewise.
79576         * sunrpc/auth_unix.c: Likewise.
79577         * sunrpc/authdes_prot.c: Likewise.
79578         * sunrpc/authuxprot.c: Likewise.
79579         * sunrpc/bindrsvprt.c: Likewise.
79580         * sunrpc/clnt_gen.c: Likewise.
79581         * sunrpc/clnt_perr.c: Likewise.
79582         * sunrpc/clnt_raw.c: Likewise.
79583         * sunrpc/clnt_simp.c: Likewise.
79584         * sunrpc/clnt_tcp.c: Likewise.
79585         * sunrpc/clnt_udp.c: Likewise.
79586         * sunrpc/clnt_unix.c: Likewise.
79587         * sunrpc/des_crypt.c: Likewise.
79588         * sunrpc/des_soft.c: Likewise.
79589         * sunrpc/get_myaddr.c: Likewise.
79590         * sunrpc/getrpcport.c: Likewise.
79591         * sunrpc/key_call.c: Likewise.
79592         * sunrpc/key_prot.c: Likewise.
79593         * sunrpc/openchild.c: Likewise.
79594         * sunrpc/pm_getmaps.c: Likewise.
79595         * sunrpc/pm_getport.c: Likewise.
79596         * sunrpc/pmap_clnt.c: Likewise.
79597         * sunrpc/pmap_prot.c: Likewise.
79598         * sunrpc/pmap_prot2.c: Likewise.
79599         * sunrpc/pmap_rmt.c: Likewise.
79600         * sunrpc/rpc/auth.h: Likewise.
79601         * sunrpc/rpc/auth_unix.h: Likewise.
79602         * sunrpc/rpc/clnt.h: Likewise.
79603         * sunrpc/rpc/des_crypt.h: Likewise.
79604         * sunrpc/rpc/key_prot.h: Likewise.
79605         * sunrpc/rpc/netdb.h: Likewise.
79606         * sunrpc/rpc/pmap_clnt.h: Likewise.
79607         * sunrpc/rpc/pmap_prot.h: Likewise.
79608         * sunrpc/rpc/pmap_rmt.h: Likewise.
79609         * sunrpc/rpc/rpc.h: Likewise.
79610         * sunrpc/rpc/rpc_des.h: Likewise.
79611         * sunrpc/rpc/rpc_msg.h: Likewise.
79612         * sunrpc/rpc/svc.h: Likewise.
79613         * sunrpc/rpc/svc_auth.h: Likewise.
79614         * sunrpc/rpc/types.h: Likewise.
79615         * sunrpc/rpc/xdr.h: Likewise.
79616         * sunrpc/rpc_clntout.c: Likewise.
79617         * sunrpc/rpc_cmsg.c: Likewise.
79618         * sunrpc/rpc_common.c: Likewise.
79619         * sunrpc/rpc_cout.c: Likewise.
79620         * sunrpc/rpc_dtable.c: Likewise.
79621         * sunrpc/rpc_hout.c: Likewise.
79622         * sunrpc/rpc_main.c: Likewise.
79623         * sunrpc/rpc_parse.c: Likewise.
79624         * sunrpc/rpc_parse.h: Likewise.
79625         * sunrpc/rpc_prot.c: Likewise.
79626         * sunrpc/rpc_sample.c: Likewise.
79627         * sunrpc/rpc_scan.c: Likewise.
79628         * sunrpc/rpc_scan.h: Likewise.
79629         * sunrpc/rpc_svcout.c: Likewise.
79630         * sunrpc/rpc_tblout.c: Likewise.
79631         * sunrpc/rpc_util.c: Likewise.
79632         * sunrpc/rpc_util.h: Likewise.
79633         * sunrpc/rpcinfo.c: Likewise.
79634         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79635         * sunrpc/rpcsvc/key_prot.x: Likewise.
79636         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79637         * sunrpc/rpcsvc/mount.x: Likewise.
79638         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79639         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79640         * sunrpc/rpcsvc/rex.x: Likewise.
79641         * sunrpc/rpcsvc/rstat.x: Likewise.
79642         * sunrpc/rpcsvc/rusers.x: Likewise.
79643         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79644         * sunrpc/rpcsvc/spray.x: Likewise.
79645         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79646         * sunrpc/rtime.c: Likewise.
79647         * sunrpc/svc.c: Likewise.
79648         * sunrpc/svc_auth.c: Likewise.
79649         * sunrpc/svc_authux.c: Likewise.
79650         * sunrpc/svc_raw.c: Likewise.
79651         * sunrpc/svc_run.c: Likewise.
79652         * sunrpc/svc_simple.c: Likewise.
79653         * sunrpc/svc_tcp.c: Likewise.
79654         * sunrpc/svc_udp.c: Likewise.
79655         * sunrpc/svc_unix.c: Likewise.
79656         * sunrpc/svcauth_des.c: Likewise.
79657         * sunrpc/xcrypt.c: Likewise.
79658         * sunrpc/xdr.c: Likewise.
79659         * sunrpc/xdr_array.c: Likewise.
79660         * sunrpc/xdr_float.c: Likewise.
79661         * sunrpc/xdr_mem.c: Likewise.
79662         * sunrpc/xdr_rec.c: Likewise.
79663         * sunrpc/xdr_ref.c: Likewise.
79664         * sunrpc/xdr_sizeof.c: Likewise.
79665         * sunrpc/xdr_stdio.c: Likewise.
79667         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79668         handling.
79670 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79672         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79674 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79676         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79677         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79678         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79679         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79680         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79681         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79682         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79683         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79684         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79685         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79686         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79687         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79688         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79689         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79691 2010-07-26  Anton Blanchard  <anton@samba.org>
79693         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79694         * malloc/arena.c (heap_trim): Likewise.
79696 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79698         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79699         here.  Not...
79700         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79701         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79703 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79705         * sysdeps/i386/elf/Makefile: New file.
79707 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79709         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79710         from fanotify_init.
79711         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79712         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79714 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79716         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79717         of strncasecmp_l.
79718         * sysdeps/multiarch/strcmp.S: Likewise.
79720 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79722         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79723         strncase_l-nonascii.
79724         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79725         Add strncase_l-ssse3.
79726         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79727         * sysdeps/x86_64/strcmp.S: Likewise.
79728         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79729         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79730         * sysdeps/x86_64/strncase.S: New file.
79731         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79732         * sysdeps/x86_64/strncase_l.S: New file.
79733         * string/Makefile (strop-tests): Add strncasecmp.
79734         * string/test-strncasecmp.c: New file.
79736         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79737         warning.
79739         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79740         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79742 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79744         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79746 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79748         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79749         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79750         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79752 2010-05-01  Alan Modra  <amodra@gmail.com>
79754         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79755         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79756         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79757         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79758         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79759         tidying.  Don't tail-call __sigjmp_save for static lib.
79760         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79761         save location.
79762         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79763         (CALL_MCOUNT): Add eh info, and nop after bl.
79764         (TAIL_CALL_SYSCALL_ERROR): New macro.
79765         (PSEUDO_RET): Use it.
79766         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79767         Correct save location of integer regs and cr.
79768         (_dl_profile_resolve): Correct cr save location.  Delete nops
79769         after bl when SHARED.  Reduce cfi size a little by better
79770         placement of cfi directives.
79771         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79772         make a stack frame.  Instead use parm save area as a temp.
79773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79774         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79776         Don't make a stack frame for parent, use parm save area.
79777         Increase child stack frame to 112 bytes.  Don't save unused reg,
79778         and adjust reg usage.  Set up cfi on error recovery and
79779         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79781         (__makecontext): Add dummy nop after jump to exit.
79782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79783         Use correct parm save area and cr save, reduce stack frame.
79784         Correct cfi for possible PSEUDO_RET frame setup.
79785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79786         Branch to local label emitted by PSEUDO_RET rather than
79787         __syscall_error.
79789 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79791         [BZ #11904]
79792         * locale/programs/locale.c (print_assignment): New function.
79793         (show_locale_vars): Use it.
79795 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79797         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79798         field.
79799         (struct statfs64): Likewise.
79800         (_STATFS_F_FLAGS): Define.
79801         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79802         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79803         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79804         (ST_VALID): Define locally.
79805         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79806         __statvfs_getflags, use the provided value.
79807         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79808         __ASSUME_STATFS_F_FLAGS.
79810         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79812         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79813         Add sys/fanotify.h.
79814         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79815         fanotify_mask for GLIBC_2.13.
79816         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79817         fanotify_init and fanotify_mark.
79818         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79819         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79821         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79822         Add prlimit.
79823         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79824         prlimit64 for GLIBC_2.13.
79825         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79826         prlimit64.
79827         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79828         syscall.
79829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79830         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79831         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79832         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79833         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79834         add prlimit alias.
79835         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79837         [BZ #11903]
79838         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79839         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79841         * nss/Makefile: Add rules to build and run tst-nss-test1.
79842         * shlib-versions: Add entry for libnss_test1.
79843         * nss/nss_test1.c: New file.
79844         * nss/tst-nss-test1.c: New file.
79846         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79847         (__nss_configure_lookup): Set appropriate entry in
79848         __nss_configure_lookup to true.
79849         * nss/nsswitch.h: Define enum with indeces of databases in
79850         databases and __nss_database_custom arrays.  Declare
79851         __nss_database_custom.
79852         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79853         to avoid using nscd when custom rules are installed.
79854         * nss/getXXbyYY_r.c: Likewise.
79855         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79857         * nss/nss_files/files-parse.c: Whitespace fixes.
79859 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79861         [BZ #11883]
79862         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79863         * posix/fnmatch_loop.c: Likewise.
79865 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79867         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79868         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79869         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79870         * Versions.def [GLIBC_2.13]: Add.
79872 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79874         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79875         Also fail if tpwd after pwuid call is NULL.
79877 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79879         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79880         when converting to ms.
79882 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79884         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79885         EOPNOTSUPP errors with ENOTTY.
79886         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79887         EOPNOTSUPP errors with ENOTTY.
79889 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79891         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79892         Add strcasecmp_l-ssse3.
79893         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79894         strcasecmp.
79895         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79896         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79897         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79899 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79901         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79903         * string/Makefile (strop-tests): Add strcasecmp.
79904         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79905         strcasecmp_l-nonascii.
79906         (gen-as-const-headers): Add locale-defines.sym.
79907         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79908         * sysdeps/x86_64/strcasecmp.S: New file.
79909         * sysdeps/x86_64/strcasecmp_l.S: New file.
79910         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79911         * sysdeps/x86_64/locale-defines.sym: New file.
79912         * string/test-strcasecmp.c: New file.
79914         * string/test-strcasestr.c: Test both ends of the range of characters.
79915         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79917 2010-07-29  Roland McGrath  <roland@redhat.com>
79919         [BZ #11856]
79920         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79922 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79924         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79925         for ld.so.
79927 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79929         * manual/memory.texi (Malloc Tunable Parameters): Document
79930         M_PERTURB.
79932 2010-07-26  Roland McGrath  <roland@redhat.com>
79934         [BZ #11840]
79935         * configure.in (-fgnu89-inline check): Set and substitute
79936         gnu89_inline, not libc_cv_gnu89_inline.
79937         * configure: Regenerated.
79938         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79940 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79942         * string/test-strnlen.c: New file.
79943         * string/Makefile (strop-tests): Add strnlen.
79944         * string/tester.c (test_strnlen): Add a few more test cases.
79945         * string/tst-strlen.c: Better error reporting.
79947         * sysdeps/x86_64/strnlen.S: New file.
79949 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79951         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79952         lower-latency instructions.
79954 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79956         * string/test-strcasestr.c: New file.
79957         * string/test-strstr.c: New file.
79958         * string/Makefile (strop-tests): Add strstr and strcasestr.
79959         * string/str-two-way.h: Don't undefine MAX.
79960         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79962 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79964         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79965         strcasestr-nonascii.
79966         (CFLAGS-strcasestr-nonascii.c): Define.
79967         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79968         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79969         Remove unused attribute.
79971 2010-07-20  Roland McGrath  <roland@redhat.com>
79973         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79974         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79975         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79976         like LD_HWCAP_MASK can disable hwcaps.
79978 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79980         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79982 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79984         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79985         call in strcasestr.
79986         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79987         __strcasestr_sse42_nonascii.
79988         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79989         strcasestr-nonascii.c.
79990         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79992 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79994         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79995         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79996         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79997         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79999 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80001         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80002         fcntl.
80004 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80006         [BZ #11577]
80007         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80008         dl_signal_cerror.
80010 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80012         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80013         _PC_PIPE_BUF using F_GETPIPE_SZ.
80015 2010-07-05  Roland McGrath  <roland@redhat.com>
80017         * manual/arith.texi (Rounding Functions): Fix rint description
80018         implicit in round description.
80020 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80022         * elf/Makefile: Fix linking for a few tests to make recent linker
80023         happy.
80025 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80027         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80028         $(common-objpfx)libc_nonshared.a.
80030 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80032         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80033         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80034         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80035         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80036         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80037         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80038         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80039         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80054         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80055         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80056         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80057         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80058         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80059         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80060         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80061         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80062         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80063         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80064         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80065         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80081 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80083         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80084         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80085         * string/memmove.c (memmove): Renamed to ...
80086         (MEMMOVE): ...this.  Default to memmove.
80087         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80088         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80089         (END_CHK): Define.
80090         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80091         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80092         mempcpy-ssse3-back memmove-ssse3-back.
80093         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80094         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80095         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80096         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80097         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80098         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80099         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80100         * sysdeps/x86_64/multiarch/memmove.c: New file.
80101         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80102         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80103         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80104         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80105         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80106         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80107         Define.
80108         (index_Fast_Copy_Backward): Define.
80109         (HAS_ARCH_FEATURE): Define.
80110         (HAS_FAST_REP_STRING): Define.
80111         (HAS_FAST_COPY_BACKWARD): Define.
80113 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80115         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80116         Restore proper fallback handling.
80118 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80120         [BZ #11701]
80121         * posix/group_member.c (__group_member): Correct checking loop.
80123         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80124         OOM in getpwuid_r correctly.  Return error number when the caller
80125         should return, otherwise -1.
80126         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80127         call returning > 0 value.
80128         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80130 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80132         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80133         libc_nonshared.a from targets in modules-names.
80135 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80137         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80138         requires it.
80140 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80142         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80143         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80144         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80145         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80147 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80149         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80151 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80153         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80154         and F_GETPIPE_SZ.
80155         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80156         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80157         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80158         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80159         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80160         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80162 2010-06-14  Roland McGrath  <roland@redhat.com>
80164         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80166 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80168         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80169         __REDIRECT followed by __THROW.
80170         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80171         * posix/getopt.h (getopt): Likewise.
80173 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80175         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80176         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80177         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80178         in AT_FLAGS.
80179         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80180         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80182 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80184         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80186 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80188         [BZ #11640]
80189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80190         Properly check family and model.
80192 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80194         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80196 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80198         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80200 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80202         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80203         symbol reference.
80205 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80207         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80208         symbol reference.
80210 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80212         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80213         and internal_recvmmsg.
80214         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80215         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80216         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80217         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80219         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80220         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80221         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80223 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80225         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80227 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80229         POWER7 optimizations.
80230         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80231         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80233 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80235         * version.h: Update for 2.13 development version.
80237 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80239         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80240         exceptions.  Return 0.
80242 2010-05-07  Roland McGrath  <roland@redhat.com>
80244         * elf/ldconfig.c (main): Add a const.
80246 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80248         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80249         (args_options): Add no-idn option.
80250         (ahosts_keys_int): Add idn_flags to ai_flags.
80251         (parse_option): Handle 'i' option to clear idn_flags.
80253         * malloc/malloc.c (_int_free): Possible race in the most recently
80254         added check.  Only act on the data if no current modification
80255         happened.
80257 See ChangeLog.17 for earlier changes.